:root {
  --blue-950: #071b3b;
  --blue-900: #002766;
  --blue-800: #003E99;
  --blue-600: #2261C7;
  --blue-100: #EAF2FF;
  --blue-50: #F6FAFF;
  --gold: #EAB308;
  --gold-soft: #FFF7D6;
  --teal: #10B3B8;
  --mint: #DDF7F5;
  --paper: #FBFCFE;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --shadow: 0 22px 70px rgba(15, 23, 42, .10);
  --shadow-strong: 0 26px 80px rgba(0, 39, 102, .18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Noto Serif TC", "Songti TC", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(234, 179, 8, .35); }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--blue-900);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 254, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, .85);
}
.notice-bar {
  background: linear-gradient(90deg, var(--blue-950), var(--blue-800));
  color: rgba(255,255,255,.88);
  font-size: 13px;
}
.notice-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.notice-separator {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}
.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.08));
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.18; }
.brand-zh { font-family: var(--serif); font-weight: 900; color: var(--blue-900); font-size: 19px; letter-spacing: .03em; }
.brand-en { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.nav-menu a {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--blue-900);
  background: var(--blue-100);
}
.nav-menu .nav-action {
  margin-left: 8px;
  color: var(--blue-950);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(234, 179, 8, .26);
}
.nav-menu .nav-action:hover { background: #FACC15; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  place-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 999px;
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 99px;
}
h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; }
h1, h2 { font-family: var(--serif); color: var(--blue-950); }
h1 { font-size: clamp(44px, 6vw, 78px); font-weight: 900; }
h1 span { color: var(--blue-800); }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; }
h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 900; color: var(--ink); }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading.narrow { max-width: 660px; text-align: center; margin-inline: auto; }
.section-heading p,
.hero-lead,
.about-copy p,
.results-copy p {
  color: var(--ink-soft);
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  box-shadow: var(--shadow-strong);
}
.btn-secondary {
  color: var(--blue-900);
  background: white;
  border-color: var(--line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

/* Hero */
.hero {
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(34, 97, 199, .12), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(234, 179, 8, .18), transparent 25%),
    linear-gradient(180deg, #FFFFFF, #F5F9FF 70%, var(--paper));
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 62, 153, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 62, 153, .04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 80%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .88fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-lead { max-width: 680px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.trust-row div {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(226, 232, 240, .85);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 38px rgba(15,23,42,.06);
}
.trust-row strong {
  display: block;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  color: var(--blue-800);
  font-weight: 900;
}
.trust-row span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 700; }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo-stack { position: relative; height: 560px; }
.hero-photo {
  position: absolute;
  object-fit: cover;
  border-radius: 34px;
  border: 8px solid rgba(255,255,255,.92);
  box-shadow: var(--shadow-strong);
  background: white;
}
.hero-photo-main {
  width: 78%;
  height: 76%;
  right: 0;
  top: 58px;
}
.hero-photo-small.top {
  width: 47%;
  height: 34%;
  left: 0;
  top: 0;
  transform: rotate(-5deg);
}
.hero-photo-small.bottom {
  width: 47%;
  height: 34%;
  left: 8px;
  bottom: 0;
  transform: rotate(4deg);
}
.hero-floating-card {
  position: absolute;
  right: 4%;
  bottom: 24px;
  width: min(330px, 72%);
  background: rgba(0, 39, 102, .92);
  color: white;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--shadow-strong);
}
.hero-floating-card span { display: block; color: rgba(255,255,255,.72); font-size: 13px; margin-bottom: 4px; }
.hero-floating-card strong { display: block; font-size: 17px; line-height: 1.45; }

/* Quick path */
.quick-path { background: white; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card,
.course-card,
.contact-form,
.contact-panel,
.results-shell,
.about-copy,
.map-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.path-card { padding: 28px; min-height: 310px; display: flex; flex-direction: column; }
.path-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--blue-100);
  color: var(--blue-800);
  font-weight: 900;
  margin-bottom: 22px;
}
.path-icon.warm { background: var(--gold-soft); color: #A16207; }
.path-icon.teal { background: var(--mint); color: #087E83; }
.path-card p { margin-top: 14px; color: var(--ink-soft); }
.path-card a { margin-top: auto; color: var(--blue-800); font-weight: 900; padding-top: 22px; }

/* Courses */
.courses {
  background:
    radial-gradient(circle at 8% 8%, rgba(16, 179, 184, .12), transparent 26%),
    linear-gradient(180deg, var(--paper), #FFFFFF 55%, var(--paper));
}
.course-filter {
  position: sticky;
  top: 112px;
  z-index: 40;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  margin-bottom: 24px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 16px 46px rgba(15,23,42,.08);
  backdrop-filter: blur(12px);
}
.course-filter a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 900;
  color: var(--ink-soft);
  background: transparent;
}
.course-filter a:hover,
.course-filter a.active { color: var(--blue-900); background: var(--blue-100); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.course-card:hover { transform: translateY(-5px); box-shadow: 0 28px 90px rgba(15,23,42,.14); border-color: rgba(34,97,199,.28); }
.course-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(34, 97, 199, .08);
}
.course-card.accent::after { background: rgba(234, 179, 8, .16); }
.course-card.highlight { background: linear-gradient(145deg, #FFFFFF, #F6FBFF 55%, #EEF8FF); border-color: rgba(34,97,199,.25); }
.course-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 24px; }
.course-topline span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--blue-900);
  color: white;
  font-weight: 900;
}
.course-topline small {
  color: var(--muted);
  font-weight: 900;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}
.course-card p { margin-top: 14px; color: var(--ink-soft); }
.course-card ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; color: var(--ink-soft); }
.course-card li { position: relative; padding-left: 20px; }
.course-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.card-link {
  margin-top: auto;
  display: inline-flex;
  align-self: flex-start;
  color: var(--blue-800);
  font-weight: 900;
  padding-top: 26px;
}

/* Parent Testimonials */
.testimonials {
  background:
    radial-gradient(circle at 12% 18%, rgba(234,179,8,.20), transparent 32%),
    radial-gradient(circle at 86% 16%, rgba(16,179,184,.22), transparent 30%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900));
  color: white;
  overflow: hidden;
}
.testimonials .eyebrow { color: #B9D7FF; }
.testimonials h2 { color: white; }
.testimonials-shell {
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 34px 100px rgba(0,0,0,.30);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  position: relative;
}
.testimonials-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 36px;
  pointer-events: none;
}
.testimonials-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}
.testimonials-copy { max-width: 720px; }
.testimonials-copy p { color: rgba(255,255,255,.74); }
.trust-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  backdrop-filter: blur(14px);
}
.trust-summary div {
  min-height: 102px;
  display: grid;
  align-content: center;
  gap: 4px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
}
.trust-summary strong { color: var(--gold); font-size: 24px; font-weight: 900; }
.trust-summary span { color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.45; }
.testimonials-window {
  position: relative;
  z-index: 1;
  margin-inline: -56px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.testimonials-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: testimonialScroll 48s linear infinite;
  padding: 10px 56px 18px;
}
.testimonials-window:hover .testimonials-track { animation-play-state: paused; }
.testimonial-card {
  flex: 0 0 330px;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.30);
}
.testimonial-card.feature {
  background: linear-gradient(180deg, #FFFFFF, #FFF8DC);
  border-color: rgba(234,179,8,.34);
}
.quote-mark {
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: -1;
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
  color: rgba(0,62,153,.08);
}
.rating { color: var(--gold); letter-spacing: 2px; font-size: 14px; font-weight: 900; }
.testimonial-card p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}
.testimonial-meta {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.testimonial-meta strong { display: block; color: var(--blue-900); font-size: 21px; font-weight: 900; }
.testimonial-meta span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 800; }
@keyframes testimonialScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* About */
.about { background: white; }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 42px; align-items: center; }
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.about-gallery img:first-child { grid-column: 1 / -1; height: 310px; }
.about-copy { padding: clamp(28px, 4vw, 46px); }
.about-copy p { margin-top: 18px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.feature-list div {
  border: 1px solid var(--line);
  background: var(--blue-50);
  border-radius: 18px;
  padding: 16px;
}
.feature-list strong { display: block; color: var(--blue-900); font-size: 17px; }
.feature-list span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 13px; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--paper), #FFFFFF); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.contact-panel,
.contact-form { padding: clamp(26px, 4vw, 42px); }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-list div {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--blue-50);
}
.contact-list span { display: block; color: var(--muted); font-size: 13px; font-weight: 900; }
.contact-list strong { display: block; color: var(--blue-900); margin-top: 4px; font-size: 18px; line-height: 1.45; }
.contact-list small { display: block; color: var(--ink-soft); margin-top: 4px; }
.contact-form { display: grid; gap: 16px; }
.form-heading p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.contact-form label { display: grid; gap: 7px; color: var(--ink-soft); font-weight: 900; font-size: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(34,97,199,.12);
}
.form-note { color: var(--muted); font-size: 13px; }
.map-wrap { margin-top: 24px; padding: 10px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: 22px; display: block; }

/* Footer */
.footer { background: var(--blue-950); color: rgba(255,255,255,.78); padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer-brand { display: inline-block; color: white; font-family: var(--serif); font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.footer h3 { color: white; font-size: 16px; margin-bottom: 12px; }
.footer a:not(.footer-brand) { display: block; margin-top: 8px; color: rgba(255,255,255,.78); }
.footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; margin-top: 38px; font-size: 13px; color: rgba(255,255,255,.58); }

/* Utilities */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-900);
  color: white;
  box-shadow: var(--shadow-strong);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-cta { display: none; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 500px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: auto; }
}

@media (max-width: 840px) {
  html { scroll-padding-top: 92px; }
  .notice-inner { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .nav-inner { min-height: 66px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-zh { font-size: 17px; }
  .brand-en { display: none; }
  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 104px;
    display: grid;
    gap: 6px;
    padding: 16px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-menu a { border-radius: 14px; padding: 12px 14px; }
  .nav-menu .nav-action { margin: 6px 0 0; text-align: center; }
  .hero { padding-top: 52px; }
  .hero-visual { min-height: 400px; }
  .hero-photo-stack { height: 400px; }
  .trust-row { grid-template-columns: 1fr; }
  .course-filter { position: static; border-radius: 22px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: auto; }
  .about-gallery img,
  .about-gallery img:first-child { height: 220px; }
  .feature-list { grid-template-columns: 1fr; }
  .testimonials-header { grid-template-columns: 1fr; align-items: start; }
  .trust-summary { grid-template-columns: 1fr 1fr 1fr; }
  .testimonials-window { margin-inline: -24px; }
  .testimonials-track { padding-inline: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .back-top { bottom: 78px; }
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(14px);
  }
  .mobile-cta a {
    display: grid;
    place-items: center;
    min-height: 44px;
    border-radius: 13px;
    background: var(--blue-900);
    color: white;
    font-weight: 900;
    font-size: 14px;
  }
  .mobile-cta a:nth-child(2) { background: var(--gold); color: var(--blue-950); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 56px 0; }
  h1 { font-size: clamp(38px, 13vw, 54px); }
  .hero-actions { display: grid; }
  .hero-photo-main { width: 86%; height: 70%; }
  .hero-photo-small.top,
  .hero-photo-small.bottom { width: 48%; height: 28%; }
  .hero-floating-card { width: 86%; right: 7%; }
  .path-card,
  .course-card,
  .contact-panel,
  .contact-form,
  .about-copy { border-radius: 22px; padding: 22px; }
  .testimonial-card { flex-basis: 286px; min-height: 310px; padding: 24px; }
  .trust-summary { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Multi-page additions */
.page-hero {
  padding: clamp(72px, 9vw, 118px) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 97, 199, .13), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(234, 179, 8, .20), transparent 26%),
    linear-gradient(180deg, #FFFFFF, #F5F9FF 76%, var(--paper));
  overflow: hidden;
}
.page-hero .section-heading { margin-bottom: 0; }
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 820px; }
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--blue-800); }
.home-preview { background: white; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.preview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow);
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.preview-card h3 { margin-top: 14px; }
.preview-card p { color: var(--ink-soft); margin-top: 12px; }
.preview-card .card-link { padding-top: 20px; }
.page-cta {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: white;
  padding: clamp(48px, 7vw, 82px) 0;
}
.page-cta h2 { color: white; }
.page-cta p { color: rgba(255,255,255,.78); max-width: 720px; margin-top: 14px; }
.page-cta .hero-actions { margin-top: 24px; }
.page-cta .btn-secondary { background: rgba(255,255,255,.10); color: white; border-color: rgba(255,255,255,.25); }
.nav-menu a[aria-current="page"] {
  color: var(--blue-900);
  background: var(--blue-100);
}
.contact-callout {
  margin-top: 24px;
  padding: 22px;
  background: var(--gold-soft);
  border: 1px solid rgba(234,179,8,.38);
  border-radius: 22px;
  color: var(--ink-soft);
}
.contact-callout strong { color: var(--blue-900); }
.testimonials.static-testimonials .testimonials-window { margin-inline: 0; mask-image: none; }
.testimonials.static-testimonials .testimonials-track { animation: none; width: auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.testimonials.static-testimonials .testimonial-card { flex: none; min-height: 310px; box-shadow: var(--shadow); }
.testimonials.static-testimonials .testimonial-card[aria-hidden="true"] { display: none; }
.footer .footer-brand { color: white; }
@media (max-width: 1050px) {
  .preview-grid,
  .testimonials.static-testimonials .testimonials-track { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 840px) {
  .page-hero { padding-top: 54px; }
  .preview-grid,
  .testimonials.static-testimonials .testimonials-track { grid-template-columns: 1fr; }
}


/* Demo-safe adjustments */
.notice-bar::before {
  content: "DEMO";
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 120;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 62, 153, .92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  box-shadow: 0 12px 30px rgba(0, 39, 102, .22);
  pointer-events: none;
}
@media (max-width: 760px) {
  .notice-bar::before { bottom: 74px; right: 12px; }
}
