/* ============================================================
   广西师范大学小自考招生网站 - 设计系统
   视觉方向：王城红 + 鎏金 + 米白纸感，学术庄重
   ============================================================ */

:root {
    --red: #9e2a2b;          /* 主红 */
    --red-deep: #7a1f20;     /* 深红 */
    --red-ink: #5c1617;      /* 红墨 */
    --gold: #c9a227;         /* 鎏金 */
    --gold-soft: #e6d5a3;    /* 浅金 */
    --ink: #23201c;          /* 正文墨色 */
    --muted: #7a736a;        /* 次要文字 */
    --paper: #faf7f1;        /* 米白纸底 */
    --paper-alt: #f3ede2;    /* 米白加深 */
    --line: #e6dfd2;         /* 分隔线 */
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(122, 31, 32, .08);
    --radius: 14px;
    --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-deep); }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ============ 顶部 ============ */
.topbar {
    background: var(--red-ink);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}
.topbar .container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; gap: 12px; flex-wrap: wrap;
}
.topbar span { letter-spacing: .5px; }
.topbar a { color: rgba(255, 255, 255, .9); letter-spacing: .5px; }
.topbar a:hover { color: var(--gold-soft); }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex; align-items: center; gap: 28px;
    padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-badge {
    width: 46px; height: 46px; border-radius: 10px;
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    color: #fff; display: grid; place-items: center;
    font-family: var(--serif); font-size: 20px; font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 4px 12px rgba(122, 31, 32, .3);
}
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.brand-name small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 2px; }

.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
    color: var(--ink); font-size: 15px; padding: 6px 2px;
    border-bottom: 2px solid transparent; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); border-bottom-color: var(--red); }

.btn {
    display: inline-block; padding: 10px 26px; border-radius: 999px;
    font-size: 15px; cursor: pointer; border: none; transition: all .2s;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-deep));
    color: #fff !important; box-shadow: 0 6px 18px rgba(122, 31, 32, .3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(122, 31, 32, .4); }
.btn-ghost {
    background: transparent; color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .7);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline {
    background: transparent; color: var(--red) !important;
    border: 1px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff !important; }
.btn-lg { padding: 14px 36px; font-size: 16px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ============ Hero ============ */
.hero {
    position: relative; min-height: 620px;
    display: flex; align-items: center;
    color: #fff; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.02);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, rgba(92, 22, 23, .92) 0%, rgba(122, 31, 32, .78) 42%, rgba(35, 32, 28, .35) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 90px 0; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(230, 213, 163, .6); color: var(--gold-soft);
    padding: 6px 16px; border-radius: 999px; font-size: 14px; letter-spacing: 2px;
    margin-bottom: 26px;
}
.hero h1 {
    font-family: var(--serif); font-size: clamp(34px, 5vw, 56px);
    font-weight: 700; line-height: 1.25; margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
}
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p.lead {
    font-size: clamp(15px, 1.6vw, 18px); max-width: 640px;
    color: rgba(255, 255, 255, .92); margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-points {
    display: flex; gap: 34px; margin-top: 52px; flex-wrap: wrap;
}
.hero-points div { border-left: 2px solid var(--gold); padding-left: 14px; }
.hero-points strong { font-family: var(--serif); font-size: 26px; display: block; color: var(--gold-soft); }
.hero-points small { color: rgba(255, 255, 255, .8); font-size: 13px; letter-spacing: 1px; }

/* ============ 区块 ============ */
.section { padding: 84px 0; }
.section.alt { background: var(--white); }
.section.tight { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow {
    display: block; color: var(--red); letter-spacing: 6px;
    font-size: 13px; margin-bottom: 12px;
}
.section-head h2 {
    font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px);
    color: var(--ink); position: relative; display: inline-block; padding-bottom: 18px;
}
.section-head h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--red));
    border-radius: 2px;
}
.section-head p { color: var(--muted); margin-top: 14px; max-width: 620px; margin-left: auto; margin-right: auto; }
.section-head.left { text-align: left; }
.section-head.left h2::after { left: 0; transform: none; }
.section-head.left p { margin-left: 0; }

/* ============ 学校简介 ============ */
.about-grid {
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: 56px; align-items: center;
}
.about-text h2 { font-family: var(--serif); font-size: 30px; margin-bottom: 20px; }
.about-text p { color: #4a453e; font-size: 16px; line-height: 1.9; margin-bottom: 14px; text-align: justify; }
.about-text ul { list-style: none; margin: 0; padding: 0; }
.about-text ul li {
    position: relative; padding: 0 0 12px 26px;
    color: #4a453e; font-size: 15.5px; line-height: 1.8; text-align: justify;
}
.about-text ul li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    color: var(--gold); font-weight: 700;
}
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-badges span {
    background: var(--paper-alt); color: var(--red-deep);
    font-size: 13px; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--line);
}
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-photos figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 2.4 / 1; }
.about-photos figure:not(:first-child) { aspect-ratio: 4 / 3; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.about-photos figure:hover img { transform: scale(1.04); }
.about-photos figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
    padding: 24px 14px 10px; color: #fff; font-size: 13px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}

/* ============ 专业卡片 ============ */
.major-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.major-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--line); overflow: hidden;
    transition: all .25s; display: flex; flex-direction: column;
}
.major-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.major-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-alt); }
.major-cover img { width: 100%; height: 100%; object-fit: cover; }
.major-cover .badge {
    position: absolute; top: 14px; left: 14px;
    padding: 4px 14px; border-radius: 999px; font-size: 13px; color: #fff;
}
.badge.open { background: var(--red); }
.badge.soon { background: #8a8478; }
.major-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.major-body h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.major-body .meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.major-body p { color: #4a453e; font-size: 14.5px; line-height: 1.7; flex: 1; }
.major-foot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.major-foot .more { font-size: 14px; font-weight: 600; }

/* ============ 优势 ============ */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.adv-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 26px;
    transition: all .25s; position: relative; overflow: hidden;
}
.adv-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    opacity: 0; transition: .25s;
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.adv-card:hover::before { opacity: 1; }
.adv-num {
    font-family: var(--serif); font-size: 40px; font-weight: 700;
    color: transparent; -webkit-text-stroke: 1.4px var(--gold);
    line-height: 1; margin-bottom: 14px;
}
.adv-card h3 { font-size: 17px; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--muted); }

/* ============ 课程表 ============ */
.year-tabs { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.year-tab {
    padding: 8px 22px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line); background: var(--white);
    font-size: 14px; color: var(--muted); transition: all .2s;
}
.year-tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.course-table-wrap {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: auto; box-shadow: var(--shadow);
}
.course-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.course-table th {
    background: var(--red-deep); color: #fff; font-weight: 600;
    padding: 13px 16px; text-align: left; font-size: 14.5px; white-space: nowrap;
}
.course-table td {
    padding: 12px 16px; border-bottom: 1px solid var(--line);
    font-size: 15px; vertical-align: middle;
}
.course-table tr:last-child td { border-bottom: none; }
.course-table tr:hover td { background: #fdfaf4; }
.course-table .code { font-family: Consolas, monospace; color: var(--red-deep); white-space: nowrap; }
.course-table .credit { text-align: center; }
.tag {
    display: inline-block; padding: 2px 10px; border-radius: 999px;
    font-size: 12px; white-space: nowrap;
}
.tag.pub { background: #f7ecec; color: var(--red-deep); }
.tag.major { background: #f2eee0; color: #7d6414; }
.tag.prac { background: #eaf1ec; color: #3e6b4d; }
.tag.exam { background: #eceff4; color: #44506b; }
.course-table .remark-gold { color: var(--gold); font-size: 13px; white-space: nowrap; }

/* ============ 收费 ============ */
.fee-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: start; }
.fee-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fee-sub-title { font-family: var(--serif); font-size: 19px; color: var(--red-ink); margin-bottom: 16px; letter-spacing: 1px; }
.fee-table th { background: var(--red-deep); color: #fff; padding: 13px 18px; text-align: left; font-size: 14.5px; }
.fee-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table .amount { font-weight: 700; color: var(--red-deep); white-space: nowrap; }
.fee-table .fee-remark { color: var(--muted); font-size: 13px; }
.fee-total-card {
    background: linear-gradient(150deg, var(--red), var(--red-deep));
    border-radius: var(--radius); color: #fff; padding: 34px 30px;
    position: sticky; top: 92px;
}
.fee-total-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.fee-total-card .total {
    font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--gold-soft);
    line-height: 1.2; margin: 10px 0 6px;
}
.fee-total-card .total small { font-size: 18px; }
.fee-total-card p { font-size: 13.5px; color: rgba(255, 255, 255, .85); margin-bottom: 6px; }
.fee-total-card .note {
    border-top: 1px dashed rgba(255, 255, 255, .3); margin-top: 18px; padding-top: 14px;
    font-size: 12.5px; color: rgba(255, 255, 255, .75);
}

/* ============ 流程时间线 ============ */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before {
    content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(var(--gold), var(--red)); opacity: .4;
}
.timeline-item { position: relative; padding: 0 0 34px 62px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute; left: 8px; top: 4px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--red); color: #fff; font-size: 12px;
    display: grid; place-items: center; font-weight: 700;
    box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--gold-soft);
}
.timeline-item h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { color: var(--muted); font-size: 14px; }

/* ============ 证书 ============ */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 860px; margin: 0 auto; }
.cert-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px; text-align: center;
    box-shadow: var(--shadow); transition: transform .25s;
}
.cert-card:hover { transform: translateY(-4px); }
.cert-card img { border-radius: 8px; aspect-ratio: 3 / 2; object-fit: contain; background: #fbf9f4; }
.cert-card h3 { font-family: var(--serif); font-size: 18px; margin-top: 16px; }
.cert-card p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--white); border: 1px solid var(--line);
    border-radius: 12px; margin-bottom: 14px; overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--gold-soft); }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 18px 22px;
    font-weight: 600; font-size: 15.5px; display: flex; align-items: center; gap: 12px;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
    content: "问"; flex: none;
    width: 26px; height: 26px; border-radius: 8px;
    background: var(--paper-alt); color: var(--red);
    font-size: 13px; display: grid; place-items: center; font-weight: 700;
}
.faq-item summary .arrow { margin-left: auto; color: var(--muted); transition: transform .2s; font-size: 13px; }
.faq-item[open] summary .arrow { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 22px 20px 60px; color: #4a453e; font-size: 14.5px; }
.faq-item .faq-body p { margin-bottom: 8px; }
.faq-item .faq-body a { text-decoration: underline; }

/* ============ 资讯 ============ */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }
.article-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-alt); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.article-body .cat {
    color: var(--red); font-size: 12.5px; letter-spacing: 1px; margin-bottom: 8px;
}
.article-body h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.article-body h3 a { color: var(--ink); }
.article-body h3 a:hover { color: var(--red); }
.article-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.article-body .date { margin-top: 16px; font-size: 12.5px; color: #a39a8d; }

/* 文章详情 */
.article-detail { max-width: 800px; margin: 0 auto; }
.article-detail .art-head { text-align: center; margin-bottom: 40px; }
.article-detail .art-head .cat { color: var(--red); font-size: 13px; letter-spacing: 2px; }
.article-detail h1 {
    font-family: var(--serif); font-size: clamp(24px, 3.2vw, 34px);
    line-height: 1.4; margin: 12px 0 16px;
}
.article-detail .art-meta { color: var(--muted); font-size: 13.5px; }
.article-detail .art-content {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow);
}
.art-content h2 {
    font-family: var(--serif); font-size: 22px; margin: 30px 0 14px;
    padding-left: 14px; border-left: 4px solid var(--gold);
}
.art-content h2:first-child { margin-top: 0; }
.art-content p { margin-bottom: 12px; color: #3d3831; text-align: justify; }
.art-content ul { padding-left: 22px; margin-bottom: 14px; }
.art-content li { margin-bottom: 6px; color: #3d3831; }
.art-content a { text-decoration: underline; }

/* ============ 报名表单 ============ */
.apply-band {
    background: linear-gradient(120deg, var(--red-ink), var(--red-deep) 55%, #6d5116);
    color: #fff; position: relative; overflow: hidden;
}
.apply-band::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 85% 20%, rgba(201, 162, 39, .18), transparent 45%);
}
.apply-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.apply-info h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.apply-info h2 em { font-style: normal; color: var(--gold-soft); }
.apply-info p { color: rgba(255, 255, 255, .85); margin-bottom: 26px; font-size: 15px; }
.apply-info ul { list-style: none; }
.apply-info li {
    padding: 10px 0 10px 30px; position: relative;
    color: rgba(255, 255, 255, .92); font-size: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, .18);
}
.apply-info li::before {
    content: "✓"; position: absolute; left: 2px; top: 10px;
    width: 20px; height: 20px; border-radius: 50%; background: var(--gold);
    color: var(--red-ink); font-size: 12px; font-weight: 700;
    display: grid; place-items: center;
}
.apply-form-card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px 34px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
    color: var(--ink);
}
.apply-form-card h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 6px; }
.apply-form-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.form-row label i { color: var(--red); font-style: normal; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--line);
    border-radius: 10px; font-size: 14.5px; font-family: var(--sans);
    background: #fcfaf6; transition: border .2s; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none; border-color: var(--red); background: #fff;
}
.form-row textarea { resize: vertical; min-height: 76px; }
.form-submit { width: 100%; }
.form-tip { text-align: center; font-size: 12.5px; color: #a39a8d; margin-top: 12px; }
.form-msg { border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; display: none; }
.form-msg.ok { display: block; background: #edf5ee; color: #2f6b40; border: 1px solid #cfe5d4; }
.form-msg.err { display: block; background: #faeeee; color: var(--red-deep); border: 1px solid #f0d5d5; }
.apply-cols {
    display: grid; grid-template-columns: minmax(0, 1fr) 350px;
    gap: 32px; align-items: start; max-width: 1020px; margin: 0 auto;
}
.contact-side {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow);
}
.contact-side h4 { font-family: var(--serif); font-size: 17px; margin-bottom: 10px; }
.contact-side .phone-line a { font-size: 24px; font-weight: 700; color: var(--red-deep); }
.contact-side .phone-who { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.qr-row { display: flex; gap: 16px; margin-bottom: 20px; }
.qr-row figure { margin: 0; text-align: center; }
.qr-row img {
    width: 118px; height: 118px; object-fit: cover;
    border-radius: 10px; border: 1px solid var(--line);
}
.qr-row figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.contact-side .addr { color: #4a453e; font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; }
.contact-side .addr strong { color: var(--ink); }
.contact-side .company {
    border-top: 1px solid var(--line); padding-top: 12px;
    color: var(--muted); font-size: 12.5px; margin-bottom: 0;
}

/* ============ 页脚 ============ */
.site-footer {
    background: var(--red-ink); color: rgba(255, 255, 255, .82);
    margin-top: 90px; position: relative; overflow: hidden;
}
.site-footer::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 15% 0%, rgba(201, 162, 39, .1), transparent 40%);
}
.footer-main {
    position: relative; display: grid; gap: 40px;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr; padding: 56px 0 40px;
}
.footer-main h4 {
    font-family: var(--serif); color: #fff; font-size: 16px;
    margin-bottom: 16px; letter-spacing: 1px;
}
.footer-main p, .footer-main a { font-size: 13.5px; color: rgba(255, 255, 255, .75); }
.footer-main li { list-style: none; margin-bottom: 9px; }
.footer-main a:hover { color: var(--gold-soft); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-badge { background: rgba(255, 255, 255, .12); box-shadow: none; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: rgba(255, 255, 255, .6); }
.footer-qr { display: flex; gap: 16px; margin-top: 18px; }
.footer-qr figure { margin: 0; text-align: center; }
.footer-qr img {
    width: 88px; height: 88px; object-fit: cover;
    border-radius: 8px; background: #fff; padding: 4px;
}
.footer-qr figcaption { font-size: 12px; color: rgba(255, 255, 255, .65); margin-top: 6px; }
.footer-disclaimer {
    position: relative; border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 18px 0; font-size: 12.5px; color: rgba(255, 255, 255, .55);
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.friend-links {
    position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .14); padding: 16px 0 4px;
    font-size: 13px; color: rgba(255, 255, 255, .6);
}
.friend-links ul { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.friend-links a { color: rgba(255, 255, 255, .72); }
.friend-links a:hover { color: var(--gold-soft); }
.footer-bottom {
    position: relative; display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 16px 0 22px; font-size: 13px; color: rgba(255, 255, 255, .55);
}
.footer-icp { color: rgba(255, 255, 255, .72); }
.footer-icp:hover { color: var(--gold-soft); }

/* 返回顶部 */
.back-top {
    position: fixed; right: 26px; bottom: 30px; z-index: 90;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--red); color: #fff; border: none; cursor: pointer;
    font-size: 18px; opacity: 0; pointer-events: none; transition: .25s;
    box-shadow: 0 8px 20px rgba(122, 31, 32, .35);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--red-deep); }

/* 页面头 */
.page-hero {
    background: linear-gradient(110deg, var(--red-ink), var(--red-deep) 60%, #8a6a1c);
    color: #fff; padding: 68px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 88% 10%, rgba(201, 162, 39, .2), transparent 42%);
}
.page-hero h1 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); position: relative; }
.page-hero p { color: rgba(255, 255, 255, .82); margin-top: 10px; position: relative; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; position: relative; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }

/* 加载与空态 */
.loading { text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; letter-spacing: 2px; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
    .about-grid, .fee-wrap, .apply-grid, .apply-cols { grid-template-columns: 1fr; }
    .fee-total-card { position: static; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; gap: 0;
        border-bottom: 1px solid var(--line); padding: 8px 4%;
        box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
    }
    .nav-links.open { display: flex; }
    .nav-links a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-toggle { display: block; }
    .nav { position: relative; flex-wrap: wrap; }
    .nav .btn { display: none; }
}
@media (max-width: 620px) {
    .section { padding: 60px 0; }
    .hero { min-height: 540px; }
    .hero-points { gap: 20px; }
    .cert-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; padding: 44px 0 30px; }
    .article-detail .art-content { padding: 26px 20px; }
    .apply-form-card { padding: 28px 22px; }
}
