/* ==========================================================================
   CONTACT PAGE COMPONENT (高性能原生解耦专属样式)
   Zero Bloat | Scoped to .contact-page-wrapper | 100% Fluid Responsive
   ========================================================================== */

.contact-page-wrapper {
    background-color: #f8fafc;
    color: #334155;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}

.contact-page-wrapper * {
    box-sizing: border-box;
}

.contact-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. HERO 标头 */
.contact-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 70px 0 65px;
    color: #ffffff;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-hero-banner .badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 94, 20, 0.15);
    border: 1px solid rgba(255, 94, 20, 0.4);
    color: #ff5e14;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-hero-banner h1 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #ffffff;
    line-height: 1.25;
}

.contact-hero-banner p {
    font-size: 16px;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto;
}

/* 2. 办公室网格 */
.contact-offices-section {
    padding: 75px 0 65px;
}

.section-title-row {
    margin-bottom: 45px;
}

.section-title-row .sub-title {
    color: #ea580c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.section-title-row h2 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.section-title-row p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.office-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 35px 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.office-card.featured-hub {
    border-top: 4px solid #ff5e14;
}

.hub-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    background: #ff5e14;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hub-badge.secondary {
    background: #0f172a;
}

.office-header {
    margin-bottom: 24px;
}

.office-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 94, 20, 0.1);
    color: #ff5e14;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.office-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.hub-scope {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.office-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-label i {
    color: #ff5e14;
    font-size: 13px;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-link {
    color: #0f172a;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #ff5e14;
}

.office-address {
    font-style: normal;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.btn-office-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: #0f172a;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-office-action:hover {
    background: #ff5e14;
    transform: translateY(-2px);
}

/* 3. SLA 服务保障条 */
.contact-sla-bar {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 40px 0;
}

.sla-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sla-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sla-icon {
    width: 44px;
    height: 44px;
    background: #fff7ed;
    color: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sla-content strong {
    display: block;
    color: #0f172a;
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sla-content p {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

/* 4. 底部 CTA 区域 */
.contact-bottom-cta {
    background: #0f172a;
    color: #ffffff;
    padding: 65px 0 70px;
}

.contact-bottom-cta h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #ffffff;
}

.contact-bottom-cta p {
    color: #94a3b8;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-cta-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.contact-cta-btns .btn-primary-orange {
    background: linear-gradient(135deg, #ff6b00 0%, #ff5e14 100%);
    color: #ffffff !important;
    padding: 13px 28px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-cta-btns .btn-primary-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 20, 0.35);
}

.contact-cta-btns .btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    padding: 13px 26px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.contact-cta-btns .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

/* ==========================================================================
   响应式断点适配
   ========================================================================== */
@media (max-width: 991px) {
    .offices-grid,
    .sla-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-hero-banner {
        padding: 50px 0 45px;
    }

    .contact-hero-banner h1 {
        font-size: 30px;
    }

    .contact-offices-section {
        padding: 50px 0;
    }
}

@media (max-width: 640px) {
    .contact-cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .contact-cta-btns a {
        width: 100%;
        justify-content: center;
    }
}