/* =========================================================
   廊坊恒源学校 · 移动端 H5
   设计方向：书院编辑风 —— 深靛蓝 + 鎏金，衬线标题，留白与刻度线
   ========================================================= */

/* ---------- 1. 变量 ---------- */
:root{
  --ink:      #0E1929;
  --navy:     #16305C;
  --navy-d:   #0B1A34;
  --navy-x:   #060F20;
  --gold:     #C08A44;
  --gold-l:   #E4C795;
  --gold-d:   #9A6B2C;
  --paper:    #F6F2E9;
  --paper-2:  #EBE4D5;
  --line:     rgba(22,48,92,.14);
  --line-l:   rgba(255,255,255,.14);
  --muted:    #5A687C;
  --muted-l:  rgba(233,238,247,.66);

  --serif: "Songti SC","STSong","Noto Serif SC","Source Han Serif SC","SimSun",Georgia,"Times New Roman",serif;
  --sans: "PingFang SC","HarmonyOS Sans SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif;

  --pad: 22px;
  --appw: 480px;
  --ease: cubic-bezier(.16,1,.3,1);

  /* 首屏文字阴影：贴合字形的实影 + 大范围柔光，保证在复杂照片上依然清晰 */
  --ts-hero: 0 1px 3px rgba(6,15,32,.55), 0 6px 26px rgba(6,15,32,.6);
  --ts-hero-strong: 0 2px 5px rgba(6,15,32,.5), 0 10px 36px rgba(6,15,32,.6);
  --ts-hero-soft: 0 1px 4px rgba(6,15,32,.6), 0 4px 18px rgba(6,15,32,.5);
}

/* ---------- 2. 基础 ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; background:#0A1424; }
body{
  margin:0;
  font-family:var(--sans);
  font-size:15px;
  line-height:1.75;
  color:var(--ink);
  background:var(--paper);
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
button{ font-family:inherit; cursor:pointer; border:0; background:none; color:inherit; }
h1,h2,h3{ margin:0; font-weight:600; line-height:1.3; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
figure{ margin:0; }
a{ color:inherit; text-decoration:none; }

.app{
  position:relative;
  width:100%;
  max-width:var(--appw);
  margin:0 auto;
  background:var(--paper);
  overflow:hidden;
  min-height:100vh;
}
@media (min-width:520px){
  .app{ box-shadow:0 0 0 1px rgba(0,0,0,.25), 0 30px 90px rgba(0,0,0,.55); }
}

/* ---------- 3. 通用组件 ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:48px; padding:0 24px;
  border-radius:2px;
  font-size:15px; font-weight:500; letter-spacing:.04em;
  transition:transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space:nowrap;
}
.btn:active{ transform:scale(.97); }
.btn--gold{ background:var(--gold); color:#17223A; box-shadow:0 6px 20px rgba(192,138,68,.3); }
.btn--gold:active{ background:var(--gold-d); }
.btn--ghost{ background:transparent; color:#EDF2FA; box-shadow:inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--block{ width:100%; }
.btn--mini{ height:36px; padding:0 16px; font-size:13px; background:var(--navy); color:#F3F6FC; border-radius:2px; }

[data-reveal]{ opacity:0; transform:translateY(22px); transition:opacity .8s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in{ opacity:1; transform:none; }

.progress{ position:fixed; top:0; left:50%; transform:translateX(-50%); width:min(100%,var(--appw)); height:2px; z-index:90; pointer-events:none; }
.progress i{ display:block; height:100%; width:0; background:linear-gradient(90deg,var(--gold),var(--gold-l)); transition:width .1s linear; }

/* ---------- 4. 顶栏 ---------- */
.topbar{
  position:fixed; top:0; left:50%; transform:translateX(-50%);
  width:min(100%,var(--appw)); z-index:80;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px var(--pad);
  transition:background .4s var(--ease), box-shadow .4s, padding .4s;
}
.topbar__brand{ display:flex; align-items:center; gap:8px; min-width:0; }
.topbar__logo{
  width:36px; height:36px; flex:0 0 36px;
  padding:3px;
  background:#fff; border-radius:4px;
  object-fit:contain;
  box-shadow:0 1px 8px rgba(0,0,0,.3);
  transition:width .4s var(--ease), height .4s var(--ease), padding .4s var(--ease);
}
.topbar__name{
  font-family:var(--serif); font-size:15px; letter-spacing:.14em;
  color:#F4F8FF; text-shadow:0 1px 6px rgba(0,0,0,.6);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  transition:font-size .4s var(--ease);
}
.topbar.is-solid{
  background:rgba(11,26,52,.92);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--line-l);
  padding:7px var(--pad);
}
.topbar.is-solid .topbar__logo{ width:30px; height:30px; flex-basis:30px; padding:2px; }
.topbar.is-solid .topbar__name{ font-size:14px; text-shadow:none; }
.topbar.is-solid .btn--mini{ background:var(--gold); color:#17223A; }

/* ---------- 5. 右侧锚点 ---------- */
.dotnav{
  position:fixed; top:50%; transform:translateY(-50%); z-index:75;
  left:calc(50% + min(50vw,calc(var(--appw) / 2)) - 20px);
  display:flex; flex-direction:column; gap:14px; align-items:flex-end;
}
.dotnav a{
  position:relative; width:5px; height:5px; border-radius:50%;
  background:rgba(22,48,92,.28);
  transition:background .3s, transform .3s;
}
.dotnav a::after{
  content:attr(data-label);
  position:absolute; right:16px; top:50%; transform:translateY(-50%) translateX(6px);
  font-size:11px; letter-spacing:.08em; white-space:nowrap;
  color:#EDF2FA; background:rgba(11,26,52,.92);
  padding:3px 9px; border-radius:2px;
  opacity:0; pointer-events:none; transition:opacity .3s, transform .3s;
}
.dotnav a.is-on{ background:var(--gold); transform:scale(1.7); }
.dotnav.is-light a{ background:rgba(255,255,255,.3); }
/* 名称气泡仅在支持悬停的设备（桌面预览）上显示，避免遮挡手机端内容 */
@media (hover:hover) and (pointer:fine){
  .dotnav a:hover::after,
  .dotnav a.is-on:hover::after{ opacity:1; transform:translateY(-50%) translateX(0); }
}

/* ---------- 6. 首屏 ---------- */
.hero{
  position:relative; min-height:100vh; min-height:100svh;
  display:flex; flex-direction:column; justify-content:flex-end;
  background:var(--navy-x); overflow:hidden;
}
.hero__stage{ position:absolute; inset:0; }
.hero__slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0; transform:scale(1.08);
  transition:opacity 1.3s var(--ease), transform 7s linear;
}
.hero__slide.is-active{ opacity:1; transform:scale(1); }
.hero__veil{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(6,15,32,.72) 0%, rgba(6,15,32,.12) 32%, rgba(6,15,32,.55) 62%, rgba(6,15,32,.96) 100%),
    linear-gradient(90deg, rgba(6,15,32,.55), rgba(6,15,32,0) 60%);
}
.hero__body{ position:relative; z-index:2; padding:0 var(--pad) 20px; color:#F2F6FD; }
.hero__kicker{
  display:flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:.3em; color:var(--gold-l); margin-bottom:14px;
  text-shadow:var(--ts-hero-soft);
}
.hero__kicker span{ width:26px; height:1px; background:var(--gold); display:block; box-shadow:0 1px 6px rgba(6,15,32,.7); }
.hero__title{
  font-family:var(--serif);
  font-size:clamp(40px,13vw,60px);
  font-weight:600; letter-spacing:.06em; line-height:1.1;
  text-shadow:var(--ts-hero-strong);
}
.hero__sub{
  margin-top:14px; font-size:13.5px; line-height:1.85; color:rgba(240,245,253,.9);
  max-width:20em;
  text-shadow:var(--ts-hero-soft);
}
.hero__stats{
  display:grid; grid-template-columns:repeat(3,1fr);
  margin:26px 0 0; padding-top:20px;
  border-top:1px solid var(--line-l);
}
.hero__stats li{ position:relative; padding-left:14px; }
.hero__stats li + li::before{
  content:""; position:absolute; left:0; top:4px; bottom:4px; width:1px; background:var(--line-l);
}
.hero__stats b{
  display:block; font-family:var(--serif); font-size:clamp(24px,7vw,30px);
  color:var(--gold-l); font-weight:600; letter-spacing:.02em;
  text-shadow:var(--ts-hero);
}
.hero__stats span{ font-size:11px; color:rgba(226,234,247,.72); letter-spacing:.04em; text-shadow:var(--ts-hero-soft); }
.hero__cta{ display:flex; gap:10px; margin-top:28px; }
.hero__cta .btn{ flex:1; }

.hero__foot{
  position:relative; z-index:2;
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px;
  padding:0 var(--pad) calc(30px + env(safe-area-inset-bottom));
}
.hero__dots{ display:flex; gap:7px; padding-bottom:6px; }
.hero__dots button{
  width:20px; height:3px; border-radius:2px;
  background:rgba(255,255,255,.34); transition:background .3s, width .3s;
}
.hero__dots button.is-active{ background:var(--gold); width:34px; }

.hero__hint{
  display:flex; align-items:center; gap:8px;
  font-size:10.5px; letter-spacing:.24em; color:rgba(255,255,255,.56);
  text-shadow:0 1px 5px rgba(6,15,32,.7);
}
.hero__hint i{ width:1px; height:26px; background:linear-gradient(180deg,var(--gold),transparent); display:block; animation:drop 2.2s var(--ease) infinite; }
@keyframes drop{ 0%{ transform:scaleY(.2); transform-origin:top; opacity:0; } 40%{ opacity:1; } 100%{ transform:scaleY(1); transform-origin:top; opacity:0; } }

/* ---------- 7. 区块通用 ---------- */
.sec{ position:relative; padding:64px var(--pad) 56px; }
.sec-head{ position:relative; margin-bottom:30px; }
.sec-head .sec-num{
  position:absolute; right:-4px; top:-34px;
  font-family:var(--serif); font-size:82px; font-weight:600; line-height:1;
  color:transparent; -webkit-text-stroke:1px rgba(192,138,68,.32);
  pointer-events:none; user-select:none;
}
.sec-title{
  position:relative; font-family:var(--serif);
  font-size:clamp(26px,7.6vw,34px); letter-spacing:.08em; color:var(--navy-d);
  padding-left:16px;
}
.sec-title::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:4px; height:1.05em; background:var(--gold);
}
.sec-sub{ margin-top:10px; font-size:12.5px; letter-spacing:.06em; color:var(--muted); }

/* 深色区块 */
.sec--teachers,.sec--enroll{
  background:var(--navy-d); color:#EDF2FA;
}
.sec--teachers .sec-title,.sec--enroll .sec-title{ color:#F5F8FE; }
.sec--teachers .sec-sub,.sec--enroll .sec-sub{ color:var(--muted-l); }
.sec--teachers .sec-num,.sec--enroll .sec-num{ -webkit-text-stroke-color:rgba(228,199,149,.28); }
.sec--teachers::before,.sec--enroll::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(120% 60% at 100% 0%, rgba(192,138,68,.13), transparent 60%);
}

/* ---------- 8. 学校简介 ---------- */
.intro__banner{ position:relative; margin-bottom:26px; overflow:hidden; background:var(--paper-2); }
.intro__stage{ position:relative; aspect-ratio:16/9; overflow:hidden; }
/* 左右无缝循环：flex 轨道整体位移，首尾各克隆一张实现无跳变衔接 */
.intro__track{
  display:flex; height:100%;
  transition:transform .8s var(--ease);
  will-change:transform;
}
.intro__slide{ flex:0 0 100%; height:100%; }
.intro__slide img{ width:100%; height:100%; object-fit:cover; filter:saturate(.96); }
.intro__tag{
  position:absolute; left:0; bottom:0; z-index:3;
  padding:7px 14px; font-size:11.5px; letter-spacing:.1em;
  background:var(--navy-d); color:var(--gold-l);
}
.intro__dots,
.acc__dots{ position:absolute; right:10px; bottom:12px; z-index:3; display:flex; gap:5px; }
.intro__dots button,
.acc__dots button{
  width:6px; height:6px; border-radius:50%;
  background:rgba(255,255,255,.9);
  box-shadow:0 0 0 1px rgba(6,15,32,.28), 0 1px 5px rgba(6,15,32,.65);
  transition:background .3s, width .3s;
}
.intro__dots button.is-active,
.acc__dots button.is-active{ background:var(--gold); width:18px; border-radius:3px; }
.prose{ font-size:14.5px; line-height:2; color:#2A3647; }
.prose p + p{ margin-top:14px; }
.prose--clamp{ max-height:15.6em; overflow:hidden; position:relative; transition:max-height .6s var(--ease); }
.prose--clamp::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:5em;
  background:linear-gradient(180deg,rgba(246,242,233,0),var(--paper));
  transition:opacity .4s;
}
.prose--clamp.is-open{ max-height:80em; }
.prose--clamp.is-open::after{ opacity:0; }
.drop{
  float:left; font-family:var(--serif); font-size:46px; line-height:.86;
  margin:4px 8px 0 0; color:var(--gold);
}
.more{
  display:flex; align-items:center; justify-content:center; gap:7px;
  width:100%; margin-top:16px; height:42px;
  font-size:13px; letter-spacing:.1em; color:var(--navy);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.more i{ width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translate(-2px,-2px); transition:transform .4s var(--ease); }
.more[aria-expanded="true"] i{ transform:rotate(-135deg) translate(-2px,-2px); }

.facts{ margin-top:28px; border-top:1px solid var(--line); }
.facts li{ display:flex; gap:14px; padding:13px 0; border-bottom:1px solid var(--line); font-size:13.5px; }
.facts em{ flex:0 0 68px; font-style:normal; color:var(--muted); }
.facts strong{ flex:1; font-weight:500; color:var(--navy-d); }

.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.chips li{
  font-size:12px; letter-spacing:.04em; color:var(--navy);
  padding:5px 12px; border:1px solid var(--line); border-radius:100px;
  background:rgba(255,255,255,.6);
}

/* ---------- 9. 办学优势 ---------- */
.plates{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.plates__item{ position:relative; overflow:hidden; background:#fff; border:1px solid var(--line); }
.plates__item img{ width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .7s var(--ease); }
.plates__item:active img{ transform:scale(1.05); }
.plates__item figcaption{
  padding:8px 10px; font-size:11.5px; line-height:1.5; color:var(--navy-d);
  border-top:1px solid var(--line);
}
.plates__note{ margin-top:14px; font-size:13px; line-height:1.9; color:var(--muted); padding-left:14px; border-left:2px solid var(--gold); }

.acc{ margin-top:26px; border-top:1px solid var(--line); }
.acc__item{ border-bottom:1px solid var(--line); }
.acc__head{ display:flex; align-items:center; gap:12px; width:100%; padding:18px 0; text-align:left; }
.acc__idx{ font-family:var(--serif); font-size:12px; letter-spacing:.1em; color:var(--gold); flex:0 0 22px; }
.acc__head h3{ flex:1; font-size:15.5px; font-weight:600; color:var(--navy-d); letter-spacing:.02em; }
.acc__icon{ position:relative; width:15px; height:15px; flex:0 0 15px; }
.acc__icon::before,.acc__icon::after{
  content:""; position:absolute; background:var(--navy); transition:transform .4s var(--ease), opacity .3s;
}
.acc__icon::before{ left:0; right:0; top:7px; height:1.4px; }
.acc__icon::after{ top:0; bottom:0; left:7px; width:1.4px; }
.acc__item.is-open .acc__icon::after{ transform:scaleY(0); opacity:0; }
.acc__item.is-open .acc__icon::before{ background:var(--gold); }
.acc__panel{ overflow:hidden; height:0; transition:height .5s var(--ease); }
.acc__inner{ padding:0 0 22px 34px; }
.acc__inner p{ font-size:14px; line-height:1.95; color:#334052; }
.acc__carousel{
  position:relative; overflow:hidden; background:var(--paper-2);
  margin:18px 0 0 -34px;
}
.acc__stage{ position:relative; aspect-ratio:16/10; }
.acc__slide{
  position:absolute; inset:0;
  opacity:0; transform:scale(1.06);
  transition:opacity 1s var(--ease), transform 6s linear;
}
.acc__slide.is-active{ opacity:1; transform:scale(1); }
.acc__slide img{ width:100%; height:100%; object-fit:cover; }

/* ---------- 10. 师资力量 ---------- */
.score{
  border:1px solid var(--line-l);
  background:linear-gradient(160deg, rgba(192,138,68,.14), rgba(192,138,68,0) 60%);
  padding:22px 18px 18px;
}
.score__row{ display:grid; grid-template-columns:repeat(3,1fr); }
.score__item{ position:relative; padding-left:12px; }
.score__item + .score__item::before{ content:""; position:absolute; left:0; top:2px; bottom:2px; width:1px; background:var(--line-l); }
.score__item b{
  display:block; font-family:var(--serif); font-weight:600;
  font-size:clamp(30px,10vw,42px); line-height:1; color:var(--gold-l);
  font-variant-numeric:tabular-nums;
}
.score__item b::after{ content:"+"; font-size:.42em; margin-left:2px; color:var(--gold); vertical-align:super; }
.score__item span{ display:block; margin-top:8px; font-size:11px; line-height:1.5; color:var(--muted-l); }
.score__note{ margin-top:18px; padding-top:16px; border-top:1px solid var(--line-l); font-size:13px; line-height:1.9; color:rgba(237,242,250,.82); }
.score__note b{ color:var(--gold-l); font-weight:600; }

.teachers__lead{ margin-top:24px; font-size:13.5px; line-height:2; color:rgba(237,242,250,.72); }
.scroll-tip{ margin:26px 0 12px; font-size:11px; letter-spacing:.16em; color:rgba(228,199,149,.7); }

.rail{
  display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory;
  margin:0 calc(var(--pad) * -1); padding:0 var(--pad) 18px;
  -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.rail::-webkit-scrollbar{ display:none; }
.tcard{
  flex:0 0 71%; max-width:300px; scroll-snap-align:center;
  background:#F7F4EC; color:var(--ink);
  display:flex; flex-direction:column;
  transition:transform .5s var(--ease), opacity .5s;
}
.rail .tcard:not(.is-current){ opacity:.72; transform:scale(.965); }
.tcard__photo{ position:relative; overflow:hidden; background:var(--paper-2); }
.tcard__photo img{ width:100%; aspect-ratio:3/3.6; object-fit:cover; object-position:top center; }
.tcard__body{ padding:16px 16px 18px; }
.tcard__body h3{ font-family:var(--serif); font-size:20px; letter-spacing:.06em; color:var(--navy-d); }
.tcard__body h3 em{ font-family:var(--sans); font-style:normal; font-size:11px; font-weight:400; letter-spacing:.08em; color:#fff; background:var(--navy); padding:2px 7px; margin-left:8px; vertical-align:middle; border-radius:2px; }
.tcard__tags{ display:flex; gap:6px; flex-wrap:wrap; margin:10px 0 10px; }
.tcard__tags li{ font-size:11px; color:var(--gold-d); border:1px solid rgba(192,138,68,.42); padding:2px 8px; border-radius:100px; }
.tcard__body p{
  font-size:12.5px; line-height:1.85; color:#4A5768;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; min-height:5.55em;
}
.tcard__more{ display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-size:12px; letter-spacing:.08em; color:var(--navy); }
.tcard__more i{ width:14px; height:1px; background:var(--gold); transition:width .35s var(--ease); }
.tcard:active .tcard__more i{ width:22px; }

/* ---------- 11. 校园风采 ---------- */
.tabs{
  position:relative; display:flex; gap:2px; margin:0 calc(var(--pad) * -1) 22px;
  padding:0 var(--pad); overflow-x:auto; scrollbar-width:none; border-bottom:1px solid var(--line);
}
.tabs::-webkit-scrollbar{ display:none; }
.tabs button{
  position:relative; flex:0 0 auto; padding:12px 14px 14px;
  font-size:13.5px; letter-spacing:.06em; color:var(--muted);
  transition:color .3s;
}
.tabs button.is-active{ color:var(--navy-d); font-weight:600; }
.tabs__ink{
  position:absolute; bottom:-1px; left:0; height:2px; width:0;
  background:var(--gold); transition:transform .45s var(--ease), width .45s var(--ease);
}
.panel{ display:none; }
.panel.is-active{ display:block; animation:fadeUp .5s var(--ease) both; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }

.gallery{ display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.gallery figure{ position:relative; overflow:hidden; background:var(--paper-2); }
.gallery figure img{ width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .8s var(--ease); }
.gallery figure:active img{ transform:scale(1.06); }
.gallery figure figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:16px 9px 7px; font-size:11px; letter-spacing:.03em; color:#fff;
  background:linear-gradient(180deg,transparent,rgba(6,15,32,.82));
}
.gallery--lead figure:nth-child(1){ grid-column:span 2; }
.gallery--lead figure:nth-child(1) img{ aspect-ratio:16/10; }
.gallery--lead figure:nth-child(1) figcaption{ font-size:12.5px; padding:22px 12px 10px; }
.panel__note{
  margin-top:18px; font-size:13px; line-height:1.95; color:var(--muted);
  padding:14px 16px; background:rgba(255,255,255,.7); border-left:2px solid var(--gold);
}

/* ---------- 12. 招生计划 ---------- */
.targets{ display:flex; gap:8px; }
.targets button{
  flex:1; height:44px; font-size:13px; letter-spacing:.04em;
  color:rgba(237,242,250,.72); border:1px solid var(--line-l);
  transition:background .3s, color .3s, border-color .3s;
}
.targets button.is-active{ background:var(--gold); border-color:var(--gold); color:#17223A; font-weight:600; }

.perks{ display:grid; grid-template-columns:1fr 1fr; gap:1px; margin-top:22px; background:var(--line-l); border:1px solid var(--line-l); }
.perks li{ background:rgba(9,22,44,.72); padding:16px 14px; }
.perks span{ font-family:var(--serif); font-size:11px; letter-spacing:.14em; color:var(--gold); }
.perks strong{ display:block; margin:6px 0 6px; font-size:14px; font-weight:600; color:#F2F6FD; }
.perks em{ font-style:normal; font-size:11.5px; line-height:1.6; color:var(--muted-l); }

.form{ margin-top:26px; background:#F7F4EC; color:var(--ink); padding:22px 18px; }
.form__title{ font-family:var(--serif); font-size:19px; letter-spacing:.06em; color:var(--navy-d); }
.form__desc{ margin-top:8px; font-size:12px; line-height:1.8; color:var(--muted); }
.field{ display:block; margin-top:16px; }
.field > span{ display:block; font-size:12.5px; letter-spacing:.04em; color:var(--navy); margin-bottom:7px; }
.field > span em{ font-style:normal; color:var(--muted); }
.field input,.field textarea{
  width:100%; padding:12px; font-family:inherit; font-size:16px; line-height:1.5; color:var(--ink);
  background:#fff; border:1px solid var(--line); border-radius:2px;
  transition:border-color .3s, box-shadow .3s; resize:none;
}
.field input:focus,.field textarea:focus{
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(192,138,68,.14);
}
.field.is-error input{ border-color:#C0392B; }
.field__err{ display:block; font-size:11.5px; color:#C0392B; font-style:normal; margin-top:5px; min-height:0; }
.field--static .field__value{
  padding:12px; background:#fff; border:1px solid var(--line); border-radius:2px;
  font-size:14px; color:var(--navy);
}
.form .btn--block{ margin-top:22px; }
.form__tip{ margin-top:12px; font-size:11px; text-align:center; color:var(--muted); }

.done{ text-align:center; padding:34px 18px; background:#F7F4EC; color:var(--ink); margin-top:26px; animation:fadeUp .5s var(--ease) both; }
.done__mark{
  width:56px; height:56px; margin:0 auto 18px; border-radius:50%;
  background:rgba(192,138,68,.14); display:flex; align-items:center; justify-content:center;
}
.done__mark i{ width:16px; height:9px; border-left:2px solid var(--gold); border-bottom:2px solid var(--gold); transform:rotate(-45deg) translate(1px,-2px); }
.done h3{ font-family:var(--serif); font-size:20px; color:var(--navy-d); letter-spacing:.06em; }
.done p{ margin:12px 0 20px; font-size:13px; line-height:1.9; color:var(--muted); }
.done .btn{ border-color:var(--line); color:var(--navy); box-shadow:inset 0 0 0 1px var(--line); }

.visit{ margin-top:26px; padding:22px 18px; border:1px solid var(--line-l); text-align:center; }
.visit__t{ font-family:var(--serif); font-size:17px; letter-spacing:.08em; color:var(--gold-l); }
.visit__d{ margin-top:10px; font-size:12.5px; line-height:1.9; color:var(--muted-l); }
.visit__btns{ display:flex; gap:10px; margin-top:18px; }
.visit__btns .btn{ flex:1; }
.visit__btns .btn--ghost{ box-shadow:inset 0 0 0 1px var(--line-l); }

/* ---------- 13. 页脚 ---------- */
.foot{
  background:var(--navy-x); color:rgba(237,242,250,.7);
  text-align:center; padding:52px var(--pad) 120px;
}
.foot__logo{
  width:196px; height:auto; margin:0 auto 26px;
  background:#fff; padding:8px 12px; border-radius:2px; opacity:.94;
}
.foot__motto{ font-family:var(--serif); font-size:19px; letter-spacing:.3em; color:var(--gold-l); }
.foot__name{ margin-top:18px; font-family:var(--serif); font-size:26px; letter-spacing:.16em; color:#F2F6FD; }
.foot__en{ margin-top:8px; font-size:10px; letter-spacing:.28em; color:rgba(237,242,250,.4); }
.foot__note{ margin-top:16px; font-size:12px; line-height:1.9; }
.foot__top{
  margin-top:26px; padding:9px 20px; font-size:12px; letter-spacing:.1em;
  color:var(--gold-l); border:1px solid rgba(228,199,149,.32); border-radius:100px;
}

/* ---------- 14. 底部操作条 ---------- */
.actionbar{
  position:fixed; bottom:0; left:50%; transform:translateX(-50%);
  width:min(100%,var(--appw)); z-index:78;
  display:flex; gap:1px;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  background:rgba(11,26,52,.94);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  box-shadow:0 -1px 0 var(--line-l);
  transform:translateX(-50%) translateY(120%);
  transition:transform .5s var(--ease);
}
.actionbar.is-show{ transform:translateX(-50%) translateY(0); }
.actionbar__btn{
  flex:1; height:46px; display:inline-flex; align-items:center; justify-content:center; gap:7px;
  font-size:14px; letter-spacing:.05em; color:rgba(237,242,250,.86);
  border:1px solid var(--line-l); border-radius:2px;
}
.actionbar__btn--primary{ flex:1.5; background:var(--gold); border-color:var(--gold); color:#17223A; font-weight:600; }
.actionbar__btn:active{ opacity:.86; }
.ico{ width:15px; height:15px; display:block; }
.ico--phone{ border:1.4px solid currentColor; border-radius:3px 3px 4px 4px; position:relative; }
.ico--phone::after{ content:""; position:absolute; left:2px; right:2px; top:3px; height:1.4px; background:currentColor; }
.ico--form{ border:1.4px solid currentColor; border-top-width:4px; }

/* ---------- 15. 师资抽屉 ---------- */
.sheet{ position:fixed; inset:0; z-index:95; pointer-events:none; }
.sheet__mask{
  position:absolute; inset:0; background:rgba(6,15,32,.6);
  opacity:0; transition:opacity .4s var(--ease);
}
.sheet__panel{
  position:absolute; left:50%; bottom:0; transform:translateX(-50%) translateY(100%);
  width:min(100%,var(--appw));
  background:#F7F4EC; color:var(--ink);
  padding:26px var(--pad) calc(34px + env(safe-area-inset-bottom));
  max-height:82vh; overflow-y:auto;
  transition:transform .5s var(--ease);
}
.sheet.is-open{ pointer-events:auto; }
.sheet.is-open .sheet__mask{ opacity:1; }
.sheet.is-open .sheet__panel{ transform:translateX(-50%) translateY(0); }
.sheet__close{
  position:absolute; right:12px; top:8px; width:38px; height:38px;
  font-size:26px; line-height:1; color:var(--muted); font-weight:300;
}
.sheet__head{ display:flex; gap:16px; align-items:flex-start; padding-right:38px; }
.sheet__head img{ width:84px; height:106px; object-fit:cover; object-position:top center; background:var(--paper-2); flex:0 0 84px; }
.sheet__head h3{ font-family:var(--serif); font-size:23px; letter-spacing:.08em; color:var(--navy-d); }
.sheet__head p{ margin-top:8px; font-size:12.5px; letter-spacing:.06em; color:var(--gold-d); }
.sheet__tags{ display:flex; flex-wrap:wrap; gap:7px; margin:18px 0; }
.sheet__tags li{ font-size:11.5px; color:var(--navy); background:rgba(22,48,92,.07); padding:4px 10px; border-radius:100px; }
.sheet__bio{ font-size:14px; line-height:2; color:#2E3B4E; padding-left:14px; border-left:2px solid var(--gold); }

/* ---------- 16. Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:99;
  background:rgba(4,10,22,.96);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .35s var(--ease);
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:94vw; max-height:74vh; object-fit:contain; }
.lightbox__cap{ margin-top:16px; font-size:12.5px; letter-spacing:.08em; color:rgba(255,255,255,.72); }
.lightbox__close{
  position:absolute; top:calc(14px + env(safe-area-inset-top)); right:14px;
  width:42px; height:42px; font-size:30px; font-weight:300; color:rgba(255,255,255,.7);
}
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:60px; font-size:34px; font-weight:300; color:rgba(255,255,255,.5);
}
.lightbox__nav--prev{ left:2px; }
.lightbox__nav--next{ right:2px; }
.lightbox.is-single .lightbox__nav,
.lightbox.is-single .lightbox__idx{ display:none; }
.lightbox__idx{ position:absolute; bottom:calc(24px + env(safe-area-inset-bottom)); font-size:11px; letter-spacing:.14em; color:rgba(255,255,255,.42); }

/* ---------- 17. Toast ---------- */
.toast{
  position:fixed; left:50%; bottom:calc(96px + env(safe-area-inset-bottom));
  transform:translateX(-50%) translateY(14px);
  z-index:100; max-width:82%;
  padding:11px 18px; font-size:13px; line-height:1.5; text-align:center;
  color:#F6F2E9; background:rgba(11,26,52,.95); border:1px solid rgba(228,199,149,.28);
  border-radius:3px; opacity:0; pointer-events:none;
  transition:opacity .3s, transform .35s var(--ease);
}
.toast.is-show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ---------- 18. 无障碍 / 动效偏好 ---------- */
:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
  [data-reveal]{ opacity:1; transform:none; }
  .hero__slide{ transform:none; }
  /* 轮播仍需保留可感知的切换反馈，只是缩短时长 */
  .intro__track{ transition-duration:.4s !important; }
}
