/* ============================================================
   playpaedel73 — дизайн-система
   Светлая тема · акцент #8DA31F · природно-спортивная палитра
   ============================================================ */

:root {
  /* — Акцент и природная палитра — */
  --accent: #8da31f;            /* основной лайм-оливковый */
  --accent-rgb: 141, 163, 31;
  --accent-deep: #5f7016;       /* затемнённый акцент (текст по лайму) */
  --accent-bright: #b6d62b;     /* энергичный яркий лайм */
  --forest: #243413;            /* глубокий лесной зелёный */
  --forest-soft: #36502099;
  --sand: #f1ecdd;             /* тёплый песочный */
  --sand-deep: #e6dec8;
  --clay: #d98a4e;             /* тёплый глиняный акцент (точечно) */

  /* — Фоны — */
  --bg: #fbfaf5;               /* тёплый off-white */
  --bg-card: #ffffff;
  --bg-tint: #f4f2e9;          /* блок-секции */
  --bg-forest: #1d2a10;        /* тёмные секции */

  /* — Текст — */
  --ink: #181d0e;
  --ink-soft: #4d5440;
  --ink-mute: #7a8068;
  --on-dark: #f3f4ea;
  --on-dark-mute: #b8c0a2;

  /* — Линии — */
  --line: #e7e3d4;
  --line-strong: #d3cdb8;

  /* — Радиус (управляется Tweaks) — */
  --radius: 25px;
  --radius-lg: calc(var(--radius) + 9px);
  --radius-sm: calc(var(--radius) * 0.52);

  /* — Шрифты (управляются Tweaks) — */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* — Тени — */
  --shadow-sm: 0 2px 8px rgba(36, 52, 19, .06);
  --shadow-md: 0 14px 40px -16px rgba(36, 52, 19, .28);
  --shadow-lg: 0 40px 80px -30px rgba(36, 52, 19, .42);
  --shadow-accent: 0 16px 38px -14px rgba(var(--accent-rgb), .55);

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* — Условный display-шрифт под Oswald (condensed): чуть другие метрики — */
:root[data-display="Oswald"] h1,
:root[data-display="Oswald"] h2,
:root[data-display="Oswald"] h3 { letter-spacing: 0; line-height: 0.98; text-transform: uppercase; }
:root[data-display="Oswald"] .eyebrow { letter-spacing: .22em; }

/* ============================================================
   Утилиты компоновки
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.section { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.section--tint { background: var(--bg-tint); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--bg-forest); color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.section--forest .eyebrow { color: var(--accent-bright); }
.eyebrow::before {
  content: ""; width: 22px; height: 3px; border-radius: 2px;
  background: var(--accent); display: inline-block;
}

.h-display { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.h-xl { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }
.section--forest .lead { color: var(--on-dark-mute); }

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 { margin-bottom: 20px; }

.accent-text { color: var(--accent-deep); }
.section--forest .accent-text { color: var(--accent-bright); }

/* ============================================================
   Кнопки — радиус 25px (var --radius)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .25s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: var(--accent);
  color: #1a2106;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(var(--accent-rgb), .7); }

.btn--dark { background: var(--forest); color: var(--on-dark); }
.btn--dark:hover { background: #2f441b; transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: rgba(var(--accent-rgb), .06); }

.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius);
  background: rgba(var(--accent-rgb), .12); color: var(--accent-deep);
  font-size: 13px; font-weight: 700;
}

/* ============================================================
   Шапка (Orion-style: логотип — меню — кнопка)
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(251, 250, 245, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(36,52,19,.5);
}
.header__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 18px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding .3s;
}
.header.is-stuck .header__inner { padding-block: 12px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; justify-content: center; flex-wrap: nowrap; }
.nav a {
  font-weight: 600; font-size: 15px; color: var(--ink-soft);
  padding: 9px 15px; border-radius: var(--radius);
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--accent-deep); background: rgba(var(--accent-rgb), .09); }

/* «Ещё»: пункты, которым не хватило ширины (переносит JS) */
.nav-more { position: relative; flex: none; }
.nav-more__btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  color: var(--ink-soft); background: transparent; border: 0;
  padding: 9px 12px; border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav-more__btn:hover { color: var(--accent-deep); background: rgba(var(--accent-rgb), .09); }
.nav-more__btn[aria-expanded="true"] { color: var(--accent-deep); background: rgba(var(--accent-rgb), .09); }
.nav-more__chevron { width: 14px; height: 14px; flex: none; transition: transform .2s; }
.nav-more__btn[aria-expanded="true"] .nav-more__chevron { transform: rotate(180deg); }
.nav-more__list {
  position: absolute; top: calc(100% + 10px); right: 0;
  display: none; flex-direction: column; gap: 2px;
  min-width: 200px; padding: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md);
  z-index: 130;
}
.nav-more.is-open .nav-more__list { display: flex; }
.nav-more__list a {
  padding: 9px 12px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--ink-soft);
  white-space: nowrap;
}
.nav-more__list a:hover { color: var(--accent-deep); background: rgba(var(--accent-rgb), .09); }

.header__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone { font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; }
.header__phone:hover { color: var(--accent-deep); }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: var(--radius-sm); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню
   flex-start, а не center: при нехватке высоты меню скроллится
   с самого верха и первый пункт не уезжает под шапку.
   auto-margins на первом/последнем ребёнке центрируют меню,
   только когда место есть. */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(251, 250, 245, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gut) calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .42s cubic-bezier(.5,.05,.2,1), opacity .3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
/* фон страницы не скроллится под открытым меню */
body.menu-open { overflow: hidden; }
/* шапка поверх меню — непрозрачная, чтобы пункты не просвечивали сквозь лого */
body.menu-open .header {
  background: rgba(251, 250, 245, .96);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.mobile-menu > *:first-child { margin-top: auto; }
.mobile-menu > *:last-child { margin-bottom: auto; }
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 8vw, 2.6rem); padding: 12px 0;
  border-bottom: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu a:hover { color: var(--accent-deep); }
.mobile-menu .mm-foot { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }

/* Быстрая связь в мобильном меню: мессенджеры плитками, телефон — кнопкой на всю ширину.
   Селекторы с .mobile-menu: иначе правило .mobile-menu a (крупный шрифт и нижняя граница) перебивает плитки. */
.mobile-menu .mm-msgs { display: flex; flex-wrap: wrap; gap: 10px; }
.mobile-menu .mm-msg {
  flex: 1 1 130px; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 20px;
  background: #fff; color: var(--forest);
  font-family: var(--font-body); font-size: .95rem; font-weight: 700;
  transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .25s, border-color .2s;
}
.mobile-menu .mm-msg:hover { color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.mobile-menu .mm-msg > svg { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.mobile-menu .mm-call {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--line-strong); border-radius: 20px;
  background: #fff; color: var(--forest);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .25s, border-color .2s;
}
.mobile-menu .mm-call:hover { color: var(--forest); transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.mobile-menu .mm-call > svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* низкие экраны: компактнее, чтобы меню влезало без прокрутки */
@media (max-height: 720px) {
  .mobile-menu { padding-top: calc(86px + env(safe-area-inset-top, 0px)); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .mobile-menu a { font-size: clamp(1.35rem, 6.4vw, 2rem); padding: 9px 0; }
  .mobile-menu .mm-foot { margin-top: 20px; gap: 10px; }
  .mobile-menu .mm-msg, .mobile-menu .mm-call { padding: 9px 12px; font-size: .9rem; }
}
@media (max-height: 600px) {
  .mobile-menu a { font-size: clamp(1.15rem, 5.6vw, 1.6rem); padding: 7px 0; }
  .mobile-menu .mm-msg, .mobile-menu .mm-call { padding: 8px 12px; font-size: .85rem; }
}

/* ============================================================
   Логотип
   ============================================================ */
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__img { display: block; height: 58px; width: auto; max-width: none; }
.logo__mark {
  width: 42px; height: 42px; flex: none;
  border-radius: 13px; background: var(--forest);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.logo__mark svg { width: 26px; height: 26px; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__type b {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: -.02em; color: var(--ink);
}
.logo__type b i { color: var(--accent-deep); font-style: normal; }
.logo__type small {
  font-size: 9.5px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink-mute); margin-top: 3px;
}
.header.is-stuck .logo__type b { color: var(--ink); }

/* ============================================================
   HERO + 3D-Теннис
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
#tennis-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 40%, rgba(251,250,245,.30) 0%, rgba(251,250,245,0) 55%),
    linear-gradient(180deg, rgba(29,42,16,.18) 0%, rgba(29,42,16,0) 30%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 88px; }

.hero-card {
  max-width: 720px;
  background: rgba(251, 250, 245, .58);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}
.hero-card .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent-deep); }
.hero__sub { margin-bottom: 32px; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px);
  margin-top: 34px; padding: 22px clamp(20px,3vw,32px);
  background: rgba(29, 42, 16, .42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  max-width: 720px;
}
.hero__stats .st b {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #fff; display: block; line-height: 1;
}
.hero__stats .st span { font-size: 13px; color: var(--on-dark-mute); font-weight: 600; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-cue .mouse {
  width: 24px; height: 38px; border: 2px solid var(--ink-soft); border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 7px; border-radius: 2px; background: var(--accent-deep);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%,100%{opacity:.2; transform:translate(-50%,0)} 50%{opacity:1; transform:translate(-50%,8px)} }

/* Подсказка «листайте»: герой тёмный на всех экранах, поэтому контур и точка светлые —
   иначе подсказка сливается с фоном и её не видно.
   96px снизу = высота подсказки (~64) + её отступ (22) + запас, иначе она наезжает на статистику. */
.hero { padding-bottom: 96px; }
.scroll-cue { bottom: 22px; color: var(--on-dark-mute); }
.scroll-cue .mouse { border-color: rgba(255, 255, 255, .5); }
.scroll-cue .mouse::after { background: var(--accent-bright); }

/* ============================================================
   Карточки / сетки общего назначения
   ============================================================ */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.3,.7,.4,1), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand-deep); }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(var(--accent-rgb), .14); color: var(--accent-deep);
}
.icon-badge svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* «Что такое падл» — split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split__media { position: relative; }
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.feature-list li {
  list-style: none; display: flex; gap: 14px; align-items: flex-start;
  font-weight: 600; color: var(--ink-soft);
}
#ids .feature-list li {
  color: #bebebe;;
}
.feature-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #1a2106; display: grid; place-items: center;
  margin-top: 1px;
}
.feature-list .tick svg { width: 15px; height: 15px; }

/* Галерея кортов — асимметричный бенто */
.cgal { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
.cgal__main { display: flex; flex-direction: column; gap: 16px; }
.cgal__side { display: flex; flex-direction: column; gap: 16px; }
.cgal__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); background: var(--sand-deep); cursor: zoom-in;
  display: block;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.ph:hover img { transform: scale(1.05); }
.ph::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: linear-gradient(180deg, rgba(36,52,19,0) 40%, rgba(36,52,19,.35));
}
.ph:hover::after { opacity: 1; }
.ph .zoom-ic {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(251,250,245,.92); color: var(--forest);
  display: grid; place-items: center; opacity: 0; transform: scale(.8) translateY(6px);
  transition: opacity .25s, transform .25s; box-shadow: var(--shadow-sm);
}
.ph:hover .zoom-ic { opacity: 1; transform: scale(1) translateY(0); }
.ph .zoom-ic svg { width: 18px; height: 18px; }

.cgal__big { aspect-ratio: 16 / 10; }
.cgal__pair .ph { aspect-ratio: 4 / 3; }
.cgal__tall { flex: 1; min-height: 280px; }
.cgal-card {
  background: var(--forest); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: 26px 28px; display: flex; flex-direction: column; gap: 10px;
}
.cgal-card .big-n { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: #fff; }
.cgal-card p { color: var(--on-dark-mute); font-size: .95rem; }
.cgal-card .pill { background: rgba(var(--accent-rgb),.22); color: var(--accent-bright); align-self: flex-start; margin-top: 2px; }

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 4vmin;
  background: rgba(18, 26, 9, .92); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; width: auto; height: auto;
  border-radius: var(--radius-lg); box-shadow: 0 40px 120px rgba(0,0,0,.6);
  transform: scale(.96); transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
.lightbox.open img { transform: scale(1); }
.lb-btn {
  position: absolute; z-index: 2; width: 56px; height: 56px; border-radius: 50%;
  border: 0; background: rgba(251,250,245,.14); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, transform .2s;
  backdrop-filter: blur(6px);
}
.lb-btn:hover { background: rgba(var(--accent-rgb),.9); color: #1a2106; transform: scale(1.06); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-prev { left: 3vmin; } .lb-next { right: 3vmin; }
.lb-close { top: 3vmin; right: 3vmin; width: 48px; height: 48px; }
.lb-count {
  position: absolute; bottom: 3vmin; left: 50%; transform: translateX(-50%);
  color: var(--on-dark-mute); font-weight: 700; font-size: 14px; letter-spacing: .1em;
}
@media (max-width: 720px) {
  .lb-btn { width: 46px; height: 46px; }
  .lb-prev { left: 2vmin; } .lb-next { right: 2vmin; }
}

/* Цены */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .22s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.is-feature { background: var(--forest); color: var(--on-dark); border-color: var(--forest); position: relative; }
.price-card.is-feature .price-amount, .price-card.is-feature h3 { color: #fff; }
.price-card.is-feature .price-row { color: var(--on-dark-mute); border-color: rgba(255,255,255,.12); }
.price-tag-top {
  position: absolute; top: 22px; right: 22px;
  background: var(--accent); color: #1a2106; font-size: 12px; font-weight: 700;
  padding: 6px 13px; border-radius: var(--radius);
}
.price-card h3 { font-size: 1.4rem; }
.price-amount { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--ink); }
.price-amount small { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--ink-mute); }
.price-card.is-feature .price-amount small { color: var(--on-dark-mute); }
.price-rows { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.price-row { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row .dot { color: var(--accent-deep); flex: none; }
.price-card .btn { margin-top: auto; }

/* Тренеры */
.coach-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .25s; }
.coach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.coach-card .c-photo { width: 100%; height: 550px; overflow: hidden; background: var(--sand-deep); }
.coach-card .c-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.coach-card:hover .c-photo img { transform: scale(1.05); }
.coach-card .c-body { padding: 22px 24px 26px; }
.coach-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.coach-card .c-role { color: var(--accent-deep); font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.coach-card .c-meta { display: flex; gap: 16px; margin-top: 14px; font-size: .85rem; color: var(--ink-mute); font-weight: 600; }

/* Дети / Адреналин */
.kids { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,4vw,60px); align-items: center; }
.kids__media image-slot { width: 100%; height: 440px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem;
}
.section--forest .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--on-dark); }
.chip svg { width: 16px; height: 16px; color: var(--accent); }

/* Шаги бронирования */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: st; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section:not(.section--forest) .step { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .95rem; }
.section--forest .step p { color: var(--on-dark-mute); }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; }
.review .stars { color: var(--accent); display: flex; gap: 3px; }
.review .stars svg { width: 17px; height: 17px; }
.review p { font-size: 1.02rem; color: var(--ink); line-height: 1.55; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .ava { width: 44px; height: 44px; border-radius: 50%; background: var(--sand-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--forest); }
.review .who b { display: block; font-size: .95rem; }
.review .who span { font-size: .82rem; color: var(--ink-mute); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.32rem); color: var(--ink); line-height: 1.2;
}
.faq-q .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: .25s; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.faq-q .ic::before { width: 13px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 13px; transition: transform .25s; }
.faq-item.is-open .faq-q .ic { background: var(--accent); border-color: var(--accent); }
.faq-item.is-open .faq-q .ic::before, .faq-item.is-open .faq-q .ic::after { background: #1a2106; }
.faq-item.is-open .faq-q .ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 4px 26px; color: var(--ink-soft); max-width: 70ch; }

/* Контакты */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px,4vw,56px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 6px; }
.info-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-row .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(var(--accent-rgb),.14); color: var(--accent-deep); display: grid; place-items: center; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: 4px; }
.info-row .v { font-weight: 600; font-size: 1.05rem; color: var(--ink); }

.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--bg-tint); }
.map-card iframe { width: 100%; height: 360px; border: 0; display: block; }
.map-card--full { margin-bottom: clamp(30px, 4vw, 52px); position: relative; }
.map-card--full iframe { height: 460px; position: relative; z-index: 1; background: transparent; }
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 24px;
  background:
    repeating-linear-gradient(0deg, rgba(var(--accent-rgb),.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(var(--accent-rgb),.05) 0 1px, transparent 1px 46px),
    var(--bg-tint);
}
.map-fallback .mf-pin { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #1a2106; display: grid; place-items: center; box-shadow: var(--shadow-accent); }
.map-fallback .mf-pin svg { width: 30px; height: 30px; }
.map-fallback b { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--ink); }
.map-fallback span.mf-sub { color: var(--ink-mute); font-size: .9rem; }
@media (max-width: 720px) { .map-card--full iframe { height: 340px; } }

/* Видео входов */
.video-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.video-slot {
  position: relative; aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); cursor: pointer; background: var(--forest);
}
.video-slot image-slot, .video-slot .video-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-slot .v-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px;
  background: linear-gradient(180deg, rgba(29,42,16,.05), rgba(29,42,16,.55));
}
.video-slot .v-play {
  align-self: center; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(var(--accent-rgb), .92); display: grid; place-items: center; color: #1a2106;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.video-slot .v-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-slot .v-label { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: rgba(0,0,0,.4); color: #fff; padding: 7px 14px; border-radius: var(--radius); font-weight: 700; font-size: .82rem; backdrop-filter: blur(6px); }

/* Форма бронирования */
.booking { display: grid; grid-template-columns: 1fr; align-items: stretch; }
.booking__aside {
  background: var(--forest); color: var(--on-dark);
  border-radius: var(--radius-lg); padding: clamp(30px,3.5vw,46px);
  display: flex; flex-direction: column; gap: 24px;
}
.booking-button-PADEL {
  align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent);
  color: #1a2106;
  border: none; cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800; font-size: 17px; letter-spacing: .01em;
  padding: 17px 44px;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px -10px rgba(var(--accent-rgb), .55);
  transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .25s, background .2s;
  line-height: 1;
}
.booking-button-PADEL:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(var(--accent-rgb), .7); }
.booking-button-PADEL:active { transform: translateY(0) scale(.98); }
.booking-button-PADEL svg { width: 18px; height: 18px; }
.header__cta .booking-button-PADEL { padding: 11px 24px; font-size: 14px; box-shadow: 0 8px 20px -8px rgba(var(--accent-rgb), .5); }
.mobile-menu .mm-foot .booking-button-PADEL { width: 100%; }
.booking__aside h3 { color: #fff; font-size: clamp(1.6rem,2.6vw,2.2rem); }
.booking__aside .b-line { display: flex; gap: 13px; align-items: flex-start; color: var(--on-dark-mute); font-weight: 500; }
.booking__aside .b-line svg { width: 20px; height: 20px; color: var(--accent-bright); flex: none; margin-top: 2px; }

.form-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,3.5vw,42px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.14); }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: 4px; }
.form-success {
  display: none; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 20px;
  background: rgba(var(--accent-rgb),.14); border: 1px solid rgba(var(--accent-rgb),.4);
  border-radius: var(--radius-sm); color: var(--accent-deep); font-weight: 600;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }

/* Footer */
.footer { background: var(--bg-forest); color: var(--on-dark); padding: clamp(56px,7vw,84px) 0 32px; }
.footer .logo__type b, .footer .logo__type b i { color: #fff; }
.footer .logo__type b i { color: var(--accent-bright); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-bright); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: var(--on-dark-mute); font-size: .96rem; padding: 6px 0; }
.footer__col a:hover { color: #fff; }
.footer__brand p { color: var(--on-dark-mute); max-width: 32ch; margin-top: 18px; }
/* Мессенджеры в контактах подвала — светлые плитки-ссылки вместо почты.
   Селекторы с .footer__col: иначе тему перебивает её же .footer__col a { display:block } */
.footer__messengers { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 6px; }
.footer__col .footer__messengers { display: flex; padding: 8px 0 6px; }
.footer__col .footer__messenger {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 9px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--forest);
  font-size: .95rem; font-weight: 700;
  text-decoration: none;
  transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .25s;
}
.footer__col .footer__messenger:hover { color: var(--forest); transform: translateY(-2px); box-shadow: 0 16px 32px -16px rgba(0,0,0,.6); }
.footer__col .footer__messenger > svg { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.footer__soc { display: flex; gap: 10px; margin-top: 22px; }
.footer__soc a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .25s; }
.footer__soc a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.6); }
.footer__soc-icon { width: 42px; height: 42px; border-radius: 14px; }
.footer__bot { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--on-dark-mute); font-size: .85rem; }

/* CTA-полоса */
.cta-strip { background: var(--accent); border-radius: var(--radius-lg); padding: clamp(36px,5vw,64px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-accent); }
.cta-strip h2 { color: #1a2106; max-width: 18ch; }
.cta-strip p { color: #2c3a09; font-weight: 600; max-width: 40ch; }

/* Кнопка «наверх» */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; border: 0;
  background: var(--forest); color: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none;
  transition: opacity .3s, transform .3s cubic-bezier(.3,.7,.4,1), background .2s, color .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #1a2106; transform: translateY(-3px); }
.to-top:active { transform: translateY(0) scale(.96); }
.to-top svg { width: 23px; height: 23px; }
@media (max-width: 720px) { .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1080px) {
  .logo__img { height: 50px; }
  .nav { display: none; }
  .header__phone { display: none; }
  .burger { display: flex; }
  .header__cta .btn, .header__cta .booking-button-PADEL { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .kids { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cgal { grid-template-columns: 1fr; }
  .cgal__tall { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .logo__img { height: 44px; }
  .grid-2, .grid-3, .grid-4, .reviews, .steps { grid-template-columns: 1fr; }
  .cgal__big { aspect-ratio: 4 / 3; }
  .form-grid { grid-template-columns: 1fr; }
  .video-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .12s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
/* ============================================================
   Тренеры — «Подробнее» в боковой панели темы (popup-one)
   ============================================================ */
/* полный текст в карточке не показываем — он уходит в панель */
.coach-card .tr-text { display: none; }
/* кнопка под содержимым карточки */
.coach-more { margin-top: 18px; }
/* содержимое боковой панели */
.tr-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; margin: 0 0 18px; color: var(--ink); }
.tr-body { white-space: pre-line; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.tr-body strong { color: var(--ink); }
.coach-overl {
    background: #fff;
    padding: 10px;
    border-radius: 20px;
}
.price-groups { display: flex; flex-direction: column; gap: 14px; }

.price-group {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.price-group__head {
  background: var(--accent);
  color: #1a2106;
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px;
}
.price-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 13px 16px;
}
.price-line + .price-line { border-top: 1px dashed var(--line-strong); }
.price-line__time { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.price-line__val {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.3rem; line-height: 1; color: var(--ink);
  white-space: nowrap;
}
.price-line__val small { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--ink-mute); margin-left: 3px; }

.price-note {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 13px 16px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .95rem; color: var(--ink-soft);
}
.price-note b { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* тёмная карточка «Корт 2×2» (is-feature) */
.price-card.is-feature .price-group,
.price-card.is-feature .price-note { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.price-card.is-feature .price-group__head { background: var(--accent-bright); }
.price-card.is-feature .price-line + .price-line { border-top-color: rgba(255,255,255,.14); }
.price-card.is-feature .price-line__time { color: var(--on-dark-mute); }
.price-card.is-feature .price-line__val { color: #fff; }
.price-card.is-feature .price-line__val small { color: var(--on-dark-mute); }
.price-card.is-feature .price-note { color: var(--on-dark-mute); }
.price-card.is-feature .price-note b { color: #fff; }

/* кнопка бронирования — прижать к низу карточки */
.price-card > .booking-button-PADEL { margin-top: auto; }

@media (max-width: 480px) {
  .price-line, .price-note { padding: 11px 13px; }
  .price-line__val { font-size: 1.15rem; }
}

/* ============================================================
   Панель обратного звонка — иконки быстрой связи над формой
   Светлая карточка внутри тёмной панели (как .coach-overl у тренеров):
   текст темы тёмный и на тёмном фоне панели не читается.
   Всё компактно, чтобы форма целиком влезала в экран с кнопкой.
   ============================================================ */
/* сама панель темы: срезаем её большие отступы (3rem/4rem) */
.js-popup-feedback .popup-one__wrapper { padding: 20px 16px 24px 20px; }
.js-popup-feedback .popup-one__content { padding-right: .5rem; padding-bottom: 0; }

.feedback__card {
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px 20px;
}

/* заголовок и подписи — плотнее */
.feedback__title { margin-bottom: 4px; font-size: var(--mid-font-size); }
.feedback__subtitle { margin-bottom: 10px; }

/* подзаголовок формы — парный к «Напишите в мессенджер», оба по центру */
.feedback__form-title {
  display: block; margin: 0 0 8px;
  text-align: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}

.feedback__messengers { margin: 0 0 10px; text-align: center; }
.feedback__messengers-title {
  display: block; margin-bottom: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.feedback__messengers-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.feedback__messenger {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  flex: 1 1 120px; max-width: 190px;
  padding: 11px 10px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--forest);
  font-size: .95rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .25s, border-color .2s;
}
.feedback__messenger:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.feedback__messenger > svg { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.feedback__messenger-text { line-height: 1; }
.feedback__messenger:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Позвонить — на всю ширину карточки, иконка телефона из набора темы */
.feedback__call {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 11px 18px;
  margin: 0 0 10px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--forest);
  font-size: 1rem; font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .18s cubic-bezier(.3,.7,.4,1), box-shadow .25s, border-color .2s;
}
.feedback__call:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.feedback__call > svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.feedback__call-text { white-space: nowrap; }
.feedback__call:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* поле + маркер обязательности сразу за текстом подсказки */
.feedback__field { position: relative; }
/* в тексте (например, у согласия) — обычная строчная звёздочка */
.feedback__required {
  color: hsl(13, 100%, 63%);
  font-weight: 700;
}
/* поверх поля: left подставляет js/user.js, измерив ширину подсказки */
.feedback__required--field {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  left: var(--star-left, 0);
  line-height: 1;
  pointer-events: none;
  opacity: 0;                      /* пока позиция не посчитана — не показываем */
}
.feedback__field.is-measured .feedback__required--field { opacity: 1; }
/* имя: звёздочка живёт как часть подсказки и уходит вместе с ней */
#name:not(:placeholder-shown) + .feedback__required--field { opacity: 0; }
/* телефон: подсказка-маска остаётся всегда, поэтому прячем после ввода цифр */
.feedback__field.is-filled .feedback__required--field { opacity: 0; }

/* поля и блоки — плотнее, чтобы всё влезло на один экран */
.feedback__block { margin-bottom: 9px; }
.feedback__input { min-height: 44px; }
.feedback__agree { display: block; line-height: 1.35; }

/* ссылка на политику — заметно, что это ссылка */
.feedback__link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.feedback__link:hover { color: var(--accent-deep); }

@media (min-width: 768px) {
  /* тема поднимает min-height поля до 46px — в панели держим компактнее */
  .feedback__input { min-height: 44px; }
}

@media (max-width: 480px) {
  .js-popup-feedback .popup-one__wrapper { padding: 14px 12px 18px 16px; }
  .feedback__card { padding: 16px; }
  .feedback__messenger { padding: 10px 8px; }
  .feedback__messenger > svg { width: 42px; height: 42px; border-radius: 12px; }
}

#contacts .video-row { grid-template-columns: 1fr; }

/* 2. Пропорции под видео 1280×720 (16:9) — кадр без обрезки */
#contacts .video-slot { aspect-ratio: 16 / 9; }

/* 3. Само видео внутри слота (позицию и размер задаёт .video-slot .video-frame) */
#contacts .video-slot .video-frame { object-fit: cover; background: #000; }

/* 4. После старта превью-слой с подписью и кнопкой плавно уходит */
#contacts .video-slot .v-overlay { transition: opacity .25s ease; }
#contacts .video-slot.is-playing .v-overlay { opacity: 0; visibility: hidden; }

/* 5. После старта клики уходят в панель плеера, а не в слот */
#contacts .video-slot.is-playing { cursor: default; }
.cookies__text > a {
    color: #fff;
}
.cookies__text {
    color: #bebebe;
}
.page-one {
    color: #bebebe;
}
/* Внутренние страницы: контент под фиксированной шапкой */
.layout-main__breadcrumbs-center { padding-top: calc(var(--header-height) + 24px); }
article.layout-main.frame--primary { padding-top: calc(var(--header-height) + 40px); }
body:has(.layout-main) .header {
  background: rgba(251, 250, 245, .92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}

/* 2. Отступ под фиксированную шапку — один раз, у первой секции страницы */
body:has(.layout-main) main.content { padding-top: var(--header-height); }
.layout-main__breadcrumbs-center { padding-top: 18px; padding-bottom: 18px; }
article.layout-main.frame--primary { padding-top: 8px; padding-bottom: clamp(48px, 6vw, 84px); }

/* 3. Светлая тема в стиле главной: тема Orion красит body и frame--primary в тёмный */
body:has(.layout-main) { background: var(--bg); color: var(--ink); }
body:has(.layout-main) .frame--primary { background-color: var(--bg); color: var(--ink); }
body:has(.layout-main) .frame--semitone { background-color: var(--bg-tint); }

/* 4. Хлебные крошки — в палитре лендинга */
body:has(.layout-main) .breadcrumbs-one__link { color: var(--ink-mute); }
body:has(.layout-main) .breadcrumbs-one__link.is-disabled { color: var(--ink); }

/* 5. Текст статичной страницы: шрифт и цвета как у секций главной */
body:has(.layout-main) .page-one.is-charis-sil { font-family: var(--font-body); }
body:has(.layout-main) .page-one { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
body:has(.layout-main) .page-one h1,
body:has(.layout-main) .page-one h2,
body:has(.layout-main) .page-one h3 { font-family: var(--font-display); color: var(--ink); font-weight: 800; line-height: 1.15; }
body:has(.layout-main) .page-one h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
body:has(.layout-main) .page-one h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-top: 1.6em; }
body:has(.layout-main) .page-one h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-top: 1.4em; }
body:has(.layout-main) .page-one b,
body:has(.layout-main) .page-one strong { color: var(--ink); }
body:has(.layout-main) .page-one a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body:has(.layout-main) .page-one a:hover { color: var(--accent); }
body:has(.layout-main) .page-one ul,
body:has(.layout-main) .page-one ol { padding-left: 1.3em; }
body:has(.layout-main) .page-one li { margin-bottom: .4em; }
body:has(.layout-main) .page-one hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
body:has(.layout-main) .page-one table { border-collapse: collapse; width: 100%; }
body:has(.layout-main) .page-one th,
body:has(.layout-main) .page-one td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; }

/* Политика — текстом под описанием клуба */
.footer__brand .footer__policy {
  display: inline-block;
  margin-top: 12px;
  color: var(--on-dark-mute);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s;
}
.footer__brand .footer__policy:hover { color: #fff; }

/* Блог на главной: карточка поста — картинка целиком (не ковер), плашка на --bg-tint */
.post-one {
  height: auto;
  min-height: 280px;
  padding: 0 0 99px;
  background-color: var(--bg);
  border-radius: var(--radius-lg);
}
.post-one.is-primary,
.post-one.is-secondary,
.post-one.is-semitone,
.post-one.has-image { background-color: var(--bg); }
.post-one.has-image { border-color: transparent; }
.post-one__image { display: block; width: 100%; height: auto; }
.post-one__layout { background-color: var(--sand); }
.post-one__link { color: var(--ink); }
.post-one.has-image .post-one__layout { z-index: 2; }
