/* ============== 联系我们页 ============== */
:root {
    --co-primary: #29b6f6;
    --co-cyan: #26c6da;
    --co-deep: #04205F;
    --co-bg: #f8f9fa;
}

.co-hero {
    position: relative;
    color: #fff;
    padding: 120px 0 90px;
    background-image: url('/static/images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.co-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 58, 0.86);
}

.co-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 70% 24%, rgba(41, 182, 246, 0.24), rgba(0, 0, 0, 0)),
        radial-gradient(820px 380px at 22% 18%, rgba(38, 198, 218, 0.20), rgba(0, 0, 0, 0)),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.10) 60%, rgba(0, 0, 0, 0.22) 100%);
    pointer-events: none;
}

.co-hero .container {
    position: relative;
    z-index: 2;
}

.co-hero h1 {
    font-size: 3.05rem;
    font-weight: 950;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.co-hero .subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    margin-bottom: 0;
    max-width: 740px;
}

.co-section-title {
    margin-bottom: 24px;
}

.co-section-title h2 {
    color: var(--co-deep);
    font-weight: 950;
    margin-bottom: 10px;
    font-size: 1.75rem;
}

.co-section-title p {
    margin: 0;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 快速联系通道：三列卡片 */
.co-channels {
    padding: 60px 0;
    background: #fff;
}

.co-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.co-channel-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef1f4;
    padding: 28px 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.co-channel-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, rgba(41, 182, 246, 0.9), rgba(38, 198, 218, 0.9));
    opacity: 0.65;
}

.co-channel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(4, 32, 95, 0.25);
}

.co-channel-card h3 {
    font-size: 1.25rem;
    font-weight: 950;
    color: var(--co-deep);
    margin-bottom: 8px;
}

.co-channel-card .tagline {
    font-size: 0.95rem;
    color: #6a7b90;
    margin-bottom: 18px;
    line-height: 1.5;
}

.co-channel-card .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.98rem;
    color: #444;
    line-height: 1.6;
}

.co-channel-card .item i.material-symbols-outlined {
    font-size: 20px;
    color: var(--co-primary);
    flex-shrink: 0;
}

.co-channel-card .item a {
    color: var(--co-deep);
    text-decoration: none;
    font-weight: 850;
}

.co-channel-card .item a:hover {
    text-decoration: underline;
}

.co-channel-card .promise {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #eef1f4;
    font-size: 0.9rem;
    color: #0b6aa0;
    font-weight: 850;
}

/* 在线留言 + 微信：左右分栏 */
.co-inquiry {
    padding: 60px 0;
    background: var(--co-bg);
}

.co-inquiry .row {
    align-items: stretch;
}

.co-form-box {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef1f4;
    padding: 22px 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.co-form-box h3 {
    font-size: 1.2rem;
    font-weight: 950;
    color: var(--co-deep);
    margin-bottom: 14px;
}

.co-form-box .form-group {
    margin-bottom: 10px;
}

.co-form-box label {
    display: block;
    font-size: 0.88rem;
    font-weight: 850;
    color: #2d3a4b;
    margin-bottom: 4px;
}

.co-form-box label .req {
    color: #e53935;
}

.co-form-box input,
.co-form-box select,
.co-form-box textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #eef1f4;
    border-radius: 8px;
    font-size: 0.92rem;
    transition: border-color 0.2s ease;
    background: #fff;
    color: #222;
}

.co-form-box select option {
    background: #fff;
    color: #222;
}

.co-form-box input:focus,
.co-form-box select:focus,
.co-form-box textarea:focus {
    outline: none;
    border: 1px solid var(--co-primary);
    background-color: #fff;
    color: #222;
}

.co-form-box textarea {
    min-height: 72px;
    resize: vertical;
}

.co-form-box .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--co-primary);
    color: #fff !important;
    font-weight: 950;
    border: 0;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: 4px;
}

.co-form-box .btn-submit:hover {
    background: #039be5;
    transform: translateY(-2px);
}

.co-form-success {
    display: none;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.12), rgba(211, 47, 47, 0.08));
    border: 1px solid rgba(229, 57, 53, 0.5);
    border-radius: 10px;
    color: #b71c1c;
    font-weight: 850;
    margin-bottom: 14px;
    font-size: 0.92rem;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.15);
}

.co-form-success.show {
    display: block;
}

.co-wechat-box {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef1f4;
    padding: 32px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.co-wechat-box h3 {
    font-size: 1.35rem;
    font-weight: 950;
    color: var(--co-deep);
    margin-bottom: 24px;
}

.co-qr-block {
    margin-bottom: 28px;
}

.co-qr-block:last-child {
    margin-bottom: 0;
}

.co-qr-block h4 {
    font-size: 1.05rem;
    font-weight: 950;
    color: #2d3a4b;
    margin-bottom: 10px;
}

.co-qr-block p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.co-qr-block img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border: 1px solid #eef1f4;
    border-radius: 12px;
}

/* 全球生态：社交卡片网格 */
.co-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.co-social-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eef1f4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.co-social-card:hover {
    border-color: rgba(41, 182, 246, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.co-social-card .co-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eef1f4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.35rem;
}
.co-social-card .co-social-body {
    flex: 1;
    min-width: 0;
}
.co-social-card h4 {
    font-size: 1rem;
    font-weight: 950;
    color: var(--co-deep);
    margin: 0 0 4px 0;
}
.co-social-card p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px 0;
}
.co-social-card a {
    font-size: 0.88rem;
    font-weight: 850;
    color: var(--co-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.co-social-card a:hover { text-decoration: underline; }
.co-social-card a i.material-symbols-outlined { font-size: 16px; }
.co-social-card .co-social-qr {
    margin-top: 10px;
}
.co-social-card .co-social-qr img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eef1f4;
    background: #fff;
}

/* 我们的位置 */
.co-locations {
    padding: 60px 0;
    background: #fff;
}

.co-locations .co-section-title p {
    margin-bottom: 28px;
}

.co-loc-card {
    background: var(--co-bg);
    border-radius: 16px;
    border: 1px solid #eef1f4;
    padding: 24px 28px;
    margin-bottom: 20px;
    width: 100%;
}

.co-loc-card h4 {
    font-size: 1.15rem;
    font-weight: 950;
    color: var(--co-deep);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.co-loc-card p {
    margin: 0 0 8px 0;
    color: #444;
    line-height: 1.7;
    font-size: 0.98rem;
}

.co-loc-card p:last-child {
    margin-bottom: 0;
}

#contact-map {
    width: 100%;
    height: 320px;
    background: #e8ecf0;
    border-radius: 12px;
    border: 1px solid #eef1f4;
    margin-top: 16px;
}

#contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* FAQ */
.co-faq {
    padding: 60px 0 80px;
    background: var(--co-bg);
}

.co-faq-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eef1f4;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.co-faq-q {
    padding: 18px 22px;
    font-size: 1.05rem;
    font-weight: 950;
    color: var(--co-deep);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.co-faq-q:hover {
    background: #f8f9fa;
}

.co-faq-q i.material-symbols-outlined {
    font-size: 22px;
    color: var(--co-primary);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.co-faq-item.open .co-faq-q i.material-symbols-outlined {
    transform: rotate(180deg);
}

.co-faq-a {
    padding: 0 22px 18px;
    font-size: 0.98rem;
    color: #555;
    line-height: 1.8;
    display: none;
}

.co-faq-item.open .co-faq-a {
    display: block;
}

@media (max-width: 992px) {
    .co-hero h1 {
        font-size: 2.25rem;
    }

    .co-hero {
        padding: 105px 0 70px;
    }

    .co-channel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .co-hero {
        padding: 96px 0 56px;
    }

    .co-hero .subtitle {
        font-size: 1.05rem;
    }
}
/* 防机器人：蜜罐字段，对用户不可见 */
.co-form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}