/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ═══ VARIABLES ═══ */
:root {
  --navy:        #0A1929;
  --navy-mid:    #0D2137;
  --navy-light:  #112B47;
  --blue:        #1971F5;
  --blue-hover:  #0052D9;
  --blue-glow:   rgba(25,113,245,0.18);
  --gold:        #C9A94A;
  --white:       #FFFFFF;
  --off-white:   #F5F8FC;
  --gray-100:    #EDF2F8;
  --gray-200:    #D5E0EE;
  --gray-400:    #8BA5C2;
  --gray-600:    #4A6580;
  --text:        #0A1929;
  --text-muted:  #5C7A96;
  --green:       #0E9F6E;
  --whatsapp:    #7B2FBE;
  --font-serif:  'Manrope', system-ui, -apple-system, sans-serif;
  --font-sans:   'Manrope', system-ui, -apple-system, sans-serif;
  --font-display:'Oswald', 'Manrope', system-ui, -apple-system, sans-serif;
  --font-strict: 'Oswald', 'Manrope', system-ui, -apple-system, sans-serif;
  --shadow-sm:   0 2px 8px rgba(10,25,41,0.08);
  --shadow-md:   0 8px 28px rgba(10,25,41,0.12);
  --shadow-lg:   0 20px 60px rgba(10,25,41,0.18);
  --shadow-xl:   0 32px 80px rgba(10,25,41,0.22);
  --radius:      12px;
  --radius-lg:   20px;
  --nav-h:       72px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══ UTILITIES ═══ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container--sm { max-width: 860px; }
.section { padding: 100px 0; }
.section--dark { background: var(--navy); }
.section--gray { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-glow);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-tag--light { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-title--light {
  font-size: clamp(21px, 2.6vw, 33px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.22;
  letter-spacing: -0.01em;
  background: linear-gradient(105deg, #ffffff 40%, rgba(255,255,255,0.25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 640px; margin: 0 auto; }
.section-sub--light { color: rgba(255,255,255,0.65); }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(25,113,245,0.35);
}
.btn--primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 6px 28px rgba(25,113,245,0.45);
  transform: translateY(-1px);
}
.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(123,47,190,0.35);
}
.btn--whatsapp:hover {
  background: #6B20AE;
  box-shadow: 0 6px 28px rgba(123,47,190,0.45);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn--ghost:hover {
  border-color: var(--navy);
  background: var(--gray-100);
}
.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}
.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(10,25,41,0.10);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.3s;
  flex-shrink: 0;
}
.nav.scrolled .nav__logo { color: var(--navy); }
.nav__logo-img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease);
  display: block;
}
.nav.scrolled .nav__logo-img { filter: none; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.nav.scrolled .nav__links a { color: var(--gray-600); }
.nav.scrolled .nav__links a:hover { color: var(--navy); background: var(--gray-100); }
.nav__cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-size: 13px !important;
  padding: 9px 20px !important;
  box-shadow: 0 2px 12px rgba(25,113,245,0.3);
}
.nav__cta:hover { background: var(--blue-hover) !important; box-shadow: 0 4px 16px rgba(25,113,245,0.4) !important; transform: none; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav.scrolled .nav__burger span { background: var(--navy); }
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 60%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,25,41,0.88) 0%, rgba(10,25,41,0.55) 60%, rgba(10,25,41,0.3) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 32px 80px;
  width: 100%;
}
/* надпись героя = затемнённое матовое стекло (glassmorphism поверх фото) */
.hero__panel {
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(560px, 100%);
  padding: 0;
  margin-bottom: 36px;
  transition: transform 0.3s ease-out;
  will-change: transform;
}
.hero__panel .hero__subtitle { margin-bottom: 0; }


.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.08);
}
.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero__title {
  font-family: var(--font-strict);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.12;
  letter-spacing: 0.01em;
  background: linear-gradient(105deg, #ffffff 40%, rgba(255,255,255,0.25) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 28px;
  max-width: 820px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 40px;
}
.hero__subtitle strong { color: rgba(255,255,255,0.95); font-weight: 600; }
.hero__subtitle strong.hero__gold-text { color: var(--gold); }
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 20px 32px;
  width: fit-content;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.hero__stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.hero__stat span:first-child,
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.hero__stat-stars { font-size: 20px; color: var(--gold); }
.hero__stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.5px; }
/* Hero brand logos strip */
.hero__brand-logos {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 10px 24px;
  width: fit-content;
}
.hero__brand-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  display: block;
}
.hero__brand-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  margin: 0 24px;
  flex-shrink: 0;
}

.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.hero__scroll:hover { color: rgba(255,255,255,0.9); }
.hero__scroll-icon { animation: bounce 2.2s ease-in-out infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ═══ HERO PORTRAIT ═══ */
.hero__portrait-wrap {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 28%;
  z-index: 1;
  pointer-events: none;
}
.hero__portrait-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}
.hero__portrait-wrap::before { display: none; }
.hero__portrait-wrap::after { display: none; }

/* ═══ ABOUT ═══ */
.about__grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}
.about__visual { position: relative; }
.about__photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
  aspect-ratio: 8/5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  --mx: 50%;
  --my: 50%;
  transition: transform 0.15s ease-out, box-shadow 0.3s;
  will-change: transform;
}
.about__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255,255,255,0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  mix-blend-mode: overlay;
}
.about__photo-frame:hover::after { opacity: 1; }
.about__photo-frame:hover { box-shadow: var(--shadow-xl); }
.about__photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.35);
}
.about__photo-placeholder span { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.about__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about__cert {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  line-height: 1.4;
  border: 1px solid var(--gray-200);
}
.about__cert svg { color: var(--blue); flex-shrink: 0; }
.about__content {}
.about__lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
}
.about__list svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.about__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══ BENEFITS ═══ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.benefit-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(25,113,245,0.3);
  transform: translateY(-4px);
}
.benefit-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(25,113,245,0.38), rgba(25,113,245,0.08));
  border: 1px solid rgba(25,113,245,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -7px 10px rgba(0,0,0,0.28),
    0 6px 16px rgba(25,113,245,0.22);
  transform: perspective(600px) rotateX(0deg) translateZ(0);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
}
.benefit-card:hover .benefit-card__icon {
  background: linear-gradient(155deg, rgba(25,113,245,0.55), rgba(25,113,245,0.14));
  transform: perspective(600px) rotateX(-14deg) translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -7px 10px rgba(0,0,0,0.32),
    0 14px 26px rgba(25,113,245,0.35);
}
.benefit-card h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ═══ PROGRAMS ═══ */
.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.program-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gray-400);
}
.program-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}
.program-card--featured:hover { box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg); }
.program-card--dark {
  background: var(--navy);
  border-color: transparent;
}
.program-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.program-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--gray-600);
}
.program-card__tag--blue { background: rgba(25,113,245,0.1); color: var(--blue); }
.program-card__tag--green { background: rgba(14,159,110,0.1); color: var(--green); }
.program-card__tag--gold { background: rgba(201,169,74,0.15); color: var(--gold); }

/* фото-обложка карточки: дуотон-градиент поверх фото + тег-пилюля внахлёст, приём с isiarussia.ru */
.program-card__photo {
  position: relative;
  height: 210px;
  margin: -36px -32px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background-size: cover;
  background-position: center 18%; /* фото портретные -- центр по умолчанию обрезал лица */
}
.program-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(10,25,41,0) 30%, rgba(25,113,245,0.22) 100%);
}
.program-card__photo--green::after { background: linear-gradient(165deg, rgba(10,25,41,0) 30%, rgba(14,159,110,0.22) 100%); }
.program-card__photo--gold::after { background: linear-gradient(165deg, rgba(10,25,41,0.05) 30%, rgba(201,169,74,0.28) 100%); }
.program-card__photo .program-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
}
.program-card__emoji { font-size: 28px; line-height: 1; }
.program-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.program-card--dark h3 { color: var(--white); }
.program-card > p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; }
.program-card--dark > p { color: rgba(255,255,255,0.55); }
.program-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex-grow: 1; }
.program-card__features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--gray-600); line-height: 1.4; }
.program-card__features li svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.program-card__features--light li { color: rgba(255,255,255,0.65); }
.program-card__features--light li svg { color: rgba(255,255,255,0.45); }
.program-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.program-card--dark .program-card__footer { border-color: rgba(255,255,255,0.1); }
.program-card__price { display: flex; flex-direction: column; gap: 2px; }
.price-row { display: flex; align-items: baseline; gap: 4px; }
.price { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.program-card--dark .price { color: var(--white); }
.price-unit { font-size: 13px; color: var(--text-muted); }
/* уточнение, что это тариф ГЛК, а не оплата лично инструктору */
.price-tariff { font-size: 11px; color: var(--text-muted); }

/* ═══ PAYMENT ═══ */
.payment { background: linear-gradient(180deg, #EAF1FB 0%, #F5F8FC 100%); }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.trust-badge svg { flex-shrink: 0; color: var(--blue); }
.pay-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
}
.pay-field { margin-bottom: 24px; }
.pay-field--hidden { display: none; }
.pay-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-option { position: relative; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.pay-option:hover .pay-option__box { border-color: var(--gray-400); }
.pay-option input:checked + .pay-option__box {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 6px 18px var(--blue-glow);
  background: rgba(25,113,245,0.03);
}
.pay-option input:focus-visible + .pay-option__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.pay-option__name { font-size: 14px; font-weight: 600; color: var(--navy); }
.pay-option__price { font-size: 13px; color: var(--text-muted); }
.pay-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.pay-stepper__btn {
  width: 48px;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  background: var(--off-white);
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.pay-stepper__btn:hover { background: var(--gray-100); }
.pay-stepper__btn:active { background: var(--gray-200); }
.pay-stepper input {
  width: 64px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  border: none;
  border-left: 1.5px solid var(--gray-200);
  border-right: 1.5px solid var(--gray-200);
  background: var(--white);
  pointer-events: none;
}
#payCustom {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
#payCustom:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.pay-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--gray-100);
}
.pay-total__label { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.pay-total__value { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.pay-submit { margin-top: 4px; }

/* ═══ GALLERY ═══ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 320px 320px;
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-200);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--video { background: var(--gray-200); grid-column: span 2; } /* 2 фото + видео на всю нижнюю строку */
.gallery__item--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══ REVIEWS ═══ */
.reviews__wrap { position: relative; }
.reviews__carousel { overflow: hidden; border-radius: var(--radius-lg); }
.reviews__track {
  display: flex;
  transition: transform 0.55s var(--ease);
}
.review-card {
  min-width: 100%;
  padding: 52px 64px;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review-card__stars { font-size: 22px; color: var(--gold); letter-spacing: 2px; }
.review-card > p {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 22px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  max-width: 800px;
}
.review-card__author { display: flex; align-items: center; gap: 16px; }
.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--av-color, var(--blue));
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__author div:last-child { display: flex; flex-direction: column; gap: 2px; }
.review-card__author strong { font-size: 15px; color: var(--navy); }
.review-card__author span { font-size: 13px; color: var(--text-muted); }
.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.reviews__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.reviews__btn:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-md); }
.reviews__dots { display: flex; gap: 8px; }
.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.reviews__dot.active { background: var(--blue); width: 24px; border-radius: 4px; }

/* ═══ FAQ ═══ */
.faq__list { display: flex; flex-direction: column; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); background: var(--white); }
.faq__item { border-bottom: 1px solid var(--gray-100); }
.faq__item:last-child { border-bottom: none; }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s, background 0.2s;
  background: var(--white);
}
.faq__q svg { flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--gray-400); }
.faq__q:hover { color: var(--blue); background: var(--off-white); }
.faq__item.open .faq__q { color: var(--blue); background: var(--off-white); }
.faq__item.open .faq__q svg { transform: rotate(180deg); color: var(--blue); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq__item.open .faq__a { max-height: 300px; }
.faq__a p { padding: 0 28px 22px; font-size: 15px; color: var(--text-muted); line-height: 1.75; }

.faq__item--shops.open .faq__a { max-height: 1400px; }
.shop-list { display: flex; flex-direction: column; gap: 10px; padding: 4px 28px 24px; }
.shop-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.shop-link:hover { border-color: var(--blue); background: var(--off-white); transform: translateX(2px); }
.shop-link__name { font-size: 14px; font-weight: 700; color: var(--navy); }
.shop-link__note { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.shop-link--placeholder { border-style: dashed; cursor: default; }
.shop-link--placeholder:hover { border-color: var(--gray-200); background: none; transform: none; }
.shop-link--placeholder .shop-link__name { color: var(--gray-400); }

/* ═══ CTA SECTION ═══ */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,25,41,0.82), rgba(10,25,41,0.88));
}
.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.cta-section__content h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  background: linear-gradient(105deg, #ffffff 50%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
  margin: 20px 0 16px;
}
.cta-section__content p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-section__content .hero__btns { justify-content: center; }

/* ═══ CONTACT ═══ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact__grid > * { min-width: 0; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.2s var(--ease);
}
.contact-item:hover { border-color: var(--gray-400); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: background 0.2s;
}
.contact-item--max .contact-item__icon { background: rgba(123,47,190,0.1); color: var(--whatsapp); }
.contact-item div:last-child { display: flex; flex-direction: column; gap: 2px; }
.contact-item span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item strong { font-size: 15px; color: var(--navy); font-weight: 600; }
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
}
.contact__map-frame { display: block; width: 100%; }
.contact__map-route {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  transition: background 0.2s;
}
.contact__map-route:hover { background: var(--gray-100); }

.contact__form {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.contact__form h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form__group label { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.3px; }
.form__group input,
.form__group select,
.form__group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--gray-400); }
.form__group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238BA5C2' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.form__group textarea { resize: none; line-height: 1.6; }
.form__note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.form__success {
  position: absolute;
  inset: 0;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
}
.form__success.show { display: flex; }
.form__success h4 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.form__success p { font-size: 16px; color: var(--text-muted); }

/* ── РЕГИСТРАЦИЯ / ВХОД + ЗАПИСЬ С ПРЕДОПЛАТОЙ ── */
.contact__forms { min-width: 0; }
.contact__form[hidden], .form__group[hidden], .mybookings[hidden] { display: none !important; }
.auth__lead { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: -4px 0 20px; }
.auth__lead strong { color: var(--navy); }
.auth__tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 20px; background: var(--gray-100); border-radius: 12px; }
.auth__tab {
  flex: 1; padding: 10px 14px; border: 0; border-radius: 9px; background: transparent;
  font: 600 14px var(--font-body, inherit); color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.auth__tab.active { background: var(--white); color: var(--navy); box-shadow: 0 1px 4px rgba(10,25,41,0.12); }
.auth__error { min-height: 20px; margin: 0 0 10px; font-size: 13px; line-height: 1.4; color: #e02424; }
.auth__who { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -4px 0 20px; font-size: 14px; color: var(--text-muted); }
.auth__who strong { color: var(--navy); }
.auth__link { border: 0; background: none; padding: 0; font: 600 13px var(--font-body, inherit); color: var(--blue, #1971f5); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.auth__link:disabled { opacity: 0.5; cursor: default; }
.pay-note {
  margin: 4px 0 14px; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.55;
  color: var(--navy); background: rgba(201,169,74,0.14); border: 1px solid rgba(201,169,74,0.4);
}
.pay-note a { color: inherit; font-weight: 600; white-space: nowrap; }
.pay-code { display: inline-block; padding: 2px 10px; border-radius: 8px; background: var(--gray-100); letter-spacing: 0.12em; font-size: 18px; color: var(--navy); }
.form__success .btn { margin-top: 4px; }
.mybookings { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.mybookings h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.mybookings ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mybookings li { padding: 14px 16px; border: 1.5px solid var(--gray-200); border-radius: 12px; background: var(--white); }
.mybookings__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mybookings__head strong { color: var(--navy); }
.mybookings__badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: rgba(201,169,74,0.18); color: #8a6d1a; }
.mybookings__badge--ok { background: rgba(14,159,110,0.12); color: var(--green); }
.mybookings__info { margin: 8px 0 10px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }

/* ── МИНИ-ЧАТ (скриншот чека) ── */
.chat[hidden], .chat__panel[hidden], .chat__badge[hidden] { display: none !important; }
.chat { margin-top: 16px; background: var(--off-white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.chat__toggle {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 16px 20px; border: 0; background: transparent;
  font: 600 15px var(--font-body, inherit); color: var(--navy); cursor: pointer; text-align: left;
}
.chat__toggle svg { color: var(--blue, #1971f5); flex-shrink: 0; }
.chat__toggle span { flex: 1; }
.chat__badge { font-style: normal; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-radius: 100px; background: #e02424; color: #fff; }
.chat__panel { padding: 0 20px 18px; }
.chat__log { height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; margin-bottom: 10px; border-radius: 12px; background: var(--white); border: 1px solid var(--gray-200); }
.chat__empty { margin: auto; text-align: center; font-size: 13px; color: var(--text-muted); max-width: 260px; line-height: 1.5; }
.chat__msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; word-wrap: break-word; overflow-wrap: anywhere; }
.chat__msg p { margin: 0; white-space: pre-wrap; }
.chat__msg time { display: block; margin-top: 4px; font-size: 11px; opacity: 0.6; }
.chat__msg img { display: block; max-width: 100%; max-height: 220px; border-radius: 10px; margin-bottom: 6px; }
.chat__msg--user { align-self: flex-end; background: var(--blue, #1971f5); color: #fff; border-bottom-right-radius: 4px; }
.chat__msg--admin { align-self: flex-start; background: var(--gray-100); color: var(--navy); border-bottom-left-radius: 4px; }
.chat__form { display: flex; gap: 8px; align-items: center; }
.chat__form input[type="text"] { flex: 1; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 12px; font: 15px var(--font-body, inherit); background: var(--white); color: var(--navy); }
.chat__form input[type="text"]:focus { outline: none; border-color: var(--blue, #1971f5); }
.chat__attach { flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1.5px solid var(--gray-200); background: var(--white); color: var(--navy); cursor: pointer; transition: border-color 0.2s; }
.chat__attach:hover { border-color: var(--blue, #1971f5); }
.chat__form .btn { padding: 12px 18px; }
@media (max-width: 480px) { .chat__form .btn { padding: 12px 14px; } .chat__log { height: 240px; } }

/* ── BOOKING WIDGET (day + hour picker) ── */
.booking {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.2s var(--ease);
}
.booking__months { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.booking__months::-webkit-scrollbar { display: none; }
.booking__month {
  flex-shrink: 0; padding: 8px 16px; border: 1.5px solid var(--gray-200); border-radius: 100px; background: var(--white);
  font: 600 13px var(--font-body, inherit); color: var(--navy); cursor: pointer; transition: all 0.2s;
}
.booking__month:hover { border-color: var(--gray-400); }
.booking__month.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.booking__days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.booking__days::-webkit-scrollbar { height: 5px; }
.booking__days::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }
.booking__day {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 52px;
  padding: 8px 4px 9px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.booking__day:hover { border-color: var(--gray-400); }
.booking__day.active {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 6px 18px var(--blue-glow);
}
.booking__day-wd { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.booking__day-num { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.booking__day-mo { font-size: 11px; color: var(--text-muted); }
.booking__day.active .booking__day-wd,
.booking__day.active .booking__day-num,
.booking__day.active .booking__day-mo { color: var(--white); }
.booking__slots { display: flex; flex-wrap: wrap; gap: 8px; }
.booking__slot {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.booking__slot:hover:not(:disabled) { border-color: var(--gray-400); }
.booking__slot.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px var(--blue-glow);
}
.booking__slot:disabled { color: var(--gray-400); background: var(--gray-100); border-color: var(--gray-100); cursor: not-allowed; text-decoration: line-through; }
.booking__slot--booked { text-decoration: none; }
.booking__loading { font-size: 13px; color: var(--text-muted); }
.booking__custom { margin-top: 8px; }
.booking__custom-toggle {
  padding: 0; border: none; background: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--blue);
}
.booking__custom-toggle:hover { text-decoration: underline; }
.booking__custom-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.booking__custom-row input[type="time"] {
  padding: 8px 10px; font-size: 14px; font-weight: 600; color: var(--navy);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius); background: var(--white);
}
.booking__custom-row input[type="time"]:focus { outline: none; border-color: var(--blue); }
.booking__hint { font-size: 13px; color: var(--text-muted); margin: 10px 0 0; }
.booking__hint--ok { color: var(--green); font-weight: 600; }
.booking__free-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(201,169,74,0.12);
  padding: 6px 12px;
  border-radius: 100px;
  margin: 8px 0 0;
  animation: free-count-pulse 2.2s ease-in-out infinite;
}
.booking__free-count:empty { display: none; animation: none; }
.booking__free-count--low {
  color: var(--red, #e02424);
  background: rgba(224,36,36,0.1);
  animation: free-count-pulse-low 1.1s ease-in-out infinite;
}
@keyframes free-count-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,74,0.35); }
  50% { box-shadow: 0 0 0 7px rgba(201,169,74,0); }
}
@keyframes free-count-pulse-low {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,36,36,0.4); }
  50% { box-shadow: 0 0 0 7px rgba(224,36,36,0); }
}

/* ── Расписание занятий: read-only сетка дек-март, выходные (пн) + занятые дни ── */
.schedule {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 18px;
}
.schedule__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.schedule__legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.schedule__legend-item { display: inline-flex; align-items: center; gap: 6px; }
.schedule__dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.schedule__dot--off { background: var(--gray-200); }
.schedule__dot--full { background: rgba(230,57,70,0.75); }
.schedule__months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.schedule__month { min-width: 0; }
.schedule__month-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: capitalize;
  margin: 0 0 8px;
}
.schedule__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.schedule__wd {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 3px;
}
.schedule__cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
  background: var(--off-white);
}
.schedule__cell--empty { background: transparent; }
.schedule__cell--off { background: var(--gray-100); color: var(--gray-400); }
.schedule__cell--full { background: rgba(230,57,70,0.1); color: #c02233; text-decoration: line-through; }
.schedule__cell--past { opacity: 0.4; }

/* ═══ FOOTER ═══ */
.footer { background: var(--navy); padding: 80px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer__brand-logo-link { display: inline-block; margin-bottom: 16px; }
.footer__logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.2s;
  display: block;
}
.footer__logo-img:hover { opacity: 1; }
.footer__brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; margin-bottom: 20px; }
.footer__partner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__partner span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.footer__partner-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.2s;
  display: block;
}
.footer__partner-img:hover { opacity: 0.9; }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 12px; }
.footer__nav h4, .footer__contacts h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.footer__nav a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__nav a:hover { color: var(--white); }
.footer__contacts a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.footer__contacts a:hover { color: var(--white); }
.footer__contacts svg { flex-shrink: 0; opacity: 0.6; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
/* ═══ RESOURCES (магазины / сервис — вынесено с главной, чтобы не терялось в FAQ) ═══ */
.resources { padding: 48px 0 8px; }
.resources__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.resource-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.resource-card:hover { border-color: var(--gray-400); box-shadow: var(--shadow-sm); }
.resource-card__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  text-align: left;
  background: none;
}
.resource-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(25,113,245,0.16), rgba(25,113,245,0.04));
  border: 1px solid rgba(25,113,245,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 10px rgba(25,113,245,0.12);
  transition: transform 0.3s var(--ease);
}
.resource-card__icon--gold {
  background: linear-gradient(155deg, rgba(201,169,74,0.18), rgba(201,169,74,0.05));
  border-color: rgba(201,169,74,0.3);
  color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 10px rgba(201,169,74,0.15);
}
.resource-card__toggle:hover .resource-card__icon { transform: translateY(-2px) scale(1.04); }
.resource-card__text { flex: 1; min-width: 0; }
.resource-card__text h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.resource-card__text p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.resource-card__chevron { flex-shrink: 0; color: var(--gray-400); transition: transform 0.3s var(--ease), color 0.2s; }
.resource-card.open .resource-card__chevron { transform: rotate(180deg); color: var(--blue); }
.resource-card__body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.resource-card.open .resource-card__body { max-height: 3000px; }
.resource-card__body .shop-list { padding: 4px 24px 22px; }

.service-intro { padding: 4px 24px 20px; }
.service-intro__photo {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.service-intro p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.equipment-note {
  margin: 0 24px 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(201,169,74,0.08);
  border: 1px solid rgba(201,169,74,0.25);
}
.equipment-note__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.equipment-note p { font-size: 13px; color: var(--navy); line-height: 1.6; opacity: 0.85; }
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 24px 24px;
}
.equipment-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.equipment-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.equipment-card img { width: 100%; height: 140px; object-fit: contain; background: var(--off-white); display: block; }
.equipment-card h4 { font-size: 13px; font-weight: 700; color: var(--navy); padding: 10px 12px 2px; }
.equipment-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; padding: 0 12px 12px; }

@media (max-width: 720px) {
  .resources__grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr 1fr; }
}

.footer__bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer__visits strong { color: rgba(255,255,255,0.55); font-weight: 600; }
.footer__bottom a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer__bottom a:hover { color: var(--white); }
.form__note a { color: var(--blue); text-decoration: none; }
.form__note a:hover { text-decoration: underline; }

/* ═══ WHATSAPP FLOAT ═══ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(123,47,190,0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(123,47,190,0.6); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(123,47,190,0.3);
  animation: pulse-ring 2.5s ease-in-out infinite;
}
@keyframes pulse-ring { 0%,100%{transform:scale(1);opacity:0.6} 50%{transform:scale(1.15);opacity:0} }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1200px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { display: flex; flex-direction: column; align-items: center; }
  .about__photo-frame { max-width: 380px; width: 100%; }
  .about__cert { position: static; margin-top: -40px; align-self: flex-end; margin-right: 20px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .section-header { margin-bottom: 48px; }

  .hero__portrait-wrap { width: 60%; opacity: 0.4; }
  .hero__portrait-wrap::before { width: 80%; }

  .nav__links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(10,25,41,0.97); backdrop-filter: blur(16px); flex-direction: column; gap: 0; padding: 16px 0 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav.scrolled .nav__links { background: rgba(255,255,255,0.98); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 24px; color: rgba(255,255,255,0.85); border-radius: 0; font-size: 16px; }
  .nav.scrolled .nav__links a { color: var(--navy); }
  .nav__links .nav__cta { margin: 8px 24px 0; border-radius: var(--radius) !important; text-align: center; justify-content: center; }
  .nav__burger { display: flex; }

  .hero__panel { width: 100%; max-width: 100%; padding: 0; margin-bottom: 28px; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 16px 20px; gap: 0; }
  .hero__stat { padding: 8px 16px; }
  .hero__stat-div { width: 1px; height: 32px; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { justify-content: center; }

  .benefits__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .benefit-card { padding: 24px 20px; }

  .programs__grid { grid-template-columns: 1fr; gap: 16px; }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery__item--tall, .gallery__item--wide { grid-row: auto; grid-column: auto; }
  .gallery__grid .gallery__item { aspect-ratio: 4/3; }

  .review-card { padding: 36px 28px; }

  .about__photo-frame { max-width: 300px; }
  .about__cert { margin-top: -20px; }

  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 24px; }

  .pay-card { padding: 28px 22px; }
  .pay-options { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(30px, 8vw, 40px); }
  .hero__portrait-wrap { display: none; }
  .benefits__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--video { grid-column: auto; }
  .hero__stats { width: 100%; }
  .hero__stat { flex: 1; padding: 8px 12px; }
  .hero__stat-div { height: 28px; }
  .about__cert { position: static; margin: 16px auto 0; }
}

/* ═══════════════════════════════════════════════════════════
   АТМОСФЕРА И ГРАФИКА (v2) — альпийский слой поверх базы
   ═══════════════════════════════════════════════════════════ */

/* ── Тонкое зерно поверх всей страницы: премиальная матовость ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── HERO: мягкое сияние (синий + золото) за стеклянной панелью ── */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(680px 440px at 24% 40%, rgba(25,113,245,0.30), transparent 68%),
    radial-gradient(540px 380px at 84% 80%, rgba(201,169,74,0.16), transparent 70%);
  transition: transform 0.4s ease-out;
  will-change: transform;
}

/* ── HERO: читаемость текста на почти прозрачной панели ── */
.hero__panel .hero__title { filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6)); }
.hero__panel .hero__subtitle { text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.hero__panel .hero__badge { text-shadow: 0 1px 5px rgba(0,0,0,0.45); }

/* ── HERO: текст на прозрачном ски-пассе (пластиковая карта-стекло) ── */
.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px 96px;
  width: min(820px, 100%);
  max-width: 100%;
  aspect-ratio: 1.68 / 1; /* вытянутая карта, как у настоящего ски-пасса */
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.38);
  background:
    linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 38%, transparent 46%),
    linear-gradient(135deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.05) 45%, rgba(255,255,255,0.11) 100%);
  -webkit-backdrop-filter: blur(5px) saturate(1.15);
  backdrop-filter: blur(5px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 24px 60px rgba(4,12,24,0.35);
}
/* прорезь для шнурка */
.hero__panel::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: 64px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: rgba(10,25,41,0.55);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.4);
}
/* штрихкод */
.hero__panel::after {
  content: '';
  position: absolute;
  left: 44px;
  bottom: 46px;
  width: min(200px, 60%);
  height: 28px;
  opacity: 0.55;
  background:
    repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px),
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 17px);
}
/* номер под штрихкодом */
.hero__pass-number {
  position: absolute;
  left: 44px;
  bottom: 22px;
  width: min(200px, 60%);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  white-space: nowrap;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  text-shadow: 0 1px 5px rgba(0,0,0,0.45);
  transition: color 0.2s;
}
.hero__pass-number:hover { color: #fff; }
/* ── снеговик-лыжник, скользящий по низу карты ── */
.hero__flakes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.hero__panel > .hero__badge,
.hero__panel > .hero__title,
.hero__panel > .hero__subtitle { position: relative; z-index: 1; }
.hero__badge-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.5);
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.hero__badge-link:hover { color: var(--gold); text-decoration-color: var(--gold); }

.hero__snowflake {
  position: absolute;
  bottom: 6px;
  right: 14px;
  width: 152px;
  height: 152px;
  filter: drop-shadow(0 4px 10px rgba(4,12,24,0.35));
}
.snowflake__svg { display: block; overflow: visible; }
.snowflake__crystal {
  transform-origin: 50px 50px;
  animation: flake-sway 3.6s ease-in-out infinite alternate;
}
@keyframes flake-sway {
  from { transform: rotate(-9deg); }
  to   { transform: rotate(9deg); }
}
@media (max-width: 1024px) {
  .hero__snowflake { width: 112px; height: 112px; right: 10px; bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .snowflake__crystal { animation: none; }
}

/* надпись на карте */
.hero__pass-brand {
  position: absolute;
  top: 15px;
  right: 26px;
  font-family: var(--font-strict);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 5px rgba(0,0,0,0.45);
  pointer-events: none;
}
@media (max-width: 1024px) {
  .hero__panel { padding: 44px 22px 128px; aspect-ratio: auto; justify-content: flex-start; }
  .hero__panel::after, .hero__pass-number { left: 22px; }
  .hero__panel::after { bottom: 78px; }
  .hero__pass-number { bottom: 54px; }
  .hero__pass-brand { right: 20px; }
}

/* ── ТЁМНАЯ СЕКЦИЯ: силуэт горного хребта + объёмное свечение ── */
.section--dark { position: relative; }
.section--dark > .container { position: relative; z-index: 2; }
/* свечение по углам — глубина за карточками */
.benefits::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 400px at 80% 6%, rgba(25,113,245,0.20), transparent 64%),
    radial-gradient(560px 340px at 10% 96%, rgba(201,169,74,0.10), transparent 66%);
}
/* ── ПРОГРАММЫ: акцент на рекомендуемой карточке ── */
.program-card--featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FF 100%);
  box-shadow: 0 0 0 1px var(--blue), 0 18px 50px rgba(25,113,245,0.18);
  transform: translateY(-6px);
}
.program-card--featured:hover {
  box-shadow: 0 0 0 1px var(--blue), 0 26px 64px rgba(25,113,245,0.26);
  transform: translateY(-12px);
}
/* тёмная эксклюзив-карточка: глубина + тёплое золотое свечение */
.program-card--dark {
  position: relative;
  overflow: hidden;
  background: radial-gradient(130% 130% at 100% 0, #133056 0%, var(--navy) 60%);
}
.program-card--dark::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 80%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201,169,74,0.22), transparent 70%);
}
.program-card--dark > * { position: relative; z-index: 1; }

/* ── КНОПКА: блик-«скольжение» при наведении ── */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  pointer-events: none;
  transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.38), transparent);
  transition: left 0.6s var(--ease);
}
.btn--primary:hover::after { left: 150%; }
.btn--primary > * { position: relative; z-index: 1; }

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__img { transform: none !important; }
  .hero__panel, .hero__aurora, .about__photo-frame, .benefit-card__icon { transform: none !important; }
  .btn--primary::after { display: none !important; }
}
