/* ==========================================================================
   德音学校 De Yin School · 伦敦中文学校
   zhongwenschool.com — 设计系统
   ========================================================================== */

:root{
    --ink:#1c2230;
    --ink-soft:#454f61;
    --ink-mute:#6d7688;
    --red:#c63a2e;
    --red-deep:#9e281f;
    --red-soft:#f6e4e1;
    --gold:#c9973c;
    --gold-soft:#f7edd9;
    --jade:#2f7d6c;
    --paper:#fdf8f1;
    --paper-2:#f7f0e4;
    --white:#ffffff;
    --line:#e7ddcd;
    --shadow-sm:0 2px 8px rgba(28,34,48,.06);
    --shadow:0 12px 32px rgba(28,34,48,.10);
    --shadow-lg:0 24px 60px rgba(28,34,48,.16);
    --radius:16px;
    --radius-lg:26px;
    --radius-pill:999px;
    --transition:.28s cubic-bezier(.4,0,.2,1);
    --container:1200px;
    --font-sans:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans SC","Noto Sans CJK SC","Heiti SC",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    --font-serif:"Songti SC","STSong","Source Han Serif SC","Noto Serif SC","SimSun",Georgia,"Times New Roman",serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
    margin:0;
    font-family:var(--font-sans);
    font-size:16.5px;
    line-height:1.85;
    color:var(--ink-soft);
    background:var(--paper);
    overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--red);text-decoration:none;transition:var(--transition);}
a:hover{color:var(--red-deep);}
h1,h2,h3,h4{color:var(--ink);font-weight:700;line-height:1.35;margin:0 0 .6em;}
h1{font-family:var(--font-serif);font-size:clamp(2rem,4.4vw,3.15rem);letter-spacing:.01em;}
h2{font-family:var(--font-serif);font-size:clamp(1.6rem,3.1vw,2.4rem);}
h3{font-size:clamp(1.15rem,1.9vw,1.4rem);}
h4{font-size:1.05rem;}
p{margin:0 0 1.15em;}
ul,ol{margin:0 0 1.2em;padding-left:1.35em;}
li{margin-bottom:.5em;}
strong{color:var(--ink);font-weight:700;}
hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0;}

.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 22px;}
.narrow{max-width:840px;margin-left:auto;margin-right:auto;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* ---------- 按钮 ---------- */
.btn{
    display:inline-flex;align-items:center;justify-content:center;gap:.5em;
    padding:.85em 1.9em;border-radius:var(--radius-pill);
    font-weight:700;font-size:1rem;line-height:1.2;
    border:2px solid transparent;cursor:pointer;text-align:center;
    transition:var(--transition);
}
.btn-primary{background:var(--red);color:#fff;box-shadow:0 10px 24px rgba(198,58,46,.28);}
.btn-primary:hover{background:var(--red-deep);color:#fff;transform:translateY(-2px);box-shadow:0 14px 30px rgba(198,58,46,.36);}
.btn-gold{background:var(--gold);color:#2a1f0c;box-shadow:0 10px 24px rgba(201,151,60,.3);}
.btn-gold:hover{background:#b5852f;color:#2a1f0c;transform:translateY(-2px);}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line);}
.btn-ghost:hover{border-color:var(--red);color:var(--red);background:var(--white);}
.btn-light{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.5);}
.btn-light:hover{background:#fff;color:var(--red);}
.btn-sm{padding:.6em 1.35em;font-size:.92rem;}
.btn-block{display:flex;width:100%;}

/* ---------- 顶部信息条 ---------- */
.topbar{
    background:var(--ink);color:rgba(255,255,255,.82);
    font-size:.86rem;padding:.55rem 0;
}
.topbar .container{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;align-items:center;justify-content:center;}
.topbar a{color:#fff;}
.topbar a:hover{color:var(--gold);}
.topbar span{display:inline-flex;align-items:center;gap:.4em;}
.topbar .tb-tag{background:var(--red);color:#fff;border-radius:var(--radius-pill);padding:.1em .8em;font-weight:700;}

/* ---------- 页头 ---------- */
.site-header{
    position:sticky;top:0;z-index:60;
    background:var(--white);
    border-bottom:1px solid var(--line);
    box-shadow:0 2px 14px rgba(28,34,48,.05);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:76px;}
.logo a{display:flex;align-items:center;gap:.7rem;color:var(--ink);}
.logo img{width:52px;height:52px;border-radius:50%;flex:0 0 auto;}
.logo-text{display:flex;flex-direction:column;line-height:1.15;}
.logo-name{font-family:var(--font-serif);font-size:1.32rem;font-weight:700;color:var(--ink);letter-spacing:.06em;}
.logo-sub{font-size:.7rem;letter-spacing:.22em;color:var(--gold);text-transform:uppercase;font-weight:700;}
.logo a:hover .logo-name{color:var(--red);}

.main-nav ul{display:flex;align-items:center;gap:.15rem;list-style:none;margin:0;padding:0;}
.main-nav a{
    display:block;padding:.55rem .82rem;border-radius:var(--radius-pill);
    color:var(--ink);font-weight:600;font-size:.97rem;white-space:nowrap;
}
.main-nav a:hover,.main-nav a.active{background:var(--red-soft);color:var(--red-deep);}
.main-nav .nav-cta{display:none;}
.header-cta{display:flex;align-items:center;gap:.6rem;}
.nav-toggle{
    display:none;width:46px;height:46px;border:1px solid var(--line);background:var(--white);
    border-radius:12px;cursor:pointer;padding:0;align-items:center;justify-content:center;
}
.nav-toggle span{display:block;position:relative;width:20px;height:2px;background:var(--ink);border-radius:2px;transition:var(--transition);}
.nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--ink);border-radius:2px;transition:var(--transition);}
.nav-toggle span::before{top:-6px;}
.nav-toggle span::after{top:6px;}
.nav-open .nav-toggle span{background:transparent;}
.nav-open .nav-toggle span::before{top:0;transform:rotate(45deg);}
.nav-open .nav-toggle span::after{top:0;transform:rotate(-45deg);}

/* ---------- 装饰 ---------- */
.kicker{
    display:inline-flex;align-items:center;gap:.55em;
    font-size:.82rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
    color:var(--red);margin-bottom:.9rem;
}
.kicker::before{content:"";width:26px;height:2px;background:var(--gold);}
.section{padding:clamp(3.4rem,7vw,6rem) 0;}
.section-alt{background:var(--paper-2);}
.section-ink{background:var(--ink);color:rgba(255,255,255,.82);}
.section-ink h2,.section-ink h3{color:#fff;}
.section-ink .kicker{color:var(--gold);}
.section-head{max-width:760px;margin-bottom:2.8rem;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head.center .kicker{justify-content:center;}
.section-head p{font-size:1.06rem;margin-bottom:0;}
.lead{font-size:1.12rem;color:var(--ink-soft);}

.seal{
    display:inline-flex;align-items:center;justify-content:center;
    width:58px;height:58px;background:var(--red);color:#fff;
    font-family:var(--font-serif);font-size:1.15rem;font-weight:700;
    border-radius:8px;letter-spacing:.02em;line-height:1.1;text-align:center;
    box-shadow:0 8px 20px rgba(198,58,46,.3);
}

/* ---------- Hero ---------- */
.hero{
    position:relative;overflow:hidden;
    background:linear-gradient(160deg,#fdf8f1 0%,#f7ece0 55%,#f3e3d5 100%);
    padding:clamp(3rem,6vw,5.5rem) 0 clamp(3.4rem,7vw,6rem);
}
.hero::before{
    content:"";position:absolute;right:-140px;top:-160px;width:520px;height:520px;
    background:radial-gradient(circle,rgba(201,151,60,.22),transparent 68%);border-radius:50%;
}
.hero::after{
    content:"";position:absolute;left:-180px;bottom:-200px;width:480px;height:480px;
    background:radial-gradient(circle,rgba(198,58,46,.12),transparent 68%);border-radius:50%;
}
.hero .container{position:relative;z-index:2;}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,4vw,3.6rem);align-items:center;}
.hero h1{margin-bottom:.55em;}
.hero h1 em{font-style:normal;color:var(--red);}
.hero-sub{font-size:1.15rem;max-width:34em;}
.hero-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin:1.8rem 0 1.6rem;}
.hero-points{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;list-style:none;padding:0;margin:0;font-weight:600;color:var(--ink);}
.hero-points li{display:flex;align-items:center;gap:.45em;font-size:.96rem;margin-bottom:0;}
.hero-points li::before{content:"✓";width:22px;height:22px;flex:0 0 auto;display:grid;place-items:center;background:var(--jade);color:#fff;border-radius:50%;font-size:.72rem;font-weight:700;}
.hero-media{position:relative;}
.hero-media img{border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:100%;object-fit:cover;aspect-ratio:4/3;}
.hero-badge{
    position:absolute;left:-14px;bottom:26px;background:#fff;border-radius:var(--radius);
    padding:.9rem 1.2rem;box-shadow:var(--shadow);display:flex;align-items:center;gap:.8rem;max-width:min(88%,290px);
}
.hero-badge strong{display:block;font-size:1.5rem;font-family:var(--font-serif);color:var(--red);line-height:1.1;}
.hero-badge span{font-size:.86rem;color:var(--ink-mute);line-height:1.4;}

/* ---------- 数据条 ---------- */
.factbar{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.factbar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding:2rem 0;text-align:center;}
.fact strong{display:block;font-family:var(--font-serif);font-size:clamp(1.5rem,2.6vw,2.1rem);color:var(--red);line-height:1.2;}
.fact span{font-size:.92rem;color:var(--ink-mute);}

/* ---------- 卡片网格 ---------- */
.grid{display:grid;gap:1.6rem;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.card{
    background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);
    padding:1.9rem;box-shadow:var(--shadow-sm);transition:var(--transition);height:100%;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:var(--gold);}
.card h3{margin-bottom:.5em;}
.card p:last-child{margin-bottom:0;}
.card-icon{
    width:60px;height:60px;border-radius:18px;display:grid;place-items:center;
    background:var(--red-soft);color:var(--red);font-family:var(--font-serif);font-size:1.7rem;font-weight:700;
    margin-bottom:1.1rem;
}
.card-icon.gold{background:var(--gold-soft);color:#8a6418;}
.card-icon.jade{background:#e2f0ec;color:var(--jade);}
.card-media{border-radius:var(--radius);overflow:hidden;margin:-1.9rem -1.9rem 1.4rem;}
.card-media img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--radius-lg) var(--radius-lg) 0 0;transition:var(--transition);}
.card:hover .card-media img{transform:scale(1.04);}

/* ---------- 图文交替 ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,4.5vw,4rem);align-items:center;}
.split + .split{margin-top:clamp(2.6rem,5vw,4.5rem);}
.split.reverse .split-media{order:2;}
.split-media img{border-radius:var(--radius-lg);box-shadow:var(--shadow);width:100%;aspect-ratio:4/3;object-fit:cover;}
.split-media.tall img{aspect-ratio:1/1;background:var(--white);}

/* ---------- 学费卡 ---------- */
.price-card{
    background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);
    padding:2.1rem 1.9rem;display:flex;flex-direction:column;position:relative;
    box-shadow:var(--shadow-sm);transition:var(--transition);height:100%;
}
.price-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.price-card.featured{border:2px solid var(--red);box-shadow:var(--shadow);}
.price-tag{
    position:absolute;top:-14px;right:22px;background:var(--red);color:#fff;
    font-size:.78rem;font-weight:700;letter-spacing:.08em;border-radius:var(--radius-pill);padding:.25em 1em;
}
.price-card h3{margin-bottom:.3em;}
.price-amount{font-family:var(--font-serif);font-size:2.6rem;color:var(--red);line-height:1.1;margin:.4rem 0 .1rem;}
.price-note{font-size:.9rem;color:var(--ink-mute);margin-bottom:1.2rem;}
.price-list{list-style:none;padding:0;margin:0 0 1.6rem;flex:1;}
.price-list li{display:flex;gap:.6em;font-size:.96rem;margin-bottom:.6em;}
.price-list li::before{content:"·";color:var(--gold);font-weight:700;font-size:1.4em;line-height:1;}

/* ---------- 教师 ---------- */
.teacher-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);transition:var(--transition);height:100%;display:flex;flex-direction:column;}
.teacher-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);}
.teacher-photo{aspect-ratio:1/1;overflow:hidden;background:var(--white);}
.teacher-photo img{width:100%;height:100%;object-fit:cover;transition:var(--transition);}
.teacher-card:hover .teacher-photo img{transform:scale(1.05);}
.teacher-body{padding:1.4rem 1.5rem 1.6rem;flex:1;}
.teacher-body h3{margin-bottom:.15em;font-size:1.2rem;}
.teacher-role{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.1em;color:var(--gold);margin-bottom:.8rem;}
.teacher-body p{font-size:.95rem;margin-bottom:0;color:var(--ink-soft);}

/* ---------- 画廊 ---------- */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.gallery figure{margin:0;border-radius:var(--radius);overflow:hidden;position:relative;display:block;background:var(--paper-2);}
.gallery img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;transition:var(--transition);}
.gallery figure:hover img{transform:scale(1.06);}
.gallery .wide{grid-column:span 2;}
.gallery .wide img{aspect-ratio:2/1;}
.gallery figcaption{
    position:absolute;left:0;right:0;bottom:0;padding:1.4rem .9rem .7rem;
    background:linear-gradient(transparent,rgba(28,34,48,.78));
    color:#fff;font-size:.86rem;font-weight:600;
}

/* ---------- 评价 ---------- */
.quote-card{
    background:var(--white);border-radius:var(--radius-lg);padding:2rem 1.9rem;
    border:1px solid var(--line);box-shadow:var(--shadow-sm);position:relative;height:100%;
}
.quote-card::before{
    content:"\201C";position:absolute;top:-6px;left:20px;font-family:var(--font-serif);
    font-size:5rem;color:var(--gold);opacity:.4;line-height:1;
}
.quote-card p{position:relative;font-size:1.02rem;color:var(--ink);margin-bottom:1.1rem;}
.quote-who{display:flex;align-items:center;gap:.7rem;font-size:.92rem;color:var(--ink-mute);font-weight:600;}
.quote-who .dot{width:34px;height:34px;border-radius:50%;background:var(--red-soft);color:var(--red);display:grid;place-items:center;font-weight:700;font-family:var(--font-serif);}

/* ---------- FAQ ---------- */
.faq-item{
    background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
    margin-bottom:.9rem;overflow:hidden;transition:var(--transition);
}
.faq-item[open]{border-color:var(--gold);box-shadow:var(--shadow-sm);}
.faq-item summary{
    cursor:pointer;list-style:none;padding:1.1rem 3rem 1.1rem 1.4rem;
    font-weight:700;color:var(--ink);position:relative;font-size:1.03rem;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
    content:"+";position:absolute;right:1.3rem;top:50%;transform:translateY(-50%);
    font-size:1.4rem;color:var(--red);font-weight:400;transition:var(--transition);
}
.faq-item[open] summary::after{transform:translateY(-50%) rotate(45deg);}
.faq-item summary:hover{color:var(--red);}
.faq-body{padding:1rem 1.4rem 1.3rem;border-top:1px solid var(--paper-2);}
.faq-body p:last-child,.faq-body ul:last-child{margin-bottom:0;}

/* ---------- 博客 ---------- */
.post-card{
    background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);
    overflow:hidden;box-shadow:var(--shadow-sm);transition:var(--transition);
    display:flex;flex-direction:column;height:100%;
}
.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);}
.post-thumb{overflow:hidden;}
.post-thumb img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:var(--transition);}
.post-card:hover .post-thumb img{transform:scale(1.05);}
.post-body{padding:1.5rem 1.6rem 1.7rem;display:flex;flex-direction:column;flex:1;}
.post-meta{font-size:.82rem;color:var(--ink-mute);margin-bottom:.6rem;display:flex;flex-wrap:wrap;gap:.4rem .9rem;align-items:center;}
.post-meta .tagpill{background:var(--red-soft);color:var(--red-deep);border-radius:var(--radius-pill);padding:.1em .8em;font-weight:700;}
.post-card h3{font-size:1.13rem;line-height:1.5;margin-bottom:.55em;}
.post-card h3 a{color:var(--ink);}
.post-card h3 a:hover{color:var(--red);}
.post-card p{font-size:.95rem;flex:1;margin-bottom:1.1rem;}
.readmore{font-weight:700;font-size:.94rem;display:inline-flex;align-items:center;gap:.35em;}
.readmore::after{content:"\2192";transition:var(--transition);}
.readmore:hover::after{transform:translateX(4px);}

/* ---------- 内页头 / 文章 ---------- */
.page-hero{
    background:linear-gradient(150deg,#1c2230 0%,#2c3446 60%,#3a2a26 100%);
    color:rgba(255,255,255,.85);padding:clamp(2.6rem,5vw,4.2rem) 0 clamp(2.8rem,5vw,4rem);
    position:relative;overflow:hidden;
}
.page-hero::after{
    content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;
    background:radial-gradient(circle,rgba(201,151,60,.22),transparent 70%);border-radius:50%;
}
.page-hero .container{position:relative;z-index:2;}
.page-hero h1{color:#fff;margin-bottom:.4em;}
.page-hero p{max-width:44em;margin-bottom:0;font-size:1.06rem;}
.page-hero .kicker{color:var(--gold);}
.breadcrumb{font-size:.86rem;margin-bottom:1.1rem;color:rgba(255,255,255,.6);}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;padding:0;margin:0;}
.breadcrumb li{margin-bottom:0;}
.breadcrumb li::after{content:"/";margin-left:.45rem;opacity:.5;}
.breadcrumb li:last-child::after{content:"";}
.breadcrumb a{color:rgba(255,255,255,.82);}
.breadcrumb a:hover{color:var(--gold);}

.article{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(1.6rem,3.5vw,3rem);box-shadow:var(--shadow-sm);}
.article > *:first-child{margin-top:0;}
.article h2{font-size:clamp(1.35rem,2.4vw,1.75rem);margin-top:2.2em;padding-left:.7em;border-left:4px solid var(--red);line-height:1.4;}
.article h3{margin-top:1.9em;color:var(--red-deep);}
.article p{font-size:1.05rem;}
.article img{border-radius:var(--radius);box-shadow:var(--shadow-sm);margin:1.8rem auto;}
.article figure{margin:1.8rem 0;}
.article figcaption{font-size:.88rem;color:var(--ink-mute);text-align:center;margin-top:.6rem;}
.article ul li,.article ol li{font-size:1.03rem;}
.article blockquote{
    margin:1.8rem 0;padding:1.2rem 1.5rem;background:var(--gold-soft);
    border-left:4px solid var(--gold);border-radius:0 var(--radius) var(--radius) 0;
    color:var(--ink);font-size:1.03rem;
}
.article blockquote p:last-child{margin-bottom:0;}
.article .tip{
    background:var(--red-soft);border-radius:var(--radius);padding:1.2rem 1.4rem;margin:1.8rem 0;
    border-left:4px solid var(--red);
}
.article .tip p:last-child{margin-bottom:0;}
.article-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;font-size:.9rem;color:var(--ink-mute);margin-bottom:1.8rem;padding-bottom:1.2rem;border-bottom:1px solid var(--line);}
.tag-cloud{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:2.4rem;padding-top:1.6rem;border-top:1px solid var(--line);}
.tag-cloud span{background:var(--paper-2);color:var(--ink-mute);border-radius:var(--radius-pill);padding:.25em 1em;font-size:.85rem;}

.sidebar{display:flex;flex-direction:column;gap:1.4rem;}
.widget{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.6rem;box-shadow:var(--shadow-sm);}
.widget h3{font-size:1.08rem;margin-bottom:1rem;padding-bottom:.7rem;border-bottom:2px solid var(--gold-soft);}
.widget ul{list-style:none;padding:0;margin:0;}
.widget li{margin-bottom:.85em;font-size:.95rem;line-height:1.6;}
.widget li:last-child{margin-bottom:0;}
.widget li a{color:var(--ink);font-weight:600;}
.widget li a:hover{color:var(--red);}
.widget-cta{background:linear-gradient(150deg,var(--red),var(--red-deep));color:#fff;border:none;}
.widget-cta h3{color:#fff;border-bottom-color:rgba(255,255,255,.25);}
.widget-cta p{color:rgba(255,255,255,.9);font-size:.95rem;}
.with-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:2.4rem;align-items:start;}

/* ---------- CTA ---------- */
.cta-band{
    background:linear-gradient(140deg,var(--red) 0%,var(--red-deep) 55%,#7d1d16 100%);
    color:#fff;border-radius:var(--radius-lg);padding:clamp(2.2rem,4.5vw,3.4rem);
    text-align:center;position:relative;overflow:hidden;box-shadow:var(--shadow);
}
.cta-band::before{content:"";position:absolute;inset:auto -60px -120px auto;width:340px;height:340px;background:radial-gradient(circle,rgba(255,255,255,.14),transparent 70%);border-radius:50%;}
.cta-band h2{color:#fff;}
.cta-band p{color:rgba(255,255,255,.9);max-width:44em;margin-left:auto;margin-right:auto;font-size:1.06rem;}
.cta-actions{display:flex;flex-wrap:wrap;gap:.9rem;justify-content:center;margin-top:1.8rem;position:relative;z-index:2;}

/* ---------- 表单 ---------- */
.contact-form{display:grid;gap:1rem;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.contact-form label{font-weight:700;color:var(--ink);font-size:.93rem;display:block;margin-bottom:.35rem;}
.contact-form input,.contact-form select,.contact-form textarea{
    width:100%;padding:.85rem 1rem;border:1px solid var(--line);border-radius:12px;
    font-family:inherit;font-size:1rem;color:var(--ink);background:var(--white);transition:var(--transition);
}
.contact-form textarea{min-height:140px;resize:vertical;}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{
    outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(198,58,46,.12);
}
.contact-form .captcha-row{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;}
.contact-form .captcha-row img,.contact-form .captcha-row svg{border:1px solid var(--line);border-radius:10px;background:#fff;}
.form-note{font-size:.86rem;color:var(--ink-mute);}
.form-box{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(1.5rem,3vw,2.4rem);box-shadow:var(--shadow-sm);}

/* ---------- 联系信息 ---------- */
.info-list{list-style:none;padding:0;margin:0;}
.info-list li{display:flex;gap:1rem;margin-bottom:1.5rem;align-items:flex-start;}
.info-ico{
    flex:0 0 auto;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;
    background:var(--red-soft);color:var(--red);font-size:1.15rem;font-family:var(--font-serif);font-weight:700;
}
.info-list strong{display:block;color:var(--ink);margin-bottom:.15rem;}
.info-list span,.info-list a{font-size:.98rem;color:var(--ink-soft);}
.info-list a:hover{color:var(--red);}
.map-embed{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--line);line-height:0;}
.map-embed iframe{width:100%;height:380px;border:0;}

/* ---------- 页脚 ---------- */
footer{background:var(--ink);color:rgba(255,255,255,.72);padding:3.4rem 0 1.4rem;}
.footer-content{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2.4rem;}
.footer-section h3{color:#fff;margin-bottom:1rem;font-size:1.08rem;}
.footer-section p,.footer-section a{color:rgba(255,255,255,.72);line-height:1.85;font-size:.95rem;}
.footer-section a:hover{color:var(--gold);}
.footer-section p{margin-bottom:.7em;}
.footer-brand{display:flex;align-items:center;gap:.7rem;margin-bottom:1rem;}
.footer-brand img{width:48px;height:48px;border-radius:50%;}
.footer-brand strong{color:#fff;font-family:var(--font-serif);font-size:1.2rem;letter-spacing:.05em;}
.footer-bottom{text-align:center;padding-top:1.8rem;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.55);font-size:.9rem;}
.footer-bottom p{margin-bottom:.5rem;}
.footer-partner{margin-top:1rem;font-size:.88rem;color:rgba(255,255,255,.62);}
.footer-partner a{color:var(--gold);}
.footer-partner a:hover{color:#fff;}

/* ---------- 返回顶部 ---------- */
.to-top{
    position:fixed;right:18px;bottom:18px;width:46px;height:46px;border-radius:50%;
    background:var(--red);color:#fff;display:grid;place-items:center;border:none;cursor:pointer;
    box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:var(--transition);z-index:50;font-size:1.1rem;
}
.to-top.show{opacity:1;visibility:visible;}
.to-top:hover{background:var(--red-deep);transform:translateY(-3px);}

/* ---------- 分页 ---------- */
.pagination{display:flex;gap:.5rem;justify-content:center;margin-top:2.6rem;flex-wrap:wrap;}
.pagination a,.pagination span{
    min-width:42px;height:42px;display:grid;place-items:center;padding:0 .8rem;
    border:1px solid var(--line);border-radius:12px;background:var(--white);
    color:var(--ink);font-weight:700;font-size:.95rem;
}
.pagination a:hover{border-color:var(--red);color:var(--red);}
.pagination .current{background:var(--red);border-color:var(--red);color:#fff;}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width:1080px){
    .main-nav a{padding:.5rem .6rem;font-size:.92rem;}
    .logo img{width:46px;height:46px;}
    .with-sidebar{grid-template-columns:1fr;}
    .sidebar{flex-direction:row;flex-wrap:wrap;}
    .sidebar .widget{flex:1 1 300px;}
}
@media (max-width:900px){
    .grid-4{grid-template-columns:repeat(2,1fr);}
    .gallery{grid-template-columns:repeat(3,1fr);}
    .factbar-grid{grid-template-columns:repeat(2,1fr);gap:1.6rem;}
    .hero-grid{grid-template-columns:1fr;}
    .hero-media{order:-1;}
    .hero-badge{left:auto;right:14px;bottom:-18px;}
    .split{grid-template-columns:1fr;}
    .split.reverse .split-media{order:0;}
}
@media (max-width:820px){
    .nav-toggle{display:flex;position:relative;z-index:80;}
    .header-cta .btn{display:none;}
    .main-nav{
        position:fixed;inset:0 0 0 auto;width:min(84vw,340px);
        height:100vh;height:100dvh;
        background:var(--white);border-left:1px solid var(--line);
        box-shadow:-16px 0 40px rgba(28,34,48,.16);
        transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);
        z-index:70;padding:6.8rem 1.4rem 2rem;overflow-y:auto;
    }
    .nav-open .main-nav{transform:translateX(0);}
    .main-nav ul{flex-direction:column;align-items:stretch;gap:.2rem;}
    .main-nav a{padding:.9rem 1rem;font-size:1.05rem;border-radius:12px;}
    .main-nav .nav-cta{display:block;margin-top:1rem;}
    .main-nav .nav-cta .btn{display:flex;width:100%;}
    .nav-backdrop{
        position:fixed;inset:0;background:rgba(28,34,48,.5);opacity:0;visibility:hidden;
        transition:var(--transition);z-index:65;
    }
    .nav-open .nav-backdrop{opacity:1;visibility:visible;}
    body.nav-open{overflow:hidden;}
}
@media (max-width:680px){
    body{font-size:16px;}
    .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}
    .gallery{grid-template-columns:repeat(2,1fr);gap:10px;}
    .gallery .wide{grid-column:span 2;}
    .form-row{grid-template-columns:1fr;}
    .footer-content{grid-template-columns:1fr;gap:1.8rem;}
    .topbar{font-size:.8rem;}
    .topbar .container{gap:.3rem 1rem;}
    .card{padding:1.5rem;}
    .card-media{margin:-1.5rem -1.5rem 1.2rem;}
    .hero-badge{position:static;margin-top:1rem;max-width:none;}
    .sidebar{flex-direction:column;}
    .article h2{padding-left:.55em;}
}
@media (max-width:420px){
    .logo-name{font-size:1.12rem;}
    .logo-sub{font-size:.62rem;letter-spacing:.16em;}
    .logo img{width:40px;height:40px;}
}

@media print{
    .site-header,.topbar,footer,.to-top,.cta-band,.nav-backdrop{display:none;}
    body{background:#fff;}
}
