/* ==========================================================================
   InspireTutors by ADRO — site styles
   ========================================================================== */

/* Poppins, served from this site so no page load contacts Google Fonts.
   Latin subset only (covers Spanish); license in assets/fonts/OFL.txt. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700.woff2") format("woff2"); }

:root {
  /* Brand */
  --teal: #1a6b5a;
  --teal-dark: #145a4b;
  --teal-deep: #0e3f35;
  --teal-light: #e8f5f1;
  --orange: #e07c24;
  --orange-dark: #c46a18;
  --orange-light: #fdf0e0;
  /* Orange for small text, chosen to pass WCAG AA (4.5:1) contrast:
     --orange-text on white/light surfaces, --orange-on-dark on the teal footer */
  --orange-text: #a85810;
  --orange-on-dark: #f0a35a;

  /* Neutrals */
  --ink: #0b1714;
  --ink-soft: #3d4a47;
  --muted: #6b7875;
  --line: #e3e8e6;
  --surface: #f5f5f5;
  --white: #ffffff;

  /* Type */
  --font-heading: "Poppins", Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 28px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Language switching ----------
   Every translatable string exists twice with lang="en" / lang="es".
   The <html lang> attribute decides which one is shown. */
html[lang="es"] body [lang="en"],
html[lang="en"] body [lang="es"] { display: none !important; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dot { color: var(--orange); }
.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: absolute; left: 16px; top: -60px; z-index: 200; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff; --bd: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { --bg: var(--orange); --bd: var(--orange); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(224,124,36,.6); } }
/* Feedback on press, not release: instant and slight */
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn.is-pending:active { transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--teal); --bd: var(--teal); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { --fg: #fff; } }
.btn--light { --bg: #fff; --fg: var(--teal); --bd: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { --fg: #fff; } }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-family: var(--font-heading); font-weight: 600; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { color: var(--orange-text); } }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(4px); } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
/* Scroll edge: a soft fade under the bar where content passes beneath, not a hard line */
.nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none; background: linear-gradient(to bottom, rgba(14,63,53,.07), rgba(14,63,53,0)); opacity: 0; transition: opacity .3s var(--ease); }
.nav.is-scrolled::after { opacity: 1; }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-heading); }
.brand__name { font-weight: 700; font-size: 1.125rem; color: var(--teal); letter-spacing: -0.02em; }
.brand__by { font-weight: 600; font-size: 0.6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-text); }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 500; font-size: 0.9375rem;
  color: var(--ink-soft); text-decoration: none;
  transition: color .2s, background-color .2s;
}
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--teal); background: var(--teal-light); } }
.nav__links a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Language toggle (segmented switch) */
.lang-toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  width: 92px; height: 38px; padding: 3px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; letter-spacing: .04em;
  cursor: pointer; color: var(--muted);
}
.lang-toggle::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: calc(50% - 3px); height: calc(100% - 6px);
  border-radius: 999px; background: var(--teal);
  box-shadow: 0 2px 8px -2px rgba(26,107,90,.5);
  transition: transform .35s var(--ease);
}
html[lang="es"] .lang-toggle::before { transform: translateX(100%); }
.lang-toggle span { position: relative; z-index: 1; display: grid; place-items: center; transition: color .35s var(--ease); }
html[lang="en"] .lang-toggle .lt-en,
html[lang="es"] .lang-toggle .lt-es { color: #fff; }

.nav__burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer;
  border-radius: 12px; color: var(--ink);
}
.nav__burger span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: #fff; padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  overflow-y: auto;
}
.nav.is-open + .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) {
  display: block; padding: 16px 0;
  font-family: var(--font-heading); font-weight: 700; font-size: 2.125rem; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.mobile-menu a[aria-current="page"] { color: var(--teal); }

@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .brand__text { display: none; }
}
@media (min-width: 881px) { .mobile-menu { display: none; } }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 104px) 0; }
.section--surface { background: var(--surface); }
.section--flush { padding-top: 0; }

.eyebrow {
  display: inline-block; margin-bottom: 20px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--orange-text);
}

/* Big display type */
.display { font-size: clamp(3rem, 9vw, 7.5rem); letter-spacing: -0.045em; line-height: .98; }
.headline { font-size: clamp(2.4rem, 6.4vw, 5rem); letter-spacing: -0.04em; line-height: 1.02; }
.title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.08; }
.lead { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink-soft); }
.lead strong { color: var(--ink); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--nav-h));
  display: flex; align-items: center;
  padding: clamp(64px, 10vw, 120px) 0;
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(78vw, 820px); aspect-ratio: 1; border-radius: 50%;
  right: -18%; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle at 50% 50%, var(--orange-light) 0 58%, transparent 58.2%);
}
.hero__ring {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(92vw, 980px); aspect-ratio: 1; border-radius: 50%;
  right: calc(-18% - min(7vw, 80px)); top: 50%; transform: translateY(-50%);
  border: 2px solid rgba(224,124,36,.28);
}
@media (max-width: 700px) {
  .hero { align-items: flex-start; min-height: 0; padding-bottom: 140px; }
  .hero__glow, .hero__ring { top: auto; transform: none; }
  .hero__glow { width: 110vw; right: -55vw; bottom: -40vw; }
  .hero__ring { width: 140vw; right: -70vw; bottom: -55vw; }
}
.hero .display { margin-bottom: clamp(24px, 3vw, 36px); }
.hero .lead { max-width: 560px; margin-bottom: 40px; }
.hero .lead span[lang] > span { display: block; }

/* ---------- Statement (scroll-reveal lines) ---------- */
.reveal-line { transition: color .9s var(--ease); }
.js .reveal-line { color: #cfd8d5; }
.js .reveal-line.accent { color: #b9d6cf; }
.js .reveal-line.is-in { color: var(--ink); }
.js .reveal-line.accent.is-in { color: var(--teal); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: clamp(28px, 3.4vw, 44px);
  background: #fff; border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(14,63,53,.35); } }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal); margin-bottom: 12px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.card p { color: var(--ink-soft); font-size: 1.0625rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }

@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--teal); color: #fff;
  padding: clamp(88px, 12vw, 160px) 0;
}
.cta-band::after {
  content: ""; position: absolute; pointer-events: none;
  width: 560px; aspect-ratio: 1; border-radius: 50%;
  right: -160px; bottom: -280px;
  border: 2px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.025);
}
.cta-band .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.cta-band .headline { color: #fff; }

/* ---------- Page header ---------- */
.page-head { padding: clamp(88px, 14vw, 176px) 0 clamp(48px, 7vw, 96px); }
.page-head .display { margin-bottom: 24px; }
.page-head .lead { max-width: 640px; }

/* ---------- Subject list (Services) ---------- */
.subject-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.subject {
  display: grid; grid-template-columns: 110px 1fr 1fr; gap: 24px; align-items: baseline;
  padding: clamp(32px, 4.5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.subject__num { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; color: var(--orange-text); letter-spacing: .08em; }
.subject h3 { font-size: clamp(1.8rem, 3.8vw, 3rem); letter-spacing: -0.035em; }
.subject p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 460px; }
.subject__tag {
  display: inline-block; margin-top: 14px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--teal-light); color: var(--teal);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase;
}
.subject__tag--prep { background: var(--orange-light); color: var(--orange-text); }
@media (max-width: 760px) {
  .subject { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Format strip (How it works) ---------- */
.format { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.format__item { background: #fff; border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px); }
.format__item svg { width: 36px; height: 36px; color: var(--orange); margin-bottom: 28px; }
.format__item p { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
@media (max-width: 880px) { .format { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.bio__mark {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); display: grid; place-items: center;
}
.bio__mark img { width: 78%; height: auto; }
.bio__text { display: flex; flex-direction: column; gap: 28px; }
.bio__text p { font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.55; color: var(--ink-soft); }
.bio__text .eyebrow { margin-bottom: -8px; }
.bio__text p:first-of-type { font-family: var(--font-heading); font-weight: 600; color: var(--ink); font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.35; letter-spacing: -0.02em; }
.bio__name { color: var(--teal); }
@media (max-width: 880px) {
  .bio { grid-template-columns: 1fr; }
  .bio__mark { max-width: 320px; }
}

.mission { text-align: center; }
.mission .display > span[lang] > span { display: block; }
.mission .lead { margin-top: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--radius); background: var(--surface);
  text-decoration: none; color: var(--ink);
  border: 2px solid transparent;
  transition: transform .4s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .contact-card:hover { transform: translateY(-4px); border-color: var(--orange); background: #fff; box-shadow: 0 24px 48px -28px rgba(224,124,36,.45); } }
.contact-card__icon {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  background: var(--teal); color: #fff; margin-bottom: 20px;
  transition: background-color .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .contact-card:hover .contact-card__icon { background: var(--orange); } }
.contact-card__icon svg { width: 30px; height: 30px; }
.contact-card__label { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; }
.contact-card__value { font-size: 1.0625rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.contact-card__go { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; color: var(--teal); }
.contact-card__go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .contact-card:hover .contact-card__go { color: var(--orange-text); } }
@media (hover: hover) and (pointer: fine) { .contact-card:hover .contact-card__go svg { transform: translateX(4px); } }
.contact-card--primary { background: var(--teal); color: #fff; }
.contact-card--primary .contact-card__icon { background: #fff; color: var(--teal); }
.contact-card--primary .contact-card__value { color: rgba(255,255,255,.85); }
.contact-card--primary .contact-card__go { color: #fff; }
@media (hover: hover) and (pointer: fine) { .contact-card--primary:hover { background: var(--teal-dark); } }
@media (hover: hover) and (pointer: fine) { .contact-card--primary:hover .contact-card__icon { background: var(--orange); color: #fff; } }
@media (hover: hover) and (pointer: fine) { .contact-card--primary:hover .contact-card__go { color: #fff; } }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Home: specific hero headline ---------- */
.hero__title { font-size: clamp(2.5rem, 6.2vw, 5.4rem); letter-spacing: -0.04em; line-height: 1.02; }
.hero__content { max-width: 1040px; }

/* ---------- Home: credentials row ---------- */
.creds { list-style: none; margin: 4px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.creds li { display: flex; flex-direction: column; gap: 4px; font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
.creds strong { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; color: var(--teal); line-height: 1.1; }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Home: session process ---------- */
.process { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.process__step {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 24px; row-gap: 14px;
  padding: clamp(32px, 4.5vw, 52px) 0; border-bottom: 1px solid var(--line);
}
.process__step > *:not(.process__num) { grid-column: 2; }
.process__num { grid-row: 1 / span 4; font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; color: var(--orange-text); letter-spacing: .08em; padding-top: 8px; }
.process__step h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.035em; }
.process__step > p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 720px; }
@media (max-width: 760px) {
  .process__step { grid-template-columns: 1fr; }
  .process__step > *:not(.process__num) { grid-column: 1; }
  .process__num { grid-row: auto; padding-top: 0; }
}

.timeline { display: flex; gap: 4px; height: 44px; margin-top: 10px; border-radius: 14px; overflow: hidden; }
.timeline__seg { display: grid; place-items: center; min-width: 28px; font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: #fff; }
.timeline__seg--1 { flex: 13; background: #b9d6cf; color: var(--teal-deep); }
.timeline__seg--2 { flex: 27; background: var(--teal); }
.timeline__seg--3 { flex: 15; background: var(--teal-deep); }
.timeline__seg--4 { flex: 5; background: var(--orange); color: var(--ink); }
.timeline__legend { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.timeline__legend li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: baseline; }
.timeline__dot { width: 12px; height: 12px; border-radius: 4px; align-self: center; }
.timeline__legend strong { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.3; }
.timeline__min { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--orange-text); white-space: nowrap; }
.timeline__desc { grid-column: 2 / -1; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
@media (max-width: 760px) { .timeline__legend { grid-template-columns: 1fr; } }

/* ---------- Section lead paragraph ---------- */
.section-lead { max-width: 760px; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -0.015em; line-height: 1.3;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6b5a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange-light); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--teal); } }
.faq__body { padding: 0 56px 28px 0; color: var(--ink-soft); display: grid; gap: 12px; }
.faq__body > div { display: grid; gap: 12px; }
.faq__body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.faq-wrap .headline { font-size: clamp(2.4rem, 4.6vw, 4rem); }
@media (max-width: 1000px) { .faq-wrap { grid-template-columns: 1fr; } .faq__body { padding-right: 0; } }

.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); }


/* ---------- About: photo + facts + join ---------- */
.bio__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.fact { background: #fff; border-radius: var(--radius); padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.fact svg { width: 32px; height: 32px; color: var(--orange); margin-bottom: 12px; }
.fact h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.fact p, .fact li { color: var(--ink-soft); font-size: 1rem; }
.fact ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fact li { padding-left: 18px; position: relative; }
.fact li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.fact__meta { font-size: 0.875rem !important; color: var(--muted) !important; }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr; } }

.join {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius);
  background: var(--teal-light);
}
.join__text { max-width: 620px; display: grid; gap: 12px; }
.join__text p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--teal-deep); color: rgba(255,255,255,.78); padding: 72px 0 36px; font-size: 0.9375rem; }
.footer a { color: #fff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--orange-on-dark); } }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand img { width: 72px; height: 72px; background: #fff; border-radius: 50%; padding: 4px; }
.footer__brand strong { display: block; font-family: var(--font-heading); font-size: 1.25rem; color: #fff; letter-spacing: -0.02em; }
.footer__blurb { margin-top: 20px; max-width: 320px; }
.footer__tagline { font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-on-dark); }
.footer h2 { font-size: 0.8125rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Motion
   ========================================================================== */
/* Scroll reveals: short and subtle so text never makes people wait */
.js .fade-up { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .fade-up.is-in { opacity: 1; transform: none; }
.js .fade-up[data-delay="1"] { transition-delay: .06s; }
.js .fade-up[data-delay="2"] { transition-delay: .12s; }
.js .fade-up[data-delay="3"] { transition-delay: .18s; }

/* Reduced motion: no sliding or lifting, but keep gentle fades and color feedback */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-delay: 0s !important;
    transition-property: opacity, color, background-color, border-color, box-shadow, outline-color !important;
  }
  .js .fade-up { transform: none; transition-duration: .3s; }
  .btn:hover, .card:hover, .contact-card:hover, .download:hover, .link-arrow:hover svg, .contact-card:hover .contact-card__go svg,
  .mobile-menu, .practice__img--cheer { transform: none; }
  .js .reveal-line { color: var(--ink); }
  .js .reveal-line.accent { color: var(--teal); }
}

/* Home intro paragraph beside the photo: regular weight, not the About page's bold lead */
.bio__text p.bio__intro { font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; letter-spacing: 0; }

/* ---------- Reviews (home) ---------- */
.reviews__note { margin-top: 20px; color: var(--muted); font-size: 1rem; }
.reviews { columns: 3 300px; column-gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.review {
  break-inside: avoid; margin: 0 0 20px;
  padding: clamp(24px, 3vw, 32px); border-radius: var(--radius);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 20px;
}
.review blockquote { margin: 0; }
.review blockquote::before { content: "“"; display: block; font-family: var(--font-heading); font-weight: 700; font-size: 3.5rem; line-height: .7; color: var(--orange); margin-bottom: 8px; }
.review blockquote p { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.review figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.review figcaption strong { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--teal); }

/* ---------- Avatar illustrations ----------
   Transparent 3D avatars of Adrián. Default: a soft teal disc sits behind the figure.
   --clip: the figure is cut off at the bottom, so the bottom edge follows the disc's curve. */
.avatar { position: relative; margin: 0; isolation: isolate; }
.avatar::before {
  content: ""; position: absolute; z-index: -1;
  left: 7%; top: 4%; width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: var(--teal-light);
}
.avatar img { width: 100%; height: auto; }
.avatar--clip { border-radius: 0 0 999px 999px; overflow: hidden; }
.avatar--clip::before { left: 0; top: 0; width: 100%; }
.avatar--flip img { transform: scaleX(-1); }
/* --fade: the scene (desk, chair) runs off the image edge, so fade it out at the bottom and right */
.avatar--fade img {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%), linear-gradient(to left, transparent 1%, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 72%, transparent 98%), linear-gradient(to left, transparent 1%, #000 14%);
  mask-composite: intersect;
}

/* Home hero: text left, avatar standing on the hero's bottom edge */
.hero--avatar { padding-bottom: 0; align-items: stretch; }
.hero--avatar .container {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px); align-items: center;
}
.hero--avatar .hero__content { padding-bottom: clamp(64px, 10vw, 120px); }
.hero--avatar .hero__title { font-size: clamp(2.5rem, 5vw, 4.2rem); }
@media (min-width: 701px) { .hero--avatar .hero__glow, .hero--avatar .hero__ring { top: 58%; } }
.hero__avatar { align-self: end; margin: 0; max-width: 600px; justify-self: end; width: 100%; }
.hero__avatar img { width: 100%; height: auto; }
@media (max-width: 700px) {
  .hero--avatar .container { grid-template-columns: 1fr; }
  .hero--avatar .hero__content { padding-bottom: 8px; }
  .hero__avatar { max-width: 340px; }
}

/* Section/page header with an avatar beside the text */
.intro-avatar {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 28vw, 380px);
  gap: clamp(24px, 5vw, 72px); align-items: center;
}
@media (max-width: 760px) {
  .intro-avatar { grid-template-columns: 1fr; }
  .intro-avatar .avatar { width: min(260px, 70vw); }
}
.page-head--avatar { padding-top: clamp(56px, 8vw, 104px); }

/* --stand: no disc; the figure stands on a rule or a section edge */
.avatar--stand::before { display: none; }

/* Home "How a session works": whiteboard avatar stands on the process list's top rule */
.intro-avatar--stand { grid-template-columns: minmax(0, 1fr) clamp(260px, 36vw, 460px); align-items: end; }
.intro-avatar--stand > div { padding-bottom: clamp(40px, 5vw, 64px); }
.intro-avatar--stand + .process { margin-top: 0; }
@media (max-width: 760px) {
  .intro-avatar--stand { grid-template-columns: 1fr; }
  .intro-avatar--stand > div { padding-bottom: 0; }
  .intro-avatar--stand .avatar { width: min(340px, 88vw); }
}

/* Services subject rows: a small avatar stands on the row's bottom rule */
.subject-list--avatars .subject { --row-pad: clamp(32px, 4.5vw, 56px); grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr) clamp(140px, 17vw, 220px); padding: var(--row-pad) 0; }
.subject__avatar { grid-column: 4; align-self: end; margin-bottom: calc(-1 * var(--row-pad)); }
@media (max-width: 760px) {
  .subject-list--avatars .subject { grid-template-columns: 1fr; }
  .subject__avatar { grid-column: auto; width: 150px; justify-self: end; margin-top: 0; }
}

/* Services FAQ: avatar under the "Questions?" headline */
.faq-aside { display: grid; gap: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-aside .avatar { width: min(300px, 100%); }
@media (max-width: 1000px) {
  .faq-aside { position: static; }
  .faq-aside .avatar { width: min(220px, 55vw); }
}

/* CTA band with an avatar standing on its bottom edge */
.cta-band--avatar { padding-bottom: 0; }
.cta-band--avatar .container { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 30vw, 400px); align-items: end; gap: 24px; }
.cta-band__text { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; padding-bottom: clamp(88px, 12vw, 160px); }
@media (max-width: 760px) {
  .cta-band--avatar .container { grid-template-columns: 1fr; }
  .cta-band__text { padding-bottom: 8px; }
  .cta-band--avatar .avatar { width: min(280px, 75vw); justify-self: end; }
}

/* ---------- Home: practice challenge ---------- */
.practice {
  display: grid; grid-template-columns: clamp(200px, 26vw, 320px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius); background: var(--surface);
}
.practice__avatar { display: grid; }
.practice__avatar img { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.practice__img--cheer { opacity: 0; transform: translateY(12px); }
.practice.is-solved .practice__img--think { opacity: 0; }
.practice.is-solved .practice__img--cheer { opacity: 1; transform: none; }
.practice__body { display: grid; gap: 18px; justify-items: start; }
.practice__body .eyebrow { margin-bottom: 0; }
.practice__problem { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.35; }
.math { white-space: nowrap; color: var(--teal); }
.practice__form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.practice__form label { font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; }
.practice__form input {
  width: 120px; min-height: 52px; padding: 0 16px;
  border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem;
}
.practice__form input:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-light); }
.practice__feedback { min-height: 1.6em; font-size: 1.0625rem; color: var(--ink-soft); }
.practice__feedback.is-good { color: var(--teal-dark); font-weight: 700; }
.practice__feedback.is-try { color: var(--orange-text); }
.practice__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.practice__toggle {
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--teal);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.practice__toggle[aria-expanded="true"] { background: var(--teal-light); border-color: var(--teal); }
@media (hover: hover) and (pointer: fine) { .practice__toggle:hover { background: var(--teal-light); border-color: var(--teal); } }
.practice__panel { width: 100%; padding: 20px 24px; border-radius: 18px; background: #fff; color: var(--ink-soft); font-size: 1rem; }
.practice__steps { margin: 0; padding-left: 44px; display: grid; gap: 8px; }
.practice__steps .math { color: var(--ink); font-family: var(--font-heading); font-weight: 600; }
@media (max-width: 760px) {
  .practice { grid-template-columns: 1fr; }
  .practice__avatar { width: min(220px, 60vw); }
}

/* Free download card */
.download {
  display: flex; align-items: center; gap: 18px; width: 100%; margin-top: 8px;
  padding: 18px 22px; border-radius: 20px; border: 2px solid var(--line); background: #fff;
  color: var(--ink); text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .download:hover { border-color: var(--orange); transform: translateY(-2px); } }
.download__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-light); color: var(--orange-dark); }
.download__icon svg { width: 26px; height: 26px; }
.download__text { display: grid; gap: 2px; min-width: 0; }
.download__meta { font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); }
.download__text strong { font-family: var(--font-heading); font-size: 1.125rem; letter-spacing: -0.01em; }
.download__text span:last-child { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Contact: "Find your starting point" guide ---------- */
.guide-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.guide__intro { display: grid; gap: 20px; }
.guide__intro .eyebrow { margin-bottom: 0; }
.guide__intro p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.guide { display: grid; gap: 28px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius); background: #fff; }
.guide fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.guide legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.guide__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 0.875rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip > span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft);
  font-family: var(--font-heading); font-weight: 500; font-size: 0.9375rem; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
@media (hover: hover) and (pointer: fine) { .chip > span:hover { border-color: var(--teal); color: var(--teal); } }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.guide__preview { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; background: var(--teal-light); }
.guide__preview-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.guide__preview-text { color: var(--teal-deep); font-size: 1rem; line-height: 1.55; }
.guide__send.is-disabled { opacity: .55; }
@media (hover: hover) and (pointer: fine) { .guide__send.is-disabled:hover { --bg: var(--teal); --bd: var(--teal); transform: none; box-shadow: none; } }
.guide__note { color: var(--orange-text); font-size: 0.9375rem; }
@media (max-width: 1000px) { .guide-wrap { grid-template-columns: 1fr; } }

/* ---------- Contact: "Before your first session" checklist ---------- */
.prep-list { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.prep-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.prep-list li::before {
  content: ""; grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; margin-top: 1px;
  background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6b5a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.prep-list strong { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.4; }
.prep-list p { color: var(--ink-soft); font-size: 1rem; }

/* ==========================================================================
   Business content (rendered from content/business.js)
   ========================================================================== */

/* Visible placeholder for a decision not made yet */
.pending {
  display: inline; padding: 1px 8px; border-radius: 6px;
  background: #fff4cc; color: #6b4a00; border: 1.5px dashed #d9a400;
  font-family: var(--font-heading); font-weight: 600; font-size: .88em; letter-spacing: 0;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.pending-after { display: block; width: 100%; margin-top: 4px; font-size: 0.9375rem; }
.btn.is-pending { opacity: .5; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .btn.is-pending:hover { --bg: var(--teal); --bd: var(--teal); transform: none; box-shadow: none; } }
@media (hover: hover) and (pointer: fine) { .btn--light.is-pending:hover, .btn--outline-light.is-pending:hover { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); } }
@media (hover: hover) and (pointer: fine) { .btn--ghost.is-pending:hover { --bg: transparent; --fg: var(--teal); --bd: var(--teal); } }
a.is-pending { cursor: not-allowed; }

/* Shared lists */
.check-list, .dot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li, .dot-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 6px;
  background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6b5a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.dot-list li { padding-left: 22px; }
.dot-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* Two-column split: heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__intro { display: grid; gap: 20px; }
.split__intro .eyebrow { margin-bottom: 0; }
.split__intro p { color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }

/* Hours / label-value rows */
.hours { margin: 0; display: grid; border-top: 1px solid var(--line); }
.hours > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-family: var(--font-heading); font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 520px) { .hours > div { grid-template-columns: 1fr; gap: 4px; } }

/* Card used for grouped details */
.info-card { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: #fff; }
.info-card h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.info-card__foot { color: var(--ink-soft); font-size: 0.9375rem; }
.section--surface .info-card { background: #fff; }
.section:not(.section--surface) .info-card { background: var(--surface); }

/* ---------- Pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.price-card { display: flex; flex-direction: column; gap: 6px; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius); background: #fff; }
.price-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.price-card__sub { color: var(--muted); }
.price-rows { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-row__name { display: grid; gap: 2px; font-family: var(--font-heading); font-weight: 600; }
.price-row__per { font-family: var(--font-body); font-weight: 400; font-size: 0.875rem; color: var(--muted); }
.price-row__price { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; color: var(--teal); }
.price-card__note { margin-top: 14px; color: var(--ink-soft); font-size: 0.9375rem; }
.price-card__book { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.price-card__book-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tutor-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tutor-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tutor-row__name { font-family: var(--font-heading); font-weight: 600; }
.tutor-row .pending-after { margin-top: 0; }
.price-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; color: var(--ink-soft); }
.price-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 960px) { .price-cards, .price-details { grid-template-columns: 1fr; } }

/* ---------- How to get started ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.path { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius); background: var(--surface); }
.section--surface .path { background: #fff; }
.path__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--teal-light); color: var(--teal); font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; }
.path:nth-child(2) .path__tag { background: var(--orange-light); color: var(--orange-text); }
.path h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.path__steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.path__steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--ink-soft); min-height: 30px; }
.path__steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
}
.path__cta { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.next-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 880px) { .paths, .next-details { grid-template-columns: 1fr; } }

/* Small line of availability under booking buttons */
.avail-brief { font-size: 0.9375rem; color: var(--ink-soft); }
.cta-band .avail-brief { color: rgba(255,255,255,.85); }

/* ---------- Text pages (policies, privacy) ---------- */
/* These pages' text is rendered by JS after the first paint; a full-screen main
   keeps the footer below the fold until then, so it doesn't visibly jump */
.main--doc { min-height: 100vh; }
.doc { display: grid; gap: clamp(40px, 5vw, 64px); }
.doc > * { max-width: 860px; }
.doc__block { display: grid; gap: 18px; }
.doc__block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.doc__block p a, .doc__block li a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.doc__block strong { color: var(--ink); }
.doc__sections { display: contents; }
.doc__sections > * { max-width: 860px; }
.doc__glance { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); }
.doc__meta { color: var(--muted); font-size: 0.875rem; }
.doc__glance .doc__meta { color: var(--ink-soft); } /* --muted is under 4.5:1 on the gray box */

/* Services: scope line under each subject */
.subject__desc { display: grid; gap: 10px; align-content: start; }
.subject .subject__scope { font-size: 0.9375rem; line-height: 1.5; color: var(--muted); max-width: 460px; }
.scope-notes { display: grid; gap: 18px; max-width: 760px; margin-top: clamp(40px, 5vw, 64px); }
.scope-notes h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.policy-box { margin-top: 20px; }
.avail-cards { display: grid; gap: 20px; }
/* Long booking labels must wrap on phones instead of widening the card */
.path, .price-card { min-width: 0; }
.path__cta .btn, .tutor-row .btn { white-space: normal; text-align: center; max-width: 100%; }

/* ==========================================================================
   Apple-style polish: press feedback, materials, accessibility settings
   ========================================================================== */

/* Our own press states replace the browser's grey tap flash; no double-tap zoom delay */
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
a, button, summary, label, input { touch-action: manipulation; }

/* Instant feedback the moment something is pressed */
.chip > span, .practice__toggle, .lang-toggle, .nav__burger, .faq summary::after { transition-property: background-color, border-color, color, transform; }
.chip > span { transition-duration: .2s; }
.chip:active > span,
.practice__toggle:active,
.lang-toggle:active,
.nav__burger:active { transform: scale(0.96); transition-duration: 100ms; }
.contact-card:active:not(.is-pending),
.download:active { transform: scale(0.985); transition-duration: 100ms; }
.faq summary:active::after { transform: scale(0.9); }
.faq details[open] summary:active::after { transform: rotate(45deg) scale(0.9); }

/* FAQ answers open smoothly where the browser supports it (otherwise they open instantly, as before) */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: clip; opacity: 0;
    transition: block-size .32s var(--ease), opacity .24s ease, content-visibility .32s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
}

/* Practice challenge: the celebration pose grows up from where the avatar stands */
.practice__img--cheer { transform: scale(0.96); transform-origin: 50% 100%; }

/* No blur support: keep the bar solid instead of see-through */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: #fff; }
}

/* "Reduce transparency": frosted bar becomes solid */
@media (prefers-reduced-transparency: reduce) {
  .nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* "Increase contrast": stronger text, lines, and outlines on surfaces */
@media (prefers-contrast: more) {
  :root { --line: #8a9794; --muted: #46514e; --ink-soft: #1f2a27; }
  .nav { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--ink-soft); }
  .nav::after { display: none; }
  .card, .info-card, .price-card, .path, .contact-card, .review, .fact, .format__item, .guide, .practice, .download, .join {
    box-shadow: inset 0 0 0 1.5px var(--ink-soft);
  }
  .chip > span, .practice__toggle, .lang-toggle { border-color: var(--ink-soft); }
  .practice__form input { border-color: var(--ink-soft); }
}
@media (prefers-reduced-motion: reduce) { .practice__img--cheer { transform: none; } }
