/* =========================================================
   中小学留学网 — Design System v1
   Warm editorial + data-driven K-12 study abroad
   ========================================================= */

:root {
  --ink: #14231f;
  --ink-soft: #1d332c;
  --pine: #1f4d40;
  --pine-deep: #15382f;
  --jade: #3c8a75;
  --jade-soft: #dcebe4;
  --paper: #f7f2e8;
  --paper-deep: #efe6d8;
  --surface: #fffdf9;
  --sand: #e3d6c3;
  --gold: #b58b4b;
  --gold-ink: #8a6428;
  --gold-soft: #ead9b9;
  --coral: #c65a3f;
  --coral-deep: #a94730;
  --coral-soft: #f6dfd7;
  --text: #1b2a25;
  --muted: #615c52;
  --muted-light: #6a6458;
  --line: #dcd2c2;
  --line-strong: #c9bda9;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(20, 35, 31, 0.04);
  --shadow: 0 18px 50px rgba(20, 35, 31, 0.08);
  --shadow-lg: 0 32px 90px rgba(20, 35, 31, 0.16);
  --container: 1200px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --font-num: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2em;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 48px, 920px);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 68px 0;
}

.section--paper-deep {
  background: var(--paper-deep);
}

.section--ink {
  background: var(--ink-soft);
  color: var(--paper);
}

.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-ink);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow,
.section--ink .eyebrow,
.feature-article .eyebrow,
.process-intro .eyebrow,
.panel--ink .eyebrow,
.article-hero-visual .eyebrow {
  color: var(--gold-soft);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--dark {
  color: var(--pine);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-head__main {
  max-width: 680px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s;
}

.section-link:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.section-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.section-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(198, 90, 63, 0.22);
}

.btn-primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 14px 30px rgba(198, 90, 63, 0.28);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--pine-deep);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--white);
}

.btn-outline-light {
  border-color: rgba(247, 242, 232, 0.34);
  background: rgba(247, 242, 232, 0.04);
  color: var(--paper);
}

.btn-outline-light:hover {
  border-color: rgba(247, 242, 232, 0.7);
  background: rgba(247, 242, 232, 0.1);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 600;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(247, 242, 232, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(20, 35, 31, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 48px, 1320px);
  height: 78px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

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

.brand-text strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 3px;
  color: #5f5a50;
  font-family: var(--font-num);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.main-nav a:hover {
  color: var(--coral);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  color: #5f5a50;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, top 0.25s;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 23px;
}

body.menu-open .menu-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--pine-deep);
  background-image:
    linear-gradient(90deg, rgba(21, 56, 47, 0.98) 0%, rgba(21, 56, 47, 0.95) 48%, rgba(21, 56, 47, 0.8) 100%),
    url("../images/hero-campus.jpg");
  background-position: center 40%;
  background-size: cover;
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(181, 139, 75, 0.18), transparent 34%),
    radial-gradient(circle at 86% 64%, rgba(60, 138, 117, 0.28), transparent 40%),
    radial-gradient(rgba(247, 242, 232, 0.13) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
  opacity: 0.8;
  mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
}

.hero::after {
  content: "K12";
  position: absolute;
  right: -3vw;
  bottom: -12vw;
  color: rgba(247, 242, 232, 0.035);
  font-family: var(--font-num);
  font-size: 34vw;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  width: min(100% - 48px, var(--container));
  min-height: 640px;
  margin-inline: auto;
  padding: 72px 0 76px;
}

.hero-copy {
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.06);
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(181, 139, 75, 0.14);
}

.hero h1 {
  margin-top: 24px;
  color: var(--paper);
  font-size: clamp(2.7rem, 4.4vw, 3.85rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: var(--gold-soft);
  font-style: normal;
}

.hero-lead {
  max-width: 580px;
  margin-top: 22px;
  color: rgba(247, 242, 232, 0.76);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  color: rgba(247, 242, 232, 0.7);
  font-size: 11.5px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* ---------- Decision card ---------- */

.decision-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(227, 214, 195, 0.6);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.decision-card::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 28px;
  width: 42px;
  height: 3px;
  border-radius: 99px;
  background: var(--coral);
}

.decision-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.decision-card__head h2 {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.3;
}

.decision-kicker {
  color: var(--coral);
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.decision-card__step {
  display: grid;
  gap: 13px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label,
.field-label {
  color: #5f5a50;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.field select,
.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select:focus,
.field input:focus,
.field textarea:focus {
  border-color: var(--pine);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 77, 64, 0.1);
}

.field textarea {
  min-height: 80px;
  resize: vertical;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.choice {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  transition: all 0.2s;
}

.choice:hover {
  border-color: var(--pine);
  color: var(--pine);
}

.choice.is-active {
  border-color: var(--pine);
  background: var(--pine);
  color: var(--paper);
}

.decision-card .btn {
  margin-top: 4px;
}

.decision-note {
  margin-top: 10px;
  color: var(--muted-light);
  font-size: 10px;
  line-height: 1.6;
}

.decision-result {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.decision-result.is-visible {
  display: block;
}

.decision-result__label {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-country {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.result-country:last-of-type {
  border-bottom: 0;
}

.result-country strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.result-country span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.result-country b {
  flex-shrink: 0;
  color: var(--coral);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
}

/* ---------- Data strip ---------- */

.data-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.data-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.data-strip__item {
  padding: 25px 28px;
  border-left: 1px solid var(--line);
}

.data-strip__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.data-strip__item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.data-strip__item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

/* ---------- Country grid ---------- */

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.country-card {
  --accent: var(--pine);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 252px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.country-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.country-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

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

.country-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.country-flag-img {
  width: 34px;
  height: 23px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(20, 35, 31, 0.16);
}

.result-flag {
  width: 20px;
  height: 14px;
  margin-right: 5px;
  border-radius: 2px;
  object-fit: cover;
  vertical-align: -2px;
}

.country-code {
  color: var(--muted-light);
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.country-card h3 {
  margin-top: 22px;
  font-size: 22px;
  line-height: 1.2;
}

.country-card p {
  min-height: 40px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.country-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.country-meta span {
  color: var(--muted-light);
  font-size: 10px;
}

.country-meta strong {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
}

/* ---------- Panels ---------- */

.data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 20px;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.panel--ink {
  background: var(--ink-soft);
  color: var(--paper);
  border-color: rgba(247, 242, 232, 0.12);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel--ink .panel-head {
  border-color: rgba(247, 242, 232, 0.14);
}

.panel-head h3 {
  font-size: 20px;
}

.panel-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
}

.panel--ink .panel-head p {
  color: rgba(247, 242, 232, 0.55);
}

.panel-tag {
  flex-shrink: 0;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel--ink .panel-tag {
  border-color: rgba(247, 242, 232, 0.18);
  color: rgba(247, 242, 232, 0.6);
}

/* ---------- Cost chart ---------- */

.chart-scale {
  display: flex;
  justify-content: space-between;
  margin: 0 94px 2px 86px;
  color: var(--muted-light);
  font-family: var(--font-num);
  font-size: 8.5px;
}

.cost-chart {
  margin-top: 4px;
}

.chart-insight {
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.chart-insight__label {
  display: block;
  color: #7a3b2c;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-insight p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.chart-insight .link-arrow {
  margin-top: 7px;
  font-size: 11px;
}

.cost-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 82px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.cost-country {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
}

.cost-track {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--paper-deep);
}

.cost-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pine), var(--jade));
  transition: width 0.8s var(--ease);
}

.cost-bar--gold {
  background: linear-gradient(90deg, var(--gold), #d6b06e);
}

.cost-bar--coral {
  background: linear-gradient(90deg, var(--coral), #db806b);
}

.cost-value {
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 10.5px;
  text-align: right;
  white-space: nowrap;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  color: var(--muted-light);
  font-size: 10px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
}

.legend-dot--gold {
  background: var(--gold);
}

.legend-dot--coral {
  background: var(--coral);
}

/* ---------- Timeline ---------- */

.timeline {
  position: relative;
  margin-top: 20px;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 4px;
  left: 4px;
  width: 1px;
  background: rgba(247, 242, 232, 0.16);
}

.timeline-item {
  position: relative;
  padding: 0 0 20px 0;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -18px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--ink-soft);
}

.timeline-date {
  color: var(--gold-soft);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.timeline-item h4 {
  margin-top: 2px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.timeline-item p {
  margin-top: 2px;
  color: rgba(247, 242, 232, 0.72);
  font-size: 11.5px;
  line-height: 1.65;
}

/* ---------- School cards ---------- */

.school-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.school-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.school-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.school-cover {
  --cover-a: #1f4d40;
  --cover-b: #3c8a75;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 138px;
  padding: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cover-a), var(--cover-b));
  color: var(--paper);
}

.school-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(135deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%);
}

.school-cover__top,
.school-cover__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.school-cover__code {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.school-cover__badge {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.school-cover__mark {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.95;
}

.school-cover__city {
  font-size: 10px;
  opacity: 0.7;
}

.school-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px;
}

.school-body h3 {
  font-size: 16px;
  line-height: 1.35;
}

.school-location {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.school-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 12px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.5;
}

.tag--accent {
  border-color: var(--gold-soft);
  background: #fbf4e5;
  color: #7d5b24;
}

.school-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.school-tuition {
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
}

.school-tuition span {
  display: block;
  color: var(--muted-light);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
}

.school-footer .link-arrow {
  font-size: 11px;
}

/* ---------- Guide / editorial ---------- */

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 22px;
}

.feature-article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--pine);
  color: var(--paper);
}

.feature-article::before {
  content: "“";
  position: absolute;
  top: -42px;
  right: 18px;
  color: rgba(247, 242, 232, 0.08);
  font-family: var(--font-serif);
  font-size: 240px;
  line-height: 1;
}

.feature-article::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(247, 242, 232, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(247, 242, 232, 0.035), 0 0 0 72px rgba(247, 242, 232, 0.025);
}

.feature-article__top,
.feature-article__bottom {
  position: relative;
  z-index: 1;
}

.feature-article h3 {
  max-width: 480px;
  margin-top: 18px;
  color: var(--paper);
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  line-height: 1.3;
}

.feature-article p {
  max-width: 470px;
  margin-top: 14px;
  color: rgba(247, 242, 232, 0.66);
  font-size: 12.5px;
  line-height: 1.8;
}

.feature-article__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 242, 232, 0.16);
}

.feature-article__bottom span {
  color: rgba(247, 242, 232, 0.56);
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.feature-article__bottom .link-arrow {
  color: var(--gold-soft);
  font-size: 11px;
}

.article-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.article-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 20px;
  gap: 15px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s, background 0.2s;
}

.article-item:hover {
  padding-left: 6px;
  background: rgba(255, 253, 249, 0.6);
}

.article-date {
  color: var(--muted-light);
  font-family: var(--font-num);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.article-item h4 {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}

.article-item p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.article-item__arrow {
  color: var(--line-strong);
  font-size: 16px;
  transition: color 0.2s, transform 0.2s;
}

.article-item:hover .article-item__arrow {
  color: var(--coral);
  transform: translateX(3px);
}

/* ---------- Process / trust ---------- */

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: start;
}

.process-intro h2 {
  max-width: 560px;
  margin-top: 14px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: var(--paper);
}

.process-intro p {
  max-width: 520px;
  margin-top: 16px;
  color: rgba(247, 242, 232, 0.6);
  font-size: 13.5px;
  line-height: 1.9;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-top: 34px;
}

.process-step {
  padding: 18px 0;
  border-top: 1px solid rgba(247, 242, 232, 0.16);
}

.process-step__num {
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin-top: 5px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.process-step p {
  margin-top: 4px;
  color: rgba(247, 242, 232, 0.64);
  font-size: 11px;
  line-height: 1.65;
}

.trust-card {
  padding: 30px;
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 20px;
  background: rgba(247, 242, 232, 0.045);
}

.trust-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.14);
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid var(--ink-soft);
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-avatar--2 {
  background: var(--jade-soft);
}

.trust-avatar--3 {
  background: var(--coral-soft);
}

.trust-card__head h3 {
  color: var(--paper);
  font-size: 15px;
}

.trust-card__head p {
  color: rgba(247, 242, 232, 0.62);
  font-size: 10.5px;
}

.trust-quote {
  padding: 22px 0;
  color: rgba(247, 242, 232, 0.78);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.75;
}

.trust-quote span {
  color: var(--gold-soft);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
  border-bottom: 1px solid rgba(247, 242, 232, 0.14);
}

.trust-stats strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 500;
}

.trust-stats span {
  color: rgba(247, 242, 232, 0.6);
  font-size: 9.5px;
}

.trust-card .btn {
  margin-top: 18px;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}

.faq-intro h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.faq-intro p {
  max-width: 380px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 19px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.faq-q:hover {
  color: var(--coral);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon {
  border-color: var(--coral);
  background: var(--coral);
  transform: rotate(45deg);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: var(--white);
}

.faq-a {
  display: none;
  padding: 0 34px 20px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- Assessment form ---------- */

.assessment {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.assessment::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 139, 75, 0.12), transparent 68%);
  pointer-events: none;
}

.assessment-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.assessment-intro h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.assessment-intro p {
  max-width: 390px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.assessment-points {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 12px;
}

.assessment-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.assessment-points svg {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  flex-shrink: 0;
  color: var(--pine);
}

.assessment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.assessment-form .field--full {
  grid-column: 1 / -1;
}

.assessment-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #5f5a50;
  font-size: 10.5px;
  line-height: 1.6;
}

.assessment-form .consent input {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--pine);
}

.assessment-form .btn {
  grid-column: 1 / -1;
}

.form-success {
  display: none;
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid var(--jade);
  border-radius: 9px;
  background: var(--jade-soft);
  color: var(--pine);
  font-size: 12px;
}

.form-success.is-visible {
  display: block;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 26px;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.13);
}

.footer-brand .brand-text strong {
  color: var(--paper);
}

.footer-brand .brand-text small {
  color: rgba(247, 242, 232, 0.4);
}

.footer-brand p {
  max-width: 320px;
  margin-top: 16px;
  color: rgba(247, 242, 232, 0.6);
  font-size: 11.5px;
  line-height: 1.9;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 14px;
  color: rgba(247, 242, 232, 0.55);
  font-family: var(--font-num);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: rgba(247, 242, 232, 0.7);
  font-size: 11.5px;
  transition: color 0.2s;
}

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

.footer-contact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.qr-box {
  display: grid;
  width: 86px;
  height: 86px;
  flex-shrink: 0;
  padding: 7px;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 2px;
  border-radius: 8px;
  background: var(--paper);
}

.qr-box i {
  background: var(--ink);
  border-radius: 1px;
}

.qr-box i:nth-child(3n),
.qr-box i:nth-child(5n + 2) {
  background: transparent;
}

.qr-box i:nth-child(4n + 1) {
  background: var(--pine);
}

.footer-contact p {
  flex: 1;
  min-width: 0;
  color: rgba(247, 242, 232, 0.6);
  font-size: 11px;
  line-height: 1.8;
}

.footer-contact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  color: rgba(247, 242, 232, 0.5);
  font-size: 10px;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-note {
  margin-top: 14px;
  color: rgba(247, 242, 232, 0.45);
  font-size: 9.5px;
  line-height: 1.7;
}

/* ---------- Mobile CTA + dialog ---------- */

.mobile-cta {
  display: none;
}

.wechat-dialog {
  width: min(92vw, 390px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.wechat-dialog::backdrop {
  background: rgba(20, 35, 31, 0.55);
  backdrop-filter: blur(4px);
}

.dialog-inner {
  position: relative;
  padding: 28px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.dialog-inner h3 {
  font-size: 22px;
}

.dialog-inner p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.dialog-qr {
  display: grid;
  width: 150px;
  height: 150px;
  margin: 18px auto;
  padding: 10px;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.dialog-qr i {
  background: var(--ink);
  border-radius: 1px;
}

.dialog-qr i:nth-child(3n),
.dialog-qr i:nth-child(5n + 2) {
  background: transparent;
}

.dialog-qr i:nth-child(4n + 1) {
  background: var(--pine);
}

.dialog-note {
  text-align: center;
  color: var(--muted-light);
  font-size: 10px;
}

/* =========================================================
   Inner pages
   ========================================================= */

.page-hero {
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 10.5px;
}

.breadcrumbs a:hover {
  color: var(--coral);
}

.breadcrumbs span {
  color: var(--line-strong);
}

.page-title {
  max-width: 900px;
  margin-top: 22px;
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  line-height: 1.12;
}

.page-dek {
  max-width: 720px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.page-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.page-title-row .btn {
  flex-shrink: 0;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-strip__item {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.stat-strip__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-strip__item span {
  display: block;
  color: var(--muted-light);
  font-size: 10px;
}

.stat-strip__item strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.anchor-nav {
  position: sticky;
  top: 78px;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 232, 0.94);
  backdrop-filter: blur(12px);
}

.anchor-nav__inner {
  display: flex;
  gap: 26px;
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  position: relative;
  flex-shrink: 0;
  padding: 14px 0 13px;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.anchor-nav a:hover,
.anchor-nav a.is-active {
  color: var(--ink);
}

.anchor-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--coral);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 14px;
}

.sidebar-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.sidebar-card--pine {
  background: var(--pine);
  color: var(--paper);
  border-color: var(--pine);
}

.sidebar-card--pine h3,
.sidebar-card--pine h4 {
  color: var(--paper);
}

.sidebar-card h3 {
  font-size: 18px;
}

.sidebar-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.sidebar-card--pine p {
  color: rgba(247, 242, 232, 0.62);
}

.sidebar-card .btn {
  margin-top: 14px;
}

.sidebar-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.sidebar-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar-list a {
  display: inline;
  color: var(--ink-soft);
  font-size: 11.5px;
}

.sidebar-list a:hover {
  color: var(--coral);
}

.sidebar-list span {
  color: var(--muted-light);
  font-family: var(--font-num);
  font-size: 9px;
}

.sidebar-meta {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 10.5px;
}

.sidebar-meta strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- Prose ---------- */

.prose {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.95;
}

.prose > * + * {
  margin-top: 20px;
}

.prose h2 {
  position: relative;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  scroll-margin-top: 130px;
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h2 .h2-num {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.prose h3 {
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  scroll-margin-top: 130px;
}

.prose p {
  color: var(--ink-soft);
}

.prose a {
  color: var(--coral);
  border-bottom: 1px solid rgba(198, 90, 63, 0.3);
}

.prose a:hover {
  border-color: var(--coral);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
}

.prose li::marker {
  color: var(--coral);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--coral);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.8;
}

.prose figure {
  margin: 28px 0;
}

.prose figcaption {
  margin-top: 8px;
  color: var(--muted-light);
  font-size: 10.5px;
}

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fbf6ea;
}

.callout__label {
  display: block;
  margin-bottom: 7px;
  color: #7d5b24;
  font-family: var(--font-num);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.callout p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.callout--pine {
  border-color: var(--jade-soft);
  border-left-color: var(--pine);
  background: #f0f6f2;
}

.callout--pine .callout__label {
  color: var(--pine);
}

.callout--coral {
  border-color: var(--coral-soft);
  border-left-color: var(--coral);
  background: #fcf1ed;
}

.callout--coral .callout__label {
  color: var(--coral-deep);
}

.table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 12.5px;
  line-height: 1.65;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--paper);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td:first-child {
  color: var(--ink);
  font-weight: 500;
}

.data-table--compact th,
.data-table--compact td {
  padding: 9px 12px;
}

.checklist {
  display: grid;
  gap: 9px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 13px;
}

.checklist svg {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  flex-shrink: 0;
  color: var(--pine);
}

.article-header {
  padding: 44px 0 0;
}

.article-header .page-title {
  max-width: 880px;
  margin-top: 14px;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
}

.article-header .page-dek {
  max-width: 760px;
}

.article-header .article-meta {
  margin-top: 16px;
}

.article-lead {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.8;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 10.5px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta svg {
  width: 13px;
  height: 13px;
  color: var(--line-strong);
}

.article-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  height: 280px;
  margin: 34px 0 40px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--pine-deep), var(--pine) 55%, #3c6e5e);
  color: var(--paper);
}

.article-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(247, 242, 232, 0.16) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(135deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%);
}

.article-hero-visual::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(247, 242, 232, 0.04), 0 0 0 80px rgba(247, 242, 232, 0.025);
}

.article-hero-visual__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.article-hero-visual__big {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.article-hero-visual__big span {
  color: var(--gold-soft);
}

.article-faq {
  margin-top: 34px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.article-faq h2 {
  margin-top: 22px;
  padding-top: 0;
  border-top: 0;
}

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 42px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.author-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
}

.author-box h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.author-box p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.author-box a {
  color: var(--coral);
}

.source-list {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.source-list h4 {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.source-list ol {
  display: grid;
  gap: 4px;
  padding-left: 1.1em;
}

.toc {
  position: sticky;
  top: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc h4 {
  color: var(--muted-light);
  font-family: var(--font-num);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--line-strong);
  font-family: var(--font-num);
  font-size: 9px;
}

.toc a:hover {
  color: var(--coral);
}

.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 760px);
  gap: 56px;
  justify-content: center;
  align-items: start;
}

.article-layout > * {
  min-width: 0;
}

.article {
  min-width: 0;
}

.article-sidebar {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.related-card span {
  color: var(--coral);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.related-card h4 {
  margin-top: 7px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.55;
}

.related-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

/* ---------- Schools directory ---------- */

.filter-bar {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.filter-field {
  display: grid;
  gap: 5px;
}

.filter-field label {
  color: var(--muted-light);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.filter-field select,
.filter-field input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11.5px;
}

.filter-field select:focus,
.filter-field input:focus {
  border-color: var(--pine);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 77, 64, 0.08);
}

.filter-submit {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 11.5px;
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 18px;
}

.results-bar p {
  color: var(--muted);
  font-size: 11.5px;
}

.results-bar strong {
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
}

.results-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.results-chips span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
}

.empty-state {
  display: none;
  padding: 40px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.empty-state h3 {
  font-size: 20px;
}

.empty-state p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 11px;
}

.pagination .is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.pagination a:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* ---------- School profile ---------- */

.school-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: end;
}

.school-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.school-hero__badges .tag {
  font-size: 10px;
  padding: 4px 10px;
}

.school-hero__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1f4d40, #3c8a75);
  color: var(--paper);
}

.school-hero__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%);
}

.school-hero__cover span,
.school-hero__cover strong {
  position: relative;
  z-index: 1;
}

.school-hero__cover span {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.school-hero__cover strong {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.school-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.school-facts__item {
  padding: 15px 18px;
  border-left: 1px solid var(--line);
}

.school-facts__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.school-facts__item span {
  display: block;
  color: var(--muted-light);
  font-size: 9.5px;
}

.school-facts__item strong {
  display: block;
  margin-top: 1px;
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
}

.profile-note {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  background: #fbf6ea;
  color: #7d5b24;
  font-size: 10.5px;
  line-height: 1.7;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-phone {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 40px;
  }

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

  .country-card {
    min-height: 220px;
  }

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

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 38px;
  }

  .article-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 40px;
  }

  .school-hero {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    padding: 28px 24px 110px;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu nav {
    display: grid;
    border-top: 1px solid var(--line);
  }

  .mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 20px;
  }

  .mobile-menu nav a::after {
    content: "→";
    color: var(--muted-light);
    font-family: var(--font-sans);
    font-size: 16px;
  }

  .mobile-menu__cta {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  .mobile-menu__note {
    margin-top: 18px;
    color: var(--muted-light);
    font-size: 10.5px;
    line-height: 1.7;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 0 54px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .decision-card {
    max-width: 540px;
  }

  .data-grid,
  .guide-grid,
  .process-grid,
  .faq-grid,
  .assessment-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-steps {
    max-width: 620px;
  }

  .content-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .article-sidebar,
  .toc {
    position: static;
  }

  .sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar-card--pine {
    grid-row: span 2;
  }

  .article-sidebar {
    display: none;
  }

  .filter-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .filter-field--search {
    grid-column: 1 / -1;
  }

  .filter-submit {
    grid-column: 1 / -1;
  }

  .school-hero {
    grid-template-columns: 1fr;
  }

  .school-hero__cover {
    min-height: 180px;
    max-width: 460px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 68px;
  }

  .container,
  .container--narrow,
  .header-inner,
  .data-strip__inner,
  .anchor-nav__inner {
    width: min(100% - 36px, var(--container));
  }

  .header-inner {
    height: 66px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 7.5px;
  }

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .menu-toggle span {
    left: 10px;
  }

  .menu-toggle span:first-child {
    top: 14px;
  }

  .menu-toggle span:last-child {
    top: 21px;
  }

  body.menu-open .menu-toggle span:first-child,
  body.menu-open .menu-toggle span:last-child {
    top: 18px;
  }

  .mobile-menu {
    top: 66px;
    padding-bottom: 120px;
  }

  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 52px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .section-head p {
    font-size: 13px;
  }

  .section-link {
    margin-top: 16px;
  }

  .hero {
    background-image:
      linear-gradient(rgba(21, 56, 47, 0.96), rgba(21, 56, 47, 0.9)),
      url("../images/hero-campus.jpg");
    background-position: center;
  }

  .hero-inner {
    padding: 48px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8.6vw, 3rem);
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 9px 16px;
    font-size: 10px;
  }

  .decision-card {
    padding: 20px;
  }

  .data-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .data-strip__item {
    padding: 18px 14px;
  }

  .data-strip__item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .data-strip__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .data-strip__item strong {
    font-size: 23px;
  }

  .country-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .country-card {
    min-height: 0;
    padding: 18px;
  }

  .country-card h3 {
    margin-top: 16px;
    font-size: 20px;
  }

  .country-card p {
    min-height: 0;
  }

  .country-meta {
    margin-top: 14px;
  }

  .panel {
    padding: 20px;
  }

  .cost-row {
    grid-template-columns: 62px minmax(0, 1fr) 76px;
    gap: 8px;
  }

  .school-grid,
  .related-grid,
  .similar-grid {
    grid-template-columns: 1fr;
  }

  .school-cover {
    height: 126px;
  }

  .feature-article {
    min-height: 320px;
    padding: 24px;
  }

  .feature-article h3 {
    font-size: 1.7rem;
  }

  .article-item {
    grid-template-columns: 56px minmax(0, 1fr) 16px;
    gap: 10px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .trust-card {
    padding: 22px;
  }

  .faq-grid {
    gap: 26px;
  }

  .faq-intro h2 {
    font-size: 2rem;
  }

  .assessment-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .assessment-form .field--full,
  .assessment-form .btn,
  .form-success {
    grid-column: auto;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

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

  .footer-bottom {
    display: block;
    line-height: 1.9;
  }

  .footer-bottom__links {
    margin-top: 10px;
  }

  .page-hero {
    padding: 34px 0 32px;
  }

  .page-title {
    font-size: 2.55rem;
  }

  .page-dek {
    font-size: 13.5px;
  }

  .page-title-row {
    display: block;
  }

  .page-title-row .btn {
    margin-top: 18px;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-strip__item {
    padding: 14px 12px;
  }

  .stat-strip__item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat-strip__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .anchor-nav {
    top: 66px;
  }

  .anchor-nav__inner {
    gap: 18px;
  }

  .anchor-nav a {
    font-size: 10.5px;
  }

  .prose {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .prose h2 {
    margin-top: 38px;
    font-size: 1.55rem;
  }

  .article-lead {
    font-size: 17px;
  }

  .article-hero-visual {
    display: block;
    height: 200px;
    padding: 20px;
  }

  .article-hero-visual__label {
    display: block;
  }

  .article-hero-visual__big {
    display: block;
    margin-top: 8px;
    font-size: 2.1rem;
  }

  .author-box {
    padding: 18px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar-card--pine {
    grid-row: auto;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-field--search {
    grid-column: 1 / -1;
  }

  .filter-submit {
    grid-column: 1 / -1;
  }

  .school-hero__cover {
    min-height: 160px;
  }

  .school-facts {
    grid-template-columns: 1fr 1fr;
  }

  .school-facts__item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .school-facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 75;
    display: flex;
    gap: 8px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(247, 242, 232, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-cta .btn {
    flex: 1;
    min-height: 42px;
    font-size: 12px;
  }

  .wechat-dialog {
    margin: auto;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.15rem;
  }

  .country-meta {
    grid-template-columns: 1fr 1fr;
  }

  .cost-row {
    grid-template-columns: 56px minmax(0, 1fr) 70px;
  }

  .cost-country {
    font-size: 11px;
  }

  .cost-value {
    font-size: 9.5px;
  }

  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Advisor portrait + WeChat QR placeholders */
.trust-avatar--photo {
  padding: 0;
  object-fit: cover;
  object-position: center 25%;
  background: var(--paper-deep);
}

.footer-qr {
  width: 86px;
  height: 86px;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 8px;
  background: var(--white);
  object-fit: cover;
}

.dialog-qr-image {
  display: block;
  width: 150px;
  height: 150px;
  margin: 18px auto;
  padding: 6px;
  border-radius: 10px;
  background: var(--white);
  object-fit: cover;
}

.advisor-hero-photo {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  aspect-ratio: 4 / 5;
}

.advisor-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advisor-qr {
  display: block;
  width: 150px;
  height: 150px;
  margin: 12px auto 6px;
  padding: 5px;
  border-radius: 10px;
  background: var(--white);
  object-fit: cover;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px;
  }

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