/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --cream:        #FAF7F4;
  --cream-dark:   #F2EAE0;
  --cream-card:   #EFE7DC;
  --cream-border: #E0D4C8;
  --gold:         #C9A96E;
  --gold-light:   #DEC99A;
  --sage:         #7A9E7E;
  --sage-dark:    #5C7D60;
  --dark:         #1A1A1A;
  --dark-2:       #2D2D2D;
  --gray:         #8A8A8A;
  --gray-light:   #BDB5AC;
  --white:        #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --pad-x:     clamp(1.25rem, 5vw, 4rem);
  --sec-pad:   clamp(80px, 10vw, 140px);

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      0.55s;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-sans); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__logo {
  font-family: var(--font-serif);
  font-size: 2.5rem; font-weight: 700; letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(20px);
  animation: loader-in .7s .2s var(--ease-out) forwards;
}
.loader__line {
  width: 200px; height: 1px;
  background: rgba(255,255,255,.15);
  margin: 0 auto; overflow: hidden;
}
.loader__line-fill {
  height: 100%; background: var(--gold);
  animation: loader-fill 1.4s .3s var(--ease-out) forwards;
  transform-origin: left; transform: scaleX(0);
}
.loader__tagline {
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 1.4rem;
  opacity: 0;
  transform: translateY(14px);
  animation: loader-in .7s .55s var(--ease-out) forwards;
}
@keyframes loader-in   { to { opacity: 1; transform: translateY(0); } }
@keyframes loader-fill { to { transform: scaleX(1); } }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor, .cursor-follower {
  position: fixed; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
  transition: background .25s, border-color .25s;
}
.cursor { width: 10px; height: 10px; background: var(--dark); box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.cursor-follower {
  width: 42px; height: 42px;
  border: 1.5px solid var(--dark); z-index: 9998;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35);
  transition: width .4s var(--ease-out), height .4s var(--ease-out),
              border-color .3s, background .3s, box-shadow .3s;
}
.cursor-follower.is-hover {
  width: 58px; height: 58px;
  border-color: var(--sage); background: rgba(122,158,126,.1);
}
/* White cursor on dark backgrounds — the theme swap is driven by actually
   sampling the hovered element's background luminance (initCursor in
   main.js), not a hardcoded list of "dark" selectors, so it keeps working
   as new dark sections get added. The box-shadow ring stays in both modes
   so the cursor never blends into a mid-tone background either. */
.cursor.is-light { background: var(--white); box-shadow: 0 0 0 1.5px rgba(0,0,0,.4); }
.cursor-follower.is-light { border-color: rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.cursor-follower.is-light.is-hover { border-color: var(--gold); background: rgba(201,169,110,.12); }

body { cursor: none; }
@media (hover: none) {
  .cursor, .cursor-follower { display: none; }
  body, a, button { cursor: auto; }
}

/* ============================================================
   CONTAINER / SECTION HELPERS
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.sec-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sage);
  display: flex; align-items: center; gap: .5rem; margin-bottom: .9rem;
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 1.25rem;
}
.sec-line { width: 72px; height: 2px; background: var(--gold); margin-bottom: 3rem; }
.sec-header { margin-bottom: 3.5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 100px;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease-out);
  white-space: nowrap; cursor: none; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.08); opacity: 0;
  transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn--dark   { background: var(--dark);  color: var(--white); border-color: var(--dark); }
.btn--dark:hover  { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,26,26,.25); }
.btn--outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--outline:hover { background: var(--dark); color: var(--white); transform: translateY(-3px); }
.btn--sage   { background: var(--sage);  color: var(--white); border-color: var(--sage); }
.btn--sage:hover  { background: var(--sage-dark); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(122,158,126,.3); }
.btn--ghost  { color: var(--gray); background: transparent; font-size: .75rem; padding: .85rem .5rem; }
.btn--ghost:hover { color: var(--dark); }
.btn--lg { padding: 1.1rem 2.6rem; font-size: .875rem; }
.btn--white  { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,255,255,.2); }
.btn--gold   { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201,169,110,.35); }
.btn--white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--white-outline:hover { background: var(--white); color: var(--dark); transform: translateY(-3px); }

/* ============================================================
   SPARKLES
   ============================================================ */
.spark {
  position: absolute; color: var(--gold); pointer-events: none; user-select: none;
  animation: spark-float 5s ease-in-out infinite; line-height: 1;
}
@keyframes spark-float {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: .55; }
  50%      { transform: translateY(-14px) rotate(20deg); opacity: .9; }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--sage));
  z-index: 200; transition: width .1s linear;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.2rem var(--pad-x);
  transition: background var(--dur), box-shadow var(--dur), padding var(--dur);
}
.nav.is-scrolled {
  background: rgba(250,247,244,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 40px rgba(0,0,0,.07);
  padding-top: .85rem; padding-bottom: .85rem;
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; flex-shrink: 0;
}
.nav__menu { display: flex; gap: 2rem; margin-left: auto; }
.nav__link {
  font-size: .85rem; letter-spacing: .03em;
  position: relative; padding-bottom: 2px;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--dark);
  transition: width var(--dur) var(--ease-out);
}
.nav__link:hover::after { width: 100%; }
.nav__actions { display: flex; gap: .65rem; align-items: center; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .4rem; cursor: none; margin-left: auto;
}
.nav__burger span {
  display: block; width: 24px; height: 1.5px; background: var(--dark);
  transition: transform var(--dur) var(--ease-out), opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease-out);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 2.8rem; font-weight: 700;
  transition: color .3s;
}
.mobile-menu__link:hover { color: var(--sage); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: clamp(600px, 92dvh, 880px); display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 7rem 0 5rem; background: var(--cream);
}
.hero__bg-text {
  position: absolute; right: -1%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(7rem, 18vw, 20rem);
  font-weight: 900; color: var(--cream-dark);
  letter-spacing: -.03em; line-height: 1;
  user-select: none; pointer-events: none; white-space: nowrap; z-index: 0;
}
.hero__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--pad-x); width: 100%; z-index: 1; position: relative;
}
.hero__subtitle {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 1.4rem;
}
.hero__name {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 900; line-height: .92;
  letter-spacing: -.02em; margin-bottom: 1.5rem;
}
.hero__divider { width: 72px; height: 2px; background: var(--gold); margin-bottom: 1.4rem; }
.hero__tagline {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--gray); margin-bottom: 2.8rem;
}
.hero__cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero__img-side { display: flex; justify-content: center; position: relative; }
.hero__circle {
  width: clamp(280px, 38vw, 520px); height: clamp(280px, 38vw, 520px);
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--cream-dark);
  box-shadow: 0 40px 100px rgba(0,0,0,.14);
}
.hero__circle img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.hero__circle:hover img { transform: scale(1.05); }

.hero__badge {
  position: absolute; bottom: 2rem; left: 0;
  background: var(--white);
  border-radius: 1.25rem; padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: .75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  border: 1px solid var(--cream-border);
}
.hero__badge-num {
  font-family: var(--font-serif); font-size: 2rem;
  font-weight: 700; line-height: 1; color: var(--dark);
}
.hero__badge-text { font-size: .75rem; line-height: 1.4; color: var(--gray); }

.hero__scroll {
  position: absolute; bottom: 2.5rem; left: var(--pad-x);
  display: flex; align-items: center; gap: 1rem;
  font-size: .65rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray-light);
}
.hero__scroll-line {
  width: 40px; height: 1px; background: var(--gray-light);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(1.6); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: var(--sec-pad) 0; background: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; }
.about__img-wrap { aspect-ratio: 4/5; border-radius: 2rem; overflow: hidden; }
.about__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.about__img-wrap:hover img { transform: scale(1.04); }
.about__divider { width: 56px; height: 1px; background: var(--gold); margin-bottom: 1.8rem; }
.about__bio { font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.4rem; }
.about__bio:first-of-type::first-letter {
  font-family: var(--font-serif); font-weight: 700; color: var(--gold);
  font-size: 3.4em; line-height: .78; float: left; padding: .04em .1em 0 0;
}
.about__bio--quote {
  margin-bottom: 2.5rem;
  font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--gold);
  font-size: 1.25rem; line-height: 1.6;
}
.about__bio:last-of-type:not(.about__bio--quote) { margin-bottom: 2.5rem; }
.creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.cred-item {
  padding: .5rem 1.1rem; border-radius: 100px; background: var(--cream-card);
  font-size: .82rem; font-weight: 500; color: var(--sage-dark);
  display: flex; align-items: center; gap: .5rem;
}
.cred-item::before {
  content: ''; width: 4px; height: 4px;
  border-radius: 50%; background: var(--gold); flex-shrink: 0;
}
.about.is-dark { background: var(--dark); color: var(--white); }
.about.is-dark .sec-label { color: var(--gold-light); }
.about.is-dark .sec-title { color: var(--white); }
.about.is-dark .about__bio { color: rgba(255,255,255,.85); }
.about.is-dark .about__bio:first-of-type::first-letter { color: var(--gold-light); }
.about.is-dark .cred-item { background: rgba(255,255,255,.08); color: var(--gray-light); }
.about.is-dark .cred-item::before { background: var(--gold-light); }
.about.is-dark .btn--outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.about.is-dark .btn--outline:hover { background: var(--white); color: var(--dark); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { padding: 4rem 0; background: var(--dark); overflow: hidden; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center; padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; color: var(--white); line-height: 1;
  margin-bottom: .5rem;
}
.stat-num .counter { display: inline-block; }
.stat-num .suffix { color: var(--gold); }
.stat-label {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   DIRECTIONS
   ============================================================ */
.directions { padding: var(--sec-pad) 0; background: var(--cream); }
/* A bordered index grid instead of a loose 3-col row — reads as one deliberate
   full-width plaque, and adapts to however many directions the admin lists,
   instead of leaving a half-empty last row. */
.dir-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--cream-border); border: 1px solid var(--cream-border);
  border-radius: .75rem; overflow: hidden;
}
.dir-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: 2.25rem 1.75rem; background: var(--cream);
  transition: background var(--dur) var(--ease);
  cursor: default;
}
.dir-item:hover { background: var(--cream-card); }
.dir-item__icon { font-size: 1.8rem; line-height: 1; }
.dir-item__icon svg { width: 1.8rem; height: 1.8rem; display: block; color: var(--gold); }
.dir-item__name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; }

/* ============================================================
   COURSES
   ============================================================ */
.courses { padding: var(--sec-pad) 0; background: var(--cream); }
.courses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.course-card {
  background: var(--cream-card); border-radius: 1.5rem;
  padding: 2rem 2.5rem; position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.course-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.course-card:hover { transform: translateY(-7px); box-shadow: 0 28px 70px rgba(0,0,0,.11); }
.course-card:hover::after { transform: scaleX(1); }
.course-card--dark { background: var(--dark); color: var(--white); }
.course-card--dark .course-name, .course-card--dark .price-amount { color: var(--white); }
.course-card--dark .course-feat, .course-card--dark .price-label { color: var(--gray-light); }
.course-card--dark .price-old { color: var(--gray); }
.course-card--dark::after { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.course-tag {
  display: inline-block; background: var(--dark); color: var(--white);
  font-size: .6rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 100px; margin-bottom: 1rem;
}
.course-card--dark .course-tag { background: var(--gold); color: var(--dark); }
.course-seats {
  display: inline-block; font-size: .68rem; font-weight: 600;
  color: #B45309; background: #FEF3C7; border-radius: 100px;
  padding: .22rem .65rem; margin-bottom: .9rem;
}
.course-card--dark .course-seats { background: rgba(201,169,110,.18); color: var(--gold-light); }
.course-name {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 700; line-height: 1.2; margin-bottom: .9rem;
}
.course-feats { display: flex; gap: 1.5rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.course-feat {
  font-size: .78rem; color: var(--gray);
  display: flex; align-items: center; gap: .3rem;
}
.course-feat::before { content: '·'; font-size: 1.1rem; margin-top: 1px; color: var(--gold); }
.prices { display: flex; gap: 2rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.price-label { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: .2rem; }
.price-row { display: flex; align-items: baseline; gap: .4rem; }
.price-amount { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.price-cur { font-size: .85rem; font-weight: 500; color: var(--gray); }
.price-old { font-size: .82rem; color: var(--gray-light); text-decoration: line-through; }
.course-actions { display: flex; gap: .65rem; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: var(--sec-pad) 0; background: var(--cream-dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--cream); border-radius: 1.25rem; padding: 2rem 1.75rem;
  border: 1px solid var(--cream-border);
}
.testimonial-card__photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin-bottom: 1.1rem;
}
.testimonial-card__photo--fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--white); font-family: var(--font-serif); font-weight: 700;
}
.testimonial-card__text { font-size: .92rem; line-height: 1.7; color: var(--dark); margin-bottom: 1rem; }
.testimonial-card__name { font-size: .82rem; font-weight: 600; color: var(--gray); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--sec-pad) 0; background: var(--cream-dark); }
/* Desktop: list + a standing "still have questions" aside, filling the
   section's width instead of one skinny centered accordion in a sea of tint. */
.faq .container { display: grid; grid-template-columns: 1.4fr .9fr; gap: 4rem; align-items: start; }
.faq .container:not(:has(.faq-aside)) { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.faq .sec-header { grid-column: 1 / -1; }
.faq-list { grid-column: 1; max-width: none; margin: 0; }
.faq-aside {
  grid-column: 2; background: var(--dark); color: var(--white);
  border-radius: 1.5rem; padding: 2.5rem 2.25rem; position: sticky; top: 7rem;
}
.faq-aside__title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; margin-bottom: .6rem; }
.faq-aside__text { font-size: .88rem; line-height: 1.6; color: var(--gray-light); margin-bottom: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--cream-border); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--dark); text-align: left;
}
.faq-item__icon { font-size: 1.2rem; color: var(--gold); transition: transform .3s var(--ease-out); flex-shrink: 0; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out), padding .35s var(--ease-out);
  font-size: .9rem; line-height: 1.7; color: var(--gray);
}
.faq-item.is-open .faq-item__a { max-height: 400px; padding-bottom: 1.4rem; }

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist { padding: var(--sec-pad) 0; background: var(--cream); }
.checklist.is-dark { background: var(--dark); color: var(--white); }
.checklist.is-dark .sec-label { color: var(--gold-light); }
.checklist.is-dark .sec-title { color: var(--white); }
/* Desktop: intro/outro sit beside the checklist grid instead of floating as
   a narrow centered paragraph above/below it — fills the section's full
   width instead of leaving empty margins either side of a skinny column. */
.checklist .container {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 0 4rem; align-items: start;
}
.checklist .sec-header { grid-column: 1 / -1; }
.checklist__intro, .checklist__outro {
  max-width: none; margin: 0; text-align: left;
  font-size: 1rem; line-height: 1.75; color: var(--gray);
}
.checklist.is-dark .checklist__intro,
.checklist.is-dark .checklist__outro { color: var(--gray-light); }
.checklist__intro { grid-column: 1; grid-row: 2; }
.checklist-grid { grid-column: 2; grid-row: 2; }
.checklist__outro {
  grid-column: 1; grid-row: 3;
  padding-top: 2.25rem; margin-top: 2.25rem;
  border-top: 1px solid var(--cream-border);
}
.checklist.is-dark .checklist__outro { border-top-color: rgba(255,255,255,.14); }
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.5rem; }
.check-item { display: flex; align-items: flex-start; gap: .9rem; }
.check-item__icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sage); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; margin-top: .1rem;
}
.checklist.is-dark .check-item__icon { background: var(--gold); color: var(--dark); }
.check-item__text { font-size: .95rem; line-height: 1.6; color: var(--dark); }
.checklist.is-dark .check-item__text { color: rgba(255,255,255,.92); }

/* ============================================================
   NAV CARDS ("Мої програми")
   ============================================================ */
.nav-cards { padding: var(--sec-pad) 0; background: var(--cream); }
.nav-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.nav-card {
  background: var(--cream-card); border-radius: 1.5rem; padding: 2.5rem 2.25rem;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
/* Exactly two programs (the common case) → give the first one a larger,
   featured treatment instead of two evenly-sized, slightly lost boxes. */
.nav-cards-grid:has(.nav-card:first-child:nth-last-child(2)) {
  grid-template-columns: 1.3fr 1fr;
}
.nav-cards-grid .nav-card:first-child:nth-last-child(2) {
  background: var(--dark); color: var(--white); padding: 3rem 2.75rem; min-height: 22rem; justify-content: flex-end;
}
.nav-cards-grid .nav-card:first-child:nth-last-child(2) .nav-card__title,
.nav-cards-grid .nav-card:first-child:nth-last-child(2) .nav-card__text { color: var(--white); }
.nav-cards-grid .nav-card:first-child:nth-last-child(2) .nav-card__text { color: var(--gray-light); }
/* The card's own "primary" flag can still pick btn--dark, which would sit
   dark-on-dark here — force the button light whenever the card itself is dark. */
.nav-cards-grid .nav-card:first-child:nth-last-child(2) .nav-card__btn.btn--dark {
  background: var(--gold); color: var(--dark); border-color: var(--gold);
}
.nav-cards-grid .nav-card:first-child:nth-last-child(2) .nav-card__btn.btn--outline {
  color: var(--white); border-color: rgba(255,255,255,.4);
}
.nav-cards-grid .nav-card:first-child:nth-last-child(2) .nav-card__btn.btn--outline:hover {
  background: var(--white); color: var(--dark);
}
.nav-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav-card:hover { transform: translateY(-7px); box-shadow: 0 28px 70px rgba(0,0,0,.11); }
.nav-card:hover::after { transform: scaleX(1); }
.nav-card__icon { font-size: 2rem; margin-bottom: 1.1rem; }
.nav-card__icon svg { width: 2rem; height: 2rem; display: block; color: var(--sage-dark); }
.nav-cards-grid .nav-card:first-child:nth-last-child(2) .nav-card__icon svg { color: var(--gold-light); }
.nav-card__title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; margin-bottom: .7rem; }
.nav-card__text { font-size: .88rem; line-height: 1.65; color: var(--gray); margin-bottom: 1.6rem; }
.nav-card__btn { margin-top: auto; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: var(--sec-pad) 0; background: var(--cream-dark); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { aspect-ratio: 1; border-radius: 1rem; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================================
   STEPS ("Як це працює")
   ============================================================ */
.steps { padding: var(--sec-pad) 0; background: var(--cream); }
.steps .sec-header { margin-bottom: 3.5rem; }
.steps.is-dark { background: var(--dark); color: var(--white); }
.steps.is-dark .sec-label { color: var(--gold-light); }
.steps.is-dark .sec-title { color: var(--white); }

.steps-list { border-bottom: 1px solid var(--cream-border); }
.steps.is-dark .steps-list { border-bottom-color: rgba(255,255,255,.14); }
.step-row {
  display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 2rem;
  padding: 1.9rem 0; border-top: 1px solid var(--cream-border);
  align-items: baseline;
}
.steps.is-dark .step-row { border-top-color: rgba(255,255,255,.14); }
.step-row__num { font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold); }
.steps.is-dark .step-row__num { color: var(--gold-light); }
.step-row__title { font-size: 1.15rem; font-weight: 700; }
.step-row__text { font-size: .92rem; line-height: 1.65; color: var(--gray); }
.steps.is-dark .step-row__text { color: var(--gray-light); }

.steps__note {
  margin-top: 3.5rem; padding: 2.25rem 2.5rem;
  background: var(--cream-card); border-radius: .5rem;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center;
  font-size: .95rem; line-height: 1.8; color: var(--gray);
}
.steps.is-dark .steps__note {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: var(--gray-light);
}
.steps__note-body p + p { margin-top: 1rem; }
.steps__note-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 1.2rem;
  text-align: right; color: inherit;
}

.steps__equipment { margin-top: 3rem; }
.steps__equipment-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.steps.is-dark .steps__equipment-label { color: var(--gold-light); }
.steps__equipment-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1.75rem; max-width: 560px;
}
.steps__equipment-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; }
.steps__equipment-photo {
  width: 100%; max-width: 130px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--cream-card); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gray-light);
}
.steps__equipment-photo img { width: 100%; height: 100%; object-fit: contain; padding: 12%; box-sizing: border-box; }
.steps.is-dark .steps__equipment-photo { background: rgba(255,255,255,.08); }
.steps__equipment-name { font-size: .85rem; font-weight: 600; color: var(--dark); }
.steps.is-dark .steps__equipment-name { color: var(--white); }

/* Desktop: bigger circles, arranged as an isosceles triangle (2 on top,
   1 centered below) instead of a single row — noticeable but not
   spanning the whole viewport. */
@media (min-width: 769px) {
  .steps__equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    gap: 2.5rem 3rem;
  }
  .steps__equipment-grid > .steps__equipment-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .steps__equipment-photo { max-width: 190px; }
  .steps__equipment-name { font-size: .95rem; }
}

/* ============================================================
   CURRICULUM ("Програма курсу")
   ============================================================ */
.curriculum { padding: var(--sec-pad) 0; background: var(--cream); }
.curriculum.is-dark { background: var(--cream-dark); }
.curriculum__divider {
  display: flex; align-items: center; gap: .9rem; margin: 1.6rem 0 .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
}
.curriculum__divider::after { content: ''; flex: 1; height: 1px; background: var(--cream-border); }
.curriculum-list { columns: 2; column-gap: 3rem; }
.curriculum-item, .curriculum__divider { break-inside: avoid; }
.curriculum-item {
  display: flex; gap: 1.1rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--cream-border);
}
.curriculum-item__num {
  flex-shrink: 0; min-width: 2.75rem;
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--gold);
}
.curriculum-item__title { font-size: 1rem; font-weight: 700; color: var(--dark); }
.curriculum-item__body { font-size: .9rem; line-height: 1.6; color: var(--gray); margin-top: .35rem; }

/* ============================================================
   OFFER (ціна + що входить — головний конверсійний блок)
   ============================================================ */
.offer { padding: var(--sec-pad) 0; background: var(--cream-dark); }
.offer__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 3.5rem; align-items: start; }
.offer__details .sec-label { color: var(--sage-dark); }
.offer__bonus {
  display: flex; align-items: flex-start; gap: .9rem; flex-wrap: wrap;
  background: var(--cream); border: 1px solid var(--cream-border);
  border-radius: 1rem; padding: 1.5rem 1.6rem; margin-top: 1.5rem;
  font-size: .85rem; color: var(--gray);
}
.offer__bonus-tag { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; color: var(--sage-dark); margin-bottom: .3rem; }
.offer__bonus b { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--dark); margin-bottom: .3rem; }
.offer-includes {
  list-style: none; margin: 0 0 1rem; text-align: left;
  display: flex; flex-direction: column; gap: 1rem;
}
.offer-includes__item {
  font-size: .95rem; line-height: 1.55; color: var(--dark-2);
  display: flex; align-items: flex-start; gap: .7rem;
}
.offer-includes__item::before { content: '✓'; color: var(--sage-dark); font-weight: 700; flex-shrink: 0; }
.offer__card {
  background: var(--dark); color: var(--white);
  border-radius: 1.5rem; padding: 2.75rem 2.25rem;
  position: sticky; top: 7rem;
}
.offer .price-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-light); margin-bottom: .5rem; }
.offer .price-row { align-items: baseline; }
.offer .price-amount { color: var(--white); font-size: 2.6rem; }
.offer .price-old { color: var(--gray); }
.offer__cta { width: 100%; justify-content: center; margin-top: 2rem; }

/* ============================================================
   INSTAGRAM POSTS
   ============================================================ */
.instagram-block { padding: var(--sec-pad) 0; background: var(--cream-dark); }
.instagram-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }

/* Instagram's own embed widget needs a Meta API token to show a post since
   2020, so the real photo instead comes from Instagram's own thumbnail URL
   (an <img>, see instagramThumbUrl() in main.js) — undocumented but has
   worked for years. If a given post's image ever fails to load, .instagram-card--fallback
   (set via the <img>'s onerror) hides the broken image and keeps just the
   "open in Instagram" card, so a post never renders as visibly broken. */
.instagram-card {
  position: relative; display: block; aspect-ratio: 1; border-radius: 1.25rem; overflow: hidden;
  background: var(--cream); border: 1px solid var(--cream-border); transition: all .25s var(--ease-out);
}
.instagram-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.instagram-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.instagram-card:hover .instagram-card__img { transform: scale(1.06); }
.instagram-card--fallback .instagram-card__img { display: none; }

.instagram-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  background: rgba(26,26,26,0); color: #fff; opacity: 0; transition: all .25s;
}
.instagram-card:hover .instagram-card__overlay { background: rgba(26,26,26,.45); opacity: 1; }
.instagram-card__icon { width: 30px; height: 30px; fill: #fff; }
.instagram-card__overlay span:last-child {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
/* No photo available — show the overlay as the permanent card face, on-brand instead of transparent-over-nothing. */
.instagram-card--fallback .instagram-card__overlay {
  position: static; opacity: 1; background: var(--cream); color: var(--dark);
  width: 100%; height: 100%;
}
.instagram-card--fallback .instagram-card__icon { fill: var(--gold); }
.instagram-card--fallback .instagram-card__overlay span:last-child {
  color: var(--dark); border: 1.5px solid var(--dark); border-radius: 100px; padding: .6rem 1.2rem;
  text-transform: none; font-size: .82rem; letter-spacing: 0;
}
.instagram-card--fallback:hover .instagram-card__overlay span:last-child { background: var(--dark); color: var(--white); }

/* ============================================================
   FREE TEXT BLOCK
   ============================================================ */
.text-block { padding: var(--sec-pad) 0; background: var(--cream); }
.text-block.is-dark { background: var(--cream-dark); }
.container--narrow { max-width: 820px; }
.container--medium { max-width: 1040px; }
.text-block__body { font-size: 1rem; line-height: 1.8; color: var(--dark); }

/* "quote" variant — a short thesis/manifesto line given a pull-quote
   treatment instead of reading like an ordinary description paragraph. */
.text-block.is-quote { text-align: center; position: relative; overflow: hidden; background: var(--cream-card); }
.text-block.is-quote::before {
  content: '“'; position: absolute; top: -2.5rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 11rem; line-height: 1;
  color: var(--cream-border); z-index: 0; pointer-events: none;
}
.text-block.is-quote .text-block__body {
  position: relative; z-index: 1;
  font-family: var(--font-serif); font-style: italic; color: var(--dark);
  font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.55;
  max-width: 680px; margin: 0 auto;
}
.text-block.is-quote.is-dark { background: var(--dark); }
.text-block.is-quote.is-dark::before { color: rgba(255,255,255,.08); }
.text-block.is-quote.is-dark .text-block__body { color: var(--white); }

/* "compact" variant — a short closing aside (P.S.-style) that shouldn't
   read as a full section of its own: smaller type, tighter padding. */
.text-block.is-compact { padding: 4rem 0; background: var(--cream-card); }
.text-block.is-compact .text-block__body {
  text-align: center; max-width: 560px; margin: 0 auto;
  font-size: .98rem; font-style: italic; line-height: 1.8; color: var(--dark-2);
}

/* "card" variant — frames the text in a padded card with a large faint
   decorative icon, instead of leaving it as plain unstyled paragraphs
   floating in the section's whitespace (used for e.g. a guarantee block).
   The section itself is tinted full-bleed too, so the card doesn't read as
   a small island in a wide empty cream field on large screens. */
.text-block.is-card { background: var(--cream-card); }
.text-block__card-grid { display: grid; grid-template-columns: .4fr 1fr; gap: 3.5rem; align-items: start; }
.text-block__card-icon svg { width: 3rem; height: 3rem; display: block; color: var(--sage-dark); }
.text-block__card-head .sec-title { font-size: clamp(1.7rem, 3vw, 2rem); margin-top: 1.1rem; }
.text-block__card-body { display: grid; gap: 1rem; font-size: 1rem; line-height: 1.75; color: var(--dark-2); max-width: 640px; }
.text-block__card-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--dark);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: var(--sec-pad) 0; background: var(--cream-dark); position: relative; overflow: hidden; }
.cta-band__inner {
  max-width: 620px; margin: 0 auto; position: relative; z-index: 1;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.cta-band__title { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; }
.cta-band__text { font-size: 1rem; line-height: 1.75; color: var(--gray); }
.cta-band__note { font-style: italic; font-size: .875rem; color: var(--gray-light); margin-top: -.3rem; }

/* "dark" cta-band — the closing "ready to start" strip: full-bleed near-black
   with a giant faint brand-word watermark behind the copy, matching the
   approved design (the light cream-dark version above stays available for a
   cta-band placed elsewhere that shouldn't compete with a dark hero/footer). */
.cta-band.is-dark { background: var(--dark); color: var(--white); }
.cta-band.is-dark::before {
  content: attr(data-watermark);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-serif); font-weight: 900; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(6rem, 22vw, 17rem); white-space: nowrap;
  color: rgba(255,255,255,.04); pointer-events: none; z-index: 0;
}
.cta-band.is-dark .spark { color: var(--gold); }
.cta-band.is-dark .sec-label { color: var(--gold-light); }
.cta-band.is-dark .cta-band__title { color: var(--white); }
.cta-band.is-dark .cta-band__text,
.cta-band.is-dark .cta-band__note { color: var(--gray-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--white); padding: 4.5rem 0 2.5rem; }
.footer__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 2rem;
}
.footer__logo { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: .75rem; }
.footer__icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease-out);
}
.footer__icon:hover { border-color: var(--white); background: var(--white); color: var(--dark); transform: translateY(-3px); }
.footer__icon svg { width: 18px; height: 18px; fill: currentColor; }
.footer__contacts { display: flex; flex-direction: column; gap: .7rem; }
.footer__contacts a { color: rgba(255,255,255,.6); font-size: .875rem; transition: color .3s; }
.footer__contacts a:hover { color: var(--white); }
.footer__links { display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.footer__links a { font-size: .78rem; color: rgba(255,255,255,.4); transition: color .3s; }
.footer__links a:hover { color: rgba(255,255,255,.85); }
.footer__copy { font-size: .72rem; color: rgba(255,255,255,.28); letter-spacing: .05em; }

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility .4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,.7);
  backdrop-filter: blur(6px);
}
.modal__box {
  background: var(--cream); border-radius: 2rem;
  padding: 2.5rem 3rem; width: 100%; max-width: 560px;
  position: relative; z-index: 1;
  max-height: 90dvh; overflow-y: auto;
  transform: translateY(30px) scale(.97);
  transition: transform .4s var(--ease-out);
  box-shadow: 0 40px 100px rgba(0,0,0,.2);
}
.modal.is-open .modal__box { transform: translateY(0) scale(1); }
.modal__box--sm { max-width: 420px; text-align: center; }
.modal__close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--cream-dark); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: .9rem; cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
@media (hover: none) {
  .modal__close { width: 44px; height: 44px; }
}
.modal__close:hover { background: var(--cream-border); }
.modal__tag {
  display: inline-block; background: var(--dark); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 100px; margin-bottom: 1rem;
}
.modal__title {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
  line-height: 1.15; margin-bottom: 1rem;
}
.modal__desc { font-size: .95rem; line-height: 1.75; color: var(--gray); margin-bottom: 1.25rem; }
.modal__meta { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.modal__meta-item {
  font-size: .78rem; color: var(--sage-dark); font-weight: 500;
  display: flex; align-items: center; gap: .35rem;
}
.modal__meta-item::before { content: '⏱'; }
.modal__meta-item--videos::before { content: '🎬'; }
.modal__list-title { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: .75rem; }
.modal__list { list-style: none; margin-bottom: 2rem; }
.modal__list li {
  padding: .6rem 0; border-bottom: 1px solid var(--cream-border);
  font-size: .9rem; display: flex; align-items: center; gap: .6rem;
}
.modal__list li::before { content: '✦'; color: var(--gold); font-size: .6rem; flex-shrink: 0; }
.modal__prices {
  display: flex; gap: 1.5rem; margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream-dark); border-radius: 1rem; flex-wrap: wrap;
}
.modal__actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
/* Pay-modal buttons stack full-width so long labels (Cyrillic, uppercase)
   never overflow the modal box on narrow phone screens. */
#pay-gateways .btn, #pay-tg.btn { width: 100%; justify-content: center; }
.pay-contact-input {
  width: 100%; padding: .8rem 1rem; font-size: .9rem; font-family: inherit;
  border: 1.5px solid var(--cream-border); border-radius: 10px; background: var(--cream);
  color: var(--dark); outline: none; transition: border-color .2s;
}
.pay-contact-input:focus { border-color: var(--gold); }

/* Trial options */
.trial-options { display: flex; flex-direction: column; gap: .75rem; margin-top: .5rem; }
.trial-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: 1rem;
  background: var(--cream-dark); border: 1.5px solid transparent;
  transition: all .3s;
}
.trial-option:hover { border-color: var(--sage); background: var(--white); transform: translateX(4px); }
.trial-option__icon { font-size: 1.5rem; flex-shrink: 0; }
.trial-option__title { font-size: .9rem; font-weight: 600; margin-bottom: .15rem; }
.trial-option__sub { font-size: .78rem; color: var(--gray); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Ensure minimum touch targets */
.btn { min-height: 44px; }
.nav__burger { min-width: 44px; min-height: 44px; justify-content: center; }

/* ---- Tablet ≤1024px ---- */
@media (max-width: 1024px) {
  .hero__layout { gap: 2rem; }
  .about__grid  { grid-template-columns: 1fr 1.2fr; gap: 3rem; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: none; border-top: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
  .nav__menu, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .checklist .container { gap: 0 2.5rem; }
  .faq .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-aside { position: static; grid-column: 1; }
  .offer__grid { gap: 2.5rem; }
}

/* ---- Mobile landscape & small tablets ≤768px ---- */
@media (max-width: 768px) {
  .hero__layout  { grid-template-columns: 1fr; text-align: center; padding-top: 1rem; }
  .hero__img-side { order: -1; }
  .hero__circle  { width: clamp(200px, 60vw, 280px); height: clamp(200px, 60vw, 280px); }
  .hero__divider { margin: 0 auto 1.4rem; }
  .hero__cta     { justify-content: center; }
  .hero__bg-text { font-size: clamp(5rem, 22vw, 8rem); opacity: .18; }
  .hero__scroll  { display: none; }
  .hero__badge   { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .hero__badge-num { font-size: 1.6rem; }

  .about__grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__img-wrap { aspect-ratio: 16/9; border-radius: 1.25rem; }
  .checklist .container { grid-template-columns: 1fr; gap: 0; }
  .checklist__intro, .checklist-grid, .checklist__outro { grid-column: 1; grid-row: auto; }
  .checklist-grid { grid-template-columns: 1fr; margin-top: 1.75rem; }
  .curriculum-list {
    columns: unset;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }
  .curriculum__divider { grid-column: 1 / -1; }
  .curriculum-item {
    padding: 1rem .9rem;
    border: 1px solid var(--cream-border);
    border-radius: 1rem;
    background: var(--cream-card);
  }
  .curriculum.is-dark .curriculum-item {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.12);
  }
  .text-block__card-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  /* Fixed 2-column grid on mobile (desktop keeps its auto-fit 3-across
     row). A lone trailing item — an odd item count, so the last child is
     also odd-indexed — spans both columns and centers itself instead of
     sitting stranded in the left column. */
  .steps__equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .steps__equipment-grid > .steps__equipment-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .step-row { grid-template-columns: 44px 1fr; row-gap: .3rem; }
  .step-row__text { grid-column: 2; }
  .steps__note { grid-template-columns: 1fr; gap: 1rem; }
  .steps__note-quote { text-align: left; }

  .dir-grid      { grid-template-columns: repeat(2, 1fr); }

  .courses-grid  { grid-template-columns: 1fr; }
  .nav-cards-grid:has(.nav-card:first-child:nth-last-child(2)) { grid-template-columns: 1fr; }
  .offer__grid   { grid-template-columns: 1fr; }
  .offer__card   { position: static; padding: 2.5rem 2rem; }

  .faq .container { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }

  .footer__grid  { grid-template-columns: 1fr; gap: 2rem; }
  .footer__links { align-items: flex-start; }

  .modal__box    { padding: 1.75rem 1.5rem; border-radius: 1.5rem; }
  .modal__title  { font-size: 1.6rem; }

  .sec-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .mobile-menu__link { font-size: 2.2rem; }
}

/* ---- Small phones ≤480px ---- */
@media (max-width: 480px) {
  :root { --pad-x: 1.1rem; }

  .hero { padding-top: 4.5rem; }
  .hero__name { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero__badge { bottom: 1rem; }

  .dir-grid   { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .faq-item__q { font-size: .92rem; }
  .curriculum-list { gap: .6rem; }
  .curriculum-item { gap: .55rem; padding: .85rem .75rem; }
  .curriculum-item__num { min-width: 1.7rem; font-size: 1rem; }
  .curriculum-item__title { font-size: .82rem; }
  .curriculum-item__body { font-size: .74rem; line-height: 1.45; }

  .course-card { padding: 1.5rem 1.25rem; }
  .course-name { font-size: 1.25rem; }
  .price-amount { font-size: 1.7rem; }
  .prices { gap: 1.25rem; }
  .course-actions { flex-direction: column; }
  .course-actions .btn { width: 100%; justify-content: center; }
  .offer__card { padding: 2.5rem 1.5rem; border-radius: 1.5rem; }
  .offer .price-amount { font-size: 2rem; }
  .offer__cta { width: 100%; }

  .modal { padding: .5rem; align-items: flex-end; }
  .modal__box { border-radius: 1.5rem 1.5rem 0 0; max-height: 92dvh; }

  .cta-band__title { font-size: clamp(1.5rem, 7vw, 2rem); }

  .footer__grid { gap: 1.75rem; }

  .sec-header { margin-bottom: 2rem; }
  .sec-line   { margin-bottom: 2rem; }
}
