/* ==========================================================================
   OneFocus Academy — Design System
   ========================================================================== */

:root {
  /* ── Brand palette ────────────────────────────────────────────────────────
     Taken straight from the mark: the frame is --brand, the numeral is
     --accent, and the indigo ramp is built from the mark's own gradient
     stops (#3A51AF → #22337A). Nothing decorative lives outside this set. */
  --ink:        #0D1424;   /* mark: type + reverse grounds */
  --ink-2:      #1E2A45;
  --ink-3:      #38466A;
  --brand:      #2A3E8F;   /* mark: the focus frame */
  --brand-900:  #1B2A5C;
  --brand-700:  #22337A;   /* mark gradient, end stop */
  --brand-600:  #22337a;
  --brand-500:  #3A51AF;   /* mark gradient, start stop */
  --brand-300:  #6B82DC;
  --brand-100:  #DCE2F6;
  --brand-50:   #EEF1FC;
  --accent:     #F2A33C;   /* mark: the numeral */
  --accent-700: #96620A;   /* accessible amber for text on tints */
  --accent-100: #FAE2BC;
  --accent-50:  #FDF3E4;
  --teal:       #16A394;   /* confirmations only — never decoration */
  --teal-50:    #E6F6F4;

  --body:       #46536E;
  --muted:      #6C7A93;
  --line:       #E3E7F0;
  --line-soft:  #EFF2F8;
  --surface:    #FFFFFF;
  --surface-2:  #F7F9FD;
  --on-dark:    #A9B6D0;   /* body copy on ink grounds */
  --on-dark-2:  #7C8AA8;   /* muted copy on ink grounds */

  /* ── The focus frame, as a reusable device ────────────────────────────────
     The mark's four brackets, redrawn one weight lighter so they can hold a
     UI glyph without competing with it. Square only — never stretched. */
  --frame-brand:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232A3E8F' stroke-width='5.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V13a8 8 0 0 1 8-8h9'/%3E%3Cpath d='M42 5h9a8 8 0 0 1 8 8v9'/%3E%3Cpath d='M59 42v9a8 8 0 0 1-8 8h-9'/%3E%3Cpath d='M22 59h-9a8 8 0 0 1-8-8v-9'/%3E%3C/svg%3E");
  --frame-accent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23D9862A' stroke-width='5.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V13a8 8 0 0 1 8-8h9'/%3E%3Cpath d='M42 5h9a8 8 0 0 1 8 8v9'/%3E%3Cpath d='M59 42v9a8 8 0 0 1-8 8h-9'/%3E%3Cpath d='M22 59h-9a8 8 0 0 1-8-8v-9'/%3E%3C/svg%3E");
  --frame-ink:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%230D1424' stroke-width='5.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V13a8 8 0 0 1 8-8h9'/%3E%3Cpath d='M42 5h9a8 8 0 0 1 8 8v9'/%3E%3Cpath d='M59 42v9a8 8 0 0 1-8 8h-9'/%3E%3Cpath d='M22 59h-9a8 8 0 0 1-8-8v-9'/%3E%3C/svg%3E");
  --frame-soft:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-opacity='.17' stroke-width='5.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V13a8 8 0 0 1 8-8h9'/%3E%3Cpath d='M42 5h9a8 8 0 0 1 8 8v9'/%3E%3Cpath d='M59 42v9a8 8 0 0 1-8 8h-9'/%3E%3Cpath d='M22 59h-9a8 8 0 0 1-8-8v-9'/%3E%3C/svg%3E");

  /* Type */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  /* Space & shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 36, .06), 0 1px 3px rgba(13, 20, 36, .04);
  --shadow-md: 0 4px 6px -2px rgba(13, 20, 36, .05), 0 12px 24px -6px rgba(13, 20, 36, .10);
  --shadow-lg: 0 8px 12px -4px rgba(13, 20, 36, .06), 0 28px 60px -12px rgba(13, 20, 36, .18);
  --maxw: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .55vw, 1.45rem); }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 3px;
  border-radius: 4px;
}

/* -------------------------------------------------------------- Layout -- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section--soft { background: var(--surface-2); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* --------------------------------------------------------- Typography -- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-50);
  padding: 7px 14px;
  border-radius: var(--r-full);
}
.section--ink .eyebrow { background: rgba(255,255,255,.08); color: var(--accent); }

.lead { font-size: clamp(1.02rem, .98rem + .3vw, 1.15rem); color: var(--body); }
.sub  { color: var(--muted); }
.head { max-width: 660px; }
.head.center { margin-inline: auto; }
.head h2 + p { margin-top: 16px; }
.head .eyebrow + h2 { margin-top: 18px; }

/* ------------------------------------------------------------ Buttons -- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); }
.btn--ghost  { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--brand-300); background: var(--brand-50); }
.btn--light  { --btn-bg: #fff; --btn-fg: var(--brand); }
.btn--wide   { width: 100%; }
.btn--sm     { padding: 10px 18px; font-size: .875rem; }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ------------------------------------------------------------- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 22px -14px rgba(13,20,36,.4); }

.nav { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 42px; height: 42px; flex: none; color: var(--brand); }
.brand:hover .brand__mark { color: var(--brand-600); }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.brand__name span { color: var(--brand); }
.brand__tag {
  display: block;
  font-family: var(--font-sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 9px 15px;
  border-radius: var(--r-full);
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__links a:hover { color: var(--brand); background: var(--brand-50); }
.nav__links a.is-active { color: var(--brand); background: var(--brand-50); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
}
.nav__toggle span {
  position: relative;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background .2s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(70% 120% at 88% 0%, var(--brand-50) 0%, rgba(238,241,252,0) 62%),
    radial-gradient(50% 90% at 4% 96%, var(--accent-50) 0%, rgba(253,243,228,0) 60%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-top: 22px; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero__lead { margin-top: 20px; font-size: 1.1rem; max-width: 30em; }
.hero .btn-row { margin-top: 32px; }

.hero__trust {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero__trust div strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--ink);
  line-height: 1.1;
}
.hero__trust div span { font-size: .84rem; color: var(--muted); }

.hero__art { position: relative; }
.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.hero__card h4 { margin-bottom: 4px; }
.hero__card .sub { font-size: .87rem; }
.hero__slots { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.hero__slot {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 6px;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-2);
}
.hero__slot.is-open { background: var(--brand-50); border-color: var(--brand-300); color: var(--brand); }
.hero__card .btn { margin-top: 20px; }

.hero__float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
}
.hero__float--a { bottom: -22px; left: -26px; }
.hero__float--b { top: -24px; right: -18px; }
.hero__float i {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-50);
  font-style: normal;
  font-size: .95rem;
}
.hero__float--a i { background: var(--brand-50); color: var(--brand); }

/* ------------------------------------------------------------ Marquee -- */
.logos { padding: 34px 0; border-block: 1px solid var(--line-soft); background: #fff; }
.logos p { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.logos ul {
  margin-top: 20px;
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 14px 34px;
}
.logos li {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink-2);
  opacity: .62;
  display: flex; align-items: center; gap: 8px;
}

/* -------------------------------------------------------------- Cards -- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; }

.icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 27%;   /* scales with the tile, so the 44px variant matches */
  background-color: var(--brand-50);
  background-image: var(--frame-brand);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--brand);
  margin-bottom: 20px;
}
.icon svg { width: 22px; height: 22px; }
.icon--accent { background-color: var(--accent-50); background-image: var(--frame-accent); color: var(--accent-700); }
.icon--ink    { background-color: var(--line-soft); background-image: var(--frame-ink);    color: var(--ink); }

/* Department cards */
.dept { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.dept__top { height: 6px; border-radius: var(--r-full); background: var(--brand); margin-bottom: 24px; }
.dept--lang .dept__top { background: var(--ink); }
.dept--arts .dept__top { background: var(--accent); }
.dept ul { margin: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 7px; }
.dept ul li {
  font-size: .8rem; font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.dept .card-link { margin-top: auto; }
.card-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .9rem; color: var(--brand);
}
.card-link svg { width: 15px; height: 15px; transition: transform .18s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------- How it works */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand);
  opacity: .3;
  line-height: 1;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: .92rem; }
/* a rule with a fixed brand tick — an anchor, not a progress meter */
.step__bar { height: 3px; background: var(--line); border-radius: var(--r-full); margin-bottom: 22px; position: relative; }
.step__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 32px; background: var(--brand); border-radius: var(--r-full); }

/* --------------------------------------------------------------- Split -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.split__media {
  border-radius: var(--r-lg);
  background: linear-gradient(148deg, var(--brand-500) 0%, var(--brand) 46%, var(--brand-700) 100%);
  aspect-ratio: 4 / 3.2;
  padding: 38px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
/* the mark's frame, bled off the corner — square, never stretched */
.split__media::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--frame-soft);
  background-repeat: no-repeat;
  background-size: 168px 168px;
  background-position: right 30px top 30px;
}
.split__media blockquote { position: relative; font-family: var(--font-serif); font-size: 1.28rem; line-height: 1.45; }
.split__media cite {
  position: relative; display: block; margin-top: 18px; padding-top: 16px;
  font-style: normal; font-size: .86rem; color: rgba(255,255,255,.78);
}
.split__media cite::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 30px; height: 3px; border-radius: var(--r-full); background: var(--accent);
}

.checks { display: grid; gap: 14px; margin-top: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.checks svg { width: 21px; height: 21px; flex: none; color: var(--brand); margin-top: 2px; }

/* --------------------------------------------------------------- Stats -- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* the frame device is square by construction, so a wide card gets the tick
   instead — same amber accent as the step rules, no stretched brackets */
.stat {
  padding: 26px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
}
.stat::before {
  content: "";
  display: block;
  width: 26px; height: 3px;
  border-radius: var(--r-full);
  background: var(--accent);
  margin-bottom: 18px;
}
.stat strong { display: block; font-family: var(--font-serif); font-size: 2.4rem; color: #fff; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: .88rem; }

/* -------------------------------------------------------- Testimonials -- */
.quote { display: flex; flex-direction: column; height: 100%; }
.quote__stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; font-size: .95rem; }
.quote p { font-size: .97rem; color: var(--ink-2); }
.quote__by { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.quote__by strong { display: block; font-size: .9rem; color: var(--ink); }
.quote__by span { font-size: .8rem; color: var(--muted); }

/* ---------------------------------------------------------------- Team -- */
.person { text-align: center; }
.person__photo {
  width: 104px; height: 104px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--brand);
  background: var(--brand-50);
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.person h4 { margin-bottom: 3px; }
.person span { font-size: .84rem; color: var(--brand); font-weight: 700; letter-spacing: .01em; }
.person p { margin-top: 10px; font-size: .88rem; }

/* ------------------------------------------------------------- Pricing -- */
.region-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
  margin-top: 30px;
}
.region-bar:first-child { margin-top: 0; }
.region-bar label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.region-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
}
.region-tabs button {
  padding: 8px 16px;
  border: 0; border-radius: var(--r-full);
  background: transparent;
  font-size: .86rem; font-weight: 700; color: var(--muted);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.region-tabs button:hover { color: var(--ink); }
.region-tabs button.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }

.course-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: #fff;
  font-size: .875rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--brand-300); color: var(--brand); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.course {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 26px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.course:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.course__tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-full);
  background: var(--brand-50); color: var(--brand);
  margin-bottom: 16px;
}
.course--languages .course__tag { background: var(--line-soft); color: var(--ink); }
.course--arts .course__tag { background: var(--accent-50); color: var(--accent-700); }
.course h3 { font-size: 1.22rem; }
.course p { font-size: .9rem; margin-top: 8px; }
.course__meta { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.course__meta span {
  font-size: .76rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 4px 9px;
}
.course__price {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.course__price b {
  font-family: var(--font-serif);
  font-size: 1.7rem; color: var(--ink); font-weight: 600;
}
.course__price small { font-size: .78rem; color: var(--muted); }
.course .btn { margin-top: 18px; }

.price-note { margin-top: 26px; font-size: .84rem; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------ Accordion -- */
.faq { max-width: 780px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0;
  background: none; border: 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.08rem; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.faq__q i {
  flex: none; width: 26px; height: 26px;
  border-radius: 50%; background: var(--brand-50); color: var(--brand);
  display: grid; place-items: center;
  font-style: normal; font-size: 1.1rem; line-height: 1;
  transition: transform .25s var(--ease);
}
.faq__q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 22px; font-size: .95rem; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ----------------------------------------------------------------- CTA -- */
.cta {
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--ink) 0%, var(--brand-900) 52%, var(--brand) 100%);
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 70%;
  background: radial-gradient(closest-side, rgba(242,163,60,.28), transparent);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { margin: 16px auto 0; max-width: 46em; }
.cta .btn-row { margin-top: 30px; }

/* -------------------------------------------------------------- Forms -- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: .95rem;
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-300);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-50);
}
.field textarea { min-height: 128px; resize: vertical; }
.field__hint { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); }
.field__error { display: none; margin-top: 6px; font-size: .8rem; font-weight: 600; color: #C0392B; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #E0A9A4; background: #FDF6F5; }
.field.has-error .field__error { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.check-row { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 20px; }
.check-row input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--brand); }
.check-row label { font-size: .85rem; color: var(--body); font-weight: 500; }

.form-note { margin-top: 16px; font-size: .8rem; color: var(--muted); text-align: center; }

.form-success {
  display: none;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--teal-50);
  border: 1px solid #B4E2DC;
  color: #0B5F56;
  font-size: .92rem;
  font-weight: 600;
}
.form-success.is-visible { display: block; }

.steps-mini { display: flex; gap: 8px; margin-bottom: 26px; }
.steps-mini div {
  flex: 1; height: 4px; border-radius: var(--r-full); background: var(--line);
}
.steps-mini div.is-done { background: var(--brand); }

/* ------------------------------------------------------------ Page hero -- */
.pagehead {
  padding: clamp(48px, 6vw, 78px) 0 clamp(40px, 5vw, 58px);
  background:
    radial-gradient(60% 130% at 92% 8%, var(--brand-50) 0%, rgba(238,241,252,0) 60%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--brand); }
.pagehead h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem); }
.pagehead p { margin-top: 16px; max-width: 56ch; }

/* ------------------------------------------------------- Contact panel -- */
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-item .icon { width: 44px; height: 44px; margin: 0; }
.contact-item h4 { margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: .92rem; }
.contact-item a:hover { color: var(--brand); }

.map-frame {
  margin-top: 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 22px;
  font-size: .9rem;
}

/* -------------------------------------------------------------- Footer -- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 82px) 0 0; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand__mark { color: #fff; }
.site-footer .brand:hover .brand__mark { color: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name span { color: var(--accent); }
.site-footer .brand__tag { color: var(--on-dark-2); }
.footer-about { margin-top: 20px; font-size: .9rem; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.site-footer ul li + li { margin-top: 11px; }
.site-footer ul a { font-size: .92rem; transition: color .18s var(--ease); }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: .84rem;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------- WhatsApp FAB -- */
.fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 15px;
  border-radius: var(--r-full);
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  color: #fff;
  font-weight: 700; font-size: .9rem;
  box-shadow: 0 10px 28px -10px rgba(34,51,122,.65);
  transition: transform .2s var(--ease);
}
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 21px; height: 21px; }

/* ------------------------------------------------------------- Reveal -- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------- Responsive -- */
@media (max-width: 1000px) {
  .g-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 14px; }
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__actions .btn { display: none; }
  .nav__actions { order: 3; }

  .hero__grid, .split { grid-template-columns: 1fr; }
  /* once the hero is a single column the floats have no margin to sit in, so
     they drop below the card as chips instead of covering its heading */
  .hero__art { order: -1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__card { width: 100%; }
  .hero__float, .hero__float--a, .hero__float--b { position: static; inset: auto; }
  .g-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .g-2, .g-3, .g-4, .stats, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 22px; }
  .btn-row .btn { width: 100%; }
  .fab span { display: none; }
  .fab { padding: 15px; }
}

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