/* ============================================
   厚别教育官网样式 ｜ 学术雅致风 Academic Refined
   主色：深邃藏青 #0F2A4A ｜ 辅色：典雅金 #C9A961
   ============================================ */

/* ---------- 设计令牌 ---------- */
:root {
    /* 颜色 */
    --navy: #0F2A4A;
    --navy-2: #1A3A5C;
    --navy-3: #274B6F;
    --gold: #C9A961;
    --gold-2: #B08D3F;
    --gold-soft: #E5D5A8;
    --cream: #FAFAF7;
    --cream-2: #F4F2EC;
    --paper: #FFFFFF;
    --ink: #1A1A1A;
    --ink-2: #3A3A3A;
    --ink-3: #5A5A5A;
    --ink-4: #8A8A8A;
    --line: #E5E2DA;
    --line-2: #EFECE4;

    /* 字体 */
    --font-serif: "Noto Serif SC", "Songti SC", "STSong", serif;
    --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-display: "Cormorant Garamond", "Noto Serif SC", serif;

    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(15, 42, 74, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 42, 74, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 42, 74, 0.12);

    /* 过渡 */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* 容器 */
    --container: 1200px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* 选中文本 */
::selection { background: var(--gold); color: var(--paper); }

/* ---------- 容器 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ---------- 通用 Section ---------- */
.section {
    padding: var(--space-9) 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-8);
}

.section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

.section-head-light .section-title { color: var(--paper); }
.section-head-light .section-lead { color: rgba(255, 255, 255, 0.75); }
.section-head-light .section-eyebrow { color: var(--gold); }

.section-lead {
    font-size: 1.0625rem;
    color: var(--ink-3);
    line-height: 1.8;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--paper);
    border: 1px solid var(--navy);
}
.btn-primary:hover {
    background: var(--navy-2);
    border-color: var(--navy-2);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--paper);
    transform: translateY(-1px);
}

/* ============================================
   顶部导航
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s var(--ease);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--space-5);
}

/* 品牌 */
.brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 1px;
}

.brand-tag {
    font-size: 0.6875rem;
    color: var(--ink-4);
    letter-spacing: 1px;
}

/* 主导航 */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: var(--space-6);
}

.nav-link {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--ink-2);
    padding: var(--space-2) 0;
    transition: color 0.2s var(--ease);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s var(--ease);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 微信 CTA */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--navy);
    color: var(--paper);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-1px);
}

.cta-icon {
    width: 16px;
    height: 16px;
}

/* 汉堡菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    padding: 0;
}

.menu-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 1px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ============================================
   Hero 区
   ============================================ */
.hero {
    position: relative;
    padding: calc(72px + var(--space-8)) 0 var(--space-9);
    background:
        radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(15, 42, 74, 0.04), transparent 50%),
        var(--cream);
    overflow: hidden;
}

/* 纸张噪点纹理 */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.9375rem;
    color: var(--gold-2);
    font-weight: 500;
    letter-spacing: 4px;
    padding-left: var(--space-5);
    position: relative;
    margin-bottom: var(--space-4);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}

.hero-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: 4px;
    margin-bottom: var(--space-4);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--ink-2);
    letter-spacing: 2px;
    margin-bottom: var(--space-5);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-desc {
    font-size: 1rem;
    color: var(--ink-2);
    line-height: 1.9;
    margin-bottom: var(--space-6);
    max-width: 520px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero-desc strong { color: var(--navy); font-weight: 500; }
.hero-desc em {
    font-style: normal;
    color: var(--gold-2);
    font-weight: 500;
    font-family: var(--font-display);
    font-size: 1.125em;
}

.hero-cta {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-7);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-trust {
    display: flex;
    gap: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.trust-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
}

.trust-num sup {
    font-size: 0.6em;
    color: var(--gold);
    margin-left: 2px;
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--ink-3);
}

/* Hero 视觉装饰 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1.2s var(--ease-out) 0.4s forwards;
}

.hero-art {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 12px 40px rgba(15, 42, 74, 0.15));
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ============================================
   关于我们
   ============================================ */
.about {
    background: var(--cream);
}

.about-intro {
    max-width: 880px;
    margin: 0 auto var(--space-8);
    text-align: center;
    font-size: 1.0625rem;
    color: var(--ink-2);
    line-height: 1.9;
    padding: var(--space-6) var(--space-5);
    background: var(--paper);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}

.biz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.biz-card {
    background: var(--paper);
    border-radius: var(--radius-md);
    padding: var(--space-7) var(--space-5);
    text-align: center;
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease);
}

.biz-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--navy);
}

.biz-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-5);
    color: var(--navy);
}

.biz-icon svg { width: 100%; height: 100%; }

.biz-title {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-3);
    letter-spacing: 1px;
}

.biz-desc {
    font-size: 0.9375rem;
    color: var(--ink-3);
    line-height: 1.8;
}

/* ============================================
   服务项目
   ============================================ */
.service-section {
    background: var(--cream);
}

.service-section-alt {
    background: var(--cream-2);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.program-card {
    background: var(--paper);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    transition: all 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-2);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
}

.program-name {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    letter-spacing: 0.5px;
    flex: 1;
}

.program-cat {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    background: var(--cream-2);
    color: var(--gold-2);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 99px;
    letter-spacing: 1px;
}

.program-school {
    font-size: 0.9375rem;
    color: var(--ink-2);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px dashed var(--line);
    font-weight: 500;
}

.program-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    flex: 1;
}

.program-meta li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.875rem;
}

.meta-label {
    flex-shrink: 0;
    width: 64px;
    color: var(--ink-4);
    font-size: 0.8125rem;
}

.meta-value {
    color: var(--ink);
    font-weight: 500;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    padding: var(--space-2) 0;
    border-top: 1px solid var(--line);
    margin-top: auto;
    transition: all 0.25s var(--ease);
}

.program-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}

.program-link:hover {
    color: var(--gold-2);
}

.program-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   选择理由
   ============================================ */
.why-us {
    background: var(--navy);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(201, 169, 97, 0.1), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(201, 169, 97, 0.06), transparent 40%);
    pointer-events: none;
}

.why-us .container { position: relative; z-index: 1; }

.reason-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.reason-card {
    text-align: center;
    padding: var(--space-6) var(--space-4);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.35s var(--ease);
}

.reason-card:hover {
    background: rgba(201, 169, 97, 0.05);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.reason-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.reason-num sup,
.reason-num span {
    font-size: 0.5em;
    color: var(--gold);
}

.reason-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: var(--space-3);
    letter-spacing: 1px;
}

.reason-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    background: var(--cream);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.faq-item[open] {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.faq-item > summary { list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--navy);
    transition: all 0.25s var(--ease);
}

.faq-question:hover {
    color: var(--gold-2);
}

.faq-item[open] .faq-question {
    color: var(--navy);
    border-bottom: 1px solid var(--line);
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--gold-2);
    transition: transform 0.3s var(--ease);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: var(--space-5) var(--space-6);
    font-size: 0.9375rem;
    color: var(--ink-2);
    line-height: 1.9;
    animation: fadeIn 0.4s var(--ease);
}

.faq-answer p { margin: 0; }

/* ============================================
   联系我们
   ============================================ */
.contact {
    background:
        radial-gradient(ellipse at top left, rgba(201, 169, 97, 0.08), transparent 50%),
        var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-8);
    align-items: center;
}

.contact-info .section-eyebrow { text-align: left; }
.contact-info .section-title { text-align: left; }

.contact-lead {
    font-size: 1.0625rem;
    color: var(--ink-2);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: baseline;
    gap: var(--space-4);
    padding: var(--space-3) 0;
    border-bottom: 1px dashed var(--line);
}

.contact-label {
    flex-shrink: 0;
    width: 80px;
    font-size: 0.875rem;
    color: var(--ink-4);
}

.contact-value {
    font-size: 1rem;
    color: var(--ink);
}

.contact-wechat {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 2px;
}

/* 二维码 */
.contact-qr {
    display: flex;
    justify-content: center;
}

.qr-box {
    background: var(--paper);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--line);
}

.qr-box svg {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.qr-tip {
    margin-top: var(--space-4);
    font-size: 0.875rem;
    color: var(--ink-3);
    line-height: 1.6;
}

.qr-tip strong {
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.125em;
    letter-spacing: 1px;
}

/* ============================================
   页脚
   ============================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--space-8);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-7);
}

.footer-brand .brand-mark { background: var(--gold); color: var(--navy); }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-tag { color: rgba(255, 255, 255, 0.5); }

.footer-desc {
    margin-top: var(--space-4);
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 360px;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--paper);
    margin-bottom: var(--space-4);
    letter-spacing: 1px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s var(--ease);
}

.footer-nav a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-5) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s var(--ease);
}

.footer-bottom a:hover { color: var(--gold); }

.footer-bottom .sep {
    margin: 0 var(--space-2);
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   返回顶部
   ============================================ */
.back-to-top {
    position: fixed;
    right: var(--space-5);
    bottom: var(--space-5);
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s var(--ease);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   动效
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 滚动进入动效 */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   响应式
   ============================================ */

/* 平板（≤ 1023px） */
@media (max-width: 1023px) {
    :root { --space-9: 80px; --space-8: 56px; }

    .container { padding: 0 var(--space-5); }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }

    .hero-eyebrow { padding-left: 0; }
    .hero-eyebrow::before { display: none; }

    .hero-desc { margin-left: auto; margin-right: auto; }

    .hero-cta { justify-content: center; }

    .hero-trust { justify-content: center; }

    .hero-visual { order: -1; }
    .hero-art { max-width: 360px; }

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

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }

    .contact-info .section-eyebrow,
    .contact-info .section-title { text-align: center; }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .footer-brand { grid-column: 1 / -1; }
}

/* 移动端（≤ 767px） */
@media (max-width: 767px) {
    :root { --space-9: 64px; --space-8: 48px; --space-7: 36px; }

    html { scroll-padding-top: 64px; }

    .container { padding: 0 var(--space-4); }

    /* 导航 */
    .nav-container { height: 64px; }

    .brand-tag { display: none; }

    .main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--ease);
    }

    .main-nav.open { max-height: 480px; }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: var(--space-3) var(--space-4);
    }

    .nav-list li { border-bottom: 1px solid var(--line-2); }
    .nav-list li:last-child { border-bottom: none; }

    .nav-link {
        display: block;
        padding: var(--space-4) 0;
        font-size: 1rem;
    }

    .nav-link::after { display: none; }

    .menu-toggle { display: flex; }

    /* Hero */
    .hero { padding: calc(64px + var(--space-7)) 0 var(--space-8); }

    .hero-title { letter-spacing: 2px; }

    .hero-trust {
        gap: var(--space-5);
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .trust-num { font-size: 1.5rem; }

    /* 关于 */
    .about-intro { padding: var(--space-5) var(--space-4); font-size: 1rem; }

    .biz-grid { grid-template-columns: 1fr; gap: var(--space-4); }

    .biz-card { padding: var(--space-6) var(--space-4); }

    /* 服务项目 */
    .program-grid { grid-template-columns: 1fr; gap: var(--space-4); }

    .program-card { padding: var(--space-5) var(--space-4); }

    /* 选择理由 */
    .reason-grid { grid-template-columns: 1fr; gap: var(--space-3); }

    .reason-num { font-size: 2.5rem; }

    /* FAQ */
    .faq-question { padding: var(--space-4) var(--space-4); font-size: 1rem; }
    .faq-answer { padding: var(--space-4); font-size: 0.9375rem; }

    /* 联系 */
    .contact-item { flex-direction: column; gap: var(--space-1); align-items: flex-start; }
    .contact-item .contact-label { width: auto; }

    .qr-box svg { width: 180px; height: 180px; }

    /* 页脚 */
    .footer-container { grid-template-columns: 1fr; gap: var(--space-5); }
    .footer-brand { grid-column: auto; }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }

    /* 返回顶部 */
    .back-to-top {
        right: var(--space-4);
        bottom: var(--space-4);
        width: 40px;
        height: 40px;
    }
}

/* 小屏手机（≤ 380px） */
@media (max-width: 380px) {
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}

/* ============================================
   可访问性
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* 焦点态 */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* 打印优化 */
@media print {
    .site-header, .back-to-top, .hero-wave, .hero-visual { display: none; }
    .section { padding: var(--space-5) 0; }
    body { background: white; color: black; }
}
