/* ==========================================================================
   BabyRoo — частный детский сад на Ходынке · стили
   Основа — стартовый шаблон «Сайт под ключ» (ядро gs-core ведёт поведение по data-gs-*).
   Вид — по концепции клиентки (ТЗ «Структура сайта BabyRoo», 23.11.2026): кремовый фон, тёмно-бирюзовый текст,
   коралловые кнопки, мятные и розовые плашки, сердечки, веточки, волны.
   ========================================================================== */

/* Nunito (SIL OFL 1.1): округлый, с кириллицей; знак ₽ — из latin-ext */
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 900;font-display:swap;src:url('../fonts/Nunito-wght-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 900;font-display:swap;src:url('../fonts/Nunito-wght-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 900;font-display:swap;src:url('../fonts/Nunito-wght-latin-ext.woff2') format('woff2');unicode-range:U+20BD;}

:root{
  /* ===== НАСТРОЙКИ ПРОЕКТА ===== */
  --accent:       #E9585F;   /* коралл: кнопки, акцент заголовка */
  --accent-dk:    #D4464E;
  --accent-lt:    #F7A1A8;   /* светлый коралл: сердечки */
  --accent-soft:  #FCE7E9;   /* розовая плашка */
  --accent-ink:   #FFFFFF;
  --mint:         #7FCFCB;   /* мята: сердечки, веточки, волна */
  --mint-dk:      #3E9FA3;
  --mint-soft:    #E3F4F3;   /* мятная плашка */
  --bg:           #FDFAF6;   /* кремовый фон */
  --surface:      #FFFFFF;
  --text:         #163F5C;   /* тёмно-бирюзовый, как в концепции */
  --muted:        #4E6577;
  --footer-bg:    #163F5C;
  --font:         'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  /* ===== конец настроек ===== */

  --line:         rgba(22,63,92,.10);
  --line-2:       rgba(22,63,92,.18);
  --sh-1:         0 1px 2px rgba(22,63,92,.04), 0 6px 16px rgba(22,63,92,.05);
  --sh-2:         0 2px 4px rgba(22,63,92,.05), 0 14px 34px rgba(22,63,92,.10);
  --sh-3:         0 4px 8px rgba(22,63,92,.06), 0 26px 60px rgba(22,63,92,.16);

  --r-lg:         28px;
  --r:            22px;
  --r-sm:         14px;

  --maxw:         1320px;
  --gutter:       32px;
  --header-h:     88px;
  --widget-size:  56px;

  --ease:         cubic-bezier(.22,.8,.28,1);
}

/* ---------- основа ---------- */
*,*::before,*::after{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:hidden; overflow-x:clip; }
body{
  margin:0;
  font-family:var(--font);
  font-size:17px; line-height:1.55; font-weight:500;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img, svg{ max-width:100%; }
img{ display:block; height:auto; }
a{ color:var(--accent-dk); }
h1, h2, h3{ margin:0; line-height:1.1; letter-spacing:-.015em; }
p{ margin:0; }
.container{ width:min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline:auto; }
section[id]{ scroll-margin-top:calc(var(--header-h) + 8px); }
.skip{ position:absolute; left:-9999px; top:8px; z-index:200; padding:10px 16px; background:var(--surface); border-radius:var(--r-sm); }
.skip:focus{ left:8px; }

.eyebrow{ font-size:14px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--text); margin-bottom:14px; }

/* ---------- кнопки: пилюли ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:12px;
  padding:16px 28px;
  font:inherit; font-size:18px; font-weight:800; line-height:1.2;
  border-radius:999px; border:2px solid transparent;
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease);
}
.btn--primary{ color:var(--accent-ink); background:var(--accent); box-shadow:0 12px 26px rgba(233,88,95,.28); }
.btn--primary:hover{ background:var(--accent-dk); transform:translateY(-1px); }
.btn--sm{ padding:11px 18px; font-size:15px; gap:8px; }
.btn--lg{ padding:19px 34px; font-size:19px; }
.btn--wide{ width:100%; }
.btn__arrow{ flex:none; transition:transform .2s var(--ease); }
.btn:hover .btn__arrow{ transform:translateX(3px); }
.btn--video{
  gap:14px; padding:8px 26px 8px 8px; min-height:64px;
  font-size:16px; text-align:left; white-space:nowrap;
  color:var(--text); background:var(--surface); border:0;
  box-shadow:0 1px 2px rgba(22,63,92,.06), 0 10px 26px rgba(22,63,92,.10);
}
.btn--video:hover{ box-shadow:0 1px 2px rgba(22,63,92,.06), 0 14px 32px rgba(22,63,92,.16); transform:translateY(-1px); }
.btn__play{
  position:relative; flex:none; width:48px; height:48px; border-radius:50%;
  display:grid; place-items:center; color:#fff; background:var(--accent);
}
.btn__play::after{ content:""; position:absolute; inset:-5px; border-radius:50%; border:2px solid var(--accent-lt); opacity:.55; animation:playPulse 2.4s var(--ease) infinite; }
.btn__play svg{ margin-left:2px; }
@keyframes playPulse{ 0%{ transform:scale(.92); opacity:.65; } 70%,100%{ transform:scale(1.22); opacity:0; } }
.btn__vtext{ display:flex; flex-direction:column; line-height:1.2; }
.btn__vtext b{ font-size:16.5px; font-weight:800; }
.btn__vtext small{ font-size:14px; font-weight:600; color:var(--muted); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{ outline:3px solid rgba(62,159,163,.55); outline-offset:2px; }

/* ---------- появление при прокрутке (ведёт ядро) ---------- */
.js .reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in{ opacity:1; transform:none; }
.js .reveal.no-anim{ transition:none; }

/* ---------- украшения ---------- */
.deco{ position:absolute; pointer-events:none; fill:currentColor; }
.deco--heart{ color:var(--accent-lt); }
.deco--mint{ color:var(--mint); }
.deco--leaf{ color:var(--mint); }

/* ==========================================================================
   ЗАСТАВКА — знак сада и бьющееся сердечко
   ========================================================================== */
.preloader{
  position:fixed; inset:0; z-index:1000;
  display:grid; place-items:center; align-content:center; gap:10px;
  background:var(--bg);
  transition:opacity .35s ease, visibility .35s ease;
  animation:preloaderFailsafe 0s linear 4s forwards;
}
.preloader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader__mark{ width:60px; height:auto; animation:preHop 1s var(--ease) infinite; transform-origin:50% 100%; }
.preloader__heart{ fill:var(--accent-lt); animation:preBeat 1s ease-in-out infinite; }
@keyframes preHop{ 0%,100%{ transform:translateY(0) scaleY(1); } 30%{ transform:translateY(-14px) scaleY(1.03); } 55%{ transform:translateY(0) scaleY(.96); } }
@keyframes preBeat{ 0%,100%{ transform:scale(1); } 30%{ transform:scale(1.25); } }
@keyframes preloaderFailsafe{ to{ opacity:0; visibility:hidden; pointer-events:none; } }
@media (prefers-reduced-motion:reduce){ .preloader{ display:none; } }

/* ==========================================================================
   ШАПКА — прибита при прокрутке (ТЗ: «шапка двигается по всей странице»)
   ========================================================================== */
.header{ position:sticky; top:0; z-index:50; }
.header__bar{
  position:relative; z-index:2;
  background:var(--bg);
  border-bottom:1px solid transparent;
  transition:border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.header.is-stuck .header__bar{ border-bottom-color:var(--line); box-shadow:0 8px 30px rgba(22,63,92,.08); }
.header__in{ display:flex; align-items:center; gap:22px; height:var(--header-h); }

.logo{ display:inline-flex; align-items:center; text-decoration:none; flex:none; }
.logo__img{ width:auto; height:50px; }

.nav{ display:flex; gap:18px; margin-left:auto; }
.nav a{ color:var(--text); text-decoration:none; font-size:15px; font-weight:700; white-space:nowrap; transition:color .2s ease; }
.nav a:hover{ color:var(--accent-dk); }

.header__contacts{ display:flex; align-items:center; gap:14px; margin-left:auto; }
.nav + .header__contacts{ margin-left:8px; }
.header__phone{ display:inline-flex; align-items:center; gap:7px; font-size:15.5px; font-weight:800; color:var(--text); text-decoration:none; white-space:nowrap; }
.header__phone svg{ color:var(--accent); }
.header__phone:hover{ color:var(--accent-dk); }
.header__msg{ display:flex; gap:6px; }
.header__msg a{ display:block; width:28px; height:28px; border-radius:50%; transition:transform .2s var(--ease); }
.header__msg a:hover{ transform:translateY(-2px); }
.header__msg img{ width:28px; height:28px; border-radius:50%; object-fit:cover; }

/* телефон-кнопка и бургер — на узких экранах */
.header__call{ display:none; }
.burger{
  display:none;
  width:52px; height:52px; flex:none;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
  border:0; border-radius:50%;
  background:var(--mint-soft); cursor:pointer; padding:0;
}
.burger span{ display:block; width:22px; height:2.5px; border-radius:2px; background:var(--text); transition:transform .25s var(--ease), opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

.mnav{
  position:absolute; left:0; right:0; top:100%; z-index:1;
  max-height:calc(100vh - var(--header-h)); overflow-y:auto; overscroll-behavior:contain;
  background:var(--bg);
  border-top:1px solid var(--line);
  padding:8px var(--gutter) 24px;
  box-shadow:0 24px 50px rgba(22,63,92,.18);
}
@supports (height:100dvh){ .mnav{ max-height:calc(100dvh - var(--header-h)); } }
.mnav-backdrop{ position:fixed; inset:0; z-index:45; background:rgba(10,30,45,.45); }
.mnav__links{ display:flex; flex-direction:column; }
.mnav__links a{ padding:14px 2px; font-size:19px; font-weight:800; color:var(--text); text-decoration:none; border-bottom:1px solid var(--line); }
.mnav__links a:hover{ color:var(--accent-dk); }
.mnav__contacts{ display:flex; flex-direction:column; gap:12px; padding-top:18px; }
.mnav__phone{ font-size:22px; font-weight:900; color:var(--text); text-decoration:none; }
.mnav__hours{ font-size:14px; color:var(--muted); margin-top:-6px; }
.mnav__msg{ display:flex; gap:12px; margin:4px 0 6px; }
.mnav__msg a{ width:48px; height:48px; display:grid; place-items:center; border-radius:50%; background:var(--surface); border:1px solid var(--line); }
.mnav__msg img{ width:24px; height:24px; border-radius:6px; }

html.is-menu-open{ overflow:hidden; }
html.is-menu-open .back-to-top, html.is-menu-open .contact-widget, html.is-menu-open .call-fab{ opacity:0; visibility:hidden; pointer-events:none; }

/* ==========================================================================
   1. ПЕРВЫЙ ЭКРАН — один экран прокрутки (ТЗ)
   ========================================================================== */
.hero{
  position:relative; overflow:hidden;
  min-height:calc(100vh - var(--header-h));
  display:flex; flex-direction:column; justify-content:center;
  padding:28px 0 120px;
}
@supports (height:100svh){ .hero{ min-height:calc(100svh - var(--header-h)); } }
.hero__grid{ position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.02fr); gap:40px; align-items:center; }
.hero__title{ font-size:clamp(40px, 4.3vw, 66px); font-weight:900; line-height:1.04; letter-spacing:-.02em; }
.hero__accent{ color:var(--accent); }

.facts{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; margin:30px 0 0; padding:0; list-style:none; max-width:600px; }
.fact{ padding:18px 20px 20px; border-radius:var(--r); }
.fact--mint{ background:var(--mint-soft); }
.fact--pink{ background:var(--accent-soft); }
.fact__label{ display:flex; align-items:center; gap:10px; font-size:11.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.fact__icon{ flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; color:var(--text); }
.fact--mint .fact__icon{ background:#C3E8E5; }
.fact--pink .fact__icon{ background:#F9CDD1; }
.fact__num{ margin-top:8px; font-size:clamp(30px, 2.6vw, 40px); font-weight:900; line-height:1.05; letter-spacing:-.01em; }
.fact__text{ margin-top:6px; font-size:15px; line-height:1.4; color:var(--muted); }

.hero__cta{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:28px; }
@media (min-width:901px){ .hero__cta{ margin-top:clamp(28px, 5.8vh, 60px); } } /* Анастасия 27.11: кнопки дальше от плашек */

/* фото справа — до края экрана, мягкая форма как в концепции */
.hero__media{ position:relative; margin-right:calc((100vw - min(var(--maxw), 100vw - 2 * var(--gutter))) / -2); }
.hero__photo{ clip-path:url(#blob-hero); -webkit-clip-path:url(#blob-hero); }
.hero__photo img{ width:100%; aspect-ratio:1.43; object-fit:cover; object-position:50% 55%; }
/* сердечко «С любовью к вашим детям!» */
.hero__love{
  position:absolute; top:-2%; right:5%; width:clamp(128px, 11.5vw, 170px); aspect-ratio:1/0.95;
  display:grid; place-items:center; transform:rotate(-10deg);
}
.hero__love svg{ position:absolute; inset:0; width:100%; height:100%; fill:#fff; stroke:var(--accent-lt); stroke-width:.5; stroke-dasharray:1.1 .9; filter:drop-shadow(0 8px 18px rgba(22,63,92,.12)); }
.hero__love span{ position:relative; margin-top:-12%; width:62%; text-align:center; font-size:clamp(12px, 1.05vw, 15.5px); font-weight:800; line-height:1.2; color:var(--text); }
.hero__mascot{ position:absolute; right:3%; bottom:-9%; width:31%; height:auto; filter:drop-shadow(0 12px 18px rgba(22,63,92,.16)); }

/* украшения первого экрана */
.hero__leaf-l{ left:max(-8px, calc(50% - 740px)); top:24%; width:52px; height:78px; transform:rotate(-24deg); }
.hero__h1{ left:max(-6px, calc(50% - 712px)); top:66%; width:34px; height:34px; transform:rotate(-14deg); }
.hero__h2{ left:calc(50% - 40px); top:4%; width:40px; height:40px; transform:rotate(12deg); }
.hero__h3{ left:calc(50% - 90px); top:1%; width:32px; height:32px; transform:rotate(-18deg); }
.hero__dash{ left:calc(50% - 150px); top:8%; width:170px; height:76px; color:var(--accent-lt); }

/* волна внизу: лента с волнистыми краями, без ровного обреза (правка Анастасии 26.11) */
.hero__wave{ position:absolute; left:0; right:0; bottom:clamp(26px, 3.6vh, 42px); width:100%; height:clamp(26px, 3.4vh, 36px); color:#C6E7EC; pointer-events:none; }
.hero__wave path{ fill:currentColor; }

/* ==========================================================================
   ФОРМА ЗАЯВКИ (в окне)
   ========================================================================== */
.field{ display:flex; flex-direction:column; gap:7px; margin-bottom:14px; }
.field label{ font-size:14.5px; font-weight:800; }
.field input, .field textarea{
  width:100%; padding:15px 18px;
  font:inherit; font-size:16.5px; color:var(--text);
  background:var(--bg); border:1.5px solid var(--line-2); border-radius:var(--r-sm);
  transition:border-color .2s ease, background .2s ease;
}
.field input:focus{ outline:none; border-color:var(--mint-dk); background:var(--surface); }
.field.is-invalid input{ border-color:#D64545; background:#FFF6F6; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }
.consent{ display:flex; align-items:flex-start; gap:10px; margin:6px 0 18px; cursor:pointer; }
.consent__box{ flex:none; width:18px; height:18px; margin-top:2px; accent-color:var(--accent); cursor:pointer; }
.consent__text{ font-size:13.5px; line-height:1.5; color:var(--muted); }
.consent__text a{ color:var(--text); text-decoration:underline; text-underline-offset:2px; }
.consent.is-invalid .consent__text{ color:#C23B3B; }
.consent.is-invalid .consent__box{ outline:2px solid #D64545; outline-offset:2px; border-radius:3px; }
.form-status{ margin-top:14px; font-size:14.5px; line-height:1.5; }
.form-status.is-error{ color:#C23B3B; }
.form-done{ text-align:center; padding:24px 8px; }
.form-done__icon{ width:56px; height:56px; margin:0 auto 16px; border-radius:50%; display:grid; place-items:center; background:var(--mint-soft); color:var(--mint-dk); }
.form-done__title{ font-size:24px; font-weight:900; }
.form-done__text{ margin-top:8px; color:var(--muted); }

/* ==========================================================================
   ОКНО ЗАЯВКИ
   ========================================================================== */
html.is-modal-open{ overflow:hidden; }
.lead-modal{
  width:min(500px, calc(100% - 32px)); max-width:none; max-height:calc(100vh - 40px); max-height:calc(100svh - 40px);
  margin:auto; padding:0; border:0; border-radius:var(--r-lg);
  color:var(--text); background:var(--surface); box-shadow:var(--sh-2);
  overflow:auto; overscroll-behavior:contain;
}
.lead-modal::backdrop{ background:rgba(10,30,45,.55); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.lead-modal[open]{ animation:leadModalIn .3s var(--ease); }
@keyframes leadModalIn{ from{ opacity:0; transform:translateY(16px); } }
.lead-modal__box{ position:relative; padding:34px 32px 30px; }
.lead-modal__close{
  position:absolute; top:12px; right:12px; width:44px; height:44px; padding:0;
  display:grid; place-items:center; color:var(--muted); background:none;
  border:0; border-radius:50%; cursor:pointer; transition:color .2s ease, background .2s ease;
}
.lead-modal__close:hover{ color:var(--text); background:var(--mint-soft); }
.lead-modal__title{ padding-right:44px; font-size:27px; font-weight:900; line-height:1.15; }
.lead-modal__text{ margin:10px 0 22px; color:var(--muted); }
@media (max-width:600px){
  .lead-modal{ width:100%; height:100%; max-height:none; margin:0; border-radius:0; }
  .lead-modal__box{ min-height:100%; padding:26px 20px 32px; }
}
@media (prefers-reduced-motion:reduce){ .lead-modal[open]{ animation:none; } }

/* окно видео «Посмотреть видео» — строит ядро (gs-site.js, раздел 14, data-gs-video у кнопки); здесь цвета сайта */
.gs-vd{ --gs-vd-accent:var(--accent); background:rgba(14,38,56,.9); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.gs-vd__v{ border-radius:var(--r); box-shadow:0 30px 80px rgba(0,0,0,.4); }
@media (max-width:700px){ .gs-vd__v{ border-radius:0; box-shadow:none; } }

/* ==========================================================================
   ВИДЖЕТ СВЯЗИ (компьютер), ТРУБКА (телефон), СТРЕЛКА НАВЕРХ
   ========================================================================== */
.contact-widget{ position:fixed; right:22px; bottom:22px; z-index:90; display:flex; flex-direction:column; align-items:flex-end; transition:opacity .2s ease, visibility .2s ease; }
.contact-widget__toggle{
  width:var(--widget-size); height:var(--widget-size);
  border-radius:50%; border:0; cursor:pointer; display:grid; place-items:center;
  color:var(--accent-ink); background:var(--accent);
  box-shadow:0 12px 30px rgba(233,88,95,.42);
  transition:box-shadow .2s ease, background .2s ease;
}
.contact-widget__toggle:hover{ background:var(--accent-dk); }
.contact-widget__icon{ width:24px; height:24px; }
.contact-widget__toggle[aria-expanded="true"]  .contact-widget__icon--open { display:none; }
.contact-widget__toggle[aria-expanded="false"] .contact-widget__icon--close{ display:none; }
.contact-widget__panel{
  position:absolute; right:0; bottom:calc(100% + 12px);
  display:flex; flex-direction:column; gap:8px; min-width:250px;
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translateY(10px) scale(.96); transform-origin:bottom right;
  transition:opacity .22s ease, transform .22s var(--ease), visibility .22s ease;
}
.contact-widget.is-open::before{ content:""; position:fixed; inset:0; z-index:-1; }
.contact-widget.is-open .contact-widget__panel{ opacity:1; visibility:visible; pointer-events:auto; transform:none; }
.contact-widget__action{
  display:flex; align-items:center; gap:11px; min-height:48px; padding:11px 18px;
  font:inherit; font-size:15px; font-weight:800; text-align:left; white-space:nowrap;
  color:var(--text); text-decoration:none; background:var(--surface);
  border:1px solid var(--line); border-radius:999px; box-shadow:var(--sh-2); cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.contact-widget__action:hover{ background:var(--mint-soft); }
.contact-widget__action svg{ flex:none; color:var(--accent); }
.contact-widget__action img{ flex:none; display:block; width:22px; height:22px; }
.contact-widget__action img[src$=".webp"]{ border-radius:5px; object-fit:cover; }
.contact-widget__action--lead{ background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }
.contact-widget__action--lead svg{ color:var(--accent-ink); }
.contact-widget__action--lead:hover{ background:var(--accent-dk); color:var(--accent-ink); }

.call-fab{
  display:none;
  position:fixed; right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); z-index:90;
  width:60px; height:60px; border-radius:50%;
  place-items:center; color:#fff; background:var(--accent);
  box-shadow:0 12px 28px rgba(233,88,95,.45);
}

.cookie-note{ position:fixed; z-index:96; left:22px; bottom:22px; max-width:600px; display:flex; align-items:center; gap:16px; padding:14px 16px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); box-shadow:var(--sh-2); font-size:14px; line-height:1.45; color:var(--muted); }
.cookie-note p{ margin:0; }
.cookie-note a{ text-decoration:underline; }
.cookie-note__act{ display:flex; gap:8px; flex:none; }
@media (max-width:900px){ .cookie-note{ left:12px; right:88px; max-width:none; bottom:12px; flex-wrap:wrap; } }
@media print{ .cookie-note{ display:none !important; } }

.back-to-top{
  position:fixed; z-index:95;
  right:calc(22px + (var(--widget-size) - 46px) / 2);
  bottom:calc(22px + var(--widget-size) + 14px);
  width:46px; height:46px; padding:0; display:grid; place-items:center;
  color:var(--text); background:var(--surface);
  border:1px solid var(--line-2); border-radius:50%; box-shadow:var(--sh-2); cursor:pointer;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .22s ease, visibility .22s ease, color .2s ease, border-color .2s ease;
}
.back-to-top.is-visible{ opacity:1; visibility:visible; pointer-events:auto; }
.is-widget-open .back-to-top{ opacity:0; visibility:hidden; pointer-events:none; }
.back-to-top:hover{ color:var(--accent-dk); border-color:var(--accent); }

/* ==========================================================================
   СТРАНИЦА 404
   ========================================================================== */
.page-404{ min-height:100vh; min-height:100dvh; display:grid; place-items:center; padding:40px var(--gutter); text-align:center; }
.page-404__code{ font-size:clamp(84px, 16vw, 150px); font-weight:900; line-height:1; color:var(--accent); }
.page-404__title{ margin-top:12px; font-size:clamp(24px, 3vw, 32px); font-weight:900; }
.page-404__text{ margin:14px auto 0; max-width:30em; color:var(--muted); }
.page-404__cta{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:28px; }
.page-404 .logo{ margin-bottom:36px; }

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
/* мессенджеры в шапке — только на широких экранах (они же в виджете связи) */
@media (max-width:1439px){ .header__msg{ display:none; } }
@media (max-width:1379px){
  .nav{ gap:16px; }
  .nav a{ font-size:14.5px; }
  .logo__img{ height:46px; }
  .header__in{ gap:16px; }
}
/* меню не помещается — бургер; телефон остаётся текстом, кнопка заявки рядом */
@media (max-width:1279px){
  .nav{ display:none; }
  .burger{ display:flex; }
  .header__contacts, .nav + .header__contacts{ margin-left:auto; }
}
@media (min-width:1280px){ .mnav{ display:none !important; } }

@media (max-width:1100px){
  .hero__grid{ grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:28px; }
  .facts{ gap:12px; }
  .fact{ padding:16px; }
}

/* телефон и узкий планшет: своя раскладка, как в мобильной концепции */
@media (max-width:900px){
  :root{ --gutter:26px; --header-h:76px; }
  .header__phone, .header__cta{ display:none; }
  .header__call{ display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:var(--accent-soft); color:var(--accent); flex:none; }
  .logo__img{ height:48px; }
  .header__contacts{ gap:10px; }
  .contact-widget{ display:none; }
  /* кнопка звонка — после первого экрана (ядро, data-gs-dock): на первом экране звонок есть в шапке, а внизу справа сидит кенгуру */
  .call-fab{ display:grid; opacity:0; visibility:hidden; transform:translateY(14px) scale(.9); transition:opacity .25s ease, transform .25s ease, visibility .25s; }
  .call-fab.is-on{ opacity:1; visibility:visible; transform:none; }
  .back-to-top{ right:23px; bottom:calc(23px + env(safe-area-inset-bottom)); }
  html.is-dock-on .back-to-top{ bottom:calc(92px + env(safe-area-inset-bottom)); }

  .hero{ min-height:0; padding:14px 0 70px; display:block; }
  .hero__grid{ grid-template-columns:minmax(0,1fr); gap:22px; }
  .eyebrow{ font-size:12.5px; letter-spacing:.17em; margin-bottom:10px; }
  .hero__title{ font-size:clamp(34px, 9.6vw, 52px); }
  .facts{ margin-top:20px; gap:10px; max-width:none; }
  .fact{ padding:14px 14px 16px; border-radius:18px; }
  .fact__label{ font-size:10.5px; letter-spacing:.12em; gap:8px; }
  .fact__icon{ width:34px; height:34px; }
  .fact__num{ font-size:clamp(28px, 8vw, 38px); margin-top:6px; }
  .fact__text{ font-size:14px; }
  .hero__cta{ flex-direction:column; align-items:stretch; gap:10px; margin-top:18px; }
  .hero__cta .btn--lg{ padding:14px 22px; font-size:16.5px; }
  .btn--video{ justify-content:center; padding:8px 20px 8px 8px; }
  .btn--video .btn__vtext{ flex-direction:row; gap:5px; align-items:baseline; }
  .btn--video .btn__vtext small{ font-size:16.5px; font-weight:800; color:var(--text); }

  .hero__media{ margin:6px calc(var(--gutter) * -1) 0; }
  .hero__photo{ clip-path:url(#blob-hero-m); -webkit-clip-path:url(#blob-hero-m); }
  .hero__love{ top:-6%; right:4%; left:auto; width:clamp(112px, 30vw, 150px); }
  .hero__love span{ font-size:clamp(12px, 3.4vw, 14.5px); }
  .hero__mascot{ right:3%; bottom:-8%; left:auto; top:auto; width:clamp(118px, 33vw, 200px); }
  .hero__leaf-l{ left:-14px; top:auto; bottom:300px; width:54px; height:80px; }
  .hero__h1{ display:none; }
  .hero__h2{ left:auto; right:22px; top:150px; width:32px; height:32px; }
  .hero__h3{ left:auto; right:62px; top:132px; width:30px; height:30px; }
  .hero__dash{ left:auto; right:-20px; top:196px; width:130px; height:58px; }
  .hero__wave{ height:28px; bottom:24px; }
}

@media (max-width:420px){
  :root{ --gutter:22px; }
  .logo__img{ height:44px; }
  .header__call, .burger{ width:48px; height:48px; }
  .fact{ padding:12px 12px 14px; }
  .fact__label{ letter-spacing:.08em; }
  .fact__num{ font-size:clamp(22px, 6.5vw, 30px); }
  .fact__text{ font-size:13.5px; }
  .hero__cta .btn--lg{ font-size:16px; padding:14px 18px; }
  /* в одну строку «Посмотреть видео о нашем саде» не влезает уже на 375 — две строки, как на концепции */
  .btn--video{ min-width:0; white-space:normal; }
  .btn--video .btn__vtext{ flex-direction:column; gap:0; align-items:flex-start; }
  .btn--video .btn__vtext small{ font-size:14px; font-weight:600; color:var(--muted); }
}
@media (max-width:359px){
  .logo__img{ height:38px; }
  .facts{ grid-template-columns:1fr; }
}


/* невысокие телефоны (Android 360×660, iPhone SE): кнопка записи — на первом экране */
@media (max-width:900px) and (max-height:700px){
  :root{ --header-h:68px; }
  .logo__img{ height:40px; }
  .header__call, .burger{ width:44px; height:44px; }
  .hero{ padding-top:8px; }
  .eyebrow{ font-size:11.5px; margin-bottom:6px; }
  .hero__title{ font-size:clamp(28px, min(8.6vw, 5.6vh), 44px); }
  .facts{ margin-top:12px; }
  .fact{ padding:10px 12px 12px; }
  .fact__icon{ width:28px; height:28px; }
  .fact__icon svg{ width:16px; height:16px; }
  .fact__num{ font-size:clamp(22px, 6.6vw, 30px); margin-top:4px; }
  .fact__text{ font-size:12.5px; line-height:1.35; }
  .hero__cta{ margin-top:12px; }
  .hero__cta .btn--lg{ padding:13px 18px; }
}

/* невысокие экраны компьютера (1280×720, 1366×768, 1536×864): весь первый экран — в одну прокрутку */
@media (min-width:901px) and (max-height:860px){
  .hero{ padding:14px 0 92px; }
  .eyebrow{ margin-bottom:10px; }
  .hero__title{ font-size:clamp(36px, min(4.3vw, 6.6vh), 66px); }
  .facts{ margin-top:20px; }
  .fact{ padding:14px 18px 16px; }
  .fact__num{ font-size:clamp(28px, 4.4vh, 38px); margin-top:4px; }
  .fact__text{ font-size:14.5px; }
  .hero__cta{ margin-top:clamp(26px, 4.8vh, 40px); }
  .btn--lg{ padding:14px 28px; font-size:17.5px; }
  .hero__wave{ bottom:24px; }
}
@media (min-width:901px) and (max-width:1180px) and (max-height:860px){ .hero__cta{ margin-top:28px; } } /* узкий ноутбук: заголовок в 5 строк, иначе первый экран длиннее экрана */
/* украшения у заголовка — только там, где есть свободное поле */
@media (max-width:1279px) and (min-width:901px){
  .hero__dash, .hero__h3{ display:none; }
  .hero__h2{ left:auto; right:46%; top:3%; }
}

@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  html{ scroll-behavior:auto; }
  .js .reveal{ opacity:1; transform:none; }
}

@media print{
  .preloader,.header,.burger,.mnav,.mnav-backdrop,.contact-widget,.back-to-top,.call-fab,.cookie-note,.lead-modal{display:none !important}
  body{background:#fff !important;color:#000 !important}
  a{color:inherit;text-decoration:underline}
}

/* ==========================================================================
   ТЕЛЕФОН: первый экран — фото с кенгуру наверху, под ним заголовок, короткие плашки и кнопка записи
   (вариант Б, выбран Дмитрием 24.11.2026). Стоит в конце: перекрывает телефонные правила выше.
   ========================================================================== */
.fact__sub, .hero__blobs, .hero__heart-m{ display:none; }

@media (max-width:900px){
  .hero__blobs{ display:block; position:absolute; inset:0; z-index:0; pointer-events:none; }
  .hero__blobs i{ position:absolute; display:block; border-radius:46% 54% 60% 40% / 52% 44% 56% 48%; }
  .hero__blobs .b1{ width:60vw; height:46vw; left:-30vw; top:300px; background:#E3F4F3; }
  .hero__blobs .b2{ width:56vw; height:44vw; right:-28vw; top:420px; background:#FCE7E9; opacity:.8; transform:rotate(14deg); }

  .hero{ padding:8px 0 92px; }
  .hero__grid{ gap:0; }
  /* фото наверх, внутри полей (27.11: Анастасия просила поля справа-слева) */
  .hero__media{ order:-1; margin:0; }
  /* высота фото не больше 42% экрана: на широких окнах (700–900 px) кнопка записи иначе уходит под край */
  .hero__photo img{ aspect-ratio:1.5; max-height:42vh; object-position:40% 30%; }
  .facts, .hero__cta{ max-width:560px; }
  .hero__love{ top:4%; right:auto; left:3%; width:clamp(92px, 25vw, 128px); transform:rotate(-8deg); }
  .hero__love span{ font-size:clamp(10.5px, 2.9vw, 13px); }
  .hero__mascot{ right:1%; bottom:-3%; width:clamp(112px, 31vw, 180px); z-index:2; }
  .hero__leaf-l, .hero__dash, .hero__h2, .hero__h3{ display:none; }
  .hero__heart-m{ display:block; left:14px; bottom:-10px; width:28px; height:28px; transform:rotate(-14deg); z-index:2; }

  .hero__text{ position:relative; z-index:1; padding-top:18px; }
  .eyebrow{ font-size:11px; letter-spacing:.14em; margin-bottom:6px; }
  .hero__title{ font-size:clamp(26px, 7.4vw, 38px); line-height:1.07; }

  /* плашки короткие: число и пара слов */
  .facts{ margin-top:24px; gap:10px; }
  .fact{ padding:10px 14px 11px; border-radius:16px; }
  .fact__label, .fact__text{ display:none; }
  .fact__num{ margin:0; font-size:clamp(22px, 6.4vw, 28px); white-space:nowrap; }
  .fact__sub{ display:block; margin-top:2px; font-size:13px; line-height:1.25; color:var(--muted); }

  .hero__cta{ margin-top:26px; gap:14px; }
  .btn--video{ align-self:center; min-height:0; padding:5px 22px 5px 5px; gap:10px; background:rgba(255,255,255,.7); border:2px solid #BFE4E2; box-shadow:none; }
  .btn--video .btn__play{ width:40px; height:40px; }
  .btn--video .btn__play::after{ display:none; }
  .btn--video .btn__vtext{ flex-direction:column; gap:0; align-items:flex-start; }
  .btn--video .btn__vtext b{ font-size:15px; }
  .btn--video .btn__vtext small{ font-size:13px; font-weight:600; color:var(--muted); }
}
@media (max-width:900px) and (max-height:700px){
  .hero__photo img{ aspect-ratio:1.8; }
  .hero__text{ padding-top:12px; }
  .hero__title{ font-size:clamp(25px, 7vw, 32px); }
  .facts{ margin-top:16px; }
  .hero__cta{ margin-top:18px; }
}
@media (max-width:900px) and (max-height:600px){
  .hero__photo img{ aspect-ratio:2.2; object-position:40% 40%; }
  .hero__love{ width:84px; top:3%; }
  .hero__mascot{ width:96px; }
  .eyebrow{ display:none; }
}

/* ==========================================================================
   БЛОКИ 2–11 — по концепции клиентки (ТЗ, 23.11.2026). Значки — Phosphor (MIT), спрайт в index.html (#ph-*).
   ========================================================================== */
.ic{ width:1em; height:1em; flex:none; }
.sec{ position:relative; padding:clamp(72px, 8vw, 120px) 0; overflow:hidden; overflow:clip; }
.sec > .container{ position:relative; z-index:1; }
.sec-head{ text-align:center; max-width:820px; margin:0 auto clamp(32px, 4vw, 52px); }
.sec-title{ font-size:clamp(32px, 3.7vw, 54px); font-weight:900; line-height:1.08; letter-spacing:-.02em; text-wrap:balance; }
.acc{ color:var(--accent); }
.sec-sub{ margin:14px auto 0; max-width:640px; font-size:clamp(16px, 1.35vw, 19px); line-height:1.5; color:var(--muted); text-wrap:balance; }
.sec-cta{ display:flex; justify-content:center; margin-top:clamp(32px, 3.6vw, 48px); }
.btn--outline{ color:var(--text); background:var(--surface); border:2px solid #BFE4E2; box-shadow:none; }
.btn--outline:hover{ border-color:var(--mint-dk); color:var(--text); transform:translateY(-1px); }

/* украшения блоков */
.d-leaf{ width:52px; height:78px; }
.d-leaf--l{ left:max(-10px, calc(50% - 760px)); top:110px; transform:rotate(-24deg); }
.d-leaf--r{ right:max(-10px, calc(50% - 760px)); bottom:120px; transform:rotate(18deg) scaleX(-1); }
.d-h{ width:34px; height:34px; }
.d-h--r1{ right:max(16px, calc(50% - 700px)); top:90px; transform:rotate(14deg); }
.d-h--l1{ left:max(16px, calc(50% - 700px)); top:96px; transform:rotate(-14deg); color:var(--mint); }
.sec-blobs{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.sec-blobs i{ position:absolute; display:block; border-radius:46% 54% 60% 40% / 52% 44% 56% 48%; }
.sec-blobs .sb1{ width:520px; height:360px; left:-260px; top:-120px; background:var(--mint-soft); opacity:.75; transform:rotate(-12deg); }
.sec-blobs .sb2{ width:560px; height:380px; right:-280px; bottom:-140px; background:var(--accent-soft); opacity:.8; transform:rotate(16deg); }

/* ---------- 11. подвал ---------- */
.footer{ position:relative; margin-top:20px; color:#fff; }
.footer__waves{ display:block; width:100%; height:90px; }
.footer__waves .fw1{ fill:#CDEBEA; }
.footer__waves .fw2{ fill:var(--footer-bg); }
.footer__in{ background:var(--footer-bg); padding:30px 0 28px; margin-top:-1px; }
.footer__grid{ display:grid; grid-template-columns:1.2fr 1fr 1.3fr auto; gap:40px; align-items:start; }
/* логотип — тот же, что в шапке, на светлой плашке (Анастасия 26.11: «такой же сделать в подвале») */
.flogo{ display:inline-flex; align-items:center; padding:10px 18px 10px 14px; border-radius:20px; background:var(--bg); text-decoration:none; box-shadow:0 10px 24px rgba(0,0,0,.14); }
.flogo img{ width:auto; height:54px; }
.footer__tag{ margin-top:14px; font-size:16px; color:rgba(255,255,255,.82); }
.footer__msg{ display:flex; gap:10px; margin-top:16px; }
.footer__msg a{ display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.12); transition:background .2s ease; }
.footer__msg a:hover{ background:rgba(255,255,255,.22); }
.footer__msg img{ width:24px; height:24px; border-radius:6px; }
.footer__nav{ display:grid; grid-template-columns:repeat(2, max-content); gap:12px 32px; padding-left:32px; border-left:1px solid rgba(255,255,255,.16); }
.footer__nav a, .footer__contacts a, .footer__legal a{ color:rgba(255,255,255,.86); text-decoration:none; }
.footer__nav a:hover, .footer__contacts a:hover, .footer__legal a:hover{ color:var(--accent-lt); }
.footer__contacts{ list-style:none; margin:0; padding:0 0 0 32px; display:grid; gap:14px; border-left:1px solid rgba(255,255,255,.16); }
.footer__contacts li{ display:flex; align-items:center; gap:12px; font-size:16px; }
.fc__ic{ font-size:22px; color:#BFE4E2; }
.footer__phone{ font-size:20px; font-weight:900; color:#fff !important; }
.footer__bottom{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 28px; margin-top:30px; padding-top:20px; border-top:1px solid rgba(255,255,255,.16); font-size:13.5px; color:rgba(255,255,255,.6); }
.footer__legal{ display:flex; flex-wrap:wrap; gap:8px 24px; }
.footer__copy{ flex:1 1 300px; }
.footer__dev{ display:inline-flex; align-items:center; gap:7px; color:rgba(255,255,255,.72); text-decoration:none; }
.footer__dev:hover{ color:#fff; }
@media (min-width:901px){ .footer__bottom{ padding-right:84px; } }

@media (max-width:1180px){
  .footer__grid{ grid-template-columns:1fr 1fr; }
  .footer__nav, .footer__contacts{ padding-left:0; border-left:0; }
}
@media (max-width:900px){
  .footer__waves{ height:50px; }
  .footer__grid{ grid-template-columns:1fr; gap:22px; }
  .footer__nav{ display:none; }
  .footer__act .btn{ width:100%; }
  .footer__bottom{ flex-direction:column; align-items:flex-start; gap:10px; margin-top:26px; padding-bottom:20px; padding-right:64px; } /* 27.11: стрелка «наверх» не закрывает реквизиты в конце страницы */
  .footer__copy{ flex:none; }
}

/* ==========================================================================
   БЛОКИ 2–10 ПО ВИЗУАЛИЗАЦИЯМ КЛИЕНТКИ (25.11.2026)
   Анастасия: «хотели бы получить ровно тот результат, который есть на визуализациях… важна наглядность и простота».
   Картинки-образцы — ТЗ «Структура сайта BabyRoo» (Google Doc). ТЗ: «одна прокрутка экрана — один блок».
   27.11 правки Анастасии (26.11): больше воздуха — поля справа-слева, разрыв между блоками, после заголовков и перед кнопками;
   волны не обрезаются ровной линией, а идут лентой (голубая / розовая по очереди); кнопки поменьше; режим дня на телефоне целиком.
   ========================================================================== */
:root{
  --t-mint:#E3F4F3; --t-mint-2:#C9EAE7; --t-mint-ink:#2E8F93;
  --t-pink:#FCE7E9; --t-pink-2:#F9D2D6; --t-pink-ink:#E9585F;
  --t-blue:#E2F1F7; --t-blue-2:#C8E5F0; --t-blue-ink:#2F86AE;
  --t-yel:#FDF3DA;  --t-yel-2:#F8E3A8;  --t-yel-ink:#C48F12;
}
.sec{ --wave-h:clamp(26px, 2.6vw, 36px); --wave-b:clamp(26px, 3vw, 42px); padding:clamp(64px, 7vw, 104px) 0 clamp(110px, 11vw, 150px); }
.sec-head{ max-width:1120px; margin-bottom:clamp(30px, 3.8vw, 52px); }
.sec-cta{ margin-top:clamp(32px, 3.6vw, 52px); }
/* кнопки поменьше по всему сайту (Анастасия: «их в любом случае заметят, потому что они контрастные») */
.btn--lg{ padding:15px 30px; font-size:17.5px; }

/* заголовок с «лучиками» по бокам, как на визуализациях */
.rays{ position:relative; display:inline-block; padding:0 clamp(42px, 3.8vw, 60px); }
.rays::before, .rays::after{ content:""; position:absolute; top:50%; width:clamp(26px, 2.3vw, 34px); height:clamp(26px, 2.3vw, 34px); margin-top:calc(clamp(26px, 2.3vw, 34px) / -2);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M5 7l19 7M3 18h23M5 29l19-7' fill='none' stroke='%23E9585F' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.rays::before{ left:0; }
.rays::after{ right:0; transform:scaleX(-1); }

/* волна внизу блока: лента с волнистыми краями, не касается края блока; голубая и розовая по очереди */
.sec-wave{ position:absolute; left:0; right:0; bottom:var(--wave-b); width:100%; height:var(--wave-h); color:#C6E7EC; pointer-events:none; z-index:0; }
.sec-wave path{ fill:currentColor; }
main > section:nth-of-type(even) .sec-wave{ color:#F8D2D7; }
.d-leaf-l{ left:max(-6px, calc(50% - 770px)); top:22%; transform:rotate(-24deg); }
.d-leaf-l2{ left:max(-6px, calc(50% - 770px)); bottom:22%; transform:rotate(-30deg); }
.d-leaf-r{ right:max(-6px, calc(50% - 770px)); top:30%; transform:rotate(20deg) scaleX(-1); }
.d-h-r1{ right:max(18px, calc(50% - 720px)); top:clamp(40px, 9%, 110px); transform:rotate(14deg); }
.d-hm-r2{ right:max(60px, calc(50% - 660px)); top:clamp(90px, 15%, 170px); width:24px; height:24px; transform:rotate(-10deg); }
.d-h-l1{ left:max(18px, calc(50% - 720px)); top:clamp(46px, 10%, 120px); transform:rotate(-14deg); }
.d-hm-l1{ left:max(18px, calc(50% - 720px)); top:clamp(46px, 10%, 120px); transform:rotate(-14deg); }
.d-dash{ right:max(10px, calc(50% - 700px)); top:clamp(24px, 6%, 80px); width:150px; height:68px; color:var(--accent-lt); }
.ck{ width:20px; height:20px; flex:none; }
.nw{ white-space:nowrap; }

/* ---------- 2. почему выбирают: 6 плашек ---------- */
.wy{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(14px, 1.6vw, 22px); }
.wy__c{ position:relative; display:grid; grid-template-columns:auto minmax(0,1fr); gap:18px; align-items:start; padding:clamp(20px, 2.2vw, 28px) clamp(20px, 2vw, 28px); border-radius:26px; background:var(--t-mint); }
.wy__c--pink{ background:var(--t-pink); } .wy__c--blue{ background:var(--t-blue); }
.wy__ic{ width:64px; height:64px; border-radius:50%; display:grid; place-items:center; font-size:32px; background:var(--t-mint-2); color:var(--t-mint-ink); }
.wy__c--pink .wy__ic{ background:var(--t-pink-2); color:var(--t-pink-ink); }
.wy__c--blue .wy__ic{ background:var(--t-blue-2); color:var(--t-blue-ink); }
.wy__c h3{ padding-right:22px; font-size:clamp(18px, 1.5vw, 21px); font-weight:900; line-height:1.2; }
.wy__c p{ margin-top:6px; font-size:15px; line-height:1.45; color:var(--muted); }
.wy__hrt{ position:absolute; right:18px; top:16px; font-size:18px; color:var(--t-mint-ink); opacity:.4; }
.wy__c--pink .wy__hrt{ color:var(--t-pink-ink); } .wy__c--blue .wy__hrt{ color:var(--t-blue-ink); }

/* ---------- 3. ценности: 3 плашки ---------- */
.vl{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(16px, 1.8vw, 24px); }
.vl__c{ position:relative; padding:clamp(24px, 2.8vw, 38px) clamp(22px, 2.4vw, 34px); border-radius:30px; background:var(--t-mint); }
.vl__c--pink{ background:var(--t-pink); } .vl__c--blue{ background:var(--t-blue); }
.vl__ic{ width:84px; height:84px; border-radius:50%; display:grid; place-items:center; font-size:42px; background:var(--t-mint-2); color:var(--t-mint-ink); }
.vl__c--pink .vl__ic{ background:var(--t-pink-2); color:var(--t-pink-ink); }
.vl__c--blue .vl__ic{ background:var(--t-blue-2); color:var(--t-blue-ink); }
.vl__c h3{ margin-top:20px; font-size:clamp(21px, 1.8vw, 26px); font-weight:900; line-height:1.15; color:var(--t-mint-ink); }
.vl__c--pink h3{ color:var(--t-pink-ink); } .vl__c--blue h3{ color:var(--t-blue-ink); }
.vl__c p{ margin-top:12px; font-size:16px; line-height:1.55; color:var(--muted); }
.vl__hrt{ position:absolute; right:26px; top:26px; font-size:22px; color:var(--t-mint-ink); opacity:.35; }
.vl__c--pink .vl__hrt{ color:var(--t-pink-ink); } .vl__c--blue .vl__hrt{ color:var(--t-blue-ink); }

/* ---------- 4. занятия: 3 группы списком ---------- */
.cl-wrap{ position:relative; }
.cl{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(16px, 1.8vw, 24px); }
.cl__g{ display:flex; flex-direction:column; padding:22px clamp(20px, 2vw, 30px) clamp(22px, 2.4vw, 30px); border-radius:30px; background:var(--t-mint); --ink:var(--t-mint-ink); --tint:var(--t-mint-2); }
.cl__g--pink{ background:var(--t-pink); --ink:var(--t-pink-ink); --tint:var(--t-pink-2); }
.cl__g--yellow{ background:var(--t-yel); --ink:var(--t-blue-ink); --tint:var(--t-yel-2); }
.cl__tag{ align-self:center; display:flex; flex-direction:column; align-items:center; gap:6px; margin-bottom:18px; padding:10px 30px 12px; border-radius:22px; background:rgba(255,255,255,.7); }
.cl__tag b{ font-size:clamp(26px, 2.3vw, 32px); font-weight:900; line-height:1; color:var(--ink); }
.cl__tag span{ padding:3px 14px; border-radius:999px; background:var(--tint); font-size:14px; font-weight:800; }
.cl__gi{ display:none; }
.cl__list{ list-style:none; margin:0; padding:0; display:grid; gap:clamp(6px, 1vh, 12px); }
.cl__list li{ display:flex; align-items:flex-start; gap:10px; font-size:16px; font-weight:700; line-height:1.3; }
.cl__list .ck{ color:var(--ink); margin-top:-1px; }
.cl__roo{ position:absolute; right:clamp(-40px, -2.4vw, -10px); bottom:-24px; width:clamp(110px, 11vw, 160px); pointer-events:none; filter:drop-shadow(0 10px 16px rgba(22,63,92,.16)); }

/* ---------- 5. режим дня: группы слева, таблица полного дня ---------- */
.sd{ position:relative; display:grid; grid-template-columns:minmax(200px, 250px) minmax(0,1fr); gap:clamp(18px, 2vw, 28px); }
.sd__r, .sd__dr{ position:absolute; opacity:0; pointer-events:none; }
.sd__side{ position:relative; display:flex; flex-direction:column; }
.sd__tabs{ display:grid; gap:12px; }
.sd__tab{ display:flex; align-items:center; gap:14px; padding:14px 18px; border-radius:20px; cursor:pointer; background:var(--t-pink); border:2px solid transparent; transition:box-shadow .2s ease, border-color .2s ease; }
.sd__tab .ic{ font-size:34px; color:var(--t-pink-ink); }
.sd__tab--mint{ background:var(--t-mint); } .sd__tab--mint .ic{ color:var(--t-mint-ink); }
.sd__tab--teal{ background:var(--t-blue); } .sd__tab--teal .ic{ color:var(--t-blue-ink); }
.sd__tab b{ display:block; font-size:22px; font-weight:900; line-height:1.1; }
.sd__tab small{ display:block; margin-top:2px; font-size:14px; font-weight:700; color:var(--muted); }
.sd__tab:hover{ box-shadow:var(--sh-1); }
.sd:has(#sdG0:checked) .sd__tab--pink{ border-color:var(--t-pink-ink); box-shadow:var(--sh-2); }
.sd:has(#sdG1:checked) .sd__tab--mint{ border-color:var(--t-mint-ink); box-shadow:var(--sh-2); }
.sd:has(#sdG2:checked) .sd__tab--teal{ border-color:var(--t-blue-ink); box-shadow:var(--sh-2); }
.sd:has(.sd__r:focus-visible) .sd__tabs{ outline:2px solid var(--accent); outline-offset:4px; border-radius:22px; }
.sd__roo{ position:absolute; left:50%; bottom:0; width:min(190px, 76%); max-height:calc(100% - 290px); object-fit:contain; object-position:50% 100%; transform:translateX(-50%); filter:drop-shadow(0 10px 16px rgba(22,63,92,.16)); }
.sd__panes{ display:grid; }
.sd__pane{ grid-area:1 / 1; visibility:hidden; --h:#F3A0A6; --ink:var(--t-pink-ink); --line:#F6D3D6; }
.sd__pane--mint{ --h:#7CCDC1; --ink:var(--t-mint-ink); --line:#CDEBE7; }
.sd__pane--teal{ --h:#3BA3B5; --ink:#1F7E91; --line:#CBE6EC; }
.sd:has(#sdG0:checked) .sd__pane--pink, .sd:has(#sdG1:checked) .sd__pane--mint, .sd:has(#sdG2:checked) .sd__pane--teal{ visibility:visible; }
.sd__days{ display:none; }
.sd__t{ width:100%; border-collapse:separate; border-spacing:0; background:#fff; border:1.5px solid var(--line); border-radius:20px; overflow:hidden; box-shadow:var(--sh-1); table-layout:fixed; }
.sd__t thead th{ padding:9px 6px; background:var(--h); color:#fff; font-size:13.5px; font-weight:800; text-align:center; }
.sd__t thead .sd__tc{ width:clamp(118px, 9.6vw, 136px); }
.sd__t .sd__mh, .sd__t .sd__m{ display:none; }
.sd__t tbody th{ padding:0 10px; text-align:left; white-space:nowrap; font-size:13.5px; font-weight:800; color:var(--text); border-top:1px solid var(--line); }
.sd__t tbody th .ic{ font-size:18px; color:var(--ink); vertical-align:-4px; margin-right:7px; }
.sd__t td{ height:clamp(24px, 3.3vh, 34px); padding:3px 5px; text-align:center; font-size:12px; font-weight:700; line-height:1.2; color:var(--text); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.sd__t .sd__all td{ font-size:13.5px; }
.sd__t .sd__kul{ background:rgba(255,255,255,.4); }

/* ---------- 6. команда: 2 + 3 карточки с круглыми фото ---------- */
.tm{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:clamp(14px, 1.6vw, 20px); }
.tm__c{ position:relative; grid-column:span 2; display:flex; flex-direction:column; align-items:center; text-align:center; padding:clamp(16px, 2vh, 24px) 20px; border-radius:26px; background:var(--t-mint); }
.tm__c--pink{ background:var(--t-pink); } .tm__c--yellow{ background:var(--t-yel); }
.tm__c--wide{ grid-column:span 3; flex-direction:row; align-items:center; text-align:left; gap:22px; padding:clamp(16px, 2vh, 22px) 26px; }
.tm__ph{ flex:none; width:clamp(84px, 11vh, 112px); aspect-ratio:1; border-radius:50%; overflow:hidden; border:4px solid #fff; box-shadow:var(--sh-1); background:#fff; }
.tm__ph img{ width:100%; height:100%; object-fit:cover; object-position:50% 40%; }
.tm__c--wide .tm__ph{ width:clamp(96px, 13vh, 128px); }
.tm__t h3{ margin-top:10px; font-size:20px; font-weight:900; line-height:1.15; }
.tm__c--wide .tm__t h3{ margin-top:0; font-size:22px; }
.tm__role{ display:inline-block; margin-top:6px; padding:3px 12px; border-radius:999px; font-size:12.5px; font-weight:800; }
.tm__role--pink{ background:var(--t-pink-2); color:var(--t-pink-ink); }
.tm__role--mint{ background:var(--t-mint-2); color:var(--t-mint-ink); }
.tm__role--yellow{ background:var(--t-yel-2); color:#9A6E06; }
.tm__t p{ margin-top:8px; font-size:14.5px; line-height:1.45; color:var(--muted); }
.tm__hrt{ position:absolute; right:16px; top:14px; font-size:18px; color:var(--accent); opacity:.35; }
.tm__cta{ position:relative; }
.tm__roo{ position:absolute; right:-44px; bottom:-34px; width:clamp(84px, 7.4vw, 110px); pointer-events:none; filter:drop-shadow(0 10px 16px rgba(22,63,92,.16)); }

/* ---------- 7. форматы и цены ---------- */
.fp{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(16px, 1.8vw, 24px); align-items:stretch; }
.fp__c{ position:relative; display:flex; flex-direction:column; padding:clamp(22px, 2.4vw, 30px); border-radius:30px; background:var(--t-mint); overflow:hidden; }
.fp__c--pink{ background:var(--t-pink); } .fp__c--blue{ background:var(--t-blue); }
.fp__head{ display:flex; align-items:center; gap:16px; }
.fp__ic{ flex:none; width:70px; height:70px; border-radius:50%; display:grid; place-items:center; font-size:36px; background:var(--t-mint-2); color:var(--t-mint-ink); }
.fp__c--pink .fp__ic{ background:var(--t-pink-2); color:var(--t-pink-ink); }
.fp__c--blue .fp__ic{ background:var(--t-blue-2); color:var(--t-blue-ink); }
.fp__head h3{ font-size:clamp(22px, 1.9vw, 27px); font-weight:900; line-height:1.1; }
.fp__time{ margin-top:4px; font-size:20px; font-weight:700; }
.fp__list{ list-style:none; margin:22px 0; padding:0; display:grid; gap:12px; }
.fp__list li{ display:flex; gap:10px; font-size:16.5px; font-weight:600; line-height:1.35; }
.fp__list .ck{ color:var(--t-mint-ink); }
.fp__c--pink .fp__list .ck{ color:var(--t-pink-ink); }
.fp__price{ margin-top:auto; padding:12px 18px; border-radius:999px; background:#fff; text-align:center; font-size:19px; font-weight:800; color:var(--accent); }
.fp__price b{ font-size:clamp(28px, 2.5vw, 36px); font-weight:900; }
.fp__text{ position:relative; z-index:1; margin:20px 0 22px; max-width:66%; font-size:16.5px; line-height:1.5; }
.fp__more{ position:relative; z-index:1; align-self:flex-start; margin-top:auto; padding:12px 24px; font-size:17px; }
.fp__roo{ position:absolute; right:-12px; bottom:-14px; width:44%; max-width:190px; pointer-events:none; filter:drop-shadow(0 10px 16px rgba(22,63,92,.14)); }

/* ---------- 8. галерея: коллаж ---------- */
.gl{ position:relative; padding:0 clamp(26px, 2.6vw, 36px); }
.gl__grid{ display:grid; grid-template-columns:3fr repeat(6, minmax(0,1fr)); grid-template-rows:repeat(2, clamp(170px, 17vw, 250px)); gap:12px; }
.gl__p{ display:block; overflow:hidden; border-radius:22px; background:var(--t-mint); }
.gl__p img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.gl__p:hover img{ transform:scale(1.04); }
.gl__p--big{ grid-column:1; grid-row:1 / 3; border-radius:26px; }
.gl__p--t1{ grid-column:2 / 5; grid-row:1; } .gl__p--t2{ grid-column:5 / 8; grid-row:1; }
.gl__p--b1{ grid-column:2 / 4; grid-row:2; } .gl__p--b2{ grid-column:4 / 6; grid-row:2; } .gl__p--b3{ grid-column:6 / 8; grid-row:2; }
.gl__arr{ position:absolute; top:50%; z-index:2; width:48px; height:48px; margin-top:-24px; border:0; border-radius:50%; display:grid; place-items:center; font-size:22px; color:var(--accent); background:#fff; box-shadow:var(--sh-2); cursor:pointer; }
.gl__arr--l{ left:0; } .gl__arr--r{ right:0; }
.gl__arr:hover{ color:#fff; background:var(--accent); }

/* ---------- 9. приходите знакомиться ---------- */
.vs{ display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr) minmax(0,1fr); gap:clamp(22px, 2.6vw, 40px); align-items:center; }
.vs__ph{ position:relative; aspect-ratio:3 / 4; max-height:620px; border-radius:44% 56% 50% 50% / 40% 42% 58% 60%; overflow:hidden; box-shadow:var(--sh-2); }
.vs__ph img{ width:100%; height:100%; object-fit:cover; }
.vs__txt .sec-title{ text-align:left; }
.vs__txt .sec-sub{ margin:14px 0 0; text-align:left; }
.vs__chips{ list-style:none; margin:clamp(18px, 2.6vh, 28px) 0 0; padding:0; display:grid; gap:10px; }
.vs__chips li{ display:flex; align-items:center; gap:12px; padding:8px 18px 8px 8px; border-radius:999px; background:#fff; box-shadow:var(--sh-1); font-size:15.5px; font-weight:800; line-height:1.25; }
.vs__chips span{ flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-size:20px; background:var(--t-pink); color:var(--accent); }
.vs__card{ padding:clamp(22px, 3vh, 34px) clamp(22px, 2.2vw, 32px); border-radius:30px; background:#fff; box-shadow:var(--sh-3); }
.vs__card .vf__title{ margin-bottom:clamp(18px, 2.8vh, 28px); text-align:center; font-size:clamp(22px, 1.9vw, 27px); font-weight:900; line-height:1.15; }
.vs__card .vf__title .rays{ padding:0 40px; }
.vs__card .vf__title .rays::before, .vs__card .vf__title .rays::after{ width:26px; height:26px; margin-top:-13px; }
.vs__card .btn .btn__arrow{ margin-left:2px; }
.vs__card .consent{ margin:8px 0 22px; }
.vf__note{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:16px; text-align:center; font-size:13px; font-weight:700; color:var(--muted); line-height:1.3; }
.vf__note .ic{ font-size:16px; }

/* ---------- 10. где мы находимся ---------- */
.mp{ padding:12px; border-radius:30px; background:#fff; box-shadow:var(--sh-2); }
.map{ position:relative; height:clamp(300px, 30vw, 440px); border-radius:22px; overflow:hidden; background:var(--t-mint); }
.map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.map.is-loaded .map__cover{ display:none; }
.map__cover{ position:absolute; inset:0; display:grid; place-content:center; justify-items:center; gap:14px; }
.map__addr{ font-weight:800; font-size:18px; }
.mp__bar{ display:flex; align-items:center; gap:24px; padding:16px 12px 6px; }
.mp__facts{ list-style:none; margin:0; padding:0; flex:1; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); }
.mp__facts li{ display:flex; align-items:center; gap:12px; padding:2px 18px; }
.mp__facts li + li{ border-left:1.5px solid var(--line); }
.mp__facts .ic{ font-size:34px; color:var(--accent); }
.mp__m{ flex:none; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-weight:900; font-size:17px; color:#fff; background:#D7263D; }
.mp__facts b{ display:block; font-size:17px; font-weight:900; line-height:1.2; }
.mp__facts small{ display:block; margin-top:2px; font-size:14px; color:var(--muted); line-height:1.3; }
.mp__route{ flex:none; padding:15px 26px; }

/* ==========================================================================
   КОМПЬЮТЕР И НОУТБУК: один блок = один экран (ТЗ)
   ========================================================================== */
@media (min-width:1001px){
  :root{ --scr:calc(100svh - var(--header-h) - 1px); }
  .hero{ min-height:var(--scr); }
  main > .sec{ --wave-h:clamp(22px, 3.2vh, 36px); --wave-b:clamp(14px, 2.4vh, 34px); min-height:var(--scr); display:flex; flex-direction:column; justify-content:center; padding:clamp(20px, 4.4vh, 64px) 0 clamp(64px, 11vh, 128px); scroll-margin-top:var(--header-h); }
  main > .sec.mp-sec{ padding-bottom:clamp(36px, 6vh, 72px); }
  .sec-head{ margin-bottom:clamp(20px, 3.8vh, 52px); }
  /* Анастасия 27.11: заголовок без подзаголовка «прилеплен» к карточкам, кнопки «прижаты» к тексту — разрыв больше */
  .sec-head--solo{ margin-bottom:clamp(30px, 6.4vh, 70px); }
  .sec-sub{ margin-top:clamp(6px, 1.2vh, 14px); max-width:860px; }
  .sec-cta{ margin-top:clamp(30px, 7vh, 76px); }
  .btn--lg{ padding-top:clamp(12px, 1.7vh, 15px); padding-bottom:clamp(12px, 1.7vh, 15px); }
  .wy__c{ padding-top:clamp(14px, 2.6vh, 28px); padding-bottom:clamp(14px, 2.6vh, 28px); }
  .vl__c{ padding-top:clamp(18px, 3.6vh, 38px); padding-bottom:clamp(18px, 3.6vh, 38px); }
  .vl__ic{ width:clamp(60px, 9vh, 84px); height:clamp(60px, 9vh, 84px); font-size:clamp(30px, 4.6vh, 42px); }
  .vl__c h3{ margin-top:clamp(10px, 2vh, 20px); }
  .cl__g{ padding-top:clamp(14px, 2.4vh, 22px); padding-bottom:clamp(14px, 2.6vh, 30px); }
  .cl__tag{ margin-bottom:clamp(10px, 2vh, 18px); padding-top:clamp(6px, 1vh, 10px); padding-bottom:clamp(8px, 1.2vh, 12px); }
  .cl__list{ gap:clamp(4px, .9vh, 12px); }
  .cl__list li{ font-size:clamp(14.5px, 2vh, 16px); }
  .sd__t td{ height:clamp(20px, calc((var(--scr) - 470px) / 17), 32px); }
  .sd__t thead th{ padding-top:clamp(5px, 1vh, 9px); padding-bottom:clamp(5px, 1vh, 9px); }
  .fp__c{ padding-top:clamp(18px, 3vh, 30px); padding-bottom:clamp(18px, 3vh, 30px); }
  .fp__list{ margin:clamp(12px, 2.4vh, 22px) 0; gap:clamp(6px, 1.2vh, 12px); }
  .gl__grid{ grid-template-rows:repeat(2, clamp(140px, calc((var(--scr) - 300px) / 2), 260px)); }
  .vs__ph{ max-height:calc(var(--scr) - 120px); justify-self:center; height:auto; width:100%; max-width:calc((var(--scr) - 120px) * .75); }
  .map{ height:clamp(220px, calc(var(--scr) - 380px), 460px); }
  .tm__c{ padding-top:clamp(12px, 1.6vh, 24px); padding-bottom:clamp(12px, 1.6vh, 24px); }
  .tm__ph{ width:clamp(84px, 10vh, 112px); }
  .tm__cta{ margin-top:clamp(30px, 5.4vh, 64px); } /* команда занимает весь экран: кнопке чуть меньше, чем в других блоках */
  .sd-sec .sec-cta{ margin-top:clamp(30px, 4.4vh, 56px); } /* режим дня 9–19 под таблицей: кнопка помещается в экран */
  .tm__t p{ margin-top:clamp(4px, .8vh, 8px); }
}

/* низкие экраны ноутбуков: место берём у раскладки, а не у заголовков */
@media (min-width:1001px) and (max-height:800px){
  /* команда: нижние три карточки — фото слева, как на мобильной визуализации */
  .tm__c:not(.tm__c--wide){ flex-direction:row; align-items:center; text-align:left; gap:16px; padding-left:18px; padding-right:20px; }
  .tm__c:not(.tm__c--wide) .tm__ph{ width:clamp(66px, 10vh, 84px); }
  .tm__c:not(.tm__c--wide) .tm__t h3{ margin-top:0; }
  .tm__t p{ font-size:14px; }
}
@media (min-width:1001px) and (max-height:920px){
  /* режим дня: кнопка «Узнать больше» уходит в левую колонку под группы, вместо кенгуру (полный день 9–19 занимает весь экран) */
  .sd-sec .container{ position:relative; }
  .sd-sec .sec-cta{ position:absolute; left:0; bottom:0; width:clamp(200px, 17.4vw, 250px); margin:0 !important; }
  .sd-sec .sec-cta .btn{ width:100%; padding-left:14px; padding-right:14px; font-size:16.5px; }
  .sd__roo{ display:none; } /* на низком экране кенгуру не помещается между группами и кнопкой */
}
@media (min-width:1001px) and (max-height:790px){
  /* невысокие ноутбуки: воздух чуть меньше, чтобы блок оставался в один экран */
  main > .sec{ --wave-b:12px; padding-top:16px; padding-bottom:60px; }
  .sec-head{ margin-bottom:18px; }
  .sec-head--solo{ margin-bottom:28px; }
  .sec-cta{ margin-top:30px; }
  .cl__list li{ font-size:14px; }
}
@media (min-width:1001px) and (max-height:820px){
  .sd__t td{ height:auto; padding:1px 4px; line-height:1.15; }
  .sd__t tbody th{ line-height:1.1; padding-top:1px; padding-bottom:1px; font-size:12.5px; }
  .sd__t tbody th .ic{ font-size:15px; vertical-align:-3px; }
  .sd__t thead th{ padding:5px 4px; }
}
@media (min-width:1001px) and (max-height:680px){
  .hero{ padding-bottom:clamp(40px, 8vh, 92px) !important; }
  .sec-head--solo{ margin-bottom:24px; }
  .sec-cta{ margin-top:26px; }
  .cl__list{ gap:1px; }
  .cl__tag{ margin-bottom:8px; }
  .tm{ gap:8px; }
  .tm__c:not(.tm__c--wide) .tm__ph{ width:62px; }
  .vs__chips{ gap:6px; margin-top:10px; }
  .vs__chips li{ padding-top:4px; padding-bottom:4px; }
  .vs__chips span{ width:32px; height:32px; font-size:18px; }
  .vs__txt .sec-sub{ margin-top:8px; }
  .sd-sec .sec-head{ margin-bottom:10px !important; }
  .vs__card{ padding-top:16px; padding-bottom:16px; }
  .vs__card .vf__title{ margin-bottom:8px; }
  .vs__card .field{ margin-bottom:8px; }
  .vs__card .field input{ height:44px; padding-top:0; padding-bottom:0; }
  .vs__card .consent{ margin:4px 0 12px; }
}

/* ==========================================================================
   ПЛАНШЕТ
   ========================================================================== */
@media (max-width:1180px){
  .wy__c{ grid-template-columns:1fr; gap:12px; }
  .cl__list li{ font-size:15px; }
  .vs{ grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.1fr); }
}
/* планшет в альбомной ориентации (iPad 1024×768): плашки «Почему» с иконкой слева, чтобы блок влез в экран */
@media (min-width:1001px) and (max-width:1180px) and (max-height:820px){
  .wy__c{ grid-template-columns:auto minmax(0,1fr); gap:12px; padding:16px 16px; }
  .wy__ic{ width:48px; height:48px; font-size:24px; }
  .wy__c h3{ font-size:17px; }
  .wy__c p{ font-size:13.5px; line-height:1.4; }
}
@media (min-width:901px) and (max-width:1100px){
  .sd{ grid-template-columns:200px minmax(0,1fr); }
  .sd__t thead .sd__tc{ width:118px; }
  .sd__t td{ font-size:11.5px; }
  .fp__text{ max-width:100%; }
  .fp__roo{ width:34%; }
  .mp__bar{ flex-direction:column; align-items:stretch; }
}

/* ==========================================================================
   ТЕЛЕФОН — по мобильным визуализациям клиентки
   ========================================================================== */
@media (min-width:901px){
  .vs__card .field input::placeholder{ color:transparent; }
}
@media (max-width:900px){
  /* воздух между блоками: кнопка — волна — заголовок следующего блока (Анастасия 26.11) */
  .sec{ --wave-h:28px; --wave-b:22px; padding:36px 0 100px; }
  .mp-sec{ padding-bottom:36px; }
  .sec-head{ margin-bottom:28px; }
  .sec-title{ font-size:clamp(27px, 7.4vw, 38px); }
  .sec-sub{ font-size:14.5px; line-height:1.45; margin-top:8px; }
  .sec-cta{ margin-top:32px; }
  .sec-cta .btn--lg{ width:100%; padding:13px 20px; font-size:16px; }
  .rays{ padding:0 34px; }
  .rays::before, .rays::after{ width:22px; height:22px; margin-top:-11px; }
  .d-leaf, .d-h, .d-dash{ display:none; }

  .wy{ grid-template-columns:1fr; gap:7px; }
  .wy__c{ grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:center; padding:9px 14px 9px 11px; border-radius:18px; }
  .wy__ic{ width:42px; height:42px; font-size:22px; }
  .wy__c h3{ padding-right:0; font-size:16px; }
  .wy__c p{ margin-top:1px; font-size:12px; line-height:1.36; }
  .wy__hrt{ display:none; }

  .vl{ grid-template-columns:1fr; gap:10px; }
  .vl__c{ display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:14px; padding:14px 16px 15px 14px; border-radius:20px; }
  .vl__ic{ grid-row:1 / 3; width:54px; height:54px; font-size:27px; }
  .vl__c h3{ margin-top:0; font-size:17.5px; }
  .vl__c p{ margin-top:4px; font-size:13px; line-height:1.42; }
  .vl__hrt{ display:none; }

  .cl{ grid-template-columns:1fr; gap:6px; }
  .cl__g{ display:grid; grid-template-columns:96px minmax(0,1fr); gap:12px; align-items:center; padding:8px 14px 8px 9px; border-radius:20px; }
  .cl__tag{ margin:0; padding:8px 6px; gap:4px; border-radius:18px; }
  .cl__tag b{ font-size:21px; }
  .cl__tag span{ font-size:12px; padding:2px 9px; }
  .cl__gi{ display:block; margin-top:2px; font-size:24px; color:var(--ink); }
  .cl__list{ gap:1px; }
  .cl__list li{ gap:6px; font-size:12px; line-height:1.2; }
  .cl__list .ck{ width:14px; height:14px; margin-top:1px; }
  .cl__roo{ display:none; }

  .sd{ grid-template-columns:1fr; gap:10px; }
  .sd__tabs{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; }
  .sd__tab{ justify-content:center; gap:6px; padding:8px 4px; border-radius:14px; }
  .sd__tab .ic{ font-size:22px; }
  .sd__tab b{ font-size:15px; }
  .sd__tab small{ margin-top:0; font-size:11px; }
  .sd__roo{ display:none; }
  .sd__days{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:5px; margin-bottom:8px; }
  .sd__days label{ padding:6px 0; border-radius:999px; text-align:center; font-size:13.5px; font-weight:800; background:#fff; border:1.5px solid var(--line-2); cursor:pointer; }
  .sd:has(#sdD0:checked) .sd__days label[for="sdD0"], .sd:has(#sdD1:checked) .sd__days label[for="sdD1"], .sd:has(#sdD2:checked) .sd__days label[for="sdD2"],
  .sd:has(#sdD3:checked) .sd__days label[for="sdD3"], .sd:has(#sdD4:checked) .sd__days label[for="sdD4"]{ background:var(--accent); border-color:var(--accent); color:#fff; }
  .sd:has(.sd__dr:focus-visible) .sd__days{ outline:2px solid var(--accent); outline-offset:3px; border-radius:999px; }
  .sd__t, .sd__t thead, .sd__t tbody{ display:block; }
  .sd__t{ border-radius:16px; }
  .sd__t tr{ display:grid; grid-template-columns:110px minmax(0,1fr); }
  .sd__t thead th[data-d]{ display:none; }
  .sd__t thead .sd__tc{ width:auto; }
  .sd__t .sd__mh{ display:block; }
  .sd__t .sd__m{ display:block; }
  .sd__t th, .sd__t td{ display:flex; align-items:center; }
  .sd__t thead th{ justify-content:center; padding:7px 6px; font-size:12.5px; }
  .sd__t tbody th{ padding:3px 8px; font-size:12px; }
  .sd__t tbody th .ic{ font-size:15px; margin-right:5px; }
  .sd__t td{ height:auto; min-height:26px; padding:3px 10px; justify-content:flex-start; text-align:left; font-size:12.5px; }
  .sd__t .sd__all td{ font-size:12.5px; }
  .sd:has(#sdD0:checked) .sd__t td[data-d]:not([data-d="0"]), .sd:has(#sdD1:checked) .sd__t td[data-d]:not([data-d="1"]), .sd:has(#sdD2:checked) .sd__t td[data-d]:not([data-d="2"]),
  .sd:has(#sdD3:checked) .sd__t td[data-d]:not([data-d="3"]), .sd:has(#sdD4:checked) .sd__t td[data-d]:not([data-d="4"]){ display:none; }

  .tm{ grid-template-columns:1fr; gap:8px; }
  .tm__c, .tm__c--wide{ grid-column:auto; flex-direction:row; align-items:center; text-align:left; gap:12px; padding:10px 14px 10px 10px; border-radius:18px; }
  .tm__ph, .tm__c--wide .tm__ph{ width:62px; border-width:3px; }
  .tm__t h3, .tm__c--wide .tm__t h3{ display:inline; margin:0 6px 0 0; font-size:16px; }
  .tm__role{ margin-top:0; padding:2px 9px; font-size:11px; vertical-align:2px; }
  .tm__t p{ margin-top:3px; font-size:12.5px; line-height:1.38; }
  .tm__hrt, .tm__roo{ display:none; }

  .fp{ grid-template-columns:1fr; gap:10px; }
  .fp__c{ padding:14px 16px; border-radius:20px; }
  .fp__head{ gap:12px; }
  .fp__ic{ width:46px; height:46px; font-size:24px; }
  .fp__head h3{ font-size:18px; }
  .fp__time{ margin-top:0; font-size:15px; }
  .fp__c--mint, .fp__c--pink{ display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:10px; }
  .fp__c--mint .fp__head, .fp__c--pink .fp__head{ grid-column:1 / -1; }
  .fp__list{ margin:8px 0 0; gap:4px; }
  .fp__list li{ gap:7px; font-size:13px; }
  .fp__list .ck{ width:16px; height:16px; }
  .fp__price{ align-self:center; margin:8px 0 0; padding:7px 12px; font-size:12.5px; }
  .fp__price b{ font-size:19px; }
  .fp__text{ margin:8px 0 10px; max-width:60%; font-size:13.5px; line-height:1.42; }
  .fp__more{ padding:9px 16px; font-size:14.5px; }
  .fp__roo{ width:34%; }

  .gl{ padding:0; }
  .gl__grid{ grid-template-columns:1fr 1fr; grid-template-rows:none; gap:8px; }
  .gl__p{ grid-column:auto !important; grid-row:auto !important; aspect-ratio:5 / 4; border-radius:16px; }
  .gl__p--big{ grid-column:1 / -1 !important; aspect-ratio:16 / 10; border-radius:20px; }
  .gl__p--b2{ display:none; }
  .gl__arr{ top:calc((100vw - 2 * var(--gutter)) * .3125); width:40px; height:40px; margin-top:-20px; font-size:18px; }
  .gl__arr--l{ left:8px; } .gl__arr--r{ right:8px; }

  .vs{ grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:12px 14px; }
  .vs__txt{ display:contents; }
  .vs__txt .sec-title{ grid-column:1; grid-row:1; align-self:end; font-size:clamp(25px, 7vw, 34px); }
  .vs__txt .sec-sub{ grid-column:1; grid-row:2; align-self:start; margin:0; font-size:14px; }
  .vs__ph{ grid-column:2; grid-row:1 / 3; aspect-ratio:4 / 5; max-height:none; }
  .vs__chips{ grid-column:1 / -1; grid-row:3; grid-template-columns:1fr 1fr; gap:6px; margin:2px 0 0; }
  .vs__chips li{ padding:5px 8px 5px 5px; gap:8px; font-size:12px; }
  .vs__chips span{ width:28px; height:28px; font-size:15px; }
  .vs__card{ grid-column:1 / -1; grid-row:4; margin-top:14px; padding:22px 18px 20px; border-radius:22px; }
  .vs__card .vf__title{ margin-bottom:20px; font-size:18.5px; }
  .vs__card .vf__title .rays{ padding:0 30px; }
  .vs__card .vf__title .rays::before, .vs__card .vf__title .rays::after{ width:20px; height:20px; margin-top:-10px; }
  .vs__card .field{ margin-bottom:10px; }
  .vs__card .field label{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .vs__card .field input{ height:46px; }
  .vs__card .consent{ margin:6px 0 20px; }
  .vs__card .consent__text{ font-size:12.5px; line-height:1.4; }
  .vs__card .btn--lg{ padding:13px 20px; font-size:16px; }
  .vf__note{ margin-top:14px; font-size:11.5px; }

  .mp{ padding:8px; border-radius:22px; }
  .map{ height:clamp(240px, 36svh, 320px); border-radius:16px; }
  .mp__bar{ flex-direction:column; align-items:stretch; gap:12px; padding:12px 4px 4px; }
  .mp__facts li{ flex-direction:column; align-items:flex-start; gap:5px; padding:0 8px; }
  .mp__facts .ic{ font-size:24px; }
  .mp__m{ width:24px; height:24px; font-size:13px; }
  .mp__facts b{ font-size:13.5px; }
  .mp__facts small{ font-size:12px; }
  .mp__route{ width:100%; padding:14px 20px; }
}
/* телефоны пониже (iPhone mini, X — 375×812): ещё плотнее, чтобы блок влез в экран */
@media (max-width:900px) and (max-height:820px){
  .sec-cta .btn--lg{ padding:12px 20px; }
  .wy{ gap:6px; }
  .wy__c{ padding:7px 14px 7px 11px; }
  .wy__c p{ line-height:1.3; }
  .cl__g{ padding-top:7px; padding-bottom:7px; }
  .cl__list{ gap:0; }
  .tm__c, .tm__c--wide{ padding-top:8px; padding-bottom:8px; }
  .fp__c{ padding-top:12px; padding-bottom:12px; }
}
@media (max-width:380px){
  .cl__g{ grid-template-columns:86px minmax(0,1fr); gap:10px; }
  .cl__tag b{ font-size:19px; }
  .cl__list li{ font-size:12px; }
  .sd__t tr{ grid-template-columns:102px minmax(0,1fr); }
  .sd__tab b{ font-size:14px; }
  .sd__tab .ic{ font-size:19px; }
  .vs__chips li{ font-size:11.5px; }
}

/* планшет стоя (768–900): галерея коллажем в три колонки, иначе она в два экрана */
@media (min-width:601px) and (max-width:900px){
  .gl__grid{ grid-template-columns:repeat(3, minmax(0,1fr)) !important; }
  .gl__p{ aspect-ratio:4 / 3; }
  .gl__p--big{ grid-column:1 / 3 !important; grid-row:1 / 3 !important; aspect-ratio:auto; }
  .gl__p--b2{ display:block; }
  .gl__arr{ top:50%; }
}
