:root {
  color-scheme: light;
  --paper: #f2f6fb;
  --surface: #ffffff;
  --ink: #16283c;
  --muted: #5a6b80;
  --line: #dce6f2;
  --accent: #1f5fa8;
  --accent-deep: #123a63;
  --gold: #3d8bd4;
  --gold-soft: #dcebf9;
  --shadow: 0 1px 2px rgba(18, 42, 72, 0.06), 0 8px 24px rgba(18, 42, 72, 0.06);
  --serif: "Songti SC", "Noto Serif SC", "STSong", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 0.24em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 50;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.38rem;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}
.brand a { text-decoration: none; }
.brand::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 10px;
  background: var(--gold);
  border-radius: 50%;
  vertical-align: middle;
}

nav.main { display: flex; flex-wrap: wrap; gap: 2px 26px; align-items: center; }
nav.main a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--accent); }
nav.main a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

/* ---------- Hero (text pages) ---------- */
.hero {
  padding-block: 88px 64px;
}
.hero .kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.hero .lede {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: 1.1rem;
  color: var(--muted);
}
.hero .cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Carousel hero (home) ---------- */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #123a63;
}
.carousel .slides {
  display: flex;
  transition: transform 0.85s cubic-bezier(0.65, 0.05, 0.36, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  position: relative;
  height: clamp(440px, 76vh, 700px);
  overflow: hidden;
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  animation: car-kenburns 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes car-kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.13); }
}
/* cinematic overlay: blue tint for text contrast + soft bottom fade */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 52, 92, 0.52) 0%, rgba(16, 52, 92, 0.15) 46%, rgba(130, 178, 232, 0.10) 70%),
    linear-gradient(180deg, rgba(150, 193, 240, 0.16) 0%, rgba(16, 52, 92, 0.04) 34%, rgba(16, 52, 92, 0.30) 58%, rgba(9, 34, 62, 0.84) 100%);
}
.slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0 40px 84px;
  max-width: 1180px;
  margin-inline: auto;
  width: 100%;
}
.slide-caption .kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: #a7cdf3;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.slide-caption .kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, #a7cdf3 0%, rgba(167, 205, 243, 0) 100%);
}
.slide-caption .slide-title {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3.55rem);
  line-height: 1.14;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 28px rgba(0, 0, 0, 0.3);
}
.slide-caption p.desc {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.04rem;
  max-width: 52ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.slide-caption .cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.slide-caption .cta-row .primary {
  background: #a7cdf3;
  color: #123a63;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(18, 58, 99, 0.35);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.slide-caption .cta-row .primary:hover {
  background: #c3ddf9;
  color: #0d3055;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18, 58, 99, 0.4);
}

/* staggered caption entrance when a slide becomes active */
.slide.is-active .slide-caption > * { animation: car-rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.slide.is-active .slide-caption > *:nth-child(1) { animation-delay: 0.05s; }
.slide.is-active .slide-caption > *:nth-child(2) { animation-delay: 0.2s; }
.slide.is-active .slide-caption > *:nth-child(3) { animation-delay: 0.35s; }
.slide.is-active .slide-caption > *:nth-child(4) { animation-delay: 0.5s; }
@keyframes car-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(18, 58, 99, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.car-btn:hover {
  background: #a7cdf3;
  border-color: #a7cdf3;
  color: #123a63;
  transform: translateY(-50%) scale(1.06);
}
.car-btn:active { transform: translateY(-50%) scale(0.98); }
.car-btn.prev { left: 26px; }
.car-btn.next { right: 26px; }

.car-nav {
  position: absolute;
  right: 40px;
  bottom: 30px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 20px;
}
.car-count {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}
.car-count b {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}
.car-dots { display: flex; gap: 8px; align-items: center; }
.car-dots button {
  position: relative;
  width: 48px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  overflow: hidden;
  transition: background 0.2s ease;
}
.car-dots button:hover { background: rgba(255, 255, 255, 0.55); }
.car-dots button .fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #a7cdf3, #d3e6fa);
}
.car-dots button.is-active .fill { animation: car-dotfill 6s linear forwards; }
@keyframes car-dotfill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.carousel:hover .car-dots button .fill { animation-play-state: paused; }

/* ---------- Blocks ---------- */
section.block { border-top: 1px solid var(--line); padding-block: 64px; }
section.block h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}
section.block h2::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  margin-right: 12px;
  background: var(--gold);
  vertical-align: middle;
}
section.block p { margin: 0 0 14px; max-width: 72ch; }

.meta { color: var(--muted); font-size: 0.92rem; overflow-wrap: anywhere; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 10px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(18, 42, 72, 0.08), 0 18px 36px rgba(18, 42, 72, 0.1); }
.card h3 { margin: 0 0 10px; font-size: 1.12rem; letter-spacing: 0.01em; color: var(--accent-deep); }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.card p + p { margin-top: 12px; }
.card a { color: var(--accent); font-weight: 600; }

.primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: normal;
  transition: background 0.2s ease;
}
.primary:hover { background: var(--accent-deep); }
.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.note {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 4px;
  color: var(--ink);
  margin: 0 0 18px;
}
.note strong { color: var(--accent); }

.list { margin: 10px 0 20px; padding-left: 22px; }
.list li { margin-bottom: 10px; max-width: 72ch; }
.list li::marker { color: var(--gold); }

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin-top: 10px;
}
.step {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step p { margin: 0; }

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-head .kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.section-head .more {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.section-head .more:hover { text-decoration: underline; }

/* ---------- Feature strip (under hero) ---------- */
.feat-strip { background: var(--accent-deep); color: #fff; }
.feat-strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px 34px; padding-block: 34px; }
.feat-item { display: flex; gap: 12px; align-items: flex-start; }
.feat-item .dot {
  flex: 0 0 8px;
  width: 8px; height: 8px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--gold);
}
.feat-item strong { display: block; font-size: 1rem; letter-spacing: 0.02em; }
.feat-item span { color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; }

/* ---------- Metrics (big numbers) ---------- */
.metrics { background: var(--accent-deep); color: #fff; }
.metrics .wrap { padding-block: 60px 64px; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px 36px; }
.metric .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.4vw, 4.2rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.metric .label { margin-top: 12px; font-size: 1rem; letter-spacing: 0.02em; }
.metric .sub { margin-top: 6px; color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; }
.metrics .note { margin-top: 28px; color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; max-width: 78ch; }

/* ---------- Product / course cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.prod-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(18, 42, 72, 0.08), 0 18px 36px rgba(18, 42, 72, 0.1); }
.prod-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.prod-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prod-card .en { color: var(--gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; }
.prod-card h3 { margin: 0; font-family: var(--serif); font-size: 1.22rem; color: var(--accent-deep); letter-spacing: 0.01em; }
.prod-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.prod-card ul.specs { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.prod-card ul.specs li { color: var(--ink); font-size: 0.92rem; display: flex; gap: 9px; }
.prod-card ul.specs li::before { content: "—"; color: var(--gold); flex: 0 0 auto; }
.prod-card .more { margin-top: auto; }

/* ---------- Application / audience cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.app-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--accent-deep); letter-spacing: 0.01em; }
.app-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- Numbered steps grid ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: sg; }
.step-card {
  counter-increment: sg;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.step-card::before {
  content: counter(sg, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--accent-deep); }
.step-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Case cards (typical configurations) ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-card h3 { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: var(--accent-deep); }
.case-card dl { margin: 0; display: grid; gap: 8px; }
.case-card dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.case-card dd { margin: 2px 0 0; color: var(--ink); font-size: 0.95rem; }

/* ---------- News cards ---------- */
.news-list { display: grid; gap: 20px; }
.news-card {
  display: flex;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  align-items: flex-start;
}
.news-card .date {
  flex: 0 0 76px;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.news-card .date .d { font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--accent); }
.news-card .date .m { color: var(--muted); font-size: 0.82rem; margin-top: 4px; letter-spacing: 0.04em; }
.news-card .body h3 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.4; }
.news-card .body h3 a { color: var(--accent-deep); text-decoration: none; }
.news-card .body h3 a:hover { color: var(--accent); }
.news-card .body p { margin: 0 0 10px; color: var(--muted); font-size: 0.94rem; }
.news-card .body .tag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.grid-cards.two-col { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
  margin: 18px 0 26px;
}
.price-old {
  font-size: 1.05rem;
  color: var(--muted);
  text-decoration: line-through;
}
.price-now {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.poster {
  margin: 22px 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.poster img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.poster figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.poster.qr { max-width: 420px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}
.contact-info p { margin: 0 0 18px; }
.contact-info strong { display: block; color: var(--accent-deep); font-size: 0.92rem; margin-bottom: 4px; }
.contact-info a { color: var(--accent); font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* ---------- Split 图文分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
.split-media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 18px 12px;
  background: linear-gradient(to top, rgba(18, 58, 99, 0.72), transparent);
  color: #cfe3f8;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.split-body h3 { font-family: var(--serif); color: var(--accent-deep); font-size: 1.3rem; margin: 0 0 14px; }
.split-body p { color: var(--muted); }

/* ---------- Img band 横幅图带 ---------- */
.img-band {
  margin-top: 26px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.img-band img { width: 100%; height: 250px; object-fit: cover; display: block; }
.img-band figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 22px 14px;
  background: linear-gradient(to top, rgba(18, 58, 99, 0.78), transparent);
  color: #cfe3f8;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* ---------- Expert 师资专家卡片 ---------- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.expert-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(18, 42, 72, 0.08), 0 18px 36px rgba(18, 42, 72, 0.1); }
.expert-card .en { color: var(--gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; }
.expert-card h3 { margin: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--accent-deep); }
.expert-card .years {
  align-self: flex-start;
  background: var(--accent-deep);
  color: var(--surface);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.expert-card .exp { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.75; }
.expert-card .tag-row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.expert-card .tag { background: rgba(18, 42, 72, 0.06); color: var(--accent-deep); font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 32px;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}
footer.site a { min-height: 44px; display: inline-flex; align-items: center; }
footer.site .photo-note { font-size: 0.8rem; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 640px) {
  .hero { padding-block: 56px 44px; }
  header.site .wrap { justify-content: flex-start; }
  .slide { height: clamp(400px, 68vh, 560px); }
  .slide-caption { padding: 0 20px 74px; }
  .car-nav { right: 20px; bottom: 22px; gap: 14px; }
  .car-count { display: none; }
  .car-dots button { width: 34px; height: 4px; }
  .car-btn { width: 44px; height: 44px; }
  .car-btn.prev { left: 12px; }
  .car-btn.next { right: 12px; }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .split.reverse .split-media { order: 0; }
  .img-band img { height: 200px; }
  .expert-grid { grid-template-columns: 1fr; }
  .float-bar { right: 16px; bottom: 16px; }
  .float-btn { width: 48px; height: 48px; font-size: 1.4rem; }
  .float-btn .float-label { display: none; }
  .float-btn.phone .float-label { display: inline; font-size: 0.85rem; }
  .breadcrumb { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid-3 { grid-template-columns: 1fr; }
  .qr-card { flex-direction: column; text-align: center; gap: 12px; max-width: 280px; margin: 0 auto; }
  .qr-card-body { align-items: center; }

  /* mobile menu */
  .menu-toggle { display: block; }
  header.site nav.main {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--line);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 72px 24px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }
  header.site nav.main.is-open { transform: translateX(0); }
  header.site nav.main a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  header.site nav.main a:last-child { border-bottom: none; }
  .menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 98;
  }
  .menu-backdrop.is-visible { display: block; }
}

/* ---------- Floating CTA + Back to top ---------- */
.float-bar {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  min-width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(18, 58, 99, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  padding: 0;
}
.float-btn:hover { background: var(--accent-deep); transform: scale(1.05); }
.float-btn.phone { border-radius: 26px; padding: 0 20px; gap: 8px; min-width: auto; }
.float-btn.phone .float-label { font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.float-btn.top { background: var(--gold); }
.float-btn.top:hover { background: #2f6ea8; }
.float-btn.top.is-hidden { opacity: 0; pointer-events: none; transform: scale(0.6); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--line); font-size: 0.9rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; min-height: auto; display: inline; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--accent-deep); font-weight: 600; }

/* ---------- Contact form ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
}
.form-group label .req { color: var(--gold); margin-left: 2px; }
.form-group label .req::after { content: "*"; }
.form-group input,
.form-group select,
.form-group textarea {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: 0.95rem/1.5 var(--sans);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 95, 168, 0.12);
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; }
.form-submit {
  margin-top: 8px;
  min-height: 48px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: 600 1rem/1 var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}
.form-submit:hover { background: var(--accent-deep); }

/* ---------- Contact 3-column grid ---------- */
.contact-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.contact-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-tile .ct-icon { font-size: 1.6rem; margin-bottom: 10px; }
.contact-tile .ct-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin: 0 0 6px; }
.contact-tile .ct-value { font-size: 1rem; color: var(--ink); margin: 0; }
.contact-tile .ct-value a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ---------- QR code card 二维码名片 ---------- */
.qr-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: left;
  max-width: 360px;
}
.qr-frame {
  flex: 0 0 auto;
  width: 124px;
  aspect-ratio: 1 / 1;
  padding: 7px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}
.qr-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.qr-card-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
}
.qr-card-title::before { content: "💬 "; }
.qr-card-text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.qr-card-hint {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
  opacity: 0.85;
}
.qr-card.compact { padding: 14px 18px; gap: 14px; }
.qr-card.compact .qr-frame { width: 104px; padding: 6px; }
.qr-card.compact .qr-card-text { font-size: 0.8rem; }

/* ---------- Map embed ---------- */
.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-embed .map-placeholder {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.92rem;
}
.map-embed .map-placeholder .map-icon { font-size: 2rem; }

/* ---------- Business hours badge ---------- */
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  color: var(--accent-deep);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Related articles ---------- */
.related-articles {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 8px;
}
.related-articles h2 { font-size: 1.2rem; margin: 0 0 16px; }
.related-list { display: grid; gap: 16px; }
.related-list a {
  display: block;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: auto;
}
.related-list a:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(18,58,99,0.08); }
.related-list .ra-title { font-weight: 600; font-size: 0.95rem; margin: 0 0 4px; }
.related-list .ra-desc { font-size: 0.82rem; color: var(--muted); margin: 0; }

@media (min-width: 641px) {
  .related-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Print styles ---------- */
@media print {
  header.site, footer.site, .float-bar, .breadcrumb, .cta-row, .car-btn, .car-nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .wrap { max-width: 100%; }
  a { color: #000; text-decoration: none; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  .block, .hero { page-break-inside: avoid; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile hamburger menu ---------- */
.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  z-index: 100;
}
.menu-toggle span {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--accent-deep);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }
.menu-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- Reading progress bar ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold);
  z-index: 999;
  transition: width 0.1s linear;
}

/* ---------- Copy button ---------- */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: transparent;
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.copy-btn:hover { background: var(--accent); color: #fff; }
.copy-btn.copied { background: var(--gold); border-color: var(--gold); color: #fff; }
.form-success {
  display: none;
  padding: 24px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 10px;
  text-align: center;
}
.form-success .fs-icon { font-size: 2rem; margin-bottom: 8px; }
.form-success .fs-title { font-size: 1.1rem; font-weight: 700; color: var(--accent-deep); margin: 0 0 6px; }
.form-success .fs-text { font-size: 0.92rem; color: var(--muted); margin: 0 0 14px; }
.form-success .fs-phone { font-size: 1.3rem; font-weight: 700; color: var(--accent); }
.form-success.is-visible { display: block; }
.form-card.is-hidden { display: none; }
