/* ==========================================================================
   Малышев Спорт — визуальная система сайта
   Цвета и размеры меняются в :root. Шрифт лежит в site/fonts/, свой.
   ========================================================================== */

@font-face { font-family:'Golos Text'; font-style:normal; font-weight:400;
  src:url('../fonts/golos-text-400.woff2') format('woff2'); font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Golos Text'; font-style:normal; font-weight:400;
  src:url('../fonts/golos-text-latin-400.woff2') format('woff2'); font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215; }
@font-face { font-family:'Golos Text'; font-style:normal; font-weight:500;
  src:url('../fonts/golos-text-500.woff2') format('woff2'); font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Golos Text'; font-style:normal; font-weight:500;
  src:url('../fonts/golos-text-latin-500.woff2') format('woff2'); font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215; }
@font-face { font-family:'Golos Text'; font-style:normal; font-weight:700;
  src:url('../fonts/golos-text-700.woff2') format('woff2'); font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Golos Text'; font-style:normal; font-weight:700;
  src:url('../fonts/golos-text-latin-700.woff2') format('woff2'); font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215; }

:root {
  --navy:#0B2D50; --navy-700:#123c69; --navy-50:#eef3f9;
  --amber:#E39B1B; --amber-bg:#fff6e5;
  --teal:#2A9D8F; --teal-bg:#e8f5f3; --teal-200:#7fd4c6; /* светлый бирюзовый для тёмных секций */
  --cream:#FDF8F0; --cream-line:#f0e4d2;
  --ink:#1d2a38; --muted:#5d6f84; --line:#e3e9f0; --soft:#f5f8fb; --white:#fff;
  --radius:14px; --radius-lg:22px;
  --shadow:0 1px 2px rgba(11,45,80,.06), 0 8px 24px rgba(11,45,80,.07);
  --shadow-lg:0 2px 6px rgba(11,45,80,.08), 0 18px 48px rgba(11,45,80,.12);
  --wrap:1120px; --gutter:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:clip}
body{margin:0;font-family:'Golos Text',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  font-size:18px;line-height:1.55;color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;height:auto}
a{color:var(--navy-700)}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.section{padding:clamp(60px,7.2vw,104px) 0}
.section--soft{background:var(--soft)}
.section--cream{background:var(--cream)}
.section--sky{background:var(--navy-50)}
.section--cream .card{background:#fff}
.section--navy{background:var(--navy);color:#eaf1f9}
.section--dark{background:var(--navy);color:#dce7f2}
.section--navy h2,.section--navy h3,.section--dark h2,.section--dark h3{color:#fff}
.section--dark .eyebrow{color:#7fd4c7}

h1,h2,h3{line-height:1.15;color:var(--navy);margin:0 0 .5em;font-weight:700;letter-spacing:-.01em}
h1{font-size:clamp(34px,5vw,54px)}
h2{font-size:clamp(26px,3.4vw,36px)}
h3{font-size:20px}
p{margin:0 0 1em}
.lead{font-size:clamp(19px,2.1vw,21px);color:var(--muted)}
.eyebrow{display:inline-block;font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--teal);font-weight:700;margin-bottom:10px}
.section-head{max-width:760px;margin-bottom:40px}
.mark{background:linear-gradient(transparent 60%,rgba(227,155,27,.45) 60%);padding:0 .06em}

/* ---------- кнопки ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 28px;border-radius:999px;
  border:2px solid transparent;font-size:17px;font-weight:700;text-decoration:none;cursor:pointer;
  transition:transform .12s ease,box-shadow .2s ease,background .2s ease}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--amber);color:#33230a;box-shadow:0 6px 18px rgba(227,155,27,.35)}
.btn--primary:hover{background:#f0a92a}
.btn--outline{border-color:var(--navy);color:var(--navy);background:#fff}
.btn--outline:hover{background:var(--navy-50)}
.btn--ghost{border-color:rgba(255,255,255,.55);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.12)}
.btn--block{width:100%}

/* ---------- шапка ---------- */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);
  border-top:3px solid var(--teal);box-shadow:0 10px 28px -20px rgba(11,45,80,.55);
  transition:box-shadow .25s ease}
.header.is-scrolled{box-shadow:0 8px 26px -14px rgba(11,45,80,.34)}
.header.is-scrolled .header__in{height:60px}
.header__in{display:flex;align-items:center;gap:24px;height:72px;transition:height .25s ease}
.logo{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--navy);flex:0 0 auto}
.logo img{height:42px;width:auto;display:block}
.logo b{font-size:18px;font-weight:700;letter-spacing:.01em;line-height:1.15;display:block;white-space:nowrap}
.logo b i{font-style:normal;color:var(--teal)}
.logo>span{display:block;line-height:1.15}
.logo>span>span{font-size:12px;color:var(--muted);white-space:nowrap}
.nav{display:flex;gap:26px;flex:1 1 auto;justify-content:flex-end;align-items:center;white-space:nowrap}
.nav a{position:relative;color:var(--navy);text-decoration:none;white-space:nowrap;
  text-transform:uppercase;font-weight:600;font-size:12px;letter-spacing:.1em;padding:9px 0}
/* подчёркивание раскрывается от середины, цвет текста не меняется */
.nav a::after{content:"";position:absolute;left:50%;bottom:2px;height:2px;width:0;background:var(--teal);
  transition:width .25s ease,left .25s ease}
.nav a:hover::after{width:100%;left:0}
.header__cta{display:flex;align-items:center;gap:16px;flex:0 0 auto}
.header__cta .btn{padding:11px 21px;font-size:15px;font-weight:600;box-shadow:none}
.burger{display:none;background:none;border:0;padding:8px;cursor:pointer;position:relative}
/* Видимый размер бургера маленький, но палец должен попадать: невидимая
   подложка расширяет область нажатия до ~46px, не сдвигая вёрстку. */
.burger::after{content:"";position:absolute;inset:-6px}
.burger span{display:block;width:24px;height:2px;background:var(--navy);margin:5px 0}

/* ---------- первый экран: два пятна внахлёст ---------- */
/* Переход к следующей секции — растворением, а не линией.
   Любая фигура поперёк экрана (дуга, скос) режет круглое фото: оно висит низко. */
.hero{--hero-bg:var(--cream);--hero-fade:#fff;position:relative;background:var(--hero-bg);
  overflow:visible;z-index:2;padding:clamp(48px,5vw,72px) 0 clamp(64px,7.6vw,110px)}
.hero::before{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;pointer-events:none;z-index:1;
  background:linear-gradient(to bottom,rgba(255,255,255,0),var(--hero-fade))}
/* высота дуги привязана к запасу под фотографией: сейчас под ней 111 px */
/* кольца пересекают границу секций: шов превращается в место, где что-то продолжается */
.seam{position:absolute;left:0;right:0;bottom:0;height:0;z-index:3;pointer-events:none}
.seam i{position:absolute;display:block;border-radius:50%}
.seam .s1{width:clamp(140px,15vw,210px);aspect-ratio:1;height:auto;left:4%;bottom:-40px;
  border:2px dashed rgba(42,157,143,.42)}
.seam .s2{width:16px;height:16px;right:16%;bottom:28px;background:rgba(227,155,27,.6)}
.seam .s3{width:clamp(84px,9vw,120px);aspect-ratio:1;height:auto;right:6%;bottom:-54px;
  border:2px solid rgba(42,157,143,.3)}
.hero>.wrap{position:relative;z-index:2}
.hero__top{display:grid;grid-template-columns:1.06fr .94fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(34px,4.4vw,54px);line-height:1.05;letter-spacing:-.03em;margin:0 0 20px}
.hero .lead{margin:0 0 42px;font-size:clamp(17px,1.5vw,19px);max-width:25em}
.hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}

/* текстовая ссылка вместо второй кнопки — не спорит с главным действием */
.link-arrow{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:17px;
  color:var(--navy);text-decoration:none;padding:4px 0;border-bottom:2px solid transparent;
  transition:border-color .2s ease,gap .2s ease}
.link-arrow::after{content:"";width:18px;height:18px;flex:none;
  background:currentColor;-webkit-mask:var(--arrow) center/contain no-repeat;mask:var(--arrow) center/contain no-repeat;
  transition:transform .2s ease}
:root{--arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.link-arrow:hover{border-bottom-color:var(--amber)}
.link-arrow:hover::after{transform:translateX(4px)}
.hero.is-dark .link-arrow{color:#fff}

/* пара пятен */
.pair{position:relative;height:clamp(330px,33vw,462px)}
.pair figure{position:absolute;margin:0;overflow:hidden;box-shadow:0 22px 50px rgba(11,45,80,.18)}
.pair figure img{width:100%;height:100%;object-fit:cover;display:block}
.pair .one{width:66%;height:70%;left:0;top:0;border-radius:58% 42% 46% 54%/44% 52% 48% 56%;z-index:1}
.pair .two{width:58%;height:62%;right:0;bottom:0;border-radius:42% 58% 62% 38%/56% 44% 56% 44%;
  border:9px solid var(--hero-bg);z-index:2}
.pair .spot{--spot-op:.2;position:absolute;left:-26px;top:22px;width:66%;height:70%;background:var(--teal);opacity:var(--spot-op);
  border-radius:58% 42% 46% 54%/44% 52% 48% 56%;z-index:0}

.pair__pill{position:absolute;background:rgba(255,255,255,.95);backdrop-filter:blur(6px);color:var(--navy);
  font-size:13px;font-weight:700;padding:7px 13px;border-radius:999px;box-shadow:0 6px 18px rgba(11,45,80,.18);
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;z-index:3}
.pair__pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--teal);flex:none}
.pair__pill.p1{left:6%;top:6%}
.pair__pill.p2{right:6%;bottom:8%}
.pair__pill.p2::before{background:var(--amber)}

/* подсветка прорисовывается */
.mark{background-image:linear-gradient(transparent 60%,rgba(227,155,27,.5) 60%);background-repeat:no-repeat;
  background-size:0 100%;padding:0 .06em;animation:markIn .8s .7s cubic-bezier(.2,.7,.3,1) forwards}
@keyframes markIn{to{background-size:100% 100%}}

/* появление */
.hero h1,.hero .lead,.hero__actions{animation:riseIn .75s cubic-bezier(.2,.7,.3,1) both}
.hero h1{animation-delay:.06s}
.hero .lead{animation-delay:.2s}
.hero__actions{animation-delay:.3s}
@keyframes riseIn{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.pair .one{animation:blobIn .9s .35s cubic-bezier(.2,1.1,.4,1) both}
.pair .two{animation:blobIn .9s .55s cubic-bezier(.2,1.1,.4,1) both}
.pair .spot{animation:spotIn .9s .25s cubic-bezier(.2,1.1,.4,1) both}
.pair__pill{animation:pillIn .5s .95s cubic-bezier(.2,.9,.3,1) both}
.pair__pill.p2{animation-delay:1.1s}
@keyframes blobIn{from{opacity:0;transform:translateY(34px) scale(.92)}to{opacity:1;transform:none}}
/* у пятна своя дорожка: общий ключевой кадр перебивал его прозрачность */
@keyframes spotIn{from{opacity:0;transform:translateY(34px) scale(.92)}to{opacity:var(--spot-op);transform:none}}
@keyframes pillIn{from{opacity:0;transform:translateY(10px) scale(.94)}to{opacity:1;transform:none}}

/* пятна мягко дышат */
@keyframes float1{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes float2{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
.pair .one{animation:blobIn .9s .35s cubic-bezier(.2,1.1,.4,1) both, float1 7s 1.3s ease-in-out infinite}
.pair .two{animation:blobIn .9s .55s cubic-bezier(.2,1.1,.4,1) both, float2 8s 1.5s ease-in-out infinite}

/* ---------- украшения: кольца и шарики ----------
   Кольца только контуром и пунктиром. Заливку несут шарики — это разные роли,
   смешивать их в одном элементе не нужно. */
/* Две разные роли, их нельзя смешивать.
   .deco обрезает по границе секции — иначе кольца вылезают на соседние блоки.
   .deco__band задаёт систему координат шириной с колонку контента: проценты в
   позициях должны означать одно и то же на 1320 и на 3440, иначе на широких
   экранах кольца уезжают внутрь и ложатся на текст. Band НЕ обрезает: когда
   обрезал он, на широком экране был виден вертикальный срез посреди страницы. */
.deco{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.deco__band{position:absolute;top:0;bottom:0;left:50%;width:min(100%,1320px);
  transform:translateX(-50%)}
.deco i{position:absolute;border-radius:50%;display:block}
.deco .ring{border:2px solid rgba(42,157,143,.32)}
.deco .ring--dash{border-style:dashed}
/* Кольца не должны пересекать горизонтальную границу секции — на стыке
   это читается как обрезка. По бокам уходить за край можно и нужно. */
.deco .r1{width:clamp(180px,22vw,300px);aspect-ratio:1;height:auto;right:-6%;top:6%}
.deco .r2{width:clamp(120px,13vw,180px);aspect-ratio:1;height:auto;right:36%;bottom:8%;
  border-color:rgba(227,155,27,.45);border-style:dashed}
.deco .r3{width:clamp(70px,8vw,104px);aspect-ratio:1;height:auto;left:-2%;top:16%;
  border-color:rgba(11,45,80,.18)}
.deco .r4{width:clamp(44px,5vw,64px);aspect-ratio:1;height:auto;left:30%;bottom:10%;
  border-color:rgba(42,157,143,.34);border-style:dashed}
.deco .ball{border:0}
.deco .b1{width:18px;height:18px;background:var(--amber);left:6%;top:20%;opacity:.6}
.deco .b2{width:11px;height:11px;background:var(--teal);left:45%;top:8%;opacity:.65}
.deco .b3{width:26px;height:26px;background:var(--teal);left:1%;bottom:18%;opacity:.3}
.deco .b4{width:13px;height:13px;background:var(--navy);right:2%;top:36%;opacity:.22}
.deco .b5{width:9px;height:9px;background:var(--amber);left:36%;bottom:13%;opacity:.55}
.hero.is-dark .deco .ring{border-color:rgba(127,212,199,.4)}
.hero.is-dark .deco .r2{border-color:rgba(227,155,27,.5)}
.hero.is-dark .deco .r3{border-color:rgba(255,255,255,.2)}
.hero.is-dark .deco .b4{background:#fff;opacity:.3}

/* круги медленно дрейфуют, каждый по-своему */
.deco i{animation:drift 26s ease-in-out infinite}
.deco .r2{animation-duration:32s;animation-delay:-6s}
.deco .r3{animation-duration:22s;animation-delay:-11s}
.deco .r4{animation-duration:29s;animation-delay:-3s}
.deco .b1{animation-duration:19s;animation-delay:-8s}
.deco .b2{animation-duration:24s;animation-delay:-14s}
.deco .b3{animation-duration:34s;animation-delay:-2s}
.deco .b4{animation-duration:21s;animation-delay:-17s}
.deco .b5{animation-duration:27s;animation-delay:-5s}
@keyframes drift{0%,100%{transform:translate(0,0)}33%{transform:translate(9px,-12px)}66%{transform:translate(-7px,8px)}}

/* Фазы движения.
   Глобальное правило .deco i даёт всем одинаковые 26 с без задержки, и украшения
   новых секций качались строем. Кольца бродят по-разному, шарики покачиваются —
   два разных движения, чтобы группа не читалась как один объект. */
#dlya-kogo .deco .d1{animation-duration:23s;animation-delay:-4s}
#dlya-kogo .deco .d2{animation-duration:29s;animation-delay:-11s}
#dlya-kogo .deco .d3{animation-duration:20s;animation-delay:-7s}
#dlya-kogo .deco .d4{animation:float1 8s -2s ease-in-out infinite}
#dlya-kogo .deco .d5{animation:float2 9s -5s ease-in-out infinite}
#dlya-kogo .deco .d6{animation:float1 7s -1s ease-in-out infinite}
#dlya-kogo .deco .d7{animation:float2 10s -6s ease-in-out infinite}

#zanyatie .deco .z1{animation-duration:27s;animation-delay:-9s}
#zanyatie .deco .z2{animation-duration:21s;animation-delay:-2s}
#zanyatie .deco .z3{animation-duration:31s;animation-delay:-14s}
#zanyatie .deco .z4{animation:float2 9s -3s ease-in-out infinite}
#zanyatie .deco .z5{animation:float1 7s -6s ease-in-out infinite}
#zanyatie .deco .z6{animation:float2 11s -1s ease-in-out infinite}
#zanyatie .deco .z7{animation:float1 8s -4s ease-in-out infinite}

#rezultaty .deco .e1{animation-duration:25s;animation-delay:-6s}
#rezultaty .deco .e2{animation-duration:33s;animation-delay:-12s}
#rezultaty .deco .e3{animation-duration:19s;animation-delay:-1s}
#rezultaty .deco .e6{animation-duration:28s;animation-delay:-17s}
#rezultaty .deco .e4{animation:float1 9s -2s ease-in-out infinite}
#rezultaty .deco .e5{animation:float2 7s -5s ease-in-out infinite}
#rezultaty .deco .e7{animation:float1 10s -8s ease-in-out infinite}
#ceny .deco .c1{animation-duration:30s;animation-delay:-9s}
#ceny .deco .c2{animation-duration:22s;animation-delay:-15s}
#ceny .deco .c3{animation-duration:36s;animation-delay:-4s}
#ceny .deco .c4{animation:float2 8s -3s ease-in-out infinite}
#ceny .deco .c5{animation:float1 11s -7s ease-in-out infinite}
#ceny .deco .c6{animation:float2 9s -1s ease-in-out infinite}
#voprosy .deco .v1{animation-duration:27s;animation-delay:-13s}
#voprosy .deco .v2{animation-duration:34s;animation-delay:-5s}
#voprosy .deco .v3{animation-duration:21s;animation-delay:-18s}
#voprosy .deco .v4{animation:float1 9.5s -6s ease-in-out infinite}
#voprosy .deco .v5{animation:float2 8s -2s ease-in-out infinite}
#voprosy .deco .v6{animation:float1 11s -9s ease-in-out infinite}
#zapis .deco .p1{animation-duration:31s;animation-delay:-7s}
#zapis .deco .p2{animation-duration:24s;animation-delay:-16s}
#zapis .deco .p3{animation-duration:37s;animation-delay:-3s}
#zapis .deco .p4{animation:float2 10s -4s ease-in-out infinite}
#zapis .deco .p5{animation:float1 8.5s -8s ease-in-out infinite}
#zapis .deco .p6{animation:float2 11.5s -1s ease-in-out infinite}

#napravleniya .deco .n1{animation-duration:22s;animation-delay:-8s}
#napravleniya .deco .n2{animation-duration:30s;animation-delay:-3s}
#napravleniya .deco .n3{animation-duration:26s;animation-delay:-15s}
#napravleniya .deco .n6{animation-duration:34s;animation-delay:-10s}
#napravleniya .deco .n4{animation:float2 8s -7s ease-in-out infinite}
#napravleniya .deco .n5{animation:float1 10s -2s ease-in-out infinite}
#napravleniya .deco .n7{animation:float2 9s -4s ease-in-out infinite}

/* украшения «С чем приходят» лежат не в .deco, поэтому глобальное правило их не достаёт */
.asks__dec i{animation:drift 26s ease-in-out infinite}
.asks__dec .d1{animation-duration:24s;animation-delay:-5s}
.asks__dec .d2{animation-duration:31s;animation-delay:-13s}
.asks__dec .d3{animation:float1 9s -6s ease-in-out infinite}
.asks__dec .d4{animation:float2 8s -1s ease-in-out infinite}
.asks__dec .d5{animation-duration:28s;animation-delay:-9s}
.asks__dec .d6{animation-duration:22s;animation-delay:-16s}
.asks__dec .d7{animation:float1 11s -3s ease-in-out infinite}

/* ---------- с чем ко мне приходят ---------- */
.asks{--asks-bg:#fff;background:var(--asks-bg);position:relative;overflow:hidden;
  padding:clamp(18px,2.1vw,30px) 0 clamp(60px,7.2vw,104px)}
.asks__dec{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.asks__dec i{position:absolute;border-radius:50%;display:block}
.asks__dec .d1{width:clamp(120px,15vw,200px);aspect-ratio:1;height:auto;left:-4%;top:8%;
  border:2px dashed rgba(227,155,27,.36)}
.asks__dec .d2{width:clamp(80px,10vw,130px);aspect-ratio:1;height:auto;right:11%;bottom:10%;
  border:2px solid rgba(42,157,143,.24)}
.asks__dec .d3{width:11px;height:11px;right:5%;top:20%;background:var(--teal);opacity:.3}
.asks__dec .d4{width:8px;height:8px;left:31%;bottom:16%;background:var(--amber);opacity:.45}
.asks__dec .d5{width:clamp(60px,7vw,92px);aspect-ratio:1;height:auto;right:-2%;top:46%;
  border:2px solid rgba(227,155,27,.3);border-radius:50%}
.asks__dec .d6{width:clamp(50px,6vw,74px);aspect-ratio:1;height:auto;left:24%;bottom:5%;
  border:2px dashed rgba(42,157,143,.3);border-radius:50%}
.asks__dec .d7{width:10px;height:10px;left:9%;bottom:34%;background:var(--navy);opacity:.2}
.asks .wrap{position:relative;z-index:2}
.asks h2{margin:0 0 8px;font-size:clamp(24px,2.7vw,32px)}
.asks__sub{color:var(--muted);font-size:16.5px;margin:0 0 28px}
.asks__cols{display:grid;grid-template-columns:.95fr 1.05fr;gap:50px;align-items:center}

/* реплики лежат свободно, без сетки и без наклона */
.asks__free{position:relative;height:clamp(300px,30vw,322px)}
.asks__msg{position:absolute;display:inline-block;background:#fff;border:1px solid rgba(11,45,80,.07);
  border-radius:18px 18px 18px 6px;padding:10px 16px;font-weight:500;font-size:16px;color:var(--ink);
  box-shadow:0 10px 24px rgba(11,45,80,.10);white-space:nowrap}
.asks__msg.t{background:var(--teal-bg);border-color:transparent}
.asks__msg.a{background:var(--amber-bg);border-color:transparent}
.asks__msg.r{border-radius:18px 18px 6px 18px}
.asks__msg.o{border-radius:22px}

.asks__big{font-size:clamp(21px,2.4vw,29px);line-height:1.3;color:var(--navy);margin:0 0 24px}
.asks__big .mark{animation:none;background-size:100% 100%}
.asks__pts{margin:0;padding:0 0 0 24px;list-style:none;border-left:2px dashed rgba(42,157,143,.5)}
.asks__pts li{color:var(--muted);font-size:16.5px;margin-bottom:13px}
.asks__pts li:last-child{margin-bottom:0}
.asks__pts li b{color:var(--navy)}

/* реплики всплывают по очереди */
.js-anim .asks__msg{opacity:0;transform:translateY(14px)}
.js-anim .asks.is-seen .asks__msg{opacity:1;transform:none;transition:opacity .5s cubic-bezier(.2,.9,.3,1),transform .5s cubic-bezier(.2,.9,.3,1)}
.asks.is-seen .asks__msg:nth-child(2){transition-delay:.07s}
.asks.is-seen .asks__msg:nth-child(3){transition-delay:.14s}
.asks.is-seen .asks__msg:nth-child(4){transition-delay:.21s}
.asks.is-seen .asks__msg:nth-child(5){transition-delay:.28s}
.asks.is-seen .asks__msg:nth-child(6){transition-delay:.35s}

@media (max-width:960px){
  .asks__cols{grid-template-columns:1fr;gap:30px}
  .asks__free{height:auto;display:flex;flex-wrap:wrap;gap:10px}
  .asks__msg{position:static !important;white-space:normal}
}

/* ---------- манифест ---------- */
.manifest{background:var(--cream);padding:96px 0;position:relative;overflow:hidden}
.manifest .wrap{position:relative;z-index:2}
.grid-lines{position:absolute;inset:0;z-index:1;pointer-events:none;max-width:var(--wrap);margin:0 auto;
  padding:0 var(--gutter);display:grid;grid-template-columns:repeat(6,1fr)}
.grid-lines i{border-left:1px solid rgba(11,45,80,.055)}
.grid-lines i:last-child{border-right:1px solid rgba(11,45,80,.055)}
.tag{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--cream-line);
  padding:7px 16px;border-radius:999px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;
  font-weight:700;color:var(--muted);margin-bottom:30px}
.tag::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--amber)}
.manifest__text{font-size:clamp(23px,3.3vw,42px);line-height:1.26;letter-spacing:-.02em;max-width:19.5em;
  margin:0;font-weight:500;color:#c2ccd7}
.manifest__text w{color:#c2ccd7;transition:color .45s ease}
.manifest__text w.on{color:var(--navy)}
.manifest__sign{margin-top:40px;display:flex;align-items:center;gap:14px;color:var(--muted);font-size:16px}
.manifest__sign img{width:54px;height:54px;border-radius:50%;object-fit:cover;object-position:50% 22%;flex:none}

/* ---------- секция с боковой колонкой ---------- */

/* ---------- тренер ---------- */
.trainer__grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:56px;align-items:start}

/* фото: органическое пятно, кольца и шарик рядом — не обводкой,
   иначе идеальный круг выдаёт неправильность формы */
.trainer__photo{position:relative}
.trainer__photo img{width:100%;aspect-ratio:1;object-fit:cover;position:relative;z-index:2;
  border-radius:58% 42% 45% 55%/48% 52% 46% 54%}
.trainer__photo i{position:absolute;border-radius:50%;z-index:1;border:2px solid rgba(127,212,198,.45)}
.trainer__photo i.r1{width:26%;aspect-ratio:1;right:-8%;bottom:10%}
.trainer__photo i.r2{width:16%;aspect-ratio:1;left:2%;top:-6%;border-style:dashed;border-color:rgba(242,169,59,.45)}
.trainer__photo i.b1{width:5%;aspect-ratio:1;left:-4%;bottom:38%;border:0;background:var(--teal);z-index:3}

/* Украшения у портрета лежат не в .deco, поэтому общее правило дрейфа их не достаёт.
   Амплитуда вдвое меньше: кольца здесь мелкие и стоят вплотную к лицу. */
@keyframes driftSoft{0%,100%{transform:translate(0,0)}
  33%{transform:translate(5px,-6px)}66%{transform:translate(-4px,4px)}}
.trainer__photo i.r1{animation:driftSoft 28s -5s ease-in-out infinite}
.trainer__photo i.r2{animation:driftSoft 23s -12s ease-in-out infinite}
.trainer__photo i.b1{animation:float1 9s -3s ease-in-out infinite}

.trainer__name{font-size:clamp(26px,3.3vw,37px);margin-bottom:.4em}
.trainer__text p{font-size:16.5px;color:#c3d5e6}

/* цитата под портретом: крупная кавычка вместо линии */
.trainer__quote{position:relative;margin:40px 0 0;padding-top:12px;font-size:17px;line-height:1.48;
  color:#fff;font-weight:500}
.trainer__quote::before{content:"\201C";position:absolute;left:-6px;top:-40px;font-size:82px;line-height:1;
  color:rgba(242,169,59,.55);font-weight:700}

/* образование: показываем сразу — родитель ищет документы специально */
.trainer__edu{margin-top:24px}
.trainer__edu b{display:block;font-weight:700;margin-bottom:12px;font-size:12px;letter-spacing:.09em;
  text-transform:uppercase;color:var(--teal-200)}
.trainer__edu ul{list-style:none;padding:0;margin:0}
.trainer__edu li{position:relative;padding-left:18px;margin-bottom:8px;font-size:14.5px;line-height:1.45;color:#c3d5e6}
.trainer__edu li::before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;
  background:var(--teal)}

/* статистика замыкает правую колонку квадратом 2×2 */
.trainer__regalia{display:grid;grid-template-columns:1fr 1fr;gap:24px 34px;margin-top:30px;padding-top:26px;
  border-top:1px solid rgba(255,255,255,.16)}
.trainer__regalia b{display:block;color:#fff;font-size:24px;line-height:1.1;margin-bottom:5px;letter-spacing:-.01em}
.trainer__regalia span{font-size:12.5px;color:#9fb7cf;line-height:1.4}

/* ---------- сетки и карточки ---------- */
.grid{display:grid;gap:20px}
.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:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);
  transition:transform .22s ease,box-shadow .22s ease}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.card h3{margin-bottom:.35em}
.card p:last-child{margin-bottom:0}

/* ---------- кому подходит ---------- */
/* три мелких кольца: секция и так плотная, крупное отвлекало бы от ленты фактов */
#dlya-kogo{position:relative;overflow:hidden}
#dlya-kogo .wrap{position:relative;z-index:1}
#dlya-kogo .deco .d1{width:clamp(82px,8.6vw,118px);aspect-ratio:1;height:auto;right:-3%;top:10%}
#dlya-kogo .deco .d2{width:clamp(58px,6vw,80px);aspect-ratio:1;height:auto;left:-2.5%;bottom:24%;
  border-color:rgba(227,155,27,.32)}
#dlya-kogo .deco .d3{width:clamp(64px,7vw,90px);aspect-ratio:1;height:auto;right:13%;bottom:4%;
  border-color:rgba(11,45,80,.15)}
#dlya-kogo .deco .d4{width:12px;height:12px;background:var(--amber);right:20%;top:6%;opacity:.6;border:0}
#dlya-kogo .deco .d5{width:9px;height:9px;background:var(--teal);left:8%;top:14%;opacity:.55;border:0}
#dlya-kogo .deco .d6{width:10px;height:10px;background:var(--navy);left:34%;bottom:3%;opacity:.2;border:0}
#dlya-kogo .deco .d7{width:7px;height:7px;background:var(--amber);right:34%;top:40%;opacity:.6;border:0}

/* лид стоит до перечня: родитель узнаёт, что список не закрытый,
   прежде чем начнёт искать в нём своё слово */
.fit__lead{font-size:15.5px;line-height:1.55;color:var(--muted);margin:0;max-width:60ch;
  border-left:3px solid var(--teal);padding-left:16px}

.fit__facts{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0;margin-top:26px;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fit__facts>div{padding:0 24px}
.fit__facts>div:first-child{padding-left:0}
.fit__facts>div+div{border-left:1px solid var(--line)}
/* цифры чередуют цвета: лента фактов — самая сканируемая строка секции */
.fit__facts b{display:block;font-size:21px;font-weight:700;line-height:1.15;color:var(--teal)}
.fit__facts>div:nth-child(even) b{color:#b57a12}
.fit__facts span{display:block;font-size:13px;color:var(--muted);margin-top:5px}

.fit__cols{display:grid;grid-template-columns:.62fr 1.38fr;gap:44px;align-items:start;margin-top:32px}
.fit__ttl{font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--teal);margin:0 0 14px}

/* маркер в полный цвет: секция между тёмной и светло-синей была самой бесцветной */
.fit__list{list-style:none;margin:0;padding:0}
.fit__list li{position:relative;padding:0 0 9px 18px;font-size:15.5px;line-height:1.45;color:var(--ink)}
.fit__list li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:50%;
  background:var(--teal)}

.fit__box{background:var(--soft);border-radius:20px;padding:26px 28px}
.fit__pairs{list-style:none;margin:0;padding:0}
.fit__pairs li{display:grid;grid-template-columns:1fr 20px 1fr;gap:12px;align-items:center;padding:14px 0;
  border-bottom:1px solid rgba(11,45,80,.09)}
.fit__pairs li:first-child{border-top:1px solid rgba(11,45,80,.09)}
.fit__pairs li:last-child{border-bottom:0}
.fit__pairs em{font-style:normal;color:var(--muted);font-size:15px}
.fit__pairs i{font-style:normal;color:var(--teal);text-align:center;font-size:16px}
.fit__pairs b{font-weight:600;color:var(--navy);font-size:15px}

/* ---------- как проходит занятие ---------- */
#zanyatie{background:var(--navy-50);position:relative;overflow:hidden}
#zanyatie .wrap{position:relative;z-index:1}
.lesson__lead{font-size:16.5px;line-height:1.6;color:var(--muted);margin:0;max-width:62ch}
.lesson__grid{display:grid;grid-template-columns:1.25fr .75fr;gap:46px;align-items:start;margin-top:32px}

/* шаги: пунктир вдоль номеров вместо горизонтальных линий — это цепочка, а не список */
.lesson__steps{list-style:none;margin:0;padding:0;counter-reset:s;position:relative}
.lesson__steps::after{content:"";position:absolute;left:14px;top:26px;bottom:26px;width:0;
  border-left:2px dashed rgba(42,157,143,.45);z-index:1}
.lesson__steps li{counter-increment:s;display:grid;grid-template-columns:34px 1fr;gap:18px;padding:11px 0;position:relative}
.lesson__steps li::before{content:counter(s);display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:50%;background:var(--teal);color:#fff;font-size:14px;font-weight:700;
  position:relative;z-index:2}
.lesson__steps h3{font-size:16.5px;color:var(--navy);margin:0 0 5px;font-weight:700}
.lesson__steps p{font-size:15px;margin:0;line-height:1.5;color:var(--muted)}

/* врезки стоят на уровне шагов, а не под ними: страх возникает именно во время чтения сценария */
.lesson__notes{display:grid;gap:18px}
.lesson__note{background:#FEFBF6;border-left:3px solid var(--teal);border-radius:0 16px 16px 0;padding:20px 24px;
  transition:transform .3s cubic-bezier(.2,.7,.3,1)}
.lesson__note:hover{transform:translateX(4px)}
.lesson__note h3{font-size:15.5px;color:var(--navy);margin:0 0 6px;font-weight:700}
.lesson__note p{font-size:14.5px;margin:0;line-height:1.5;color:var(--muted)}

/* «что ещё входит» — отдельная плашка: это не часть занятия, а то, что к нему прилагается */
.lesson__plate{background:#fff;border-radius:24px;padding:28px 32px 30px;margin-top:40px}
.lesson__inc{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:6px}
.lesson__inc>div{padding:0 22px}
.lesson__inc>div:first-child{padding-left:0}
.lesson__inc>div+div{border-left:1px solid rgba(227,155,27,.3)}
.lesson__inc h3{font-size:15.5px;color:var(--navy);margin:0 0 5px;font-weight:700}
.lesson__inc p{font-size:14.5px;margin:0;line-height:1.45;color:var(--muted)}

/* три кольца трёх цветов и россыпь шариков — цвета на странице мало */
#zanyatie .deco .z1{width:clamp(72px,8vw,100px);aspect-ratio:1;height:auto;left:-3%;top:13%}
#zanyatie .deco .z2{width:clamp(60px,7vw,84px);aspect-ratio:1;height:auto;right:-2.5%;top:40%;
  border-color:rgba(227,155,27,.34)}
#zanyatie .deco .z3{width:clamp(52px,6vw,70px);aspect-ratio:1;height:auto;left:1.5%;bottom:9%;
  border-color:rgba(11,45,80,.16)}
#zanyatie .deco .z4{width:12px;height:12px;left:8%;top:8%;background:var(--amber);opacity:.6;border:0}
#zanyatie .deco .z5{width:9px;height:9px;right:9%;top:14%;background:var(--teal);opacity:.55;border:0}
#zanyatie .deco .z6{width:7px;height:7px;left:40%;bottom:4%;background:var(--amber);opacity:.6;border:0}
#zanyatie .deco .z7{width:10px;height:10px;right:26%;bottom:8%;background:var(--navy);opacity:.22;border:0}

/* ---------- шаги ---------- */

/* ---------- результаты ---------- */
/* ---------- результаты ---------- */
/* цитаты родителей, а не утверждения тренера: сроки звучат из их уст,
   поэтому не спорят с «не обещаю сроков» в блоке границ */
#rezultaty{position:relative;overflow:hidden}
#rezultaty .wrap{position:relative;z-index:1}
.res__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
.res__card{background:#fff;border-radius:20px;padding:24px 24px 22px;margin:0;
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s ease}
.res__card:hover{transform:translateY(-4px);box-shadow:0 18px 38px -26px rgba(11,45,80,.45)}
.res__card p{margin:0;color:var(--navy);font-size:15.5px;line-height:1.52}
/* ярлык классифицирует результат: родитель ищет своё — баланс или силу.
   Бирюзовый, чтобы не спорить с янтарной подсветкой внутри той же карточки:
   тёплый цвет помечает содержание, холодный — устройство. */
.res__tag{display:inline-block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  font-weight:700;color:var(--teal);margin-bottom:12px}

/* пересказ из разбора отзывов, а не прямая речь — отделён линией в тон фона */
.res__more{margin-top:34px;padding-top:28px;border-top:3px solid var(--cream-line);
  display:grid;grid-template-columns:.4fr 1.6fr;gap:36px;align-items:start}
.res__more h3{font-size:12px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;
  color:var(--teal);margin:0}
.res__more ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:9px 32px}
.res__more li{position:relative;padding-left:17px;font-size:15px;color:var(--ink);line-height:1.45}
.res__more li::before{content:"";position:absolute;left:0;top:9px;width:5px;height:5px;
  border-radius:50%;background:var(--teal)}

/* расстановка колец отличается от соседних секций, чтобы они не рифмовались */
#rezultaty .deco .e1{width:clamp(84px,9vw,124px);aspect-ratio:1;height:auto;right:-3%;top:34%}
#rezultaty .deco .e2{width:clamp(54px,6vw,78px);aspect-ratio:1;height:auto;left:-2%;top:12%;
  border-color:rgba(227,155,27,.3)}
#rezultaty .deco .e3{width:clamp(60px,6.6vw,88px);aspect-ratio:1;height:auto;left:0.5%;bottom:6%;
  border-color:rgba(11,45,80,.14)}
#rezultaty .deco .e4{width:11px;height:11px;background:var(--amber);left:3%;top:30%;opacity:.55;border:0}
#rezultaty .deco .e5{width:9px;height:9px;background:var(--teal);right:16%;top:10%;opacity:.5;border:0}
#rezultaty .deco .e6{width:clamp(52px,5.8vw,76px);aspect-ratio:1;height:auto;right:30%;top:5%;
  border-color:rgba(42,157,143,.22);border-style:dashed}
#rezultaty .deco .e7{width:10px;height:10px;background:var(--navy);left:21%;bottom:12%;opacity:.18;border:0}


/* ---------- направления ---------- */
/* ---------- два направления ---------- */
#napravleniya{position:relative;overflow:hidden}
#napravleniya .wrap{position:relative;z-index:1}
.dirs{display:grid;gap:24px;margin-top:34px}
/* карточки горизонтальные: фото слева, текст справа — в двух колонках
   текстовой колонке оставалось 290 px и всё дробилось */
.dir{border-radius:var(--radius-lg);padding:26px 28px 28px;
  display:grid;grid-template-columns:230px 1fr;gap:28px;align-items:start;
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s ease}
.dir:hover{transform:translateY(-4px);box-shadow:0 20px 44px -28px rgba(11,45,80,.5)}
.dir--afk{background:var(--soft)}
.dir--edin{background:var(--cream)}
/* кадры 9:16 с телефона: неправильная форма берёт центр и не режет лица */
.dir__pic{overflow:hidden;position:relative;aspect-ratio:1}
.dir__pic img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.dir:hover .dir__pic img{transform:scale(1.06)}
.dir--afk .dir__pic{border-radius:58% 42% 45% 55%/48% 52% 46% 54%}
.dir--edin .dir__pic{border-radius:42% 58% 62% 38%/52% 44% 56% 48%}

.dir h3{font-size:14.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;margin:0 0 14px}
.dir--afk h3{color:var(--teal)}
.dir--edin h3{color:#b57a12}
.dir__k{display:block;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;
  color:var(--muted);margin:0 0 8px}

/* условия плашками в цвет направления: цвет работает меткой,
   подложка под ними была вторым выделением на том же месте */
.dir__fit{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.dir__fit li{font-size:13.5px;line-height:1.3;padding:7px 14px;border-radius:100px;
  white-space:nowrap;color:var(--navy)}
.dir--afk .dir__fit li{background:rgba(42,157,143,.13)}
.dir--edin .dir__fit li{background:rgba(227,155,27,.18)}

.dir__res{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:9px 26px}
.dir__res li{position:relative;padding-left:18px;font-size:15px;color:var(--ink);line-height:1.45}
.dir__res li::before{content:"";position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%}
.dir--afk .dir__res li::before{background:var(--teal)}
.dir--edin .dir__res li::before{background:var(--amber)}
/* снятие страха, а не навык — поэтому вынесено из списка */
.dir__safe{font-size:13.5px;color:var(--muted);margin:16px 0 0;padding-top:14px;
  border-top:1px solid rgba(11,45,80,.1);line-height:1.45}

#napravleniya .deco .n1{width:clamp(76px,8vw,110px);aspect-ratio:1;height:auto;left:-3%;bottom:14%}
#napravleniya .deco .n2{width:clamp(54px,6vw,78px);aspect-ratio:1;height:auto;right:-2%;top:18%;
  border-color:rgba(227,155,27,.3)}
#napravleniya .deco .n3{width:clamp(58px,6.4vw,84px);aspect-ratio:1;height:auto;right:1%;bottom:6%;
  border-color:rgba(11,45,80,.14)}
#napravleniya .deco .n4{width:11px;height:11px;background:var(--amber);left:2.5%;top:9%;opacity:.55;border:0}
#napravleniya .deco .n5{width:9px;height:9px;background:var(--teal);right:9%;bottom:20%;opacity:.5;border:0}
#napravleniya .deco .n6{width:clamp(50px,5.6vw,72px);aspect-ratio:1;height:auto;left:33%;top:5%;
  border-color:rgba(42,157,143,.22);border-style:dashed}
#napravleniya .deco .n7{width:10px;height:10px;background:var(--navy);right:34%;top:52%;opacity:.18;border:0}

/* ---------- отзывы ---------- */
/* ---------- отзывы ---------- */
/* Тёмная секция: тёмного не было пять секций, а следующий тёмный блок — форма записи,
   она ещё через три. Контейнер сам сообщает, что это цитата, поэтому кавычек в тексте нет. */
#otzyvy{position:relative;overflow:hidden}
#otzyvy .wrap{position:relative;z-index:1}
.rev__sub{font-size:14.5px;color:#9fb8ce;margin:0 0 26px}
.rev__group{margin-bottom:22px}
.rev__group:last-child{margin-bottom:0}
.rev__group h3{font-size:12px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;
  color:var(--teal-200);margin:0 0 12px}
.rev__row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch}
/* узкие карточки читаются быстрее: строка в 5–7 слов берётся целиком */
.rev__card{border:1px solid rgba(127,212,198,.32);border-radius:16px;padding:18px 20px;margin:0;
  height:100%;box-sizing:border-box;display:flex;align-items:center;position:relative;overflow:hidden}
/* значок — часть структуры, поэтому бирюзовый: янтарный на сайте помечает смысл */
.rev__card::before{content:"\201C";position:absolute;right:14px;top:4px;font-size:30px;line-height:1;
  color:rgba(127,212,198,.5);font-weight:700}
.rev__card p{margin:0;font-size:15px;line-height:1.55;color:#e4edf6}
.rev__card b{color:#ffd68a;font-weight:600}

#otzyvy .deco .o1{width:clamp(110px,14vw,160px);aspect-ratio:1;height:auto;left:-9%;top:18%;
  border-color:rgba(127,212,198,.28)}
#otzyvy .deco .o2{width:clamp(60px,7vw,84px);aspect-ratio:1;height:auto;left:0.5%;bottom:6%;
  border-color:rgba(242,169,59,.28);border-style:dashed}
#otzyvy .deco .o3{width:clamp(42px,5vw,56px);aspect-ratio:1;height:auto;left:14%;top:6%;
  border-color:rgba(127,212,198,.26);border-style:dashed}
#otzyvy .deco .o4{width:clamp(84px,10vw,120px);aspect-ratio:1;height:auto;right:-4%;top:40%;
  border-color:rgba(255,255,255,.14)}
#otzyvy .deco .o5{width:12px;height:12px;background:var(--amber);left:2%;top:46%;opacity:.5;border:0}
#otzyvy .deco .o6{width:9px;height:9px;background:var(--teal-200);right:5%;top:18%;opacity:.45;border:0}
#otzyvy .deco .o7{width:9px;height:9px;background:#fff;left:44%;top:4%;opacity:.25;border:0}
#otzyvy .deco .o8{width:7px;height:7px;background:var(--amber);right:38%;bottom:5%;opacity:.5;border:0}
#otzyvy .deco .o1{animation-duration:29s;animation-delay:-7s}
#otzyvy .deco .o2{animation-duration:23s;animation-delay:-13s}
#otzyvy .deco .o3{animation-duration:32s;animation-delay:-4s}
#otzyvy .deco .o4{animation-duration:26s;animation-delay:-18s}
#otzyvy .deco .o5{animation:float1 9s -3s ease-in-out infinite}
#otzyvy .deco .o6{animation:float2 8s -6s ease-in-out infinite}
#otzyvy .deco .o7{animation:float1 11s -1s ease-in-out infinite}
#otzyvy .deco .o8{animation:float2 10s -8s ease-in-out infinite}


/* ---------- как начать ---------- */

/* ---------- цены ---------- */
/* ---------- 08 ЦЕНЫ ---------- */
#ceny{position:relative;overflow:hidden}
#ceny .wrap{position:relative;z-index:1}

.price__cards{display:grid;grid-template-columns:minmax(0,560px);gap:16px;margin-top:clamp(22px,2.6vw,34px)}
.pcard{background:var(--cream);border-radius:18px;padding:22px 26px;
  display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;
  transition:transform .25s ease,box-shadow .25s ease}
.pcard:hover{transform:translateY(-3px);box-shadow:0 14px 30px -22px rgba(11,45,80,.5)}
.pcard--sub{border-left:3px solid var(--amber);padding-left:23px}
.pcard__name h3{font-size:18px;color:var(--navy);margin:0 0 5px;font-weight:700;line-height:1.2}
.pcard__name span{font-size:14px;color:var(--muted)}
.pcard__sum{font-size:clamp(22px,2.4vw,25px);font-weight:700;color:var(--navy);white-space:nowrap;line-height:1}
.price__note{font-size:14px;color:var(--muted);line-height:1.5;margin:14px 0 0}

.price__cond{margin-top:clamp(26px,3.2vw,38px);display:grid;grid-template-columns:repeat(2,minmax(0,420px))}
.price__cond>div{padding:0 26px}
.price__cond>div:first-child{padding-left:0}
.price__cond>div+div{border-left:1px solid rgba(42,157,143,.3)}
.price__cond h4{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--teal);margin:0 0 7px}
.price__cond p{font-size:15px;color:var(--ink);line-height:1.5;margin:0}

#ceny .deco .c1{width:clamp(88px,9.4vw,128px);aspect-ratio:1;height:auto;right:-3%;bottom:16%}
#ceny .deco .c2{width:clamp(52px,5.8vw,76px);aspect-ratio:1;height:auto;left:-2%;top:22%;
  border-color:rgba(227,155,27,.34)}
#ceny .deco .c3{width:clamp(56px,6.2vw,80px);aspect-ratio:1;height:auto;left:29%;bottom:5%;
  border-color:rgba(11,45,80,.16)}
#ceny .deco .c4{width:11px;height:11px;background:var(--teal);left:7%;top:9%;opacity:.5;border:0}
#ceny .deco .c5{width:10px;height:10px;background:var(--amber);right:13%;top:40%;opacity:.55;border:0}
#ceny .deco .c6{width:9px;height:9px;background:var(--navy);right:27%;bottom:9%;opacity:.18;border:0}

/* ---------- 09 ВОПРОСЫ ---------- */
#voprosy{position:relative;overflow:hidden}
#voprosy .wrap{position:relative;z-index:1}

.faqs{margin-top:clamp(22px,2.6vw,34px)}
.qa{display:grid;grid-template-columns:34% 1fr;gap:clamp(20px,3.4vw,48px);align-items:start}
.qa+.qa{margin-top:20px}
.qa__q{margin:0;font-size:16px;font-weight:700;line-height:1.32;color:var(--navy);
  background:rgba(42,157,143,.14);border-radius:12px;padding:14px 18px}
.qa__a{padding:14px 0;max-width:58ch}
.qa__a b{display:block;font-size:15.5px;color:var(--navy);margin-bottom:5px}
.qa__a p{margin:0;font-size:15.5px;line-height:1.62;color:var(--muted)}

#voprosy .deco .v1{width:clamp(80px,8.6vw,116px);aspect-ratio:1;height:auto;right:-3%;top:12%}
#voprosy .deco .v2{width:clamp(56px,6.2vw,80px);aspect-ratio:1;height:auto;left:-2%;bottom:20%;
  border-color:rgba(227,155,27,.34)}
#voprosy .deco .v3{width:clamp(50px,5.6vw,72px);aspect-ratio:1;height:auto;right:24%;bottom:6%;
  border-color:rgba(11,45,80,.16)}
#voprosy .deco .v4{width:11px;height:11px;background:var(--teal);left:11%;top:10%;opacity:.5;border:0}
#voprosy .deco .v5{width:10px;height:10px;background:var(--amber);right:14%;bottom:24%;opacity:.55;border:0}
#voprosy .deco .v6{width:9px;height:9px;background:var(--navy);left:36%;top:6%;opacity:.18;border:0}

/* ---------- вопросы ---------- */

/* ---------- запись ---------- */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.section--navy a{color:#ffd68a}
.section--navy .form a{color:var(--navy-700)}
.form{background:#fff;border-radius:var(--radius-lg);padding:28px;box-shadow:var(--shadow-lg);color:var(--ink)}
.field{margin-bottom:16px}
.field label{display:block;font-size:15px;font-weight:700;margin-bottom:6px}
.field input,.field textarea,.field select{width:100%;padding:14px 15px;font:inherit;font-size:16px;
  border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid var(--teal);border-color:transparent}
.field textarea{min-height:96px;resize:vertical}
/* Ловушка для роботов: человек поля не видит и в него не попадает табом,
   а боты заполняют все поля подряд. Не display:none — часть ботов такие пропускает. */
.field--trap{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.field--check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted)}
.field--check input{width:18px;height:18px;margin-top:2px;flex:none}
.form__note{font-size:14px;color:var(--muted);margin-top:14px}
.form__status{margin-top:14px;font-size:15px}
.zapis__lead{max-width:50ch}
.zapis__box{background:rgba(255,255,255,.06);border-radius:18px;padding:22px 24px;margin-top:24px}
.zapis__h{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;
  color:#7fd4c7;margin:0 0 12px}
.next{list-style:none;padding:0;margin:0;display:grid;gap:13px;counter-reset:n}
.next li{position:relative;padding-left:38px;font-size:15.5px;line-height:1.55;color:#cfe0f2}
.next li::before{content:counter(n);counter-increment:n;position:absolute;left:0;top:-1px;
  width:25px;height:25px;border-radius:50%;background:var(--teal);color:#06231b;
  font-size:12.5px;font-weight:700;display:grid;place-items:center}

.zapis__alt{margin:22px 0 0;padding:2px 0 2px 16px;border-left:3px solid var(--teal);
  font-size:15.5px;line-height:1.55;color:#cfe0f2;max-width:46ch}
.zapis__alt a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.zapis__when{margin:14px 0 0;font-size:15px;color:#9fb6cf}

#zapis{position:relative;overflow:hidden}
#zapis .wrap{position:relative;z-index:1}
#zapis .deco .p1{width:clamp(96px,11vw,150px);aspect-ratio:1;height:auto;left:3%;bottom:7%}
#zapis .deco .p2{width:clamp(70px,7.6vw,104px);aspect-ratio:1;height:auto;right:-3%;bottom:30%;
  border-color:rgba(227,155,27,.3)}
#zapis .deco .p3{width:clamp(44px,5vw,62px);aspect-ratio:1;height:auto;left:27%;bottom:21%;
  border-color:rgba(255,255,255,.2)}
#zapis .deco .p4{width:11px;height:11px;background:var(--amber);left:2.5%;top:13%;opacity:.55;border:0}
#zapis .deco .p5{width:9px;height:9px;background:var(--teal-200);right:7%;top:8%;opacity:.45;border:0}
#zapis .deco .p6{width:8px;height:8px;background:#fff;left:34%;bottom:9%;opacity:.25;border:0}

/* ---------- подвал ---------- */
.footer{background:#071f38;color:#9fb4cc;font-size:15px;padding:40px 0 28px}
.footer a{color:#cfe0f2;text-decoration:none}
.footer a:hover{text-decoration:underline;text-underline-offset:3px}
.footer__top{display:grid;grid-template-columns:1fr 1fr 1fr;gap:44px;align-items:start}
.footer__top p{margin:0 0 6px;line-height:1.5}
.footer__top p:last-child{margin-bottom:0}
.footer__mark{display:flex;align-items:center;gap:11px}
.footer__mark img{height:46px;width:auto;display:block}
.footer__mark b{display:block;color:#fff;font-size:17px;font-weight:700;line-height:1.1}
.footer__mark b i{color:var(--teal-200);font-style:normal}
.footer__mark>span>span{display:block;font-size:12px;color:#7d94ad;margin-top:3px}
.footer__h{font-size:12px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;
  color:#7d94ad;margin:0 0 10px}
.footer__bot{margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1);
  display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:space-between;font-size:13.5px;color:#7d94ad}
.footer__bot a{color:#9fb4cc}

/* ---------- плавающая кнопка ---------- */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;gap:10px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);
  border-top:1px solid var(--line);backdrop-filter:blur(8px);box-shadow:0 -6px 20px rgba(11,45,80,.10);
  transform:translateY(110%);transition:transform .3s ease}
.sticky-cta.is-shown{transform:none}
.sticky-cta .btn{flex:1;padding:13px 14px;font-size:16px}

/* ---------- плашка о cookie ---------- */
.cookie{position:fixed;left:20px;bottom:20px;z-index:70;max-width:400px;
  background:var(--cream);border:1px solid var(--cream-line);border-left:3px solid var(--teal);
  border-radius:14px;padding:18px 20px;box-shadow:0 14px 40px -18px rgba(11,45,80,.55)}
.cookie[hidden]{display:none}
.cookie__text{margin:0 0 14px;font-size:14.5px;line-height:1.5;color:var(--ink)}
.cookie__buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cookie__buttons .btn{padding:9px 20px;font-size:15px}
.cookie__no{background:none;border:0;padding:9px 4px;font:inherit;font-size:14.5px;
  color:var(--muted);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.cookie__no:hover{color:var(--navy)}

/* ---------- страницы документов ---------- */
.doc{max-width:780px;margin:0 auto;padding:48px var(--gutter) 72px}
.doc h1{font-size:clamp(26px,4vw,36px)}
.doc h2{font-size:22px;margin-top:1.6em}
.doc h3{font-size:18px;margin-top:1.4em}
.doc table{width:100%;border-collapse:collapse;font-size:15px;margin:1em 0}
.doc th,.doc td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.doc th{background:var(--soft)}
.doc blockquote{background:var(--amber-bg);border-left:4px solid var(--amber);margin:1.4em 0;padding:14px 18px;border-radius:0 10px 10px 0}

/* ---------- появление ----------
   Прячем блоки только если скрипт запустился: иначе при ошибке в JS
   или его блокировке сайт остался бы пустым. */
.js-anim .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.3,1)}
.js-anim .reveal.is-visible{opacity:1;transform:none}
.reveal-delay-1{transition-delay:.08s}
.reveal-delay-2{transition-delay:.16s}
.reveal-delay-3{transition-delay:.24s}
.reveal-delay-4{transition-delay:.32s}

@media (prefers-reduced-motion:reduce){
  .manifest__text w{color:var(--navy) !important}
  .js-anim .reveal,.js-anim .reveal.is-visible{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
  *{animation:none !important;transition:none !important}
}

/* ---------- адаптив ---------- */
@media (max-width:960px){
  .hero__top{grid-template-columns:1fr;gap:34px;align-items:start}
  .pair{height:clamp(300px,64vw,400px)}
  .facts{grid-template-columns:repeat(2,1fr)}
  .trainer__grid{grid-template-columns:1fr;gap:32px}
  .trainer__photo{max-width:360px}
  .trainer__regalia b{font-size:22px}
  .grid--3,.grid--4{grid-template-columns:repeat(2,1fr)}
  .price__cards{grid-template-columns:1fr}
  .price__cond{grid-template-columns:1fr;gap:18px}
  .price__cond>div{padding:0}
  .price__cond>div+div{border-left:0;border-top:1px solid rgba(42,157,143,.3);padding-top:18px}
  .qa{grid-template-columns:1fr;gap:8px}
  .qa__a{padding:0}
  .contact{grid-template-columns:1fr}
  .footer__top{grid-template-columns:1fr;gap:26px}
}
/* Шесть пунктов меню перестают помещаться раньше, чем ломается остальная сетка:
   на 970px шапка переполнялась на 22px. Бургер включаем от 1010. */
@media (max-width:1010px){
  .nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;flex-direction:column;gap:0;
    padding:8px 16px 16px;border-bottom:1px solid var(--line)}
  .nav.is-open{display:flex}
  .nav a{padding:12px 0;border-bottom:1px solid var(--line);text-transform:none;
    font-size:16px;letter-spacing:0}
  .nav a::after{display:none}
  .burger{display:block;order:3}
  /* Меню было распоркой между логотипом и кнопками; без него флекс
     паковал всё к левому краю, и справа оставалась пустота. */
  .header__cta{margin-left:auto}
}
@media (max-width:980px){
  .rev__row{grid-template-columns:1fr;gap:12px}

  .dir{grid-template-columns:1fr;gap:20px}
  .dir__pic{max-width:260px}
  .dir__res{grid-template-columns:1fr}

  .res__cards{grid-template-columns:1fr;gap:18px}
  .res__more{grid-template-columns:1fr;gap:16px}
  .res__more ul{grid-template-columns:1fr}

  .lesson__grid{grid-template-columns:1fr;gap:30px}
  .lesson__inc{grid-template-columns:1fr 1fr;gap:22px 0}
  .lesson__inc>div:nth-child(odd){padding-left:0;border-left:0}
  .lesson__inc>div:nth-child(3){padding-top:22px}
  .lesson__inc>div:nth-child(4){padding-top:22px}
}
@media (max-width:620px){
  .lesson__inc{grid-template-columns:1fr;gap:20px}
  .lesson__inc>div{padding:0;border-left:0}
  .lesson__plate{padding:24px 22px 26px}
}
/* Кольца и шарики живут в боковых полях. Колонка контента 1120px плюс отступы,
   так что поля появляются только от 1240px — ниже украшения ложатся на текст.
   Проверено скриптом по строкам текста: от 1240 наложений нет, на 1200 их восемь.
   Цвет на узких экранах держат плашки, ярлыки, подсветка и фоны секций. */
@media (max-width:1240px){.deco{display:none}}

@media (max-width:860px){
  .fit__facts{grid-template-columns:1fr 1fr;gap:20px 0;padding:20px 0}
  .fit__facts>div:nth-child(odd){padding-left:0;border-left:0}
  .fit__cols{grid-template-columns:1fr;gap:28px}
  .fit__pairs li{grid-template-columns:1fr;gap:4px}
  .fit__pairs i{display:none}
}
@media (max-width:620px){
  body{font-size:17px}
  .section{padding:52px 0}
  .header__in{gap:10px}
  .logo img{height:34px;width:auto}
  .logo b{font-size:15px}
  .logo>span>span{display:none}
  .header__cta{gap:6px}
  .header__cta .btn{padding:10px 16px;font-size:15px}
  .hero{padding:32px 0 48px}
  .pair{height:min(76vw,340px)}
  .pair__pill{font-size:12px;padding:6px 11px}

  .hero__actions{gap:16px}
  .hero__actions .btn{width:100%}
  .link-arrow{font-size:16px}

  .grid--2,.grid--3,.grid--4{grid-template-columns:1fr}
  .trainer__regalia{grid-template-columns:1fr}
  .price__cards{grid-template-columns:1fr}
  .price__cond{grid-template-columns:1fr;gap:18px}
  .price__cond>div{padding:0}
  .price__cond>div+div{border-left:0;border-top:1px solid rgba(42,157,143,.3);padding-top:18px}
  .sticky-cta{display:flex}
  .cookie{left:12px;right:12px;max-width:none;bottom:calc(76px + env(safe-area-inset-bottom))}
  body{padding-bottom:76px}
  .hero::before,.hero::after{display:none}
}

/* На экранах у́же 430px шапка не помещалась: кнопка и бургер уезжали за край,
   на 320px бургер был полностью за экраном и меню становилось недоступным. */
@media (max-width:430px){
  .header__in{gap:8px}
  .logo{gap:8px}
  .logo img{height:30px}
  .logo b{font-size:13.5px}
  .header__cta{gap:2px}
  .header__cta .btn{padding:9px 13px;font-size:14px}
  .burger{padding:6px}
  .burger span{width:22px;margin:4px 0}
}
/* Совсем узкие экраны: название убираем, знак остаётся — иначе не влезает ничего */
@media (max-width:350px){
  .logo b{display:none}
}
