/* ============ 页面.css · About & 联系页面 styles ============
   Loaded on about.html and contact.html. */

/* ============================================================
   1. 关于页面
   ============================================================ */

/* Split section (image + text) */
.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.split-img img {
    width: 100%;
    border-radius: 26px;
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: 0 26px 60px rgba(var(--shadow-rgb), 0.14);
}
.split-text h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.split-text p { color: var(--text-soft); margin-bottom: 14px; }

/* 3-column card grid (values) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px 24px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(var(--shadow-rgb), 0.12), 0 0 0 1px rgba(var(--accent-rgb), 0.12); border-color: transparent; }
.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: linear-gradient(160deg, #e8fcfe, #ccf2f6);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.14);
    transition: transform 0.3s;
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.cards-3 .card:nth-child(2) .card-icon { background: linear-gradient(160deg, #fff3ee, #ffe2d7); box-shadow: inset 0 0 0 1px rgba(var(--coral-rgb), 0.16); }
.cards-3 .card:nth-child(3) .card-icon { background: linear-gradient(160deg, #fffce9, #fff1c1); box-shadow: inset 0 0 0 1px rgba(255, 182, 72, 0.22); }
.card-icon img { width: 34px; height: 34px; object-fit: contain; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 14px; }

/* Timeline (journey) */
.timeline {
    list-style: none;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 24px;
    border-left: 2px solid var(--accent-soft);
    position: relative;
}
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--accent);
}
.t-year { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--coral-dark); margin-bottom: 4px; }
.t-body h4 { font-size: 17px; margin-bottom: 4px; }
.t-body p { color: var(--text-soft); font-size: 14px; }

/* Creed / belief section */
.creed { max-width: 760px; margin: 0 auto; }
.creed blockquote {
    border-left: 3px solid var(--accent);
    padding: 8px 0 8px 28px;
    margin-bottom: 24px;
}
.creed blockquote p {
    font-size: 22px;
    font-style: italic;
    color: var(--text);
    line-height: 1.5;
}
.creed cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-soft);
    font-style: normal;
}
.creed p { color: var(--text-soft); margin-bottom: 16px; font-size: 15px; }

/* Stats band */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background:
        radial-gradient(420px 200px at 85% 0%, rgba(var(--coral-rgb), 0.09), transparent 70%),
        var(--bg-soft);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    border-radius: 28px;
    padding: 38px 24px;
    text-align: center;
}
.stat-num { display: block; font-size: 36px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent-dark); }
.stats-band > div:nth-child(3) .stat-num { color: var(--coral-dark); }
.stat-lbl { display: block; font-size: 13px; color: var(--text-soft); margin-top: 4px; }

/* CTA band */
.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.4px) 0 0 / 18px 18px,
        linear-gradient(115deg, #00565f 0%, #00a2b2 52%, #00ccd6 100%);
    color: #fff;
    border-radius: 28px;
    padding: 40px 44px;
    box-shadow: 0 24px 54px rgba(var(--accent-rgb), 0.22);
}
.cta-text h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.cta-text p { opacity: 0.9; font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-ghost-dark {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ============================================================
   2. 联系页面
   ============================================================ */

/* Contact page：统一的三段式标题系统 */
.support-head {
    max-width: 840px;
    margin: 0 0 clamp(28px, 3vw, 36px);
    text-align: left;
}
.support-head .section-eyebrow { margin-bottom: 12px; }
.support-head h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 2.8vw, 44px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
}
.support-lede {
    max-width: 640px;
    margin: 0;
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.7;
}

/* 联系区：整幅邮箱横带 */
.contact-section { background: var(--bg); }
.contact-layout {
    display: block;
}
.contact-main { width: 100%; max-width: none; margin: 0; }
.contact-direct {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
    margin-top: 0;
    padding-top: clamp(24px, 2.6vw, 32px);
    border-top: 1px solid var(--line);
}
.contact-email-block { min-width: 0; }
.contact-kicker {
    display: block;
    color: var(--text-muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}
.contact-email {
    display: inline-block;
    margin: 8px 0 10px;
    padding-bottom: 3px;
    color: var(--accent-dark);
    font-size: clamp(24px, 4.8vw, 68px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.28);
}
.contact-email:hover { border-bottom-color: var(--accent-dark); }
.contact-email-block p {
    max-width: 420px;
    margin: 0;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.65;
}
.contact-note-block {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.contact-note-block p {
    max-width: 320px;
    margin: 8px 0 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}
.contact-policy-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 22px;
    padding-bottom: 3px;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
}
.contact-policy-link svg { flex: 0 0 auto; }
.contact-policy-link:hover { border-bottom-color: var(--accent-dark); }

/* 服务政策：整幅单列，跟随联系信息下方 */
.contact-policies {
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: clamp(48px, 5vw, 72px) 0 0;
    padding: clamp(36px, 4vw, 48px) 0 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 120px;
}
.policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}
.policy-list li {
    display: grid;
    grid-template-columns: 48px 220px minmax(0, 1fr);
    gap: 16px 24px;
    align-items: start;
    padding: 20px 0 22px;
    border-bottom: 1px solid var(--line);
}
.policy-no {
    padding-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
}
.policy-list strong { color: var(--text); font-size: 15.5px; line-height: 1.5; }
.policy-list p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.72; }

/* 常见问题：与政策表同一左缘，大屏两列独立手风琴 */
.faq-list {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(48px, 5vw, 80px);
    align-items: start;
    border-top: 1px solid var(--line);
}
.faq-col { min-width: 0; }
.faq-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 0;
}
.faq-item[open] { border-color: rgba(var(--accent-rgb), 0.28); }
.faq-item summary {
    cursor: pointer;
    padding: 20px 44px 20px 0;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.45;
    list-style: none;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
    max-width: 580px;
    padding: 0 44px 22px 0;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.75;
}
/* ============================================================
   3. 响应式 — Small 平板端 (≤991px)
   ============================================================ */
@media (max-width: 991px) {
    /* About */
    .split { grid-template-columns: 1fr; gap: 32px; }
    .cards-3 { grid-template-columns: 1fr; }
    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .cta-band { flex-direction: column; text-align: center; }

    /* Contact */
    .contact-direct { display: block; }
    .contact-note-block {
        margin-top: 24px;
        padding-top: 22px;
        border-top: 1px solid var(--line);
    }
    .contact-note-block p { max-width: 560px; }
    .policy-list li { grid-template-columns: 36px 180px minmax(0, 1fr); }
    .faq-list { grid-template-columns: 1fr; }
}

/* ============================================================
   4. 响应式 — 移动端 (≤767px)
   ============================================================ */
@media (max-width: 767px) {
    /* About */
    .page-hero { padding: 40px 0 44px; }
    .page-hero h1 { font-size: 30px; }
    .split-text h2 { font-size: 24px; }
    .stats-band { grid-template-columns: 1fr 1fr; padding: 24px 16px; }
    .stat-num { font-size: 28px; }
    .creed blockquote p { font-size: 18px; }
    .cta-band { padding: 28px 24px; }
    .cta-text h2 { font-size: 20px; }
    .cta-actions { width: 100%; flex-direction: column; }
    .cta-actions .btn { width: 100%; justify-content: center; }

    /* Contact */
    .support-head { margin-bottom: 24px; }
    .support-head h2 { font-size: 30px; }
    .support-lede { font-size: 14.5px; }
    .contact-direct { padding-top: 22px; }
    .contact-email-block p,
    .contact-note-block p { max-width: none; }
    .contact-policy-link { margin-top: 18px; }
    .contact-policies { margin-top: 32px; padding-top: 28px; scroll-margin-top: 96px; }
    .policy-list li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 5px 14px;
        padding: 16px 0 18px;
    }
    .policy-list p { grid-column: 2; }
    .faq-item summary { padding: 18px 32px 18px 0; font-size: 16px; }
    .faq-item p { padding: 0 28px 20px 0; }
}

/* ============================================================
   5. 404 页面
   ============================================================ */
.error-page {
    display: flex;
    align-items: center;
    min-height: clamp(520px, 64vh, 760px);
    background:
        radial-gradient(680px 320px at 50% 0%, rgba(var(--accent-rgb), 0.08), transparent 70%),
        var(--bg);
}
.error-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.error-code {
    margin: 0 0 8px;
    color: var(--accent-soft-2);
    font-size: clamp(84px, 13vw, 168px);
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.06em;
    line-height: 0.84;
    user-select: none;
}
.error-inner h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}
.error-lead {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.7;
}
.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}
.btn-ghost:hover {
    background: var(--accent-soft);
    border-color: rgba(var(--accent-rgb), 0.42);
    color: var(--accent-dark);
}
.error-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 13px;
}
.error-links a {
    color: var(--text-soft);
    border-bottom: 1px solid var(--line);
    padding-bottom: 1px;
}
.error-links a:hover {
    color: var(--accent-dark);
    border-bottom-color: rgba(var(--accent-rgb), 0.4);
}
@media (max-width: 767px) {
    .error-page { min-height: 58vh; }
    .error-code { font-size: clamp(72px, 22vw, 108px); }
    .error-inner h1 { font-size: 28px; }
    .error-actions { margin-top: 26px; }
    .error-actions .btn { flex: 1 1 auto; justify-content: center; }
    .error-links { margin-top: 26px; gap: 6px 8px; }
    .error-links > span:first-child { flex-basis: 100%; }
}
@media (max-width: 479px) {
    .error-actions { flex-direction: column; }
    .error-actions .btn { width: 100%; }
}
