/* ==========================================
   浙江大市场 - 联系客服页面样式 (contact_service.css)
   参考中国供应商、八方资源网等 B2B 平台客服中心风格
   依赖 common.css，配合 service.css 的基础表单/按钮样式
   ========================================== */

/* ========== Hero 服务亮点 ========== */
.cs-hero-highlights {
    display: flex;
    gap: 36px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.cs-hero-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.cs-hero-highlight_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    flex-shrink: 0;
}

.cs-hero-highlight_icon :is(svg, img) {
    width: 22px;
    height: 22px;
}

.cs-hero-highlight_text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.cs-hero-highlight_text span {
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
}

/* ========== 内容区容器 ========== */
.cs-content {
    padding: 0 0 64px;
}

.cs-content .container {
    max-width: 1180px;
}

/* 上移与 Hero 衔接的渠道卡片 */
.cs-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -44px;
    position: relative;
    z-index: 2;
    margin-bottom: 48px;
}

.cs-channel {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(20, 24, 32, .08);
    border: 1px solid #f0f1f3;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs-channel:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(255, 80, 0, .12);
    border-color: var(--orange-line);
}

.cs-channel_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    margin-bottom: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    box-shadow: 0 8px 20px rgba(255, 80, 0, .25);
}

.cs-channel_icon :is(svg, img) {
    width: 28px;
    height: 28px;
}

.cs-channel h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.cs-channel_value {
    font-size: 20px;
    font-weight: 800;
    color: var(--orange-deep);
    letter-spacing: .5px;
    margin-bottom: 6px;
    line-height: 1.2;
}

.cs-channel_hint {
    font-size: 12px;
    color: #999;
    margin-bottom: 16px;
}

.cs-channel_qr {
    width: 128px;
    height: 128px;
    margin: 2px 0 10px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    padding: 4px;
}

.cs-channel_btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 22px;
    border-radius: 19px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    cursor: pointer;
}

.cs-channel_btn--solid {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    box-shadow: 0 4px 14px rgba(255, 80, 0, .25);
}

.cs-channel_btn--solid:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.cs-channel_btn--ghost {
    color: var(--orange-deep);
    background: var(--orange-soft);
    border: 1px solid var(--orange-line);
}

.cs-channel_btn--ghost:hover {
    background: #ffe9da;
}

/* ========== 主体两栏布局 ========== */
.cs-main {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.cs-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0f1f3;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.cs-card_head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 32px;
    border-bottom: 1px solid #f3f4f6;
}

.cs-card_head .cs-card_bar {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(var(--orange), var(--orange-deep));
}

.cs-card_head h2 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.cs-card_head p {
    margin-left: auto;
    font-size: 13px;
    color: #aaa;
}

.cs-card_body {
    padding: 28px 32px 32px;
}

/* 表单两列网格 */
.cs-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.cs-form-grid .cs-form-grid_full {
    grid-column: 1 / -1;
}

/* ========== 右侧侧栏 ========== */
.cs-aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 服务时间块 */
.cs-hours {
    position: relative;
    padding: 24px;
    border-color: rgba(255, 111, 34, .14);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 129, 55, .12), transparent 42%),
        #fff;
}

.cs-hours_header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-hours_icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--orange-deep);
    border-radius: 12px;
    background: linear-gradient(145deg, #fff2e9, #ffe3d2);
}

.cs-hours_icon :is(svg, img) {
    width: 21px;
    height: 21px;
}

.cs-hours_header>span:nth-child(2) {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.cs-hours_header strong {
    color: #20242c;
    font-size: 16px;
}

.cs-hours_header small {
    color: #999;
    font-size: 12px;
}

.cs-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    color: #8a8f98;
    border-radius: 999px;
    background: #f1f2f4;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.cs-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(138, 143, 152, .13);
}

.cs-hours.is-online .cs-status {
    color: #1d9d48;
    background: #eaf8ef;
}

.cs-hours.is-online .cs-status::before {
    box-shadow: 0 0 0 3px rgba(29, 157, 72, .16);
    animation: cs-status-pulse 1.8s ease-out infinite;
}

.cs-hours.is-offline .cs-status {
    color: #d96b25;
    background: #fff2e8;
}

.cs-hours_message {
    margin: 18px 0 14px;
    padding: 11px 12px;
    color: #6d625c;
    border: 1px solid #f4e6dc;
    border-radius: 10px;
    background: rgba(255, 249, 244, .86);
    font-size: 12px;
    line-height: 1.55;
}

.cs-hours_schedule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cs-hours_schedule>span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    padding: 11px 10px;
    border-radius: 10px;
    background: #f7f8fa;
}

.cs-hours_schedule small {
    color: #969ba3;
    font-size: 11px;
}

.cs-hours_schedule strong {
    color: #2d3138;
    font-size: 13px;
    white-space: nowrap;
}

.cs-hours_action {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-top: 14px;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    box-shadow: 0 8px 18px rgba(255, 82, 0, .18);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}

.cs-hours_action:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 82, 0, .25);
}

@keyframes cs-status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(29, 157, 72, .3);
    }

    70%,
    100% {
        box-shadow: 0 0 0 6px rgba(29, 157, 72, 0);
    }
}

/* 专属热线列表（参考八方资源网分类热线） */
.cs-hotlines {
    padding: 8px 26px 20px;
}

.cs-hotline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cs-hotline:last-child {
    border-bottom: 0;
}

.cs-hotline_icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-deep);
    background: var(--orange-soft);
}

.cs-hotline_icon :is(svg, img) {
    width: 20px;
    height: 20px;
}

.cs-hotline_info {
    flex: 1;
    min-width: 0;
}

.cs-hotline_label {
    font-size: 13px;
    color: #888;
    margin-bottom: 2px;
}

.cs-hotline_number {
    font-size: 17px;
    font-weight: 800;
    color: #222;
    letter-spacing: .5px;
}

/* 公司信息块 */
.cs-company {
    padding: 22px 26px 24px;
}

.cs-company_item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.cs-company_item:last-child {
    margin-bottom: 0;
}

.cs-company_item :is(svg, img) {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--orange-deep);
}

/* ========== 自助服务快捷入口 ========== */
.cs-selfservice {
    margin-top: 48px;
}

.cs-selfservice_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.cs-selfservice_title .cs-card_bar {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(var(--orange), var(--orange-deep));
}

.cs-selfservice_title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.cs-selfservice_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cs-selfservice_item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #f0f1f3;
    border-radius: 12px;
    transition: all .22s;
}

.cs-selfservice_item:hover {
    border-color: var(--orange-line);
    box-shadow: 0 8px 22px rgba(255, 80, 0, .08);
    transform: translateY(-2px);
}

.cs-selfservice_item-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-deep);
    background: linear-gradient(135deg, #fff3eb, #fff);
}

.cs-selfservice_item-icon :is(svg, img) {
    width: 24px;
    height: 24px;
}

.cs-selfservice_item-text {
    flex: 1;
    min-width: 0;
}

.cs-selfservice_item-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 3px;
}

.cs-selfservice_item-text p {
    font-size: 12px;
    color: #999;
}

.cs-selfservice_item-arrow {
    flex-shrink: 0;
    color: #ccc;
    font-size: 18px;
    transition: transform .2s, color .2s;
}

.cs-selfservice_item:hover .cs-selfservice_item-arrow {
    color: var(--orange-deep);
    transform: translateX(3px);
}

/* ========== 响应式 ========== */
@media (max-width: 1000px) {
    .cs-channels {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-main {
        grid-template-columns: 1fr;
    }

    .cs-selfservice_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .cs-hero-highlights {
        gap: 18px;
    }

    .cs-channels {
        grid-template-columns: 1fr;
        margin-top: -32px;
    }

    .cs-form-grid {
        grid-template-columns: 1fr;
    }

    .cs-card_head,
    .cs-card_body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cs-selfservice_grid {
        grid-template-columns: 1fr;
    }
}