/* =====================================================================
   Kingsland International Education Group — v2 design system
   Direction: "Gold leaf on navy". Navy ink, white ground, one tone step,
   gold spent only on the action. Big type contrast, left-anchored
   compositions, sections told apart by their ground.
   Mobile-first. No framework, no build step.
   ===================================================================== */

:root {
  /* colour roles */
  --bg: #ffffff;
  --surface: #f2f4fa;
  --surface-2: #e6eaf4;
  --ink: #081434;
  --muted: #4b5876;
  --accent: #d4af37;
  --accent-ink: #081434;
  --field-navy: #081434;
  --field-navy-2: #0e1d48;
  --navy-ink: #ffffff;
  --navy-muted: rgba(255, 255, 255, 0.68);
  --field-gold: #d4af37;
  --wa: #25d366;

  /* type scale: few sizes, far apart */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.1rem, 1.3rem + 3.6vw, 4.4rem);
  --step-display: clamp(2.75rem, 1.1rem + 6.2vw, 6.1rem);
  --step-giant: clamp(4.5rem, 2rem + 12vw, 13rem);

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, sans-serif;

  /* frame */
  --margin: clamp(1.1rem, 3.2vw, 3.5rem);
  --gutter: clamp(0.75rem, 1.4vw, 1.5rem);
  --max: 1760px;

  /* radius: chosen once */
  --r: 28px;
  --r-in: 16px;
  --r-pill: 999px;

  /* motion tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
  --t-open: 1200ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-wrap: pretty;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { padding-inline: var(--margin); max-width: var(--max); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

.display { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.035em; font-weight: 700; }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.lead { font-size: var(--step-lead); line-height: 1.35; font-weight: 400; color: var(--muted); max-width: 32ch; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.measure { max-width: 60ch; }
.num { font-variant-numeric: tabular-nums; }
.mark { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  background: var(--ink); color: #fff;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { background: var(--field-navy-2); }
.btn:active { transform: scale(0.96); }
.btn svg { width: 18px; height: 18px; transition: transform var(--t-ui) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn.gold { background: var(--accent); color: var(--accent-ink); }
.btn.gold:hover { background: #e3c04e; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--surface); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--surface-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); background: transparent; }
.btn.ghost.on-dark { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.28); }
.btn.ghost.on-dark:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: #1fbd5a; }
.btn.block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-ui) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow var(--t-ui) ease; }
.header.scrolled { box-shadow: 0 1px 0 var(--surface-2); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { height: 36px; width: auto; }
.nav { display: none; }
.nav a { position: relative; padding: 10px 14px; font-weight: 500; font-size: 0.98rem; color: var(--ink); border-radius: var(--r-pill); transition: background-color var(--t-hover) ease; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { background: var(--surface); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--ink); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn.wa { background: var(--wa); color: #fff; }
.icon-btn.wa:hover { background: #1fbd5a; }
.btn-head { display: none; }
@media (min-width: 1024px) {
  .logo img { height: 42px; }
  .header-row { min-height: 88px; }
  .nav { display: flex; align-items: center; gap: 2px; }
  .btn-head { display: inline-flex; min-height: 48px; }
  .menu-btn { display: none; }
}

/* full-screen menu (phone + tablet) */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--field-navy); color: #fff; display: flex; flex-direction: column; padding: 0 var(--margin) 32px; transform: translateY(-100%); visibility: hidden; transition: transform 420ms var(--ease-in-out), visibility 0s linear 420ms; }
.menu.open { transform: translateY(0); visibility: visible; transition: transform 420ms var(--ease-in-out), visibility 0s; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.menu-top img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.menu-links { margin-top: 24px; display: grid; gap: 4px; flex: 1; }
.menu-links a { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 8vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.1; padding: 6px 0; opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease-expo), transform 500ms var(--ease-expo); }
.menu.open .menu-links a { opacity: 1; transform: none; }
.menu.open .menu-links a:nth-child(1) { transition-delay: 60ms; } .menu.open .menu-links a:nth-child(2) { transition-delay: 120ms; } .menu.open .menu-links a:nth-child(3) { transition-delay: 180ms; } .menu.open .menu-links a:nth-child(4) { transition-delay: 240ms; } .menu.open .menu-links a:nth-child(5) { transition-delay: 300ms; } .menu.open .menu-links a:nth-child(6) { transition-delay: 360ms; } .menu.open .menu-links a:nth-child(7) { transition-delay: 420ms; } .menu.open .menu-links a:nth-child(8) { transition-delay: 480ms; }
.menu-links a:hover { color: var(--accent); }
.menu-foot { display: grid; gap: 10px; }
.menu-foot .meta { color: var(--navy-muted); font-size: var(--step-small); margin-bottom: 6px; }
.menu-foot .meta a { color: #fff; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 5rem) 0; }
.hero-grid { display: grid; gap: 32px; }
.hero-copy h1 { max-width: none; }
.hero-copy .lead { margin-top: 24px; max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; color: var(--muted); font-size: var(--step-small); }
.hero-proof b { color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-right: 6px; }
.hero-proof .stars { color: var(--accent); letter-spacing: 1px; }
.hero-visual { position: relative; }
.hero-field { position: relative; background: var(--field-navy); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; display: flex; align-items: flex-end; justify-content: center; }
.hero-field::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 20%, rgba(212,175,55,.18), transparent 70%); }
.hero-field img { position: relative; width: 86%; max-width: 560px; object-fit: contain; object-position: bottom; clip-path: inset(100% 0 0 0); }
.hero-field.open img { animation: openUp var(--t-open) var(--ease-expo) forwards; }
@keyframes openUp { to { clip-path: inset(0 0 0 0); } }
.hero-figure { position: absolute; left: clamp(16px, 4%, 36px); top: clamp(16px, 4%, 36px); color: #fff; }
.hero-figure .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: 0.9; letter-spacing: -0.04em; }
.hero-figure .l { margin-top: 6px; color: var(--navy-muted); font-size: var(--step-small); max-width: 14ch; }
.hero-bar { position: absolute; right: 0; bottom: 0; height: 8px; width: 42%; background: var(--accent); border-radius: 8px 0 var(--r) 0; }
@media (min-width: 900px) {
  .hero { padding-block: clamp(2rem, 5vw, 5rem) 0; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
  .hero-copy { padding-bottom: clamp(24px, 4vw, 64px); }
  .hero-field { aspect-ratio: 4 / 4.6; }
}

/* masked line rise (signature) */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines .line > span { display: block; transform: translateY(110%); }
.lines.go .line > span { animation: rise 900ms var(--ease-expo) forwards; }
.lines.go .line:nth-child(2) > span { animation-delay: 90ms; }
.lines.go .line:nth-child(3) > span { animation-delay: 180ms; }
@keyframes rise { to { transform: translateY(0); } }

/* ---------- marquee ---------- */
.marquee { margin-top: clamp(40px, 6vw, 96px); background: var(--surface); padding: 22px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.marquee span i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 150px); }
.section.tight { padding-block: clamp(48px, 7vw, 110px); }
.on-surface { background: var(--surface); }
.on-navy { background: var(--field-navy); color: var(--navy-ink); }
.on-navy .muted, .on-navy .lead { color: var(--navy-muted); }
.on-gold { background: var(--field-gold); color: var(--accent-ink); }
.on-gold .lead, .on-gold .muted { color: rgba(8,20,52,.72); }
.row { display: grid; gap: 28px; }
@media (min-width: 900px) { .row { grid-template-columns: 4fr 8fr; column-gap: var(--gutter); align-items: start; } .row.even { grid-template-columns: 5fr 7fr; } }
.title { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; max-width: 14ch; }
.bar { display: block; width: 56px; height: 6px; background: var(--accent); border-radius: 3px; margin-bottom: 22px; }
.on-navy .bar { background: var(--accent); }

/* ---------- about ---------- */
.about-copy p + p { margin-top: 18px; }
.about-copy p { max-width: 58ch; font-size: var(--step-lead); line-height: 1.4; color: var(--ink); }
.about-copy p.muted { color: var(--muted); font-size: var(--step-body); line-height: 1.6; }
.about-photo { margin-top: clamp(36px, 6vw, 80px); position: relative; border-radius: var(--r); overflow: hidden; background: var(--field-navy); }
.about-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; opacity: .96; transform: scale(1.04); transition: transform 1400ms var(--ease-soft); }
.about-photo.in img { transform: scale(1); }
.about-photo .stats { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: linear-gradient(to top, rgba(8,20,52,.92), rgba(8,20,52,.55) 70%, transparent); padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px) clamp(18px, 3vw, 36px); color: #fff; gap: 12px; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 6vw, 4.6rem); letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 8px; font-size: var(--step-small); color: var(--navy-muted); max-width: 12ch; line-height: 1.3; }
@media (min-width: 900px) { .about-photo img { aspect-ratio: 21 / 9; } }

/* ---------- services (editorial rows) ---------- */
.svc-list { display: grid; gap: clamp(28px, 4vw, 48px); margin-top: clamp(36px, 5vw, 72px); }
.svc { display: grid; gap: 22px; border-radius: var(--r); overflow: hidden; background: #fff; }
.svc .pic { position: relative; overflow: hidden; background: var(--field-navy); min-height: 260px; }
.svc .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-soft); }
.svc:hover .pic img { transform: scale(1.04); }
.svc .pic.portrait { display: flex; align-items: flex-end; justify-content: center; }
.svc .pic.portrait::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 25%, rgba(212,175,55,.18), transparent 70%); }
.svc .pic.portrait img { position: relative; width: 70%; max-width: 420px; height: auto; object-fit: contain; }
.svc .txt { padding: 8px 24px 28px; }
.svc .txt h3 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; max-width: 14ch; }
.svc .txt p { margin-top: 16px; color: var(--muted); max-width: 48ch; }
.svc .txt ul { margin-top: 18px; display: grid; gap: 8px; }
.svc .txt li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.svc .txt li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.svc .txt .link-arrow { margin-top: 26px; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 7fr 5fr; gap: 0; }
  .svc .pic { min-height: 100%; }
  .svc .txt { padding: clamp(28px, 4vw, 56px); align-self: center; }
  .svc.flip .pic { order: 2; }
  .svc.flip { grid-template-columns: 5fr 7fr; }
}

/* ---------- why (navy field) ---------- */
.why-grid { display: grid; gap: 28px 40px; margin-top: clamp(36px, 5vw, 64px); }
.why { padding-top: 18px; border-top: 4px solid rgba(255,255,255,.14); transition: border-color var(--t-hover) ease; }
.why:hover { border-top-color: var(--accent); }
.why h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.why p { margin-top: 10px; color: var(--navy-muted); max-width: 36ch; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 48px; } }

/* ---------- universities ---------- */
.uni-grid { display: grid; gap: 24px; margin-top: clamp(36px, 5vw, 64px); }
.uni { border-radius: var(--r); overflow: hidden; background: var(--surface); }
.uni .pic { position: relative; overflow: hidden; }
.uni .pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1200ms var(--ease-soft); }
.uni:hover .pic img { transform: scale(1.04); }
.uni .pic .place { position: absolute; left: 20px; top: 20px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); }
.uni .txt { padding: 26px 24px 30px; }
.uni h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.05; }
.uni .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { background: #fff; color: var(--ink); padding: 7px 12px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; }
.uni p { margin-top: 18px; color: var(--muted); }
.uni .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); }
.uni .facts span { display: inline-flex; align-items: center; gap: 8px; }
.uni .facts span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (min-width: 900px) { .uni-grid { grid-template-columns: 1fr 1fr; gap: var(--gutter); } .uni .txt { padding: 32px; } }

/* ---------- process ---------- */
.process-grid { display: grid; gap: 32px; }
.process-side { align-self: start; }
.steps { display: grid; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px 0; border-top: 4px solid var(--surface-2); }
.step:first-child { border-top: 4px solid var(--ink); }
.step .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.85; letter-spacing: -0.05em; color: #c9d1e3; font-variant-numeric: tabular-nums; min-width: 2ch; transition: color var(--t-ui) ease; }
.step:hover .big { color: var(--accent); }
.step h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.03em; }
.step p { margin-top: 10px; color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) { .process-grid { grid-template-columns: 5fr 7fr; column-gap: var(--gutter); } .process-side { position: sticky; top: 110px; } .step { padding: 36px 0; gap: 36px; } }

/* ---------- values ---------- */
.values { display: grid; gap: 28px 24px; margin-top: clamp(36px, 5vw, 64px); }
.value svg { width: 32px; height: 32px; color: var(--ink); stroke-width: 1.75; }
.value h3 { margin-top: 16px; font-size: 1.25rem; letter-spacing: -0.02em; }
.value p { margin-top: 8px; color: var(--muted); font-size: var(--step-body); max-width: 30ch; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); gap: 40px var(--gutter); } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq details { background: var(--surface); border-radius: var(--r-in); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent); }
.faq .ans { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* ---------- gold CTA ---------- */
.cta-grid { display: grid; gap: 28px; }
.cta-grid h2 { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.035em; max-width: 16ch; }
.cta-grid .lead { color: rgba(8,20,52,.72); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-contact { display: grid; gap: 10px; margin-top: 30px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.cta-contact a { display: inline-flex; align-items: center; gap: 10px; }
.cta-contact svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 7fr 5fr; column-gap: var(--gutter); align-items: end; } }

/* ---------- footer ---------- */
.footer { background: var(--field-navy); color: #fff; padding-block: clamp(56px, 7vw, 100px) 28px; }
.footer-top { display: grid; gap: 40px; }
.footer .brand img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer .brand p { margin-top: 18px; color: var(--navy-muted); max-width: 36ch; }
.footer h4 { font-size: var(--step-small); letter-spacing: 0.02em; text-transform: uppercase; color: var(--navy-muted); margin-bottom: 16px; font-weight: 700; }
.footer .links { display: grid; gap: 10px; }
.footer .links a { color: #fff; opacity: .88; transition: opacity var(--t-hover) ease, color var(--t-hover) ease; }
.footer .links a:hover { opacity: 1; color: var(--accent); }
.footer address { font-style: normal; color: #fff; line-height: 1.6; }
.footer address a { color: var(--accent); font-weight: 600; }
.footer .contact-lines { display: grid; gap: 8px; margin-top: 14px; }
.footer .contact-lines a { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-weight: 500; }
.footer .contact-lines svg { width: 18px; height: 18px; color: var(--accent); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.social a:hover { background: var(--accent); color: var(--ink); }
.social a:active { transform: scale(0.96); }
.social svg { width: 18px; height: 18px; }
.footer-courses { display: grid; gap: 28px; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 4px solid rgba(255,255,255,.1); }
.footer-courses .links a { font-size: 0.95rem; }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--navy-muted); font-size: var(--step-small); }
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom .legal a:hover { color: #fff; }
.footer-wordmark { margin-top: clamp(32px, 5vw, 64px); font-family: var(--font-display); font-weight: 700; font-size: var(--step-giant); letter-spacing: -0.05em; line-height: 0.85; color: rgba(255,255,255,.06); user-select: none; white-space: nowrap; overflow: hidden; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } .footer-courses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.6fr 0.8fr 0.8fr 1.1fr; column-gap: var(--gutter); } .footer-courses { grid-template-columns: repeat(4, 1fr); } }

/* ---------- floating whatsapp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #1fbd5a; }
.wa-float:active { transform: scale(0.96); }

/* ---------- inner page hero ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 6rem) clamp(2rem, 4vw, 4rem); }
.page-hero h1 { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.035em; max-width: 12ch; }
.page-hero .lead { margin-top: 20px; }

/* ---------- courses ---------- */
.filterbar { position: sticky; top: 76px; z-index: 30; background: var(--bg); padding: 14px 0; }
@media (min-width: 1024px) { .filterbar { top: 88px; } }
.filterbar .inner { display: grid; gap: 12px; }
.search { position: relative; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 54px; padding: 0 18px 0 50px; border: 0; border-radius: var(--r-pill); background: var(--surface); font: inherit; font-size: 1rem; color: var(--ink); outline: none; transition: box-shadow var(--t-hover) ease; }
.search input:focus { box-shadow: 0 0 0 3px var(--accent); }
.search input::placeholder { color: var(--muted); }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex-shrink: 0; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--muted); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.tabs button:hover { color: var(--ink); }
.tabs button:active { transform: scale(0.96); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (min-width: 900px) { .filterbar .inner { grid-template-columns: 1fr auto; align-items: center; } }
.level { margin-top: clamp(40px, 6vw, 80px); }
.level-head { display: grid; gap: 10px; margin-bottom: 24px; }
.level-head h2 { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.level-head p { color: var(--muted); max-width: 52ch; }
.course-grid { display: grid; gap: 14px; }
.course { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); padding: 26px 24px 24px; transition: background-color var(--t-hover) ease; }
.course:hover { background: var(--surface-2); }
.course .abbr { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.04em; line-height: 0.9; }
.course .full { margin-top: 8px; font-weight: 600; color: var(--ink); }
.course p { margin-top: 12px; color: var(--muted); font-size: var(--step-body); flex: 1; }
.course .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.course .tags span { background: #fff; padding: 6px 10px; border-radius: 8px; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.course .btn { margin-top: 18px; min-height: 48px; }
.empty { display: none; padding: 48px 0; color: var(--muted); }
.empty.show { display: block; }
.level.hidden { display: none; }
@media (min-width: 640px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .course-grid { grid-template-columns: repeat(3, 1fr); gap: var(--gutter); } }
@media (min-width: 1440px) { .course-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 32px; }
.form-card { background: var(--surface); border-radius: var(--r); padding: 26px 22px; }
.form-card h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: var(--step-small); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: var(--r-in); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); outline: none; transition: box-shadow var(--t-hover) ease; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px var(--accent); }
.field textarea { min-height: 150px; resize: vertical; }
.field .err { display: none; color: #b3261e; font-size: var(--step-small); }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { box-shadow: 0 0 0 2px #b3261e; }
.two { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.form-note { margin-top: 14px; color: var(--muted); font-size: var(--step-small); }
.form-note a { color: var(--ink); font-weight: 700; }
.info-list { display: grid; gap: 26px; }
.info h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.info p { margin-top: 6px; color: var(--muted); }
.info a.big { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: -0.02em; color: var(--ink); display: inline-block; margin-top: 6px; }
.info a.big:hover { color: var(--accent); }
.info .link-arrow { margin-top: 8px; }
.hours { background: var(--field-navy); color: #fff; border-radius: var(--r); padding: 26px 24px; }
.hours h3 { font-size: 1.2rem; }
.hours .row-h { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 2px solid rgba(255,255,255,.1); }
.hours .row-h:first-of-type { margin-top: 14px; }
.hours .row-h b { color: var(--accent); font-variant-numeric: tabular-nums; }
.map { margin-top: clamp(28px, 4vw, 48px); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.map .bar-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; }
.map .bar-row p { color: var(--muted); max-width: 60ch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 7fr 5fr; column-gap: calc(var(--gutter) * 2); } .form-card { padding: 40px; } .map iframe { height: 440px; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 16px); z-index: 70; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: var(--r-in); background: var(--ink); color: #fff; font-weight: 600; font-size: 0.95rem; opacity: 0; pointer-events: none; transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #b3261e; }

/* ---------- entrances (choreographed per section) ---------- */
[data-reveal] > .r, .r { opacity: 0; transform: translateY(22px); transition: opacity var(--t-reveal) var(--ease-expo), transform var(--t-reveal) var(--ease-expo); }
.in > .r, .r.in { opacity: 1; transform: none; }
.in > .r:nth-child(2) { transition-delay: 80ms; } .in > .r:nth-child(3) { transition-delay: 160ms; } .in > .r:nth-child(4) { transition-delay: 240ms; } .in > .r:nth-child(5) { transition-delay: 320ms; } .in > .r:nth-child(6) { transition-delay: 400ms; } .in > .r:nth-child(7) { transition-delay: 480ms; } .in > .r:nth-child(8) { transition-delay: 560ms; }
.r-pic { clip-path: inset(0 0 100% 0); transition: clip-path var(--t-open) var(--ease-expo); }
.r-pic.in, .in > .r-pic { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r, [data-reveal] > .r { opacity: 1; transform: none; transition: none; }
  .r-pic { clip-path: none; transition: none; }
  .lines .line > span { transform: none; animation: none !important; }
  .hero-field img { clip-path: none; animation: none !important; }
  .marquee-track { animation: none; }
  .menu { transition: none; }
}
