/* ==========================================================================
   Extreme Indoor Golf - version 2 stylesheet ("bold and sporty")
   Dark charcoal base drawn from the logo's deep teal, brand lime as the accent.
   Same content and class names as version 1; only the look changes.
   ========================================================================== */

/* ---- Self-hosted fonts --------------------------------------------------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-black-latin.woff2") format("woff2");
}

/* ---- Design tokens ------------------------------------------------------- */
:root {
  --bg: #0d1719;            /* page background, from the logo's deep teal */
  --bg-2: #122023;          /* raised panels */
  --bg-3: #172a2e;          /* cards */
  --line: rgba(215, 235, 167, 0.14);
  --ink: #eef3ea;           /* headings */
  --text: #c9d3c6;          /* body copy */
  --muted: #8fa08c;
  --lime: #aee23a;          /* logo lime: primary buttons, accents */
  --lime-2: #c8f55c;        /* hover */
  --green: #d7eba7;         /* brand light green: labels, highlights, light band */
  --green-ink: #0d1719;     /* text on green/lime */
  --danger: #ffb4a8;

  --font-body: "Montserrat", Arial, Helvetica, sans-serif;
  --font-display: "Archivo Black", Arial, Helvetica, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --gap: 48px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--lime-2); }
p { margin: 0 0 0.5em; }
ul { margin: 0; padding-left: 24px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
::selection { background: var(--lime); color: var(--green-ink); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 400; }

/* small lime eyebrow labels */
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
}
.label::before { content: ""; width: 28px; height: 3px; background: var(--lime); border-radius: 3px; flex: none; }
.label--dark, .label--green { color: var(--lime); }
.label--center { justify-content: center; }

/* big Archivo Black headlines */
.display {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--ink);
}
.display em, .display .hl { font-style: normal; color: var(--lime); }
.display--xl { font-size: clamp(40px, 6vw, 84px); letter-spacing: -1px; }

/* 28px sub-headings */
.h-minor {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.h-minor--center { text-align: center; }

.lead { font-size: 20px; line-height: 1.6; color: var(--text); }
.text-center { text-align: center; }
.text-small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.text-18 { font-size: 15px; line-height: 1.5; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
b, strong { font-weight: 700; color: var(--ink); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* primary: lime */
.btn--green, .btn--dark { background: var(--lime); color: var(--green-ink); box-shadow: 0 10px 30px rgba(174, 226, 58, 0.25); }
.btn--green:hover, .btn--dark:hover { background: var(--lime-2); color: var(--green-ink); }
/* secondary: outline */
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(238, 243, 234, 0.35); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 13px; letter-spacing: 2px; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13, 23, 25, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.site-header__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.site-header__logo img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(174, 226, 58, 0.35)); }
.site-header__logo span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 120px;
}
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; flex: none; }
.site-header__phone { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; }
.site-header__phone a { color: var(--text); text-decoration: none; }
.site-header__phone a:hover { color: var(--lime); }
.nav-toggle { display: none; }

/* ---- Navigation ---------------------------------------------------------- */
.site-nav { margin-left: 8px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list > li { position: relative; }
.site-nav__list a, .site-nav__list button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav__list a:hover, .site-nav__list button:hover { color: var(--ink); background: rgba(215, 235, 167, 0.08); }
.site-nav__list a[aria-current="page"] { color: var(--green-ink); background: var(--green); }
.site-nav .caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 1px;
}
.site-nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
  display: none;
}
.site-nav__sub a { display: block; border-radius: 8px; white-space: normal; }
.site-nav__sub a[aria-current="page"] { color: var(--green-ink); background: var(--green); }
.has-sub.is-open .site-nav__sub,
.has-sub:hover .site-nav__sub,
.has-sub:focus-within .site-nav__sub { display: block; }
/* keep the dropdown open while the cursor crosses the 8px gap */
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }

/* ---- Sections ------------------------------------------------------------ */
.section { padding: 72px 0; }
.section--green { background: var(--green); color: #2b3325; }
.section--green .label, .section--green .label--dark { color: #3c5a10; }
.section--green .label::before { background: #3c5a10; }
.section--green h1, .section--green h2, .section--green h3, .section--green h4, .section--green b { color: var(--green-ink); }
.section--green p, .section--green .lead { color: #2f3a27; }
.section--green .btn--green, .section--green .btn--dark { background: var(--green-ink); color: var(--green); box-shadow: none; }
.section--green .btn--green:hover, .section--green .btn--dark:hover { background: #1d2c30; }
.section--blue { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: #08100f; }
.section--dark .label { color: var(--lime); }
.section--dark h4 { color: var(--ink); }
.section--dark p { color: var(--text); }

/* Hero (home) */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #000;
}
.hero video, .hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 25, 0.15) 0%, rgba(13, 23, 25, 0.55) 55%, var(--bg) 100%);
}
.hero__content { position: relative; z-index: 1; padding: 120px var(--gutter) 72px; max-width: 900px; }
.hero__content .label { margin-bottom: 20px; }
.hero__content .display--xl { margin-bottom: 24px; }
.hero__content .lead { max-width: 640px; color: #dbe4d7; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__item { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts__item:first-child { border-left: 0; }
.facts__item strong { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--lime); margin-bottom: 6px; }
.facts__item--text strong { font-size: 20px; padding-top: 5px; }
.facts__item span { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* image + text rows */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.split--img-right .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__body > * + * { margin-top: 24px; }
.split__body .btn { margin-top: 12px; }
.split--top { align-items: start; }

.split-third {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.split-third--img-right { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-third--img-right .split-third__media { order: 2; }
.split-third--top { align-items: start; }
.split-third__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-third__body > * + * { margin-top: 20px; }
.img-full { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* three-column cards */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.cols-3--align > .card { display: grid; grid-template-rows: subgrid; row-gap: 0; }
.cols-3--align.rows-2 > .card { grid-row: span 2; }
.cols-3--align.rows-3 > .card { grid-row: span 3; }
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(174, 226, 58, 0.4); }
.card__title { margin-bottom: 18px; }
.card__body { padding: 0; }
.card__body p { margin: 0; color: var(--text); }
.card--center { text-align: center; }
.card--center .card__title { min-height: 0; }
.card > img { border-radius: var(--radius-sm); margin-bottom: 20px !important; }

/* videos */
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; }
.video-frame--portrait video { aspect-ratio: auto; object-fit: contain; max-height: 720px; width: auto; margin: 0 auto; }
.video-frame--hero { margin-top: 0; }

.yt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.yt-row .embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.yt-row .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* PDF previews */
.pdf-embed { text-align: center; }
.pdf-embed__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
  margin-bottom: 28px;
  padding: 10px 18px;
  border: 2px solid rgba(174, 226, 58, 0.35);
  border-radius: 999px;
}
.pdf-embed__link:hover { border-color: var(--lime); color: var(--lime-2); }
.pdf-embed__link::after { content: "\2193"; font-size: 15px; line-height: 1; }
.pdf-embed__page { display: block; margin: 0 auto; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.pdf-embed__page img { width: 100%; }
.pdf-embed--narrow .pdf-embed__page { max-width: 820px; }

/* social */
.social { display: flex; justify-content: center; gap: 12px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); transition: transform 0.15s ease, border-color 0.2s ease; }
.social a:hover { transform: translateY(-3px); border-color: var(--lime); }
.social svg { width: 30px; height: 30px; }

/* contact (home) */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.contact__block .display { margin-bottom: 20px; }
.contact__block h4 { font-family: var(--font-display); font-size: 20px; margin: 32px 0 10px; color: var(--ink); }
.contact__block h4:first-of-type { margin-top: 28px; }
.contact__block p { margin: 0; }
.contact__form { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact__form[hidden] { display: none; }
.contact__toggle { display: none; }

/* forms */
.form__field { position: relative; margin-bottom: 18px; }
.form__field label {
  position: absolute; left: 16px; top: 16px;
  font-size: 16px; line-height: 1.2; color: var(--muted); pointer-events: none;
  transition: transform 0.15s ease, font-size 0.15s ease, top 0.15s ease;
}
.form__field input, .form__field textarea {
  width: 100%; min-height: 56px; padding: 22px 16px 8px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.3;
}
.form__field textarea { min-height: 160px; resize: vertical; }
.form__field input:focus, .form__field textarea:focus { outline: 2px solid var(--lime); outline-offset: 0; border-color: var(--lime); }
.form__field input:focus + label, .form__field input:not(:placeholder-shown) + label,
.form__field textarea:focus + label, .form__field textarea:not(:placeholder-shown) + label { top: 6px; font-size: 12px; color: var(--lime); }
.form__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form__cancel { display: none; }
.form__status { margin-top: 14px; font-size: 15px; color: var(--green); }
.form__note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* pricing */
.price-list { max-width: 820px; margin: 0 auto; }
.price-list__intro { margin-bottom: 28px; }
.price-item { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.price-item + .price-item { margin-top: 14px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.price-row h4 { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.price-row__price { font-family: var(--font-display); font-size: 30px; color: var(--lime); white-space: nowrap; }
.price-item p { margin: 6px 0 0; color: var(--muted); }

/* gallery */
.gallery { position: relative; }
.gallery__viewport { position: relative; overflow: hidden; background: #000; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery__track { display: flex; transition: transform 0.4s ease; }
.gallery__slide { flex: 0 0 100%; display: flex; justify-content: center; align-items: center; height: 640px; }
.gallery__slide img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.gallery__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(13, 23, 25, 0.7); color: var(--lime); cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  backdrop-filter: blur(6px);
}
.gallery__btn:hover { background: var(--lime); color: var(--green-ink); }
.gallery__btn--prev { left: 16px; }
.gallery__btn--next { right: 16px; }
.gallery__btn svg { width: 26px; height: 26px; fill: currentColor; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; list-style: none; padding: 0; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: 0.6; transition: opacity 0.2s ease; }
.gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.is-active { border-color: var(--lime); opacity: 1; }
.gallery__thumbs img { width: 76px; height: 76px; object-fit: cover; display: block; }

/* newsletter */
.file-list { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; gap: 10px; }
.file-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 22px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.file-list a:hover { border-color: var(--lime); transform: translateX(4px); }
.file-list .file-list__type { color: var(--muted); font-size: 13px; margin-left: 8px; font-weight: 400; }
.file-list .file-list__dl { color: var(--lime); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; white-space: nowrap; }
.newsletter-pages { max-width: 820px; margin: 0 auto; display: grid; gap: 20px; }
.newsletter-pages img { border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.newsletter-pages img + img { margin-top: 0; }

/* long-form copy (golf lessons) */
.prose h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; margin-top: 36px; color: var(--ink); }
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0; }
.prose p + p { margin-top: 18px; }
.prose p.tight + p.tight { margin-top: 4px; }
.prose ul { padding-left: 22px; margin: 0; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--lime); }
.prose h3 + p, .prose h3 + ul { margin-top: 16px; }
.prose > .h-minor { margin-bottom: 20px; color: var(--green); font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.lessons-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.sidebar-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.sidebar-card .h-minor { margin-bottom: 16px; }
.sidebar-card p { color: var(--text); }
.sidebar-card .btn { margin-top: 22px; }

/* footer */
.site-footer { background: #08100f; border-top: 1px solid var(--line); padding: 64px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.site-footer__brand img { width: 72px; height: 72px; margin-bottom: 16px; }
.site-footer h4 { font-family: var(--font-display); font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.site-footer p { margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--lime); }
.site-footer .social { justify-content: flex-start; margin-top: 16px; }
.site-footer .social a { width: 44px; height: 44px; }
.site-footer .social svg { width: 22px; height: 22px; }
.site-footer__bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* misc */
.event-note { color: var(--green-ink); font-weight: 700; text-align: center; margin: 0; }
.notes { background: var(--green); color: var(--green-ink); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; }
.notes p { margin: 0; }
.notes p + p { margin-top: 4px; }
.banner-link {
  display: block; text-align: center; text-decoration: none;
  padding: 40px 24px; background: var(--green); color: var(--green-ink);
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); text-transform: uppercase; letter-spacing: -0.3px;
}
.banner-link:hover { background: var(--lime); color: var(--green-ink); }
.cta-band { text-align: center; }
.cta-band .display { margin-bottom: 28px; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.stack > * + * { margin-top: 24px; }
.page-title { padding: 72px 0 24px; }
.page-title .display { margin-top: 8px; }
.page-title p { max-width: 720px; margin-top: 18px; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1023px) {
  /* no backdrop-filter here: it would turn the header into the containing block
     for the fixed-position drawer below */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13, 23, 25, 0.97); }
  .site-header__inner { gap: 16px; }
  .site-header__phone { display: none; }
  .site-header__actions .btn { min-height: 44px; padding: 10px 20px; font-size: 13px; letter-spacing: 2px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg-3); border: 1px solid var(--line); cursor: pointer; color: var(--ink); padding: 0;
    order: 3;
  }
  .nav-toggle svg { width: 24px; height: 24px; fill: currentColor; }
  .site-header__actions { order: 2; margin-left: auto; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    padding: 88px 24px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    z-index: 300;
    margin: 0;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .site-nav__close {
    position: absolute; top: 20px; right: 20px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg-3); border: 1px solid var(--line); cursor: pointer; color: var(--ink); padding: 0;
  }
  .site-nav__close svg { width: 22px; height: 22px; fill: currentColor; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav__list a, .site-nav__list button {
    display: flex; width: 100%; justify-content: space-between;
    padding: 14px 16px; font-size: 16px; letter-spacing: 2px; border-radius: 10px; white-space: normal;
  }
  .site-nav__sub { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
  .site-nav__sub a { font-size: 14px; }
  .has-sub:hover .site-nav__sub, .has-sub:focus-within .site-nav__sub { display: none; }
  .has-sub.is-open .site-nav__sub { display: block; }
  .has-sub::after { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 250; display: none; }
  .nav-backdrop.is-open { display: block; }
  body.nav-open { overflow: hidden; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(3) { border-left: 0; }
  .facts__item { border-top: 1px solid var(--line); }
  .facts__item:nth-child(-n+2) { border-top: 0; }
}
@media (min-width: 1024px) {
  .site-nav__close { display: none; }
  .nav-backdrop { display: none !important; }
}

@media (max-width: 899px) {
  .section { padding: 56px 0; }
  .split, .split-third, .split-third--img-right, .yt-row, .lessons-layout, .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split--img-right .split__media, .split-third--img-right .split-third__media { order: 0; }
  .cols-3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cols-3--align > .card { display: block; }
  .sidebar-card { position: static; }
  .gallery__slide { height: 62vw; max-height: 640px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__content { padding: 96px var(--gutter) 56px; }
  .hero { min-height: 560px; }
  .video-frame--portrait video { max-height: none; width: 100%; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .facts__grid { grid-template-columns: 1fr; }
  .facts__item { border-left: 0; }
  .facts__item:nth-child(2) { border-top: 1px solid var(--line); }
  .btn { padding: 12px 22px; letter-spacing: 2px; font-size: 14px; }
  .card { padding: 22px; }
  .contact__form { padding: 22px; }
  .site-header__logo span { display: none; }
  .hero__actions .btn { width: 100%; }
  .price-item { padding: 22px; }
  .price-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .price-row__price { font-size: 25px; white-space: normal; }
}
