/* ============================================================
   RESET & TOKENS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

  --wrap: 1180px;
  --pad-x: clamp(1.25rem, 5vw, 2.75rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 20px;
  --radius-sm: 12px;
  --pill: 100px;

  --ease: cubic-bezier(.22,.61,.36,1);

  --paper: #FFFFFF;
  --paper-2: #FFF0F7;
  --surface: #FFFFFF;
  --surface-2: #FDE7F2;
  --ink: #1A1A1A;
  --ink-soft: #3A3A3A;
  --muted: #6E6E6E;
  --line: rgba(0,0,0,.10);
  --line-strong: rgba(0,0,0,.18);
  --accent: #F01089;
  --accent-ink: #FFFFFF;
  --accent-deep: #C40B70;
  --amber: #F01089;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.06);
  --shadow-md: 0 2px 6px rgba(0,0,0,.06), 0 18px 40px -12px rgba(240,16,137,.18);
  --shadow-lg: 0 4px 10px rgba(0,0,0,.07), 0 40px 80px -22px rgba(240,16,137,.30);
  --glow-1: rgba(240,16,137,.35);
  --glow-2: rgba(240,16,137,.20);
  --grain-op: .03;
  --grain-blend: multiply;
}

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, .55rem + .55vw, 1.09rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-op);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -.015em; font-optical-sizing: auto; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }

/* ============================================================
   SHARED PIECES
   ============================================================ */
.eyebrow {
  font-size: clamp(.72rem, .68rem + .18vw, .8rem);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .6;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 1.1rem + 3.8vw, 3.4rem);
  margin-top: 1rem;
  letter-spacing: -.02em;
}
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.section-head p {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem);
  max-width: 52ch;
}
.section-head.center p { margin-inline: auto; }

/* buttons */
.btn {
  --bg: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .92em 1.5em;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .005em;
  background: var(--bg);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--accent-deep); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(-1px); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line-strong);
}
.btn.ghost:hover { background: var(--surface); border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn.small { padding: .68em 1.15em; font-size: .9rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: clamp(66px, 8vw, 80px);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: clamp(30px, 4vw, 38px); width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-size: .96rem;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding: .3rem 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* mobile panel */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  z-index: 200;
  padding: 5.5rem var(--pad-x) 2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { padding: .95rem .25rem; font-size: 1.15rem; font-family: var(--font-display); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 1.4rem; justify-content: center; }
.mobile-nav .close { position: absolute; top: 1.3rem; right: var(--pad-x); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.scrim { position: fixed; inset: 0; background: rgba(10,7,4,.5); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease); z-index: 150; }
.scrim.open { opacity: 1; visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orbs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; }
.hero-orbs .o1 { width: 480px; height: 480px; background: radial-gradient(circle, var(--glow-1), transparent 68%); top: -140px; right: -80px; }
.hero-orbs .o2 { width: 420px; height: 420px; background: radial-gradient(circle, var(--glow-2), transparent 68%); bottom: -160px; left: -120px; }

.hero-center { position: relative; z-index: 1; text-align: center; }
.hero-copy { max-width: 800px; margin-inline: auto; }

/* hero banner slideshow — a full-bleed graphic needs far less lead-in than the text hero did */
.hero:has(.hero-slides) { padding-top: clamp(1rem, 2vw, 1.5rem); }
.hero-copy:has(.hero-slides) { max-width: none; }
.hero-slides {
  position: relative;
  aspect-ratio: 1717 / 916;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s var(--ease);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.promo-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(.7rem, 1.6vw, 1.2rem);
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  gap: .15rem;
  padding: .1rem .35rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
/* 24px hit area (WCAG 2.5.8) with a smaller visible dot drawn inside */
.promo-dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  display: grid;
  place-items: center;
}
.promo-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--pill);
  background: var(--line-strong);
  transition: width .35s var(--ease), background .35s var(--ease);
}
.promo-dots button.is-active::before { width: 22px; background: var(--accent); }

.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.7rem, 1.2rem + 6.6vw, 5.4rem);
  letter-spacing: -.03em;
  line-height: .98;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; position: relative; }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .04em; height: .1em;
  background: var(--accent);
  opacity: .28;
  border-radius: 2px;
}
.hero-lead {
  margin: 1.6rem auto 0;
  font-size: clamp(1.08rem, 1rem + .5vw, 1.28rem);
  color: var(--muted);
  max-width: 52ch;
}
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; justify-content: center; }

.hero-trust { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1.1rem; flex-wrap: wrap; }
.hero-trust .rating { display: inline-flex; align-items: center; }
.avatars { display: flex; }
.avatars span {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 700;
  color: var(--accent-ink);
  border: 2px solid var(--paper);
  margin-left: -12px;
  box-shadow: var(--shadow-sm);
}
.avatars span:first-child { margin-left: 0; }
.avatars .a1 { background: #C15F3C; }
.avatars .a2 { background: #33463B; }
.avatars .a3 { background: #B98136; }
.avatars .a4 { background: #7A5A46; }
.hero-trust .rating { font-size: .92rem; color: var(--ink-soft); line-height: 1.35; }
.hero-trust .rating b { color: var(--ink); }
.stars { color: var(--amber); letter-spacing: .1em; font-size: .95rem; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1rem;
  padding-block: clamp(2.5rem, 5vw, 3.6rem);
}
.stat { text-align: center; position: relative; }
.stat .num { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.stat .num .suf { color: var(--accent); }
.stat .label { margin-top: .6rem; color: var(--muted); font-size: .92rem; letter-spacing: .01em; }

/* ============================================================
   OFFER GRAPHICS
   ============================================================ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.offer-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.offer-card img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) {
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   CATEGORIES — bento
   ============================================================ */
.section { padding-block: var(--section-y); }
.cat-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.cat-top .link { font-weight: 600; color: var(--accent); font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; }
.cat-top .link svg { width: 16px; transition: transform .3s var(--ease); }
.cat-top .link:hover svg { transform: translateX(4px); }

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem) 14px;
}
.cat {
  position: relative;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.cat:hover .cat-img { transform: scale(1.06); }
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.cat-badges {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}
.cat-count {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: .4em 1em;
  border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
}
.cat-title {
  display: block;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  padding: .7em 1em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
@media (max-width: 480px) {
  .cat-title { font-size: .95rem; }
}


/* ============================================================
   FEATURED COURSES
   ============================================================ */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.1rem, 2vw, 1.5rem);
}
.course {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.course-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  overflow: hidden;
}
.course-cover .badge-love {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .42em .8em; border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
}
.course-cover .glyph { color: rgba(255,251,242,.92); filter: drop-shadow(0 8px 22px rgba(0,0,0,.28)); transition: transform .6s var(--ease); }
.course:hover .course-cover .glyph { transform: scale(1.08) rotate(-3deg); }
.course-cover .glyph svg { width: 84px; height: 84px; }
.cover-1 { background: radial-gradient(130% 120% at 15% 0%, #E7AF66, #B4532E 55%, #7A3620); }
.cover-2 { background: radial-gradient(130% 120% at 15% 0%, #7FA6C9, #3C5F86 52%, #26364F); }
.cover-3 { background: radial-gradient(130% 120% at 15% 0%, #B8D0A8, #6E8F6B 50%, #3B5140); }

/* real photo covers */
.course-cover .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s var(--ease); }
.course:hover .course-cover .media { transform: scale(1.06); }
.course-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(18,12,7,.10) 0%, transparent 26%, transparent 62%, rgba(18,12,7,.24) 100%); }
.course-cover .badge-love { z-index: 2; }
.course-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.course-cat { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.course h3 {
  font-size: 1.12rem;
  margin-top: .45rem;
  letter-spacing: -.01em;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.28em * 2);
}
.course-desc {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
  margin-top: .45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.5em * 2);
}
.course-meta { margin-top: 1rem; display: flex; gap: .9rem; flex-wrap: wrap; color: var(--ink-soft); font-size: .8rem; }
.course-meta span { display: inline-flex; align-items: center; gap: .34rem; }
.course-meta svg { width: 14px; height: 14px; color: var(--muted); }
.course-foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.course-foot .price { font-family: var(--font-display); font-size: 1.24rem; font-weight: 600; }
.course-foot .price s { color: var(--muted); font-size: .78rem; font-weight: 400; margin-left: .3rem; }
.course-foot .rate { font-size: .82rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .3rem; }
.course-foot .rate .stars { font-size: .78rem; }

.courses-cta { margin-top: clamp(2.4rem, 4vw, 3.2rem); text-align: center; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.6rem, 5vw, 4.5rem);
  align-items: start;
}
.why-list { display: grid; gap: 1.1rem; }
.value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.value:hover { background: var(--paper); border-color: var(--line); }
.value .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--paper-2); color: var(--accent); display: grid; place-items: center; flex: none; }
.value .ico svg { width: 23px; height: 23px; }
.value h3 { font-size: 1.18rem; }
.value p { color: var(--muted); font-size: .93rem; margin-top: .3rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.9rem 1.6rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step .n {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--accent);
  opacity: .32;
  line-height: 1;
  letter-spacing: -.03em;
}
.step h3 { font-size: 1.22rem; margin-top: .7rem; }
.step p { color: var(--muted); font-size: .92rem; margin-top: .45rem; }
.step .line { display: none; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--surface); border-block: 1px solid var(--line); }

.testi-badges { margin-top: 1.6rem; display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: .5rem .95rem .5rem .5rem;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--muted);
  text-align: left;
}
.testi-badge b { color: var(--ink); font-family: var(--font-body); }
.tb-ico {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: .85rem;
  flex: none;
}
.tb-ico.alt { background: rgba(240,16,137,.16); }

.reviews-masonry {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  align-items: flex-start;
  max-height: 640px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}
.reviews-col { display: flex; flex-direction: column; gap: clamp(1rem, 2.5vw, 1.6rem); flex: 1 1 0; min-width: 0; }
.reviews-col.offset { margin-top: clamp(1.6rem, 4vw, 2.6rem); }

/* ---- video testimonials carousel ---- */
.vtesti { position: relative; margin-top: clamp(2rem, 5vw, 3.2rem); outline: none; }
.vtesti-track {
  display: flex;
  gap: clamp(.8rem, 2vw, 1.2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: .4rem;
  -webkit-overflow-scrolling: touch;
}
.vtesti-track::-webkit-scrollbar { display: none; }
.vtesti-card {
  position: relative;
  flex: none;
  width: clamp(180px, 24vw, 240px);
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.vtesti-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vtesti-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vtesti-btn {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: scale .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.vtesti-card:hover .vtesti-btn { scale: 1.08; background: var(--accent); }
.vtesti-card.is-playing .vtesti-btn { opacity: 0; }
.vtesti-card.is-playing:hover .vtesti-btn, .vtesti-card.is-playing:focus-visible .vtesti-btn { opacity: 1; }
.vtesti-btn svg { width: 22px; height: 22px; }
.vtesti-btn .ico-play { margin-left: 2px; }
.vtesti-btn .ico-pause, .vtesti-card.is-playing .ico-play { display: none; }
.vtesti-card.is-playing .ico-pause { display: block; }

.vtesti-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.vtesti-nav.prev { left: calc(var(--pad-x) * -.5); }
.vtesti-nav.next { right: calc(var(--pad-x) * -.5); }
.vtesti-nav:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.vtesti-nav.prev:hover { transform: translateX(-3px); }
.vtesti-nav.next:hover { transform: translateX(3px); }
.vtesti-nav svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .vtesti-nav { display: none; }
}

.testi-more { margin-top: clamp(1.6rem, 3vw, 2.2rem); text-align: center; }
.testi-more .link { font-weight: 600; color: var(--accent); font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; }
.testi-more .link svg { width: 16px; transition: transform .3s var(--ease); }
.testi-more .link:hover svg { transform: translateX(4px); }

.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 1.8rem);
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote .stars { font-size: .85rem; }
.quote p { font-size: .95rem; line-height: 1.5; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.quote .who .ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--accent-ink); font-size: .82rem; flex: none; overflow: hidden; }
.quote .who .ava img { width: 100%; height: 100%; object-fit: cover; }
.quote .who .name { font-weight: 600; font-size: .88rem; font-family: var(--font-body); }
.quote .who .role { color: var(--muted); font-size: .78rem; }
.quote .feat-tag { align-self: flex-start; }
@media (max-width: 720px) {
  .reviews-masonry { flex-direction: column; max-height: none; mask-image: none; -webkit-mask-image: none; }
  .reviews-col.offset { margin-top: 0; }
}

/* ============================================================
   INSTRUCTOR CTA BAND
   ============================================================ */
.instructor-band {
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(240,16,137,.10), transparent 55%),
    var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: clamp(22px, 3vw, 34px);
  padding: clamp(2.6rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.instructor-band .eyebrow { color: var(--accent); }
.instructor-band h2 { color: var(--ink); font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3rem); }
.instructor-band h2 em { color: var(--accent); font-style: italic; font-weight: 400; }
.instructor-band p { color: var(--muted); margin-top: 1rem; max-width: 46ch; }
.instructor-band .btn { --bg: var(--accent); color: var(--accent-ink); }
.instructor-band .btn:hover { background: var(--accent-deep); }
.ib-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-top: 1.8rem; }
.ib-actions .earn { font-size: .88rem; color: var(--muted); }
.ib-actions .earn b { color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.ib-badges { display: grid; gap: .9rem; }
.ib-badge { display: flex; align-items: center; gap: .8rem; font-size: .92rem; color: var(--ink-soft); }
.ib-badge .ck { width: 26px; height: 26px; border-radius: 50%; background: rgba(240,16,137,.14); color: var(--accent); display: grid; place-items: center; flex: none; }
.ib-badge .ck svg { width: 15px; height: 15px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.4rem, 4vw, 3.5rem); align-items: start; }
.faq-list { display: grid; gap: .8rem; }
details.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .35rem 1.3rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
details.faq[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem);
  font-weight: 500;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .plus { position: relative; width: 20px; height: 20px; flex: none; color: var(--accent); }
details.faq summary .plus::before, details.faq summary .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
details.faq summary .plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
details.faq summary .plus::after { left: 9px; top: 0; width: 2px; height: 20px; }
details.faq[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
details.faq .answer { color: var(--muted); font-size: .96rem; padding-bottom: 1.2rem; max-width: 60ch; }

.faq-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  position: sticky; top: 100px;
}
.faq-aside h3 { font-size: 1.4rem; }
.faq-aside p { color: var(--muted); margin-top: .7rem; font-size: .95rem; }
.faq-aside .btn { margin-top: 1.5rem; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; overflow: hidden; text-align: center; }
.final-orbs { position: absolute; inset: 0; pointer-events: none; }
.final-orbs span { position: absolute; border-radius: 50%; filter: blur(80px); }
.final-orbs .f1 { width: 520px; height: 520px; background: radial-gradient(circle, var(--glow-1), transparent 68%); top: -220px; left: 50%; transform: translateX(-50%); opacity: .8; }
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.2rem); letter-spacing: -.03em; max-width: 16ch; margin-inline: auto; }
.final h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.final p { color: var(--muted); margin-top: 1.3rem; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); max-width: 48ch; margin-inline: auto; }
.final .cta-row { margin-top: 2.2rem; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.final .reassure { margin-top: 1.6rem; font-size: .86rem; color: var(--muted); display: inline-flex; gap: 1.3rem; flex-wrap: wrap; justify-content: center; }
.final .reassure span { display: inline-flex; align-items: center; gap: .4rem; }
.final .reassure svg { width: 15px; height: 15px; color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: clamp(2.6rem, 5vw, 4rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand .brand-logo { height: 34px; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 34ch; }
.newsletter { margin-top: 1.6rem; }
.newsletter label { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.news-form { margin-top: .7rem; display: flex; gap: .5rem; max-width: 380px; }
.news-form input {
  flex: 1; min-width: 0;
  padding: .82em 1em;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: inherit; font-size: .92rem;
}
.news-form input::placeholder { color: var(--muted); }
.news-form button { flex: none; }
.news-note { margin-top: .6rem; font-size: .78rem; color: var(--muted); }

.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
.foot-col h4 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.foot-col a { display: block; color: var(--muted); font-size: .92rem; padding: .32rem 0; transition: color .25s var(--ease), transform .25s var(--ease); }
.foot-col a:hover { color: var(--accent); transform: translateX(3px); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.8rem 2.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
}
.footer-bottom .copy { color: var(--muted); font-size: .86rem; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.d4 { transition-delay: .32s; }
.js .reveal.d5 { transition-delay: .40s; }

/* hero entrance */
.js .hero-copy > * { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease) forwards; }
.js .hero-copy > *:nth-child(1) { animation-delay: .1s; }
.js .hero-copy > *:nth-child(2) { animation-delay: .22s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .34s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .46s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .58s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero-copy > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ============================================================
   PAGE HERO (simple inner-page header banner)
   ============================================================ */
.page-hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); overflow: hidden; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.4rem); letter-spacing: -.02em; margin-top: 1rem; }
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-hero p { color: var(--muted); margin-top: 1rem; max-width: 56ch; margin-inline: auto; font-size: clamp(1rem, .95rem + .3vw, 1.12rem); }
.breadcrumb { display: flex; justify-content: center; gap: .5rem; font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ============================================================
   SIMPLE CONTENT PAGES (legal / contact / etc.)
   ============================================================ */
.content-page { max-width: 780px; margin-inline: auto; }
.content-page h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-top: 2.4rem; }
.content-page h2:first-child { margin-top: 0; }
.content-page p { color: var(--muted); margin-top: .9rem; line-height: 1.75; }
.content-page ul { margin-top: .9rem; padding-left: 1.3rem; color: var(--muted); display: grid; gap: .5rem; }
.content-page .updated { color: var(--muted); font-size: .85rem; margin-bottom: 2rem; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: .4rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: .85em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: inherit; font-size: .96rem;
  resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form .btn { margin-top: .4rem; justify-content: center; width: 100%; }
.contact-info { display: grid; gap: 1.4rem; align-content: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.contact-card .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; margin-bottom: .9rem; }
.contact-card .ico svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }

/* course detail page */
.course-hero { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: 0; }
.course-detail-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.course-detail-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; position: relative; box-shadow: var(--shadow-lg); }
.course-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.course-curriculum { display: grid; gap: .7rem; margin-top: 1.4rem; }
.curriculum-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; display: flex; align-items: center; gap: 1rem; }
.curriculum-item .lvl { font-family: var(--font-display); color: var(--accent); font-weight: 600; font-size: 1.1rem; flex: none; width: 28px; }
.curriculum-item h4 { font-size: 1rem; }
.curriculum-item p { color: var(--muted); font-size: .86rem; margin-top: .2rem; }
.enroll-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2rem); position: sticky; top: 100px; }
.enroll-card .price-row { display: flex; align-items: baseline; gap: .6rem; }
.enroll-card .price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.enroll-card .price s { color: var(--muted); font-size: 1rem; font-weight: 400; }
.enroll-card .save { display: inline-block; margin-top: .5rem; background: var(--surface-2); color: var(--accent); font-size: .78rem; font-weight: 700; padding: .3em .8em; border-radius: var(--pill); }
.enroll-card .btn { width: 100%; justify-content: center; margin-top: 1.3rem; }
.enroll-facts { margin-top: 1.4rem; display: grid; gap: .7rem; font-size: .88rem; color: var(--ink-soft); }
.enroll-facts span { display: flex; align-items: center; gap: .5rem; }
.enroll-facts svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.mobile-cta-bar, .mobile-cta-spacer { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 560px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.3fr 1fr; }
}
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 940px) {
  .why-grid { grid-template-columns: .85fr 1.15fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step .line { display: block; position: absolute; top: 2.5rem; right: -.7rem; width: 1.4rem; height: 1px; background: var(--line-strong); }
  .step:last-child .line { display: none; }
  .instructor-band { grid-template-columns: 1.3fr .7fr; }
  .faq-grid { grid-template-columns: 1.5fr 1fr; }
  .footer-top { grid-template-columns: 1.3fr 1.7fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .courses-grid { grid-template-columns: repeat(4, 1fr); }
  .course-detail-grid { grid-template-columns: 1.6fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .header-actions .btn { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 939px) {
  .mobile-cta-spacer { display: block; height: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: .7rem 1.1rem calc(.7rem + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0,0,0,.1);
  }
  .mobile-cta-bar .price-block { display: flex; align-items: baseline; gap: .45rem; line-height: 1; flex: none; }
  .mobile-cta-bar .price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
  .mobile-cta-bar .price s { color: var(--muted); font-size: .78rem; font-weight: 400; }
  .mobile-cta-bar .btn { flex: none; white-space: nowrap; }
}
