/* ================= 联系我们页面样式 (Contact Page) ================= */
:root {
    --brand-primary: #1677C9;
    --brand-primary-dark: #125f9f;
    --brand-secondary: #32B8B8;
    --brand-tertiary: #A3A8E0;
}

/* 1. 英雄区 */
.contact-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.contact-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* 2. 概览区 */
.contact-overview-section {
    padding: 70px 0 46px;
    background-color: #f8f9fa;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-overview-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 0 0, rgba(0, 0, 0, 0.18) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 51, 153, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(0, 51, 153, 0.04) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 60px 60px;
    background-position: -1px -1px, 0 0, 0 0;
    z-index: -1;
    pointer-events: none;
}

.overview-head {
    text-align: center;
    margin-bottom: 26px;
}

.overview-head h2 {
    font-size: 2rem;
    color: #1e2a3a;
    margin-bottom: 10px;
}

.overview-head p {
    max-width: 760px;
    margin: 0 auto;
    color: #5f6b7a;
    line-height: 1.7;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.overview-item {
    background: #fff;
    padding: 30px 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(22, 119, 201, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background-color: #f0f7ff;
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.overview-item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
}

.overview-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* 3. 表单与侧边栏布局 */
.contact-form-section {
    padding: 40px 0 84px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 30%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 0 0, rgba(0, 0, 0, 0.16) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 51, 153, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 51, 153, 0.03) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 60px 60px;
    background-position: -1px -1px, 0 0, 0 0;
    z-index: -1;
    pointer-events: none;
}

.form-layout {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* 左侧表单 */
.form-container {
    flex: 1.5;
}

.message-highlight {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 56%, var(--brand-tertiary) 100%);
    border-radius: 18px;
    padding: 42px;
    color: #fff;
    box-shadow: 0 18px 40px rgba(9, 104, 207, 0.24);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
}

.highlight-subtitle {
    font-size: 1rem;
    opacity: 0.94;
    margin-bottom: 28px;
}

.highlight-content {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 24px;
    align-items: stretch;
}

.wechat-qr-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    color: var(--brand-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wechat-qr-card img {
    width: 100%;
    border-radius: 10px;
    display: block;
    margin-bottom: 10px;
}

.wechat-qr-card span {
    font-size: 0.9rem;
    font-weight: 700;
}

.hotline-card {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
}

.hotline-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hotline-number {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-decoration: none;
    transition: transform 0.22s ease, text-shadow 0.22s ease;
}

.hotline-number + .hotline-number {
    margin-top: 16px;
}

.hotline-note {
    margin-top: auto;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.92;
}

/* 右侧侧边栏 */
.info-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9eef4;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    padding: 24px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #1f2b3a;
}

.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #4d5b6b;
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;
}

.flow-list li:last-child {
    margin-bottom: 0;
}

.flow-list li span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8f3ff;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.why-contact-us {
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #e9eef4;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    padding: 24px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.why-contact-us h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #333;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.benefit-list li i {
    color: var(--brand-primary); /* 绿色对勾 */
    font-size: 1.1rem;
    margin-top: 3px;
}

.benefit-list li strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.benefit-list li p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.overview-item:hover .icon-circle {
    transform: scale(1.08) rotate(-5deg);
}

.message-highlight:hover,
.service-card:hover,
.why-contact-us:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.11);
}

.hotline-number:hover {
    transform: translateX(2px);
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.38);
}

.flow-list li:hover {
    transform: translateX(3px);
    color: #1f3a55;
}

.interactive-reveal {
    opacity: 0;
    transform: translateY(20px);
}

.interactive-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}


/* ================= 响应式适配 (Contact Page) ================= */

@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .message-highlight {
        padding: 32px 24px;
    }

    .highlight-title {
        font-size: 1.7rem;
    }

    .highlight-content {
        grid-template-columns: 1fr;
    }

    .wechat-qr-card {
        max-width: 260px;
    }

    .hotline-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .message-highlight {
        padding: 24px 16px;
    }

    .highlight-title {
        font-size: 1.38rem;
    }

    .hotline-number {
        font-size: 1.5rem;
    }
}
