/* =========================================================
   ALTA SKI SCHOOL — стили премиальной посадочной страницы
   Методология именования: БЭМ
   Брейкпоинты: 320 / 768 / 1024 / 1280 / 1440
   ========================================================= */

/* ---------- 1. ТОКЕНЫ ---------- */
:root {
  --c-white: #ffffff;
  --c-ice: #f4f7fa;
  --c-ice-100: #e4ebf1;
  --c-silver: #c3ccd6;
  --c-graphite: #232a33;
  --c-graphite-700: #333c48;
  --c-navy: #0c141f;
  --c-navy-800: #101a27;
  --c-navy-700: #16212f;
  --c-accent: #3fa9dc;
  --c-accent-light: #a9dcf2;
  --c-accent-dark: #176086;
  --c-accent-btn: #1a6f9a;
  --c-ink: #12171e;
  --c-ink-soft: #33404c;
  --c-muted: #4a5563;

  --font-display: "Manrope", "Inter", sans-serif;
  --font-text: "Inter", "Segoe UI", sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-full: 999px;
  --shadow-soft: 0 20px 60px -20px rgba(12, 20, 31, 0.35);
  --shadow-card: 0 12px 30px -14px rgba(12, 20, 31, 0.22);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  --container-w: 1200px;
  --page-gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  cursor: auto;
}

body {
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: auto;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: inherit;
}
p { line-height: 1.7; }
svg { display: block; }
.icon { flex-shrink: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--c-navy); color: var(--c-white); padding: 12px 20px; border-radius: var(--radius-s);
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* Единый контейнер: шапка, секции, промо, футер */
.container {
  width: min(100%, calc(var(--container-w) + var(--page-gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.section { padding-block: 80px; scroll-margin-top: calc(var(--header-h) + 8px); }
.booking.section { padding-bottom: 48px; }
.section--alt { background: var(--c-ice); }

.section__head { max-width: 720px; margin-bottom: 48px; }
.section__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 14px;
  line-height: 1.4;
}
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
  color: var(--c-ink);
  line-height: 1.25;
}
.section__subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  max-width: 640px;
}

/* ---------- 3. РЕВИЛ-АНИМАЦИИ ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 4. КНОПКИ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: var(--radius-full);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-accent-btn), var(--c-accent-dark));
  color: var(--c-white);
  box-shadow: 0 14px 30px -10px rgba(23, 96, 134, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(23, 96, 134, 0.6); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.btn--outline {
  background: transparent; color: var(--c-ink); border: 1.5px solid var(--c-graphite-700);
}
.btn--outline:hover { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- 5. ШАПКА ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  padding-block: 18px;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header[data-scrolled] {
  padding-block: 12px;
  background: rgba(12, 20, 31, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 30px -18px rgba(0,0,0,0.5);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.header__logo { flex-shrink: 0; }
.header__nav { min-width: 0; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--c-white); }
.logo__mark { color: var(--c-accent-light); }
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: 0.02em; display: flex; flex-direction: column; line-height: 1.1; }
.logo__text-thin { font-weight: 500; font-size: 10px; letter-spacing: 0.2em; color: var(--c-silver); }

.nav__list { display: none; }
.nav__link {
  color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 500; padding: 8px 0; position: relative; line-height: 1.3;
  white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--c-accent-light);
  transition: right 0.35s var(--ease);
}
.nav__link:hover::after { right: 0; }
.nav__link:hover { color: var(--c-white); }

.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__phone {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--c-white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.header__phone-text { display: none; }
.header__cta { display: none; }
.header__cta.btn--sm { padding: 10px 16px; }

.burger { width: 30px; height: 22px; position: relative; }
.burger__line {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--c-white); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 10px; }
.burger__line:nth-child(3) { top: 20px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { top: 10px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: 490;
  background: var(--c-navy);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav.is-open .nav__list { display: flex; flex-direction: column; gap: 26px; text-align: center; }
.nav.is-open .nav__link { font-size: 26px; font-family: var(--font-display); font-weight: 700; }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--c-white); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,15,23,0.74) 0%, rgba(9,15,23,0.58) 40%, rgba(8,13,20,0.97) 100%);
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 20% 100%, rgba(63,169,220,0.35), transparent 70%);
}
.hero__content { padding-bottom: 88px; padding-top: 140px; }
.hero__eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-accent-light); margin-bottom: 18px; line-height: 1.4;
}
.hero__title {
  font-size: clamp(34px, 6.4vw, 68px);
  max-width: 16ch;
  margin-bottom: 22px;
  line-height: 1.2;
  text-shadow: 0 2px 18px rgba(8, 13, 20, 0.45);
}
.hero__subtitle {
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.7;
  max-width: 620px;
  color: rgba(255,255,255,0.94);
  margin-bottom: 36px;
  text-shadow: 0 1px 12px rgba(8, 13, 20, 0.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  max-width: 640px;
  padding-right: 56px;
}
.hero__stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); color: var(--c-white); line-height: 1.15; }
.hero__stat-label { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.82); margin-top: 4px; }

.hero__scroll {
  position: absolute; right: 28px; bottom: 28px; z-index: 2;
  display: none; align-items: center; gap: 10px; color: rgba(255,255,255,0.88); font-size: 12px; letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 46px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--c-accent-light);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* ---------- 7. ПРЕИМУЩЕСТВА ---------- */
.advantages__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.advantage-card {
  background: var(--c-white); border: 1px solid var(--c-ice-100); border-radius: var(--radius-l);
  padding: 32px 28px; box-shadow: var(--shadow-card);
  height: 100%;
  cursor: default;
}
.advantage-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-m); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-ice), var(--c-ice-100)); color: var(--c-accent-dark);
}
.advantage-card__icon svg { width: 26px; height: 26px; }
.advantage-card__title { font-size: 19px; margin-bottom: 10px; color: var(--c-ink); line-height: 1.3; }
.advantage-card__text { font-size: 15px; line-height: 1.7; color: var(--c-ink-soft); }

/* ---------- 8. НАПРАВЛЕНИЯ / ГАЛЕРЕЯ ---------- */
.gallery-grid,
.directions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
.direction-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  cursor: default;
}
.direction-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-ice-100);
}
.direction-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.direction-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 24px 28px;
}
.direction-card__title { font-size: 20px; margin-bottom: 10px; color: var(--c-ink); line-height: 1.3; }
.direction-card__text { font-size: 15px; line-height: 1.7; color: var(--c-ink-soft); margin-bottom: 16px; }
.direction-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-accent-dark);
  width: fit-content;
}
.direction-card__link:hover { text-decoration: underline; }

/* ---------- 9. ИНСТРУКТОРЫ ---------- */
.instructors__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
.instructor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: var(--c-navy);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: default;
}
.instructor-card__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-navy-700); }
.instructor-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.instructor-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 24px 26px;
  color: var(--c-white);
  background: linear-gradient(180deg, var(--c-navy-700), var(--c-navy));
}
.instructor-card__name { font-size: 19px; margin-bottom: 4px; line-height: 1.3; }
.instructor-card__spec { font-size: 14px; line-height: 1.4; color: var(--c-accent-light); margin-bottom: 12px; }
.instructor-card__meta { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.82); display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.instructor-card__meta li::before { content: "— "; }
.instructor-card__cta { border-color: rgba(255,255,255,0.45); color: var(--c-white); margin-top: auto; align-self: flex-start; }
.instructor-card__cta:hover { background: var(--c-white); color: var(--c-navy); border-color: var(--c-white); }

/* ---------- 10. ТАРИФЫ ---------- */
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
.price-card {
  background: var(--c-white); border-radius: var(--radius-l); padding: 34px 28px; border: 1px solid var(--c-ice-100);
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; position: relative; height: 100%;
  cursor: default;
}
.price-card--featured {
  background: linear-gradient(160deg, var(--c-navy), var(--c-navy-700)); color: var(--c-white); border: none;
}
.price-card__badge {
  position: absolute; top: -13px; left: 28px; background: var(--c-accent-dark); color: var(--c-white);
  font-family: var(--font-display); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-full);
  line-height: 1.3;
}
.price-card__title { font-size: 21px; margin-bottom: 8px; line-height: 1.3; }
.price-card__desc { font-size: 14px; line-height: 1.65; color: var(--c-ink-soft); margin-bottom: 20px; }
.price-card--featured .price-card__desc { color: rgba(255,255,255,0.82); }
.price-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.price-card__value { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.15; }
.price-card__unit { font-size: 13px; color: var(--c-muted); }
.price-card--featured .price-card__unit { color: rgba(255,255,255,0.75); }
.price-card__list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; margin-bottom: 28px; flex-grow: 1; }
.price-card__list li { padding-left: 22px; position: relative; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 8px;
  border-left: 2px solid var(--c-accent-dark); border-bottom: 2px solid var(--c-accent-dark); transform: rotate(-45deg);
}
.price-card--featured .price-card__list li::before { border-color: var(--c-accent-light); }
.price-card--featured .btn--primary { background: var(--c-white); color: var(--c-navy); box-shadow: none; }
.price-card--featured .btn--primary:hover { background: var(--c-accent-light); color: var(--c-navy); }

/* ---------- 11. ПРОЦЕСС ---------- */
.process__list { display: grid; grid-template-columns: 1fr; gap: 32px; }
.process-step { position: relative; padding-top: 8px; cursor: default; }
.process-step__num {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 40px;
  color: var(--c-accent-dark); line-height: 1; margin-bottom: 14px; letter-spacing: -0.03em;
}
.process-step__title { font-size: 19px; margin-bottom: 8px; color: var(--c-ink); line-height: 1.3; }
.process-step__text { font-size: 15px; line-height: 1.7; color: var(--c-ink-soft); }

/* ---------- 12. ПРОМО-БАННЕР ---------- */
.promo { position: relative; min-height: 520px; display: flex; align-items: center; color: var(--c-white); overflow: hidden; }
.promo__media { position: absolute; inset: 0; z-index: 0; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,13,22,0.92) 20%, rgba(8,13,22,0.48) 80%); }
.promo .container { position: relative; z-index: 1; }
.promo__content { padding-block: 80px; max-width: 640px; }
.promo__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent-light); margin-bottom: 16px; line-height: 1.4; }
.promo__title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; line-height: 1.25; }
.promo__text { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.92); margin-bottom: 30px; }

/* ---------- 13. ОТЗЫВЫ ---------- */
.reviews__rating { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.reviews__stars { display: inline-flex; gap: 2px; color: #c98512; }
.reviews__rating-value { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--c-ink); }
.reviews__rating-count { font-size: 14px; color: var(--c-ink-soft); }

.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
.review-card {
  background: var(--c-white); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-card);
  height: 100%; cursor: default;
}
.review-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-accent-btn), var(--c-accent-dark)); color: var(--c-white);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.review-card__name { font-weight: 600; font-size: 15px; color: var(--c-ink); line-height: 1.3; }
.review-card__stars { color: #c98512; font-size: 13px; letter-spacing: 1px; line-height: 1.3; }
.review-card__text { font-size: 15px; line-height: 1.7; color: var(--c-ink-soft); }

/* ---------- 14. FAQ ---------- */
.faq__layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.faq__head .btn { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--c-ice-100); }
.faq-item__heading { font-size: inherit; font-weight: inherit; }
.faq-item__question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left;
  padding-block: 22px; font-size: 17px; font-weight: 600; font-family: var(--font-display);
  color: var(--c-ink); line-height: 1.35; cursor: pointer;
}
.faq-item__icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--c-ink); transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-item__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item__question[aria-expanded="true"] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item__answer {
  max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  font-size: 15px; line-height: 1.7; color: var(--c-ink-soft);
}
.faq-item__answer p { padding-bottom: 22px; max-width: 62ch; }

/* ---------- 15. ФОРМА ЗАПИСИ ---------- */
.booking__panel {
  background: linear-gradient(160deg, var(--c-navy), var(--c-navy-700));
  border-radius: var(--radius-l); padding: 44px 24px; color: var(--c-white);
  display: grid; grid-template-columns: 1fr; gap: 40px; position: relative; overflow: hidden;
}
.booking__panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 90% 10%, rgba(63,169,220,0.28), transparent 70%);
}
.booking .section__eyebrow,
.modal .section__eyebrow {
  color: var(--c-accent-light);
}
.booking__info, .booking-form { position: relative; z-index: 1; }
.booking__title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; line-height: 1.25; }
.booking__text { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.booking__points { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; margin-bottom: 28px; }
.booking__points li { padding-left: 22px; position: relative; color: rgba(255,255,255,0.9); }
.booking__points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 8px; border-left: 2px solid var(--c-accent-light); border-bottom: 2px solid var(--c-accent-light); transform: rotate(-45deg); }
.booking__contact { display: flex; flex-direction: column; gap: 12px; }
.booking__contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--c-accent-light);
  width: fit-content;
}
.booking__contact-link:hover { text-decoration: underline; }

.booking-form {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(10px);
  border-radius: var(--radius-m); padding: 28px 22px; display: flex; flex-direction: column; gap: 16px;
}
.booking-form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.booking-form__field { display: flex; flex-direction: column; gap: 8px; }
.booking-form__label { font-size: 13px; line-height: 1.3; color: rgba(255,255,255,0.82); }
.booking-form__input {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.28); border-radius: var(--radius-s);
  padding: 13px 16px; color: var(--c-white); font-size: 15px; line-height: 1.4;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  color-scheme: dark;
}
.booking-form__input::placeholder { color: rgba(255,255,255,0.64); }
.booking-form__input:focus { outline: none; border-color: var(--c-accent-light); background: rgba(255,255,255,0.14); }
.booking-form__input--select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.75) 50%), linear-gradient(135deg, rgba(255,255,255,0.75) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.booking-form__input--select option { color: var(--c-ink); background: var(--c-white); }
.booking-form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.82); cursor: pointer; }
.booking-form__consent input { margin-top: 3px; accent-color: var(--c-accent); cursor: pointer; }
.booking-form__consent a { color: var(--c-accent-light); text-decoration: underline; }
.booking-form__success {
  font-size: 14px; line-height: 1.5; color: var(--c-accent-light); background: rgba(63,169,220,0.14); border: 1px solid rgba(63,169,220,0.4);
  border-radius: var(--radius-s); padding: 12px 16px; text-align: center;
}

/* ---------- 16. ФУТЕР ---------- */
.footer { background: var(--c-ink); color: rgba(255,255,255,0.88); padding-top: 72px; padding-bottom: 112px; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { margin-bottom: 16px; }
.footer__desc { font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 22px; color: rgba(255,255,255,0.84); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.9);
}
.footer__social a:hover { color: var(--c-white); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.footer__title { font-family: var(--font-display); color: var(--c-white); font-size: 15px; margin-bottom: 18px; line-height: 1.3; }
.footer__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; }
.footer__list a:hover { color: var(--c-white); }
.footer__list--contacts a,
.footer__list--contacts span {
  display: flex; align-items: flex-start; gap: 10px;
}
.footer__list--contacts .icon { margin-top: 2px; color: var(--c-accent-light); }
.footer__map { border-radius: var(--radius-m); overflow: hidden; filter: grayscale(1) invert(0.92) contrast(0.9); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-block: 22px; display: flex; flex-direction: column; gap: 12px;
  font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.8);
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--c-white); }

/* ---------- 17. MOBILE CTA ---------- */
.mobile-cta {
  position: fixed; left: 16px; right: 80px; bottom: 16px; z-index: 400;
  background: linear-gradient(135deg, var(--c-accent-btn), var(--c-accent-dark)); color: var(--c-white);
  text-align: center; padding: 15px; border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 700;
  box-shadow: 0 16px 34px -12px rgba(23, 96, 134, 0.55);
  transition: transform 0.4s var(--ease);
}

/* ---------- 18. ЛИПКИЕ CTA СПРАВА ---------- */
.float-cta {
  position: fixed;
  right: 12px;
  bottom: 88px;
  z-index: 420;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-cta__item { position: relative; }
.float-cta__btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  color: var(--c-navy);
  box-shadow: 0 10px 24px -8px rgba(12, 20, 31, 0.55);
  border: 1px solid var(--c-ice-100);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.float-cta__btn:hover { background: var(--c-ice); color: var(--c-navy); }
.float-cta__btn--callback {
  background: var(--c-accent-dark);
  color: var(--c-white);
  border-color: var(--c-accent-dark);
}
.float-cta__btn--callback:hover { background: var(--c-accent-btn); color: var(--c-white); }
.float-cta__btn--top { display: none; }
.float-cta__btn--top.is-visible { display: flex; }
.float-cta__panel {
  position: absolute;
  right: calc(100% + 10px);
  bottom: 0;
  width: min(260px, calc(100vw - 84px));
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: var(--radius-m);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--c-ice-100);
}
.float-cta__panel[hidden] { display: none; }
.float-cta__panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
}
.float-cta__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.35;
}
.float-cta__link:hover { color: var(--c-accent-dark); }
.float-cta__link .icon { color: var(--c-accent-dark); }

/* ---------- 19. МОДАЛКА ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 22, 0.72);
  cursor: pointer;
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: var(--radius-l);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-soft);
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  border-radius: 50%;
}
.modal__close:hover { background: rgba(255,255,255,0.1); color: var(--c-white); }
.modal__title { font-size: 26px; margin-bottom: 10px; }
.modal__text { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.86); margin-bottom: 22px; }
.callback-form { display: flex; flex-direction: column; gap: 14px; }
.callback-form__input { width: 100%; }
.callback-form__consent { color: rgba(255,255,255,0.82); }

body.is-modal-open { overflow: hidden; }

/* =========================================================
   БРЕЙКПОИНТ 768px — планшет
   ========================================================= */
@media (min-width: 768px) {
  .section { padding-block: 96px; }
  .advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid,
  .directions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instructors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stats {
    padding-right: 0;
    max-width: 640px;
  }
  .float-cta { right: 16px; bottom: 92px; }
  .mobile-cta { right: 84px; }
}

/* =========================================================
   БРЕЙКПОИНТ 1024px — малый десктоп
   ========================================================= */
@media (min-width: 1024px) {
  .section { padding-block: 112px; }
  .header__cta { display: inline-flex; }
  .hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 960px;
    gap: 24px 28px;
  }

  .advantages__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid,
  .directions__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .instructors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .faq__layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .booking__panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); padding: 56px; align-items: center; }
  .footer__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1fr); }

  .mobile-cta { display: none; }
  .float-cta { bottom: 32px; right: 20px; }
  .footer { padding-bottom: 48px; }
  .float-cta__btn[title]::after {
    content: attr(title);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--c-navy);
    color: var(--c-white);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
  }
  .float-cta__btn[title]:hover::after { opacity: 1; }
}

/* =========================================================
   БРЕЙКПОИНТ 1280px — десктоп с полной навигацией
   ========================================================= */
@media (min-width: 1280px) {
  .header__inner { gap: 16px; }
  .nav__list { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: nowrap; }
  .burger { display: none; }
  .nav { position: static; inset: auto; background: none; opacity: 1; visibility: visible; transform: none; display: block; flex: 1 1 auto; min-width: 0; }
  .nav__list { display: flex !important; flex-direction: row; text-align: left; }
  .nav.is-open .nav__link { font-size: 13px; font-family: var(--font-text); font-weight: 500; }
  .header__phone { display: inline-flex; }
  .pricing__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}

/* =========================================================
   БРЕЙКПОИНТ 1440px — широкий десктоп
   ========================================================= */
@media (min-width: 1440px) {
  .nav__list { gap: 14px; }
  .nav__link { font-size: 13.5px; }
  .header__phone-text { display: inline; }
  .hero__content { padding-top: 180px; padding-bottom: 90px; }
  .advantage-card { padding: 38px 32px; }
  .section { padding-block: 120px; }
}
