/* HelloBonjour — стили сайта. Все шрифты локальные (OFL), внешних запросов нет. */

/* ---------- Шрифты ---------- */
@font-face{font-family:"Onest";src:url(../fonts/onest-cyrillic-400-normal.woff2) format("woff2");font-weight:400;font-display:block;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";src:url(../fonts/onest-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:block;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:"Onest";src:url(../fonts/onest-cyrillic-500-normal.woff2) format("woff2");font-weight:500;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";src:url(../fonts/onest-latin-500-normal.woff2) format("woff2");font-weight:500;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20BD,U+2212}
@font-face{font-family:"Onest";src:url(../fonts/onest-cyrillic-700-normal.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";src:url(../fonts/onest-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20BD,U+2212}
@font-face{font-family:"Playfair";src:url(../fonts/playfair-display-cyrillic-700-normal.woff2) format("woff2");font-weight:700;font-display:block;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Playfair";src:url(../fonts/playfair-display-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:block;unicode-range:U+0000-00FF,U+2000-206F,U+20BD,U+2212}
@font-face{font-family:"Playfair";src:url(../fonts/playfair-display-cyrillic-700-italic.woff2) format("woff2");font-weight:700;font-style:italic;font-display:block;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Playfair";src:url(../fonts/playfair-display-latin-700-italic.woff2) format("woff2");font-weight:700;font-style:italic;font-display:block;unicode-range:U+0000-00FF,U+2000-206F,U+20BD,U+2212}
@font-face{font-family:"Unbounded";src:url(../fonts/unbounded-cyrillic-800-normal.woff2) format("woff2");font-weight:800;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Unbounded";src:url(../fonts/unbounded-latin-800-normal.woff2) format("woff2");font-weight:800;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20BD,U+2212}
@font-face{font-family:"Hand";src:url(../fonts/dancing-script-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}

/* ---------- Токены ---------- */
:root{
  --milk:#FBF6EE;      /* основной фон */
  --paper:#FFFFFF;
  --sand:#F1E6D3;      /* плашки */
  --ink:#1B2340;       /* текст, тёмные блоки */
  --ink-2:#474D63;     /* второстепенный текст */
  --red:#E01818;       /* фирменный красный с логотипа — заливки */
  --red-ink:#B5121A;   /* красный для текста на светлом (контраст AA) */
  --red-deep:#8F0C10;
  --mustard:#DE9A1F;   /* студийный фон из фотосессии */
  --mustard-soft:#F3D9A4;
  --navy:#1E2A55;
  --line:#E4D8C3;
  --radius:22px;
  --gutter:16px;
  --max:1200px;
  --shadow:0 10px 30px rgba(27,35,64,.12);
  --f-text:"Onest",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --f-head:"Playfair",Georgia,"Times New Roman",serif;
  --f-loud:"Unbounded","Onest",system-ui,sans-serif;
  --f-hand:"Hand","Segoe Script","Brush Script MT",cursive;
}
@media (min-width:768px){:root{--gutter:32px}}

/* ---------- База ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--milk);color:var(--ink);font:400 17px/1.55 var(--f-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
@media (min-width:768px){body{font-size:18px}}
img,svg,video{display:block;max-width:100%;height:auto}
picture{display:block}
a{color:inherit;text-underline-offset:.18em;text-decoration-thickness:1.5px}
h1,h2,h3,h4,p,ul,ol,figure,dl,dd,blockquote{margin:0}
ul[class],ol[class]{list-style:none;padding:0}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:6px}
.dark :focus-visible,.mustard :focus-visible{outline-color:var(--ink)}
.dark :focus-visible{outline-color:#fff}
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;text-decoration:none}
.skip:focus{top:12px}
.wrap{width:100%;max-width:calc(var(--max) + 2*var(--gutter));margin-inline:auto;padding-inline:var(--gutter)}
.todo{background:repeating-linear-gradient(-45deg,#fff3c4 0 6px,#ffe9a0 6px 12px);color:#5a4300;border-radius:4px;padding:0 .3em;font-weight:500;white-space:nowrap}

/* ---------- Кнопки ---------- */
.btn{--bg:var(--red);--fg:#fff;--sh:var(--red-deep);display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:54px;padding:.7em 1.5em;border:0;border-radius:999px;background:var(--bg);color:var(--fg);font:700 17px/1.15 var(--f-text);text-decoration:none;text-align:center;cursor:pointer;box-shadow:0 4px 0 var(--sh);transition:transform .15s ease,box-shadow .15s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--sh)}
.btn:active{transform:translateY(2px);box-shadow:0 2px 0 var(--sh)}
.btn svg{width:22px;height:22px;flex:none}
.btn--light{--bg:var(--paper);--fg:var(--ink);--sh:var(--ink)}
.btn--ink{--bg:var(--ink);--fg:#fff;--sh:#000}
.btn--line{--bg:transparent;--fg:currentColor;--sh:transparent;border:2px solid currentColor;box-shadow:none;min-height:48px}
.btn--line:hover,.btn--line:active{box-shadow:none}
.btn--sm{min-height:44px;padding:.5em 1.1em;font-size:15px}
.btn--wide{width:100%}
.link{font-weight:700;color:var(--ink);text-decoration:underline;display:inline-flex;align-items:center;min-height:44px}

/* ---------- Речевые пузыри (главный приём) ---------- */
.say{display:inline-flex;align-items:center;width:max-content;max-width:100%;font:700 22px/1 var(--f-hand);padding:.42em .8em .5em;border-radius:16px 16px 16px 4px;background:var(--red);color:#fff;position:relative}
.say--light{background:var(--paper);color:var(--ink);box-shadow:3px 4px 0 rgba(27,35,64,.18)}
.say--ink{background:var(--ink);color:#fff}
.say--right{border-radius:16px 16px 4px 16px}
.say--ru{font:600 17px/1.2 var(--f-text);padding:.65em .95em}
.eyebrow{margin-bottom:14px}

/* ---------- Шапка ---------- */
.header{position:sticky;top:0;z-index:50;background:rgb(251,246,238);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
.header.is-stuck{border-bottom-color:var(--line);box-shadow:0 6px 20px rgba(27,35,64,.06)}
.header__row{display:flex;align-items:center;gap:12px;min-height:72px}
.brand{display:block;width:118px;flex:none;border-radius:8px}
.brand svg{width:100%}
.nav{margin-left:auto}
.nav__list{display:flex;gap:4px}
.nav__list a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:999px;font-weight:500;font-size:16px;text-decoration:none}
.nav__list a:hover{background:var(--sand)}
.header__actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.icon-btn{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;border:2px solid var(--ink);background:transparent;cursor:pointer;color:var(--ink);text-decoration:none}
.icon-btn svg{width:22px;height:22px}
.menu-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 16px;border-radius:999px;border:0;background:var(--ink);color:#fff;font-weight:700;font-size:16px;cursor:pointer}
.menu-btn__bars{width:18px;height:12px;position:relative;display:block}
.menu-btn__bars::before,.menu-btn__bars::after{content:"";position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px;transition:transform .2s}
.menu-btn__bars::before{top:1px}.menu-btn__bars::after{bottom:1px}
.menu-btn[aria-expanded="true"] .menu-btn__bars::before{transform:translateY(4px) rotate(45deg)}
.menu-btn[aria-expanded="true"] .menu-btn__bars::after{transform:translateY(-5px) rotate(-45deg)}
.header .btn-desktop{display:none}
@media (max-width:1079px){
  .nav{position:fixed;inset:72px 0 auto 0;background:var(--milk);border-bottom:1px solid var(--line);box-shadow:0 20px 40px rgba(27,35,64,.12);padding:12px var(--gutter) 22px;display:none;max-height:calc(100dvh - 72px);overflow:auto}
  .nav.is-open{display:block}
  .nav__list{flex-direction:column}
  .nav__list a{font-size:20px;min-height:52px;font-family:var(--f-head);font-weight:700}
  .nav__extra{display:grid;gap:10px;margin-top:14px}
}
@media (min-width:1080px){
  .brand{width:132px}
  .menu-btn,.nav__extra{display:none}
  .header__actions{margin-left:0}
  .header .btn-desktop{display:inline-flex}
}

/* ---------- Секции ---------- */
.sec{padding-block:72px}
@media (min-width:960px){.sec{padding-block:112px}}
.h2{font:700 clamp(34px,8.6vw,62px)/1.04 var(--f-head);letter-spacing:-.01em;text-wrap:balance}
.h2 em{font-style:italic;color:var(--red-ink)}
.h3{font:700 clamp(22px,5.5vw,28px)/1.15 var(--f-head)}
.intro{font-size:18px;color:var(--ink-2);max-width:36em;margin-top:16px;text-wrap:pretty}
@media (min-width:768px){.intro{font-size:20px}}
.mustard{background:var(--mustard);color:var(--ink)}
.mustard .intro{color:var(--ink)}
.dark{background:var(--ink);color:#F6EFE3}
.dark .intro{color:#D9D3C7}
.dark .h2 em{color:#FF8A80}

/* ---------- Hero ---------- */
.hero{padding-top:14px;padding-bottom:56px;overflow-x:clip}
.hero__grid{display:grid;gap:22px;grid-template-areas:"t" "p" "r"}
.hero__title{grid-area:t;font:700 clamp(46px,13vw,98px)/.98 var(--f-head);letter-spacing:-.015em}
.hero__title em{display:inline-block;color:var(--red-ink);font-style:italic}
.hero__stage{grid-area:p;position:relative;margin-bottom:26px}
.hero__body{grid-area:r}
.hero__lead{font-size:18px;max-width:31em;color:var(--ink-2)}
@media (min-width:768px){.hero__lead{font-size:21px}}
.hero__cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:24px}
.facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.facts li{background:var(--sand);border-radius:999px;padding:8px 14px;font-size:15px;font-weight:500}
.photo-bubble{position:relative;background:var(--red);padding:8px;border-radius:36px}
.photo-bubble img{border-radius:29px;width:100%;aspect-ratio:4/3.1;object-fit:cover;object-position:50% 30%}
.photo-bubble::after{content:"";position:absolute;right:58px;bottom:-30px;border-right:46px solid transparent;border-top:32px solid var(--red)}
.chat{position:absolute;left:-4px;top:-16px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;pointer-events:none}
.chat .say{font-size:26px;box-shadow:0 8px 20px rgba(27,35,64,.2)}
.chat .say--ru{font-size:18px;margin-left:30px}
.chat .say--ink{margin-left:8px}
.js .chat .say{opacity:0;transform:translateY(12px) scale(.85);transform-origin:0 100%}
.js .chat.is-on .say{animation:pop .55s cubic-bezier(.2,.9,.3,1.35) forwards}
.js .chat.is-on .say:nth-child(2){animation-delay:.9s}
.js .chat.is-on .say:nth-child(3){animation-delay:1.8s}
@keyframes pop{to{opacity:1;transform:none}}
.hero__note{position:absolute;right:14px;bottom:16px;max-width:210px;background:var(--milk);border-radius:16px 16px 4px 16px;padding:10px 14px;font-size:14px;font-weight:500;line-height:1.35;box-shadow:var(--shadow)}
.hero__note b{color:var(--red-ink)}
@media (min-width:960px){
  .hero{padding-top:40px;padding-bottom:110px}
  .hero__grid{grid-template-columns:1.02fr 1fr;grid-template-areas:"t p" "r p";column-gap:64px;row-gap:26px;align-items:end}
  .hero__body{align-self:start}
  .hero__stage{margin-bottom:0;align-self:center}
  .chat{left:-48px;top:34px}
}

/* ---------- О школе (горчичный) ---------- */
.about{position:relative;overflow:hidden}
.about__grid{display:grid;gap:36px}
.about__photo{position:relative;max-width:520px;width:100%;justify-self:center}
.about__photo img{border-radius:999px 999px 0 0;width:100%;aspect-ratio:4/5;object-fit:cover}
.about__photo .say{position:absolute}
.about__photo .s1{left:-6px;top:22%;transform:rotate(-5deg)}
.about__photo .s2{right:-6px;top:48%}
.quote{font:700 italic clamp(24px,5.8vw,36px)/1.25 var(--f-head);margin-top:22px;text-wrap:pretty}
.quote::before{content:"«"}.quote::after{content:"»"}
.about__text p+p{margin-top:14px}
.about__text .lede{font-size:18px;margin-top:20px}
.about__sign{display:flex;align-items:center;gap:14px;margin-top:26px;font-weight:700}
.about__sign .say{font-size:24px}
.tartan{height:20px;background:
 repeating-linear-gradient(90deg,rgba(30,42,85,.92) 0 10px,transparent 10px 26px,rgba(255,255,255,.55) 26px 28px,transparent 28px 42px),
 repeating-linear-gradient(0deg,rgba(30,42,85,.75) 0 6px,transparent 6px 22px),#B8141A}
@media (min-width:960px){.about__grid{grid-template-columns:.9fr 1.1fr;align-items:center;gap:80px}}

/* ---------- Как проходит урок: переписка ---------- */
.lesson__grid{display:grid;gap:40px}
.thread{display:grid;gap:34px;margin-top:8px}
.msg{display:grid;gap:14px;align-items:start}
.msg__bubble{max-width:560px}
.msg__bubble .say{font-size:28px;margin-bottom:10px}
.msg__bubble h3{font:700 22px/1.2 var(--f-text)}
.msg__bubble p{color:var(--ink-2);margin-top:6px}
.msg__photo{border-radius:24px;overflow:hidden;box-shadow:var(--shadow);max-width:560px}
.msg__photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.msg--you .say{background:var(--paper);color:var(--ink);border-radius:16px 16px 4px 16px;box-shadow:3px 4px 0 rgba(27,35,64,.15)}
.js .msg{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.js .msg.is-in{opacity:1;transform:none}
.format{background:var(--paper);border-radius:28px;padding:26px 22px;box-shadow:var(--shadow);align-self:start}
.format__list{display:grid;gap:18px;margin-top:18px}
.format__list li{display:grid;grid-template-columns:1fr;gap:4px;align-items:baseline}
.format__big{font:800 30px/1 var(--f-loud);color:var(--red-ink)}
.format__list span{color:var(--ink-2);font-size:16px}
.format__list strong{font-weight:700}
@media (min-width:960px){
  .lesson__grid{grid-template-columns:1.35fr .9fr;gap:72px}
  .format{position:sticky;top:100px;padding:34px}
  .msg{grid-template-columns:1fr 1fr;gap:28px;align-items:center}
  .msg:nth-child(even) .msg__photo{order:-1}
}

/* ---------- Программы: обложки ---------- */
.programs__list{display:grid;gap:22px;margin-top:40px}
.book{position:relative;display:flex;flex-direction:column;border-radius:10px 26px 26px 10px;padding:26px 24px 24px 38px;color:#fff;min-height:100%;box-shadow:0 18px 30px rgba(27,35,64,.18),inset 14px 0 0 rgba(0,0,0,.18),inset 17px 0 0 rgba(255,255,255,.18)}
.book--1{background:var(--mustard);color:var(--ink);box-shadow:0 18px 30px rgba(27,35,64,.18),inset 14px 0 0 rgba(0,0,0,.12),inset 17px 0 0 rgba(255,255,255,.3)}
.book--2{background:var(--red)}
.book--3{background:var(--navy)}
.book__age{font:800 clamp(30px,8vw,40px)/1 var(--f-loud);letter-spacing:-.02em}
.book__who{font-weight:500;margin-top:6px}
.book__title{font:700 25px/1.15 var(--f-head);margin-top:22px;padding-top:18px;border-top:2px solid currentColor}
.book__text{margin-top:10px;font-size:16px}
.book__tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:22px}
.book__tags li{font-size:14px;font-weight:700;border:1.5px solid currentColor;border-radius:999px;padding:5px 11px}
.book--1 .book__tags .off{background:var(--ink);color:var(--mustard);border-color:var(--ink)}
@media (min-width:900px){.programs__list{grid-template-columns:repeat(3,1fr)}}

/* ---------- Подбор программы ---------- */
.quiz{margin-top:56px;background:var(--paper);border-radius:32px;padding:26px 18px;box-shadow:var(--shadow);display:grid;gap:22px}
.quiz__head .say{font-size:26px}
.quiz__head h3{font:700 clamp(26px,6vw,36px)/1.1 var(--f-head);margin-top:14px}
.quiz__log{display:grid;gap:12px;align-content:start}
.q{display:grid;gap:10px}
.q__ask{justify-self:start}
.q__answer{justify-self:end}
.q__opts{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:46px;padding:0 16px;border-radius:999px;border:2px solid var(--ink);background:var(--paper);font-weight:700;font-size:16px;cursor:pointer;transition:background .15s,color .15s}
.chip:hover{background:var(--sand)}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff}
.quiz__result{border:2px dashed var(--line);border-radius:24px;padding:22px;display:grid;gap:12px;align-content:start}
.quiz__result[hidden]{display:none}
.quiz__result h4{font:700 26px/1.15 var(--f-head)}
.quiz__result ul{display:grid;gap:6px;padding-left:1.1em}
.quiz__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.quiz__reset{background:none;border:0;padding:0;font-weight:700;text-decoration:underline;cursor:pointer;min-height:44px}
@media (min-width:960px){.quiz{grid-template-columns:1fr 1fr;padding:44px;gap:40px}.quiz__head{grid-column:1/-1}}

/* ---------- Цены ---------- */
.prices__main{display:grid;gap:18px;margin-top:40px}
.price-card{background:var(--paper);border-radius:28px;padding:26px 22px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px}
.price-card__label{font-weight:700;font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-2)}
.price-card h3{font:700 26px/1.15 var(--f-head)}
.price{font:800 clamp(34px,9vw,46px)/1 var(--f-loud);letter-spacing:-.02em}
.price small{font:500 15px var(--f-text);color:var(--ink-2);letter-spacing:0;margin-left:4px}
.old{color:var(--ink-2);text-decoration:line-through;font-weight:500;font-size:17px}
.tickets{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:22px}
.ticket{position:relative;background:var(--paper);border-radius:18px;padding:18px 16px;border:2px solid var(--ink)}
.ticket__name{font-weight:800;letter-spacing:.04em;font-size:15px}
.ticket .price{font-size:28px;margin-top:10px}
.ticket .old{font-size:15px}
.ticket--vip{background:var(--ink);color:#fff}
.ticket--vip .old{color:#C9C3B7}
.prices__note{margin-top:18px;color:var(--ink-2);font-size:15px;max-width:48em}
.deals{margin-top:72px;border-radius:36px;padding:34px 18px;position:relative;overflow:hidden}
.deals .h3{font-size:clamp(28px,6.5vw,40px)}
.coupons{display:grid;gap:16px;margin-top:26px}
.coupon{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;background:var(--milk);border-radius:20px;padding:20px 18px 20px 20px;
  -webkit-mask:radial-gradient(circle 12px at 0 50%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 12px at 100% 50%,#0000 98%,#000) right/51% 100% no-repeat;
  mask:radial-gradient(circle 12px at 0 50%,#0000 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 12px at 100% 50%,#0000 98%,#000) right/51% 100% no-repeat}
.coupon__pct{font:800 clamp(34px,9vw,44px)/1 var(--f-loud);color:var(--red-ink);padding-right:16px;border-right:2px dashed var(--line);min-width:3.4ch}
.coupon h4{font:700 22px/1.15 var(--f-head)}
.coupon p{font-size:15px;color:var(--ink-2);margin-top:4px}
.gift{display:grid;gap:18px;margin-top:22px;background:var(--paper);border-radius:28px;padding:22px;align-items:center}
.gift__art{max-width:240px;justify-self:center}
.gift h4{font:700 26px/1.15 var(--f-head)}
.gift .price{margin-top:8px}
.gift p{color:var(--ink-2);margin-top:8px}
.gift .btn{margin-top:16px}
@media (min-width:900px){
  .prices__main{grid-template-columns:1fr 1fr}
  .deals{padding:56px}
  .coupons{grid-template-columns:repeat(3,1fr)}
  .coupon{grid-template-columns:1fr;align-content:start;padding:26px}
  .coupon__pct{border-right:0;border-bottom:2px dashed var(--line);padding:0 0 14px}
  .gift{grid-template-columns:240px 1fr;padding:30px 40px;gap:40px}
}

/* ---------- Пробный урок + форма ---------- */
.trial__grid{display:grid;gap:36px}
.trial__photo{position:relative;max-width:520px}
.trial__photo img{border-radius:28px;width:100%;aspect-ratio:4/4.2;object-fit:cover;object-position:50% 20%}
.trial__photo .say{position:absolute;right:-6px;top:22px;font-size:28px}
.steps{display:grid;gap:12px;margin-top:22px}
.steps li{display:flex;gap:12px;align-items:flex-start}
.steps li::before{content:"";flex:none;width:22px;height:22px;margin-top:3px;border-radius:7px 7px 7px 2px;background:var(--red)}
.form{background:var(--paper);color:var(--ink);border-radius:30px;padding:26px 18px;display:grid;gap:16px;box-shadow:0 30px 60px rgba(0,0,0,.25)}
.form h3{font:700 28px/1.1 var(--f-head)}
.field{display:grid;gap:6px}
.field label,.field legend{font-weight:700;font-size:16px}
.field input,.field select,.field textarea{width:100%;min-height:52px;border:2px solid #CFC5B3;border-radius:14px;padding:12px 14px;background:var(--milk);font-size:17px}
.field textarea{min-height:88px;resize:vertical}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{border-color:var(--ink);outline:3px solid var(--red);outline-offset:2px}
.field .hint{font-size:14px;color:var(--ink-2)}
fieldset.field{border:0;padding:0;margin:0}
.seg{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.seg input{position:absolute;opacity:0;width:1px;height:1px}
.seg label{display:inline-flex;align-items:center;min-height:46px;padding:0 16px;border:2px solid #CFC5B3;border-radius:999px;font-weight:600;font-size:16px;cursor:pointer;background:var(--milk)}
.seg input:checked+label{background:var(--ink);border-color:var(--ink);color:#fff}
.seg input:focus-visible+label{outline:3px solid var(--red);outline-offset:2px}
.consent{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;font-size:15px;color:var(--ink-2)}
.consent input{width:24px;height:24px;margin:2px 0 0;accent-color:var(--red)}
.form__send{display:grid;gap:10px}
.form__send .row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.form__msg{font-size:15px;font-weight:600;min-height:1.4em}
.form__msg.is-error{color:var(--red-ink)}
.form__alt{font-size:15px;color:var(--ink-2)}
@media (min-width:960px){.trial__grid{grid-template-columns:1fr 1fr;gap:72px;align-items:start}.form{padding:38px}}

/* ---------- Год: учёба, каникулы, лето ---------- */
.year__strip{display:grid;gap:10px;margin-top:36px}
.season{border-radius:22px;padding:20px;background:var(--paper);display:grid;gap:4px}
.season__name{font:700 15px var(--f-text);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2)}
.season strong{font:700 22px/1.2 var(--f-head)}
.season p{font-size:15px;color:var(--ink-2)}
.season--off{background:transparent;border:2px dashed #B9AE99}
.season--summer{background:var(--mustard)}
.season--summer .season__name,.season--summer p{color:var(--ink)}
.camp{display:grid;gap:26px;margin-top:40px;align-items:center}
.camp__photo{position:relative;max-width:480px}
.camp__photo img{border-radius:28px;width:100%;aspect-ratio:4/5;object-fit:cover}
.camp__photo .say{position:absolute;left:-6px;bottom:28px;font-size:26px}
.road{position:relative;height:90px;margin-top:40px;border-bottom:3px solid var(--ink);overflow:hidden}
.road__bus{position:absolute;bottom:3px;left:0;width:150px;animation:drive 14s linear infinite}
@keyframes drive{from{transform:translateX(-170px)}to{transform:translateX(calc(100vw + 20px))}}
@media (min-width:900px){.year__strip{grid-template-columns:repeat(4,1fr)}.camp{grid-template-columns:.8fr 1.2fr;gap:64px}}

/* ---------- Галерея ---------- */
.gallery__grid{columns:2 160px;column-gap:12px;margin-top:36px}
.gallery__grid li{break-inside:avoid;margin-bottom:12px}
.shot{display:block;width:100%;padding:0;border:0;background:none;border-radius:18px;overflow:hidden;cursor:zoom-in}
.shot img{width:100%;transition:transform .5s ease}
.shot:hover img{transform:scale(1.03)}
@media (min-width:900px){.gallery__grid{columns:4;column-gap:16px}.gallery__grid li{margin-bottom:16px}}
.lightbox{border:0;padding:0;background:transparent;max-width:min(96vw,1200px);max-height:92vh}
.lightbox::backdrop{background:rgba(15,18,32,.88)}
.lightbox img{max-height:86vh;width:auto;margin:auto;border-radius:16px}
.lightbox__close{position:fixed;top:14px;right:14px;width:52px;height:52px;border-radius:50%;border:0;background:#fff;color:var(--ink);font-size:28px;cursor:pointer}

/* ---------- FAQ ---------- */
.faq__grid{display:grid;gap:36px}
.faq__list{display:grid;gap:10px}
.qa{background:var(--paper);border-radius:20px;box-shadow:0 2px 0 var(--line)}
.qa summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 20px;font-weight:700;font-size:18px;min-height:56px;border-radius:20px}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"";flex:none;width:30px;height:30px;border-radius:50%;background:var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231B2340' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat;transition:transform .2s}
.qa[open] summary::after{transform:rotate(45deg)}
.qa__a{padding:0 20px 20px;color:var(--ink-2)}
.qa__a p+p{margin-top:8px}
.faq__side img{border-radius:28px;width:100%;aspect-ratio:4/5;object-fit:cover;max-width:420px}
@media (min-width:960px){.faq__grid{grid-template-columns:1.5fr 1fr;gap:64px;align-items:start}.faq__side{position:sticky;top:100px}}

/* ---------- Контакты ---------- */
.contacts__grid{display:grid;gap:22px;margin-top:36px}
.place{background:var(--paper);border-radius:28px;padding:24px 20px;box-shadow:var(--shadow);display:grid;gap:14px;align-content:start}
.place address{font-style:normal;font:700 clamp(24px,6vw,32px)/1.2 var(--f-head)}
.place__meta{color:var(--ink-2)}
.place__btns{display:flex;flex-wrap:wrap;gap:10px}
.map__art{width:130px;margin:0 auto 10px}
.channels{display:grid;gap:10px}
.channel{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 18px;background:var(--paper);border-radius:20px;text-decoration:none;box-shadow:0 2px 0 var(--line);transition:transform .15s}
.channel:hover{transform:translateX(4px)}
.channel__ico{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px 14px 14px 4px;background:var(--ink);color:#fff;font:800 12px var(--f-loud)}
.channel__ico svg{width:22px;height:22px}
.channel--main .channel__ico{background:var(--red)}
.channel b{display:block;font-size:17px}
.channel span{font-size:14px;color:var(--ink-2)}
.contacts__photo img{border-radius:28px;width:100%;aspect-ratio:4/5;object-fit:cover}
@media (min-width:960px){.contacts__grid{grid-template-columns:1.1fr 1fr .8fr;align-items:start}}

/* ---------- Подвал ---------- */
.footer{background:var(--ink);color:#E9E3D8;padding:56px 0 120px;font-size:15px}
.footer__grid{display:grid;gap:30px}
.footer .brand{width:140px}
.footer h2{font:700 16px var(--f-text);text-transform:uppercase;letter-spacing:.08em;color:#fff;margin-bottom:12px}
.footer ul{display:grid;gap:4px}
.footer a{display:inline-flex;align-items:center;min-height:36px}
.footer__legal{border-top:1px solid rgba(255,255,255,.18);margin-top:36px;padding-top:22px;display:grid;gap:8px;color:#C9C3B7}
@media (min-width:900px){.footer{padding-bottom:56px}.footer__grid{grid-template-columns:1.3fr 1fr 1fr 1fr}}

/* ---------- Нижняя панель на телефоне ---------- */
.dock{position:fixed;left:10px;right:10px;bottom:10px;z-index:40;display:flex;gap:8px;padding:8px;background:var(--ink);border-radius:999px;box-shadow:0 14px 30px rgba(0,0,0,.3);transform:translateY(140%);transition:transform .3s ease}
.dock.is-on{transform:none}
.dock .btn{flex:1;min-height:50px;box-shadow:none}
.dock .icon-btn{border-color:#fff;color:#fff;width:50px;height:50px;background:transparent}
@media (min-width:900px){.dock{display:none}}

/* ---------- Мелочи ---------- */
.toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:14px 20px;border-radius:16px;font-weight:600;opacity:0;pointer-events:none;transition:.25s;z-index:60;max-width:calc(100vw - 32px);text-align:center}
.toast.is-on{opacity:1;transform:translate(-50%,0)}
.page{padding-block:48px 80px}
.page h1{font:700 clamp(34px,8vw,54px)/1.08 var(--f-head)}
.page h2{font:700 24px/1.2 var(--f-head);margin-top:34px}
.page p,.page li{margin-top:10px;max-width:46em}
.page ul{padding-left:1.2em}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .chat .say,.js .msg{opacity:1;transform:none}
  .road__bus{left:auto;right:10%}
}
@media print{.header,.dock,.road,.toast{display:none}body{background:#fff}}
.q__ru{font-size:15px;color:var(--ink-2);margin-top:-4px}
[aria-invalid="true"]{border-color:var(--red-ink)!important}
.consent input[aria-invalid="true"]{outline:3px solid var(--red-ink);outline-offset:2px}
.price .todo{display:inline-block;vertical-align:middle;font:500 13px/1.3 var(--f-text);letter-spacing:0;white-space:normal}
.prices__main>*,.tickets>*,.contacts__grid>*,.trial__grid>*,.faq__grid>*{min-width:0}
.format__list .format__big{font:800 30px/1 var(--f-loud);color:var(--red-ink)}
.coupon .coupon__pct{font:800 clamp(34px,9vw,44px)/1 var(--f-loud);color:var(--red-ink);margin:0}
.tickets-title{margin-top:56px}
.ticket .price{font-size:clamp(22px,6vw,28px);white-space:nowrap}
@media (max-width:479px){.form__send .row{grid-template-columns:1fr}}
.channel .channel__ico{color:#fff;font:800 12px/1 var(--f-loud)}
.channel span span{display:block}
.faq__list{margin-top:28px}
@media (max-width:959px){.faq__side{display:none}}
/* читаемость на телефоне: основной текст не мельче 16px */
.facts li,.hero__note,.coupon p,.prices__note,.season p,.consent,.form__alt,.channel span span,.q__ru,.footer,.book__text,.format__list span,.quiz__result li,.field .hint{font-size:16px}
.footer a{min-height:44px}
.btn--sm{font-size:16px}
/* строки заголовка зафиксированы — смена шрифта при загрузке не сдвигает экран */
.hero__title{font-size:clamp(42px,12.4vw,98px)}
.hero__title .l{display:block;white-space:nowrap}
@media (min-width:960px){.hero__title em{display:block}}
.header{background:var(--milk)}
.menu-open .dock{transform:translateY(140%)}
@media (min-width:900px){.year__strip--3{grid-template-columns:repeat(3,1fr)}}
.about__photo .say{font:700 18px/1 var(--f-text);padding:.55em .9em}
.stat{margin-top:22px;display:flex;align-items:baseline;gap:12px;font-weight:500}
.stat b{font:800 clamp(34px,8vw,44px)/1 var(--f-loud);color:var(--ink)}
.sec--tight{padding-top:0}
/* мини-тест */
.test{background:var(--ink);color:#F6EFE3;border-radius:36px;padding:30px 18px;display:grid;gap:26px;overflow:hidden;position:relative}
.test .intro{color:#D9D3C7}
.test .h2 em{color:#FF8A80}
.test__card{background:var(--paper);color:var(--ink);border-radius:26px;padding:22px 18px;display:grid;gap:16px;align-content:start;min-height:360px}
.test__bar{height:8px;border-radius:99px;background:var(--sand);overflow:hidden}
.test__bar i{display:block;height:100%;background:var(--red);border-radius:99px;transition:width .3s ease}
.test__count{font-weight:700;font-size:15px;color:var(--ink-2)}
.test__q{font:700 clamp(22px,5.6vw,30px)/1.2 var(--f-head)}
.test__hint{color:var(--ink-2);font-size:16px;margin-top:-8px}
.test__opts{display:grid;gap:10px}
.test__opt{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 16px;border:2px solid #CFC5B3;border-radius:18px 18px 18px 4px;background:var(--milk);font-weight:600;font-size:17px;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.test__opt:hover{border-color:var(--ink);transform:translateX(3px)}
.test__opt b{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--sand);font-size:14px}
.test__opt.is-right{border-color:#1F7A4D;background:#E6F4EC}
.test__opt.is-wrong{border-color:var(--red-ink);background:#FDECEC}
.test__res h3{font:700 clamp(26px,6vw,34px)/1.15 var(--f-head)}
.test__score{font:800 clamp(44px,12vw,64px)/1 var(--f-loud);color:var(--red-ink)}
.test__res p{color:var(--ink-2);margin-top:8px}
.test__actions{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:10px}
@media (min-width:960px){.test{grid-template-columns:.9fr 1.1fr;padding:56px;gap:56px;align-items:center}.test__card{padding:34px}}
/* живые пузыри и параллакс */
.say{transition:transform .25s cubic-bezier(.2,.9,.3,1.4)}
.eyebrow.say:hover,.msg__bubble .say:hover{transform:rotate(-3deg) scale(1.05)}
.photo-bubble{will-change:transform}
.consent-bar{position:fixed;left:10px;right:10px;bottom:76px;z-index:45;max-width:560px;margin-inline:auto;background:var(--paper);color:var(--ink);border-radius:20px;padding:16px 18px;box-shadow:0 20px 40px rgba(27,35,64,.25);display:grid;gap:12px;font-size:16px}
.consent-bar__btns{display:flex;gap:10px;flex-wrap:wrap}
@media (min-width:900px){.consent-bar{bottom:20px}}
.icon-btn--max svg,.channel__ico svg{width:26px;height:26px}
.dock .icon-btn--max{background:#fff;color:var(--ink)}
.dock .icon-btn--max svg text{fill:#fff}
.btn svg text{fill:var(--red)}
.btn--light svg text{fill:#fff}
.channel--main .channel__ico svg text{fill:var(--red)}
/* --- Команда --- */
.team{display:grid;gap:22px;margin-top:40px}
.teacher{background:var(--paper);border-radius:28px;padding:14px 14px 24px;box-shadow:var(--shadow);display:grid;gap:8px;align-content:start}
.teacher__photo{border-radius:20px;overflow:hidden;aspect-ratio:1/1;margin-bottom:8px}
.teacher__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.teacher__avatar{aspect-ratio:1/1;border-radius:20px;margin-bottom:8px;display:grid;place-items:center;background:var(--mustard)}
.teacher__avatar .say{font-size:56px}
.teacher__name{font:700 24px/1.15 var(--f-head);padding-inline:6px}
.teacher__role{color:var(--red-ink);font-weight:700;font-size:16px;padding-inline:6px}
.teacher__facts{display:grid;gap:6px;padding:4px 6px 0 26px;color:var(--ink-2);font-size:16px}
.teacher__facts li::marker{color:var(--red)}
@media (min-width:900px){.team{grid-template-columns:repeat(3,1fr)}}
/* --- Французский, тариф --- */
.fr{display:flex;gap:14px;align-items:center;margin-top:18px;background:var(--paper);border-radius:20px;padding:16px 18px;border:2px dashed var(--line)}
.fr__flag{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:14px 14px 14px 4px;font:800 14px var(--f-loud);color:#fff;background:linear-gradient(90deg,#1E3A8A 33%,#fff 33% 66%,#E01818 66%);text-shadow:0 1px 2px #000}
.price small{display:block;margin:6px 0 0}
.ticket--open{grid-column:1/-1}
.ticket__list{margin-top:12px;padding-left:1.1em;display:grid;gap:4px;font-size:16px;color:var(--ink-2)}
@media (min-width:900px){.ticket--open{grid-column:auto;grid-row:span 2}}
/* --- Праздники --- */
.fest{display:grid;gap:18px;margin-top:36px;background:var(--mustard);border-radius:32px;padding:28px 20px}
.fest p{margin-top:10px}
.fest .say{margin:0 0 8px}
.fest__chips{display:flex;flex-wrap:wrap;gap:8px}
.fest__chips li{background:var(--milk);border-radius:999px;padding:8px 14px;font-weight:700}
.fest__price{font-size:18px}
.fest__price b{font:800 28px var(--f-loud)}
@media (min-width:900px){.fest{grid-template-columns:1.4fr 1fr;align-items:center;padding:44px}}
/* --- Отзывы --- */
.reviews__list{display:grid;gap:16px;margin-top:36px}
.review{position:relative;background:var(--paper);border-radius:24px 24px 24px 6px;padding:24px 22px;box-shadow:var(--shadow);display:grid;gap:12px;align-content:start}
.review::after{content:"";position:absolute;left:0;bottom:-14px;border-left:22px solid var(--paper);border-bottom:16px solid transparent}
.review__stars{color:#D98A00;letter-spacing:2px;font-size:18px}
.review blockquote{margin:0;font-size:17px}
.review__who{color:var(--ink-2);font-size:16px}
.reviews__more{margin-top:28px}
@media (min-width:900px){.reviews__list{grid-template-columns:repeat(2,1fr);gap:28px}}
/* --- Бегущая строка --- */
.ticker{overflow:hidden;background:var(--ink);color:#fff;padding:14px 0;white-space:nowrap}
.ticker__track{display:inline-flex;gap:40px;animation:tick 28s linear infinite;font:700 26px/1 var(--f-hand)}
.ticker__track span:nth-child(3n+1){color:#FF8A80}
@keyframes tick{to{transform:translateX(-50%)}}
/* --- Плавные появления --- */
.js .reveal{opacity:0;transform:translateY(28px) scale(.98);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.js .reveal.is-in{opacity:1;transform:none}
.js .h2:not(.is-in){opacity:0;transform:translateY(22px)}
.js .h2{transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.js :is(.book,.coupon,.season,.shot,.channel,.price-card,.ticket):not(.is-in){opacity:0;transform:translateY(24px)}
.js :is(.book,.coupon,.season,.shot,.channel,.price-card,.ticket){transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease}
@media (prefers-reduced-motion:reduce){.js .reveal,.js .h2,.js .book,.js .coupon,.js .season,.js .shot,.js .channel,.js .price-card,.js .ticket{opacity:1;transform:none;clip-path:none}.ticker__track{animation:none}}

/* ===== Web Interface Guidelines ===== */
html{color-scheme:light;scroll-padding-bottom:96px}
body{-webkit-tap-highlight-color:rgba(224,24,24,.15)}
a,button,summary,label,input,select{touch-action:manipulation}
.field select{background-color:var(--milk);color:var(--ink)}
.price,.ticket .price,.coupon__pct,.format__big,.test__score,.stat b,.fest__price b{font-variant-numeric:tabular-nums}
.h2,.h3,.hero__title,.quote,.teacher__name,.book__title{text-wrap:balance}
.intro,.review blockquote,.qa__a{text-wrap:pretty}
.channel b,.review blockquote,address{overflow-wrap:anywhere}
.nav,.lightbox{overscroll-behavior:contain}
.header{padding-top:env(safe-area-inset-top)}
.dock{bottom:calc(10px + env(safe-area-inset-bottom));left:calc(10px + env(safe-area-inset-left));right:calc(10px + env(safe-area-inset-right))}
.footer{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
.field__err{color:var(--red-ink);font-size:15px;font-weight:600;min-height:0}
.field__err:empty{display:none}
.consent+.field__err{margin-top:-8px}
/* кнопка паузы бесконечных анимаций */
.ticker{position:relative}
.ticker__pause{position:absolute;right:8px;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;border-radius:50%;border:2px solid #fff;background:var(--ink);color:#fff;display:grid;place-items:center;cursor:pointer}
.ticker__pause svg{width:18px;height:18px;fill:currentColor}
.ticker__pause .i-play,.motion-paused .ticker__pause .i-pause{display:none}
.motion-paused .ticker__pause .i-play{display:inline}
.ticker__pause:focus-visible{outline-color:#fff}
.motion-paused .ticker__track,.motion-paused .road__bus{animation-play-state:paused}
/* живые карточки: подъём при наведении (только мышь) */
@media (hover:hover) and (pointer:fine){
  .teacher,.review{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,opacity .7s ease}
  .book.is-in:hover{transform:translateY(-6px) rotate(-1deg)}
  .teacher.is-in:hover,.review.is-in:hover,.price-card.is-in:hover{transform:translateY(-4px);box-shadow:0 22px 40px rgba(27,35,64,.16)}
  .coupon.is-in:hover{transform:rotate(-1.5deg) scale(1.02)}
  .btn:hover svg{transform:rotate(-8deg)}
  .btn svg{transition:transform .2s ease}
}
/* View Transitions: смена шага теста/подбора и «увеличение» фото */
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}
::view-transition-group(photo){animation-duration:.42s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}
.test__card{view-transition-name:test-card}
.quiz__log{view-transition-name:quiz-log}
::view-transition-new(test-card){animation:vt-in .32s cubic-bezier(.2,.8,.2,1) both}
::view-transition-old(test-card){animation:vt-out .18s ease both}
@keyframes vt-in{from{opacity:0;transform:translateX(18px)}}
@keyframes vt-out{to{opacity:0;transform:translateX(-12px)}}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}.ticker__pause{display:none}}

/* чек-лист ui-ux-pro-max: курсор на кликабельном */
button,summary,.shot,label[for],select,[role=button]{cursor:pointer}
.hours{display:grid;gap:6px;margin:0}.hours div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed var(--line);padding-bottom:6px}.hours dt{font-weight:500}.hours dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}

/* --- Карта-ссылка на 2ГИС --- */
.map{position:relative;display:block;overflow:hidden;border-radius:22px;aspect-ratio:4/3;text-decoration:none;color:var(--ink);box-shadow:0 0 0 2px var(--line);transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s}
.map__svg{position:absolute;inset:0;width:100%;height:100%}
.map__route{animation:route 1.4s linear infinite}
@keyframes route{to{stroke-dashoffset:-28}}
.map__pin{animation:bob 2s ease-in-out infinite;transform-box:fill-box}
@keyframes bob{50%{transform:translate(290px,162px)}}
.map__pulse{transform-box:fill-box;transform-origin:center;animation:pulse 2s ease-out infinite}
@keyframes pulse{from{transform:scale(.6);opacity:.5}to{transform:scale(2.2);opacity:0}}
.map__card{position:absolute;left:12px;top:12px;max-width:52%;background:var(--paper);border-radius:16px 16px 16px 4px;padding:10px 14px;display:grid;gap:2px;box-shadow:var(--shadow);font-size:15px}
.map__card b{font:700 18px var(--f-head)}
.map__walk{color:var(--red-ink);font-weight:700}
.map__cta{position:absolute;left:12px;right:12px;bottom:12px;min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--red);color:#fff;font-weight:700;box-shadow:0 4px 0 var(--red-deep)}
@media (hover:hover){.map:hover{transform:translateY(-3px);box-shadow:0 0 0 2px var(--ink),0 18px 34px rgba(27,35,64,.2)}}
@media (prefers-reduced-motion:reduce){.map__route,.map__pin,.map__pulse{animation:none}}
.motion-paused .map__route,.motion-paused .map__pin,.motion-paused .map__pulse{animation-play-state:paused}
.max-ico{width:26px;height:26px;display:block}
.btn .max-ico{width:22px;height:22px}
/* --- Отзывы в стиле сайта: разноцветные «пузыри» --- */
.review:nth-child(3n+1){background:var(--paper)}
.review:nth-child(3n+2){background:var(--mustard-soft)}.review:nth-child(3n+2)::after{border-left-color:var(--mustard-soft)}
.review:nth-child(3n){background:var(--sand)}.review:nth-child(3n)::after{border-left-color:var(--sand)}
.review::before{content:"“";position:absolute;right:18px;top:-6px;font:700 90px/1 var(--f-head);color:var(--red);opacity:.25}
.review__stars{color:var(--red-ink)}
.review__who{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.review__ava{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50% 50% 50% 8px;background:var(--red);color:#fff;font:700 17px var(--f-hand)}
.review__ava:empty{display:none}
.max-ico{border-radius:7px}
.dock .icon-btn--max{background:transparent;border-color:transparent;padding:0}.dock .icon-btn--max .max-ico{width:50px;height:50px;border-radius:50%}

/* ===== Новый первый экран («Кино») ===== */
.hero2{position:relative;min-height:calc(100svh - 72px);display:grid;align-items:end;color:#fff;overflow:hidden;background:var(--ink)}
.hero2__bg{position:absolute;inset:0}
.hero2__bg picture,.hero2__bg img{width:100%;height:100%}
.hero2__bg img{object-fit:cover;object-position:46% 22%}
.hero2__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,18,40,.25) 0%,rgba(15,18,40,0) 30%,rgba(15,18,40,.55) 62%,rgba(15,18,40,.9) 100%)}
.hero2__body{position:relative;z-index:2;padding-bottom:calc(28px + env(safe-area-inset-bottom));padding-top:120px}
.hero2__title{font:800 clamp(34px,11.2vw,150px)/.9 var(--f-loud);text-transform:uppercase;letter-spacing:-.035em;text-wrap:balance}
.hero2__title .l{display:block;white-space:nowrap}
.hero2__title .l--red{color:#FF6B60}
.hero2__lead{max-width:32em;font-size:18px;margin-top:18px;color:#F1EAE0}
.hero2__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.hero2 .btn--line{color:#fff}
.hero2__facts{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none}
.hero2__facts li{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:8px 14px;font-size:16px;font-weight:500;backdrop-filter:none}
.hero2 .chat{position:absolute;z-index:3;left:16px;top:18px}
.hero2 :focus-visible{outline-color:#fff}
.js .hero2__title .l{animation:rise .9s cubic-bezier(.2,.8,.2,1) both}
.js .hero2__title .l:nth-child(2){animation-delay:.12s}.js .hero2__title .l:nth-child(3){animation-delay:.24s}
@keyframes rise{from{opacity:0;transform:translateY(36px)}}
@media(min-width:960px){
  .hero2{min-height:min(calc(100svh - 72px),860px)}
  .hero2__title{font-size:clamp(60px,7.6vw,150px)}
  .hero2__shade{background:linear-gradient(90deg,rgba(15,18,40,.82) 0%,rgba(15,18,40,.45) 48%,rgba(15,18,40,0) 75%)}
  .hero2__body{padding-bottom:64px;max-width:calc(var(--max) + 2*var(--gutter))}
  .hero2__lead{font-size:20px;max-width:26em}
  .hero2 .chat{left:auto;right:6%;top:14%;flex-direction:column;align-items:flex-end}
  .hero2 .chat .say{font-size:34px}
}
@media(prefers-reduced-motion:reduce){.js .hero2__title .l{animation:none}}
/* Телефон (основной трафик): фото сверху с лицами, текст ниже на тёмном */
@media(max-width:959px){
  .hero2{display:block;min-height:0}
  .hero2__bg{position:relative;inset:auto;height:42svh;min-height:230px;max-height:460px}
  .hero2__bg img{object-position:50% 18%}
  .hero2__shade{inset:auto 0 auto 0;top:calc(42svh - 120px);height:120px;background:linear-gradient(180deg,rgba(27,35,64,0),var(--ink))}
  .hero2 .chat{top:14px;left:14px}
  .hero2 .chat .say{font-size:24px}
  .hero2 .chat .say--ru{font-size:16px;margin-left:22px}
  .hero2__body{padding-top:6px;padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  .hero2__title{font-size:clamp(34px,11.6vw,64px)}
}

/* Телефон: карусели со свайпом вместо длинных колонок */
@media(max-width:899px){
  .snap{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin-inline:calc(-1*var(--gutter));padding:6px var(--gutter) 22px;scroll-padding-inline:var(--gutter);scrollbar-width:none}
  .snap::-webkit-scrollbar{display:none}
  .snap>li{flex:0 0 84%;scroll-snap-align:start;min-width:0}
  .snap:focus-visible{outline:3px solid var(--red);outline-offset:-3px;border-radius:12px}
  .js .snap>li,.js .snap>li.reveal{opacity:1!important;transform:none!important}
  .thread.snap{gap:14px}
  .thread .msg{display:grid;gap:12px;align-content:start;background:var(--paper);border-radius:26px;padding:16px;box-shadow:var(--shadow)}
  .thread .msg__photo{max-width:none;box-shadow:none}
  .thread .msg__photo img{aspect-ratio:4/3}
  .thread .msg:nth-child(even) .msg__photo{order:0}
  .programs__list.snap{margin-top:30px}
  .reviews__list.snap>li{flex-basis:88%}
  .review::after{display:none}
  .snap+.snap-hint,.snap-hint{display:block}
}
.snap-hint{display:none}
/* Шапка на телефоне: логотип целиком, ровные отступы */
.header__row{min-height:72px;padding-block:10px}
.brand{width:104px;flex:none;overflow:visible}
.brand svg{display:block;width:100%;height:auto;overflow:visible}
.header__actions{gap:10px}
.header .icon-btn{width:46px;height:46px;border-width:2px;background:#fff;transition:background .2s,transform .2s}
.icon-btn:hover{background:var(--sand)}
.menu-btn{min-height:46px;padding:0 18px;box-shadow:0 3px 0 #0E1330;font-size:16px}
.menu-btn:active{transform:translateY(2px);box-shadow:0 1px 0 #0E1330}
.header{background:rgb(251,246,238);-webkit-backdrop-filter:none}
@media(max-width:400px){.brand{width:92px}.menu-btn{padding:0 14px}}
@media(min-width:1080px){.brand{width:124px}}

/* ===== Сезонная тема «Хеллоуин» (30 октября — 2 ноября, включается скриптом theme.js) ===== */
[data-theme="halloween"]{
  --milk:#FFF1DF;--sand:#F7DDBC;--line:#EBCBA3;--paper:#FFFBF5;
  --ink:#2A1240;--ink-2:#5A416E;--navy:#2A1240;
  --red:#C2410C;--red-deep:#7A2606;--red-ink:#B03A06;
  --mustard:#FF8A1F;--mustard-soft:#FFD3A0;
}
[data-theme="halloween"] .hero2__shade{background:linear-gradient(180deg,rgba(42,18,64,.2) 0%,rgba(42,18,64,0) 30%,rgba(42,18,64,.6) 62%,rgba(42,18,64,.92) 100%)}
[data-theme="halloween"] .hero2__title .l--red{color:#FFA24D}
[data-theme="halloween"] .tartan{background:repeating-linear-gradient(90deg,#FF8A1F 0 18px,#2A1240 18px 36px)}
[data-theme="halloween"] .dark .h2 em{color:#FFB366}
[data-theme="halloween"] .hero2::before,[data-theme="halloween"] .about::before{content:"";position:absolute;top:0;right:0;width:150px;height:150px;pointer-events:none;z-index:2;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.7' stroke-width='1.1'%3E%3Cpath d='M120 0H0M120 0 0 35M120 0 10 75M120 0 45 110M120 0 85 120M120 0V120'/%3E%3Cpath d='M90 0Q98 20 120 30M65 0Q82 38 120 55M40 0Q62 55 120 80M15 0Q50 70 120 105'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
[data-theme="halloween"] .about::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%232A1240' stroke-opacity='.7' stroke-width='1.1'%3E%3Cpath d='M120 0H0M120 0 0 35M120 0 10 75M120 0 45 110M120 0 85 120M120 0V120'/%3E%3Cpath d='M90 0Q98 20 120 30M65 0Q82 38 120 55M40 0Q62 55 120 80M15 0Q50 70 120 105'/%3E%3C/g%3E%3C/svg%3E");z-index:1}
[data-theme="halloween"] .footer::before{content:"";position:absolute;top:0;left:0;width:130px;height:130px;pointer-events:none;transform:scaleX(-1);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.7' stroke-width='1.1'%3E%3Cpath d='M120 0H0M120 0 0 35M120 0 10 75M120 0 45 110M120 0 85 120M120 0V120'/%3E%3Cpath d='M90 0Q98 20 120 30M65 0Q82 38 120 55M40 0Q62 55 120 80M15 0Q50 70 120 105'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
[data-theme="halloween"] .footer{position:relative}
@media(min-width:960px){[data-theme="halloween"] .hero2::before{width:220px;height:220px}}
/* пауки на нитях под шапкой */
.hw-spider{position:absolute;top:100%;z-index:60;pointer-events:none;transform-origin:50% 0;animation:hw-swing 3.4s ease-in-out infinite}
.hw-spider--2{animation-duration:4.1s;animation-delay:-1.2s}.hw-spider--3{animation-duration:3.1s;animation-delay:-2s}.hw-spider--4{animation-duration:4.6s}
.hw-thread{display:block;width:1.5px;margin:0 auto;background:var(--hw-thread,#2A1240)}
.hw-spider svg{display:block;margin-top:-2px}
@keyframes hw-swing{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@media(max-width:699px){.hw-spider--2,.hw-spider--4{display:none}.hw-spider svg{width:32px;height:29px}}
/* летучие мыши */
.hw-sky{position:fixed;inset:0;z-index:35;overflow:hidden;pointer-events:none}
.hw-bat{position:absolute;left:0;top:var(--y);animation:hw-fly var(--d) linear var(--t) infinite;transform:translateX(-80px)}
.hw-bat>span{display:block;animation:hw-flap .5s ease-in-out infinite alternate}
.hw-bat svg{display:block}
@keyframes hw-fly{to{transform:translateX(calc(100vw + 80px))}}
@keyframes hw-flap{from{transform:translateY(-8px) scaleY(1)}to{transform:translateY(8px) scaleY(.6)}}
/* плашка-поздравление */
.hw-banner{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 16px;background:var(--hw-banner-bg,#2A1240);color:var(--hw-banner-fg,#FFE7CC);font-size:16px;text-align:center}
.hw-banner p{margin:0}.hw-banner a{color:var(--hw-banner-accent,#FFB366);font-weight:700}.hw-banner b{color:var(--hw-banner-accent,#FF8A1F);font-family:var(--f-hand);font-size:22px}
.hw-banner__ico{flex:none;display:grid}
.motion-paused .hw-spider,.motion-paused .hw-bat,.motion-paused .hw-bat>span{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.hw-spider,.hw-bat,.hw-bat>span{animation:none!important}.hw-bat{display:none}}
.hw-spider{transition:opacity .4s ease}.hw-scrolled .hw-spider{opacity:0}

/* ===== Хеллоуин: оформление всего сайта ===== */
[data-theme="halloween"] ::selection{background:#FF8A1F;color:#2A1240}
[data-theme="halloween"] .btn{position:relative;box-shadow:0 4px 0 var(--sh),0 0 22px rgba(255,138,31,.35)}
[data-theme="halloween"] .btn--line{box-shadow:none}
[data-theme="halloween"] .btn:hover{animation:hw-wobble .5s ease-in-out}
@keyframes hw-wobble{25%{transform:translateY(-2px) rotate(-1.5deg)}75%{transform:translateY(-2px) rotate(1.5deg)}}
/* ведьминская шляпа на главных кнопках, паук — на широких и тёмных, мышь — на контурных, тыква — на светлых */
[data-theme="halloween"] .btn::after{content:"";position:absolute;pointer-events:none;background-repeat:no-repeat;background-size:contain;z-index:2}
[data-theme="halloween"] .btn:not(.btn--line):not(.btn--light):not(.btn--ink):not(.btn--sm):not(.btn--wide)::after{left:12px;top:-27px;width:46px;height:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40'%3E%3Cellipse cx='22' cy='33' rx='20' ry='5' fill='%232A1240'/%3E%3Cpath d='M14 31 24 3Q27 14 30 31Z' fill='%232A1240'/%3E%3Cpath d='M14.6 27h15.2l.4 4H14z' fill='%23FF8A1F'/%3E%3Crect x='20' y='26.5' width='5' height='5' rx='1' fill='%23FFD54A'/%3E%3C/svg%3E");transform:rotate(-9deg)}
[data-theme="halloween"] .btn--wide:not(.btn--line):not(.btn--light)::after,[data-theme="halloween"] .btn--ink::after{right:22px;top:-4px;width:18px;height:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40'%3E%3Cpath d='M10 0v22' stroke='%232A1240' stroke-width='1.2'/%3E%3Cellipse cx='10' cy='31' rx='5' ry='6' fill='%232A1240'/%3E%3Ccircle cx='10' cy='23.5' r='3' fill='%232A1240'/%3E%3Cpath d='M5 28 1 22M5 32 0 34M15 28 19 22M15 32 20 34' stroke='%232A1240' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='8.8' cy='23' r='.7' fill='%23FF8A1F'/%3E%3Ccircle cx='11.2' cy='23' r='.7' fill='%23FF8A1F'/%3E%3C/svg%3E");transform-origin:50% 0;animation:hw-swing 3s ease-in-out infinite;top:calc(100% - 2px);height:34px}
[data-theme="halloween"] .btn--line:not(.btn--sm)::after{right:14px;top:-17px;width:40px;height:19px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 22'%3E%3Cpath fill='%232A1240' d='M0 6c7-2 12 0 16 6 2-3 4-4 8-4s6 1 8 4c4-6 9-8 16-6-3 3-4 6-4 10-3-2-6-1-8 2-2-3-4-4-8-4s-6 1-8 4c-2-3-5-4-8-2 0-4-1-7-4-10Z'/%3E%3Cpath fill='%232A1240' d='M20 7 22 2 24 6 26 2 28 7Z'/%3E%3C/svg%3E")}
[data-theme="halloween"] .btn--light::after{right:10px;top:-17px;width:28px;height:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath fill='%237A8F2B' d='M15 3c1-2 3-3 5-3l-1 3c-1 1-2 2-2 4h-2c0-2-1-3-3-3Z'/%3E%3Cellipse cx='16' cy='17' rx='14' ry='10' fill='%23FF8A1F'/%3E%3Cpath d='M16 7c-4 3-4 17 0 20M16 7c4 3 4 17 0 20M8 9c-3 4-3 12 0 16M24 9c3 4 3 12 0 16' fill='none' stroke='%23C2410C' stroke-width='1.4'/%3E%3Cpath fill='%232A1240' d='m9 15 3 3H7zm14 0 3 3h-5zM11 22c2 2 8 2 10 0l-2-1-3 1-3-1z'/%3E%3C/svg%3E")}
[data-theme="halloween"] .dock .btn::after,[data-theme="halloween"] .header .btn::after,[data-theme="halloween"] .nav .btn::after,[data-theme="halloween"] .quiz__actions .btn::after,[data-theme="halloween"] .test__actions .btn::after,[data-theme="halloween"] .btn--sm::after{display:none}
[data-theme="halloween"] .hero2__cta,[data-theme="halloween"] .cta,[data-theme="halloween"] .hero__cta{padding-top:12px}
/* тыква у плашек-заголовков */
[data-theme="halloween"] .sec .eyebrow.say::before{content:"";width:22px;height:19px;margin-right:8px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath fill='%237A8F2B' d='M15 3c1-2 3-3 5-3l-1 3c-1 1-2 2-2 4h-2c0-2-1-3-3-3Z'/%3E%3Cellipse cx='16' cy='17' rx='14' ry='10' fill='%23FF8A1F'/%3E%3Cpath d='M16 7c-4 3-4 17 0 20M16 7c4 3 4 17 0 20M8 9c-3 4-3 12 0 16M24 9c3 4 3 12 0 16' fill='none' stroke='%23C2410C' stroke-width='1.4'/%3E%3Cpath fill='%232A1240' d='m9 15 3 3H7zm14 0 3 3h-5zM11 22c2 2 8 2 10 0l-2-1-3 1-3-1z'/%3E%3C/svg%3E") center/contain no-repeat}
/* кладбищенский разделитель вместо шотландки */
[data-theme="halloween"] .tartan{height:46px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 44' preserveAspectRatio='none'%3E%3Cg fill='%232A1240'%3E%3Cpath d='M0 44V34Q20 30 40 36T90 34 140 36 200 32 260 36V44Z'/%3E%3Cpath d='M20 34v-12a6 6 0 0 1 12 0v12Z'/%3E%3Cpath d='M176 35v-14a7 7 0 0 1 14 0v14Z'/%3E%3Cpath d='M120 36c0-2 1-14 3-14s3 12 3 14z'/%3E%3Cpath d='M121 26 112 16M123 22 134 12M122 18 118 8' stroke='%232A1240' stroke-width='2' fill='none'/%3E%3Cellipse cx='72' cy='28' rx='9' ry='7'/%3E%3Crect x='71' y='19' width='2.5' height='5'/%3E%3Cpath d='M216 44V26l6-6 6 6v18z'/%3E%3C/g%3E%3Cpath d='M220 21 232 14l4 4' stroke='none'/%3E%3Ccircle cx='232' cy='10' r='6' fill='%23FFD54A'/%3E%3Cg fill='%23FF8A1F'%3E%3Cellipse cx='72' cy='28' rx='8' ry='6'/%3E%3C/g%3E%3Cg fill='%232A1240'%3E%3Cpath d='m68 27 2 2-3 0zm8 0 2 2h-4zM70 31c2 1 4 1 6 0l-1-1-2 .6-2-.6z'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M92 44V30a6 6 0 0 1 12 0v14l-3-3-3 3-3-3z'/%3E%3C/g%3E%3Cg fill='%232A1240'%3E%3Ccircle cx='95' cy='30' r='1.2'/%3E%3Ccircle cx='101' cy='30' r='1.2'/%3E%3C/g%3E%3C/svg%3E") bottom/260px 46px repeat-x,#FF8A1F}
/* паутина в тёмных блоках */
[data-theme="halloween"] .dark{position:relative}
[data-theme="halloween"] .dark::before{content:"";position:absolute;top:0;right:0;width:170px;height:170px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.55' stroke-width='1.1'%3E%3Cpath d='M120 0H0M120 0 0 35M120 0 10 75M120 0 45 110M120 0 85 120M120 0V120'/%3E%3Cpath d='M90 0Q98 20 120 30M65 0Q82 38 120 55M40 0Q62 55 120 80M15 0Q50 70 120 105'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
/* карточки: оранжевое свечение при наведении */
@media(hover:hover){[data-theme="halloween"] .teacher.is-in:hover,[data-theme="halloween"] .review.is-in:hover,[data-theme="halloween"] .price-card.is-in:hover,[data-theme="halloween"] .book.is-in:hover{box-shadow:0 0 0 2px #FF8A1F,0 18px 40px rgba(255,138,31,.35)}}
[data-theme="halloween"] .review::before{color:#FF8A1F;opacity:.5}
[data-theme="halloween"] .ticker{background:#2A1240}
[data-theme="halloween"] .ticker__track span:nth-child(3n+1){color:#FF8A1F}
[data-theme="halloween"] .footer{background:#1B0B2B}
/* ведьма на метле и привидение */
.hw-witch{position:absolute;top:20vh;left:0;animation:hw-witch 38s linear 7s infinite;transform:translateX(calc(100vw + 140px))}
.hw-witch>span{display:block;animation:hw-bobbing 3s ease-in-out infinite}
@keyframes hw-witch{to{transform:translateX(-160px)}}
@keyframes hw-bobbing{50%{transform:translateY(-14px) rotate(-3deg)}}
.hw-ghost{position:absolute;right:8px;bottom:120px;opacity:.92;animation:hw-ghost 6s ease-in-out infinite}
@keyframes hw-ghost{0%,100%{transform:translate(0,0)}50%{transform:translate(-14px,-18px)}}
@media(max-width:699px){.hw-witch svg{width:76px;height:auto}.hw-ghost svg{width:38px;height:auto}.hw-ghost{bottom:96px}}
.motion-paused .hw-witch,.motion-paused .hw-witch>span,.motion-paused .hw-ghost,.motion-paused .btn::after{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.hw-witch,.hw-witch>span,.hw-ghost,.btn::after,.btn:hover{animation:none!important}.hw-witch{display:none}}
@media(max-width:699px){.hw-ghost{right:-12px;bottom:92px}.hw-ghost svg{width:34px}}










/* ---------- События и обратный отсчёт (assets/js/events.js) ---------- */
.event{padding:32px 0 4px}
.event[hidden]{display:none}
.ev{position:relative;overflow:hidden;display:grid;gap:14px;border-radius:32px;padding:26px 22px;isolation:isolate}
.ev--live{background:var(--ink);color:#fff;box-shadow:0 18px 44px rgba(27,35,64,.28)}
.ev--live::before{content:"";position:absolute;inset:auto -20% -60% auto;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--mustard),transparent 70%);opacity:.35;z-index:-1}
.ev--next{background:var(--paper);color:var(--ink);box-shadow:var(--shadow);border:2px dashed var(--line)}
.ev__art{position:absolute;top:14px;right:14px;width:84px;opacity:.9;z-index:-1;transform:rotate(8deg)}
.ev__art svg{width:100%;height:auto}
.ev__chip{display:inline-flex;align-items:center;gap:.55em;width:max-content;max-width:calc(100% - 96px);margin:0;padding:.45em .95em;border-radius:999px;background:var(--mustard);color:#1B2340;font:700 15px/1.2 var(--f-text)}
.ev__chip--soft{background:var(--sand);color:var(--ink);max-width:100%}
.ev__dot{width:10px;height:10px;border-radius:50%;background:#1B2340;flex:none}
.ev__title{margin:0;font:700 clamp(26px,6.4vw,40px)/1.12 var(--f-head);text-wrap:balance}
.ev__lead{margin:0;font-size:19px;font-weight:600;max-width:34em}
.ev__text{margin:0;max-width:36em}
.ev--live .ev__text{color:rgba(255,255,255,.86)}
.ev--next .ev__text{color:var(--ink-2)}
.ev__facts{display:grid;gap:6px;margin:2px 0 0;padding:0}
.ev__facts div{display:flex;flex-wrap:wrap;gap:2px 10px}
.ev__facts dt{font-weight:700;color:var(--mustard-soft)}
.ev__facts dd{margin:0}
.ev__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.ev__after{margin:4px 0 0;font-size:16px;color:rgba(255,255,255,.78)}
.ev__main{display:grid;gap:10px;align-items:center}
.ev__count{margin:0;display:flex;align-items:baseline;gap:.3em;flex-wrap:wrap}
.ev__num{font:800 clamp(72px,22vw,128px)/1 var(--f-loud);color:var(--red-ink);font-variant-numeric:tabular-nums}
.ev__num--today{font-size:clamp(44px,13vw,80px)}
.ev__unit{font:700 clamp(24px,6vw,34px)/1 var(--f-head)}
.ev__side{display:grid;gap:8px}
.ev__list{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 0;padding:0;list-style:none}
.ev__list li{padding:.5em 1em;border-radius:999px;background:var(--sand);font-size:16px}
@media (min-width:760px){
  .ev{padding:34px 40px}
  .ev__art{width:130px;top:20px;right:28px}
  .ev__chip{max-width:none}
  .ev__main{grid-template-columns:auto 1fr;gap:34px}
}
@media (prefers-reduced-motion:no-preference){
  .ev__dot{animation:evpulse 1.8s ease-out infinite}
  .motion-paused .ev__dot{animation:none}
}
@keyframes evpulse{0%{box-shadow:0 0 0 0 rgba(27,35,64,.55)}70%{box-shadow:0 0 0 9px rgba(27,35,64,0)}100%{box-shadow:0 0 0 0 rgba(27,35,64,0)}}




/*THEMES-START*/
/* мягкая фаза темы (после первых дней): без аксессуаров на кнопках */
[data-phase="soft"] .btn::after{display:none!important}
[data-phase="soft"] .btn{animation:none!important}

/* общие слои тем: ёлочные огни, падающие и взлетающие частицы */
.hw-lights{position:absolute;left:0;right:0;top:100%;height:30px;pointer-events:none;z-index:60;overflow:hidden}
.hw-lights span{position:absolute;inset:0;background-repeat:repeat-x;background-size:80px 30px}
.hw-lights .a{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 30' %3E%3Cpath d='M0 8Q20 18 40 8T80 8' stroke='%232b2b2b' stroke-width='1.6' fill='none'/%3E%3Ccircle cx='20' cy='22' r='5' fill='%23E0364F'/%3E%3Crect x='18' y='14' width='4' height='4' fill='%232b2b2b'/%3E%3Ccircle cx='60' cy='22' r='5' fill='%232FB36F'/%3E%3Crect x='58' y='14' width='4' height='4' fill='%232b2b2b'/%3E%3C/svg%3E");animation:hw-blink 1.4s steps(1) infinite}
.hw-lights .b{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 30' %3E%3Ccircle cx='40' cy='22' r='5' fill='%23FFD66B'/%3E%3Crect x='38' y='14' width='4' height='4' fill='%232b2b2b'/%3E%3Ccircle cx='0' cy='22' r='5' fill='%234DA3FF'/%3E%3Crect x='-2' y='14' width='4' height='4' fill='%232b2b2b'/%3E%3Ccircle cx='80' cy='22' r='5' fill='%234DA3FF'/%3E%3Crect x='78' y='14' width='4' height='4' fill='%232b2b2b'/%3E%3C/svg%3E");animation:hw-blink 1.4s steps(1) -0.7s infinite}
@keyframes hw-blink{0%,49%{opacity:1}50%,100%{opacity:.25}}
.hw-fall{position:absolute;top:0;left:var(--x);width:var(--s,18px);opacity:.9;animation:hw-fall var(--d) linear var(--t) infinite;transform:translate3d(0,-60px,0)}
.hw-fall svg{display:block;width:100%;height:auto}
@keyframes hw-fall{to{transform:translate3d(var(--sw,40px),calc(100vh + 80px),0) rotate(var(--rot,180deg))}}
.hw-rise{position:absolute;bottom:0;left:var(--x);width:var(--s,20px);opacity:.85;animation:hw-rise var(--d) ease-in var(--t) infinite;transform:translate3d(0,60px,0)}
.hw-rise svg{display:block;width:100%;height:auto}
@keyframes hw-rise{20%{opacity:.9}to{transform:translate3d(var(--sw,30px),calc(-100vh - 80px),0) rotate(var(--rot,20deg));opacity:0}}
.motion-paused .hw-fall,.motion-paused .hw-rise,.motion-paused .hw-lights span{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.hw-fall,.hw-rise,.hw-lights span{animation:none!important}.hw-fall,.hw-rise{display:none}}

/* ===== Тема «christmas» ===== */
[data-theme="christmas"]{--milk:#F4F9F6;--sand:#DCEBE2;--line:#C7DDD0;--paper:#FFFFFF;--ink:#0F4D3A;--ink-2:#3E5F53;--navy:#0F4D3A;--red:#C41E3A;--red-deep:#7B0F22;--red-ink:#A3162F;--mustard:#E8B93C;--mustard-soft:#F6E3A1;--hw-banner-bg:#0F4D3A;--hw-banner-fg:#EAF6EF;--hw-banner-accent:#FFD66B;--hw-thread:#E8B93C;--hw-glow:rgba(232,185,60,.4)}
[data-theme="christmas"] ::selection{background:#E8B93C;color:var(--ink)}
[data-theme="christmas"] .hero2__shade{background:linear-gradient(180deg,rgba(15,77,58,.2) 0%,rgba(15,77,58,0) 30%,rgba(15,77,58,.6) 62%,rgba(15,77,58,.92) 100%)}
[data-theme="christmas"] .hero2__title .l--red{color:#FF8A98}
[data-theme="christmas"] .dark .h2 em{color:#FF8A98}
[data-theme="christmas"] .ticker{background:#0F4D3A}
[data-theme="christmas"] .ticker__track span:nth-child(3n+1){color:#FFD66B}
[data-theme="christmas"] .footer{background:#0A3A2B}
[data-theme="christmas"] .btn{position:relative;box-shadow:0 4px 0 var(--sh),0 0 22px var(--hw-glow)}
[data-theme="christmas"] .btn--line{box-shadow:none}
[data-theme="christmas"] .btn:hover{animation:hw-wobble .5s ease-in-out}
[data-theme="christmas"] .btn::after{content:"";position:absolute;pointer-events:none;background-repeat:no-repeat;background-size:contain;z-index:2}
[data-theme="christmas"] .btn:not(.btn--line):not(.btn--light):not(.btn--ink):not(.btn--sm):not(.btn--wide)::after{left:12px;top:-27px;width:46px;height:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40' %3E%3Cpath d='M9 33C11 15 21 6 34 8c-2 6-4 16-2 25Z' fill='%23C41E3A'/%3E%3Crect x='5' y='29' width='33' height='8' rx='4' fill='%23fff'/%3E%3Ccircle cx='35' cy='8' r='5' fill='%23fff'/%3E%3C/svg%3E");transform:rotate(-9deg)}
[data-theme="christmas"] .btn--wide:not(.btn--line):not(.btn--light)::after,[data-theme="christmas"] .btn--ink::after{right:22px;width:18px;height:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40' %3E%3Cpath d='M10 0v14' stroke='%23E8B93C' stroke-width='1.2'/%3E%3Ccircle cx='10' cy='27' r='9' fill='%23C41E3A'/%3E%3Crect x='7' y='12' width='6' height='5' rx='1' fill='%23E8B93C'/%3E%3Ccircle cx='7' cy='24' r='2.3' fill='%23fff' opacity='.5'/%3E%3C/svg%3E");transform-origin:50% 0;animation:hw-swing 3s ease-in-out infinite;top:calc(100% - 2px)}
[data-theme="christmas"] .btn--line:not(.btn--sm)::after{right:14px;top:-17px;width:40px;height:19px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 22' %3E%3Cpath d='M4 18C10 6 20 6 24 12c4-6 14-6 20 6-8-2-14-2-20 2-6-4-12-4-20-2Z' fill='%231E7A4D'/%3E%3Ccircle cx='22' cy='13' r='3.2' fill='%23C41E3A'/%3E%3Ccircle cx='27' cy='14' r='3.2' fill='%23C41E3A'/%3E%3Ccircle cx='24' cy='10' r='3' fill='%23C41E3A'/%3E%3C/svg%3E")}
[data-theme="christmas"] .btn--light::after{right:10px;top:-17px;width:28px;height:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28' %3E%3Crect x='3' y='11' width='26' height='16' rx='2' fill='%23C41E3A'/%3E%3Crect x='3' y='8' width='26' height='6' rx='2' fill='%23E0364F'/%3E%3Crect x='14' y='8' width='4' height='19' fill='%23FFD66B'/%3E%3Cpath d='M16 8C10 0 4 4 8 8M16 8c6-8 12-4 8 0' fill='none' stroke='%23FFD66B' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-theme="christmas"] .dock .btn::after,[data-theme="christmas"] .header .btn::after,[data-theme="christmas"] .nav .btn::after,[data-theme="christmas"] .quiz__actions .btn::after,[data-theme="christmas"] .test__actions .btn::after,[data-theme="christmas"] .btn--sm::after{display:none}
[data-theme="christmas"] .hero2__cta,[data-theme="christmas"] .cta{padding-top:12px}
[data-theme="christmas"] .sec .eyebrow.say::before{content:"";width:22px;height:20px;margin-right:8px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cg stroke='%239CC3E6' stroke-width='2.4' stroke-linecap='round' fill='none'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7'/%3E%3Cpath d='M9 4l3 3 3-3M9 20l3-3 3 3'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.4' fill='%23fff' stroke='%239CC3E6' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat}
[data-theme="christmas"] .tartan{height:46px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 44' %3E%3Cpath d='M0 44V36Q30 30 60 36T130 34 200 36 260 34V44Z' fill='%23fff'/%3E%3Cg fill='%230F4D3A'%3E%3Cpath d='M20 36 34 12 48 36Z'/%3E%3Cpath d='M24 26 34 8 44 26Z'/%3E%3Cpath d='M190 36 206 8 222 36Z'/%3E%3Cpath d='M195 24 206 4 217 24Z'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M26 17 34 6 42 17z'/%3E%3Cpath d='M199 14 206 2 213 14z'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='112' cy='28' r='9' fill='%23fff' stroke='%230F4D3A' stroke-width='1.6'/%3E%3Ccircle cx='112' cy='16' r='6' fill='%23fff' stroke='%230F4D3A' stroke-width='1.6'/%3E%3Cpath d='M112 15l7 1.6-7 1z' fill='%23E8782C'/%3E%3Ccircle cx='110' cy='14' r='.9' fill='%230F4D3A'/%3E%3Ccircle cx='114' cy='14' r='.9' fill='%230F4D3A'/%3E%3Cpath d='M106 21q6 3 12 0' stroke='%23C41E3A' stroke-width='3' fill='none'/%3E%3C/g%3E%3Ccircle cx='236' cy='9' r='6' fill='%23FFF1B8'/%3E%3C/svg%3E") bottom/260px 46px repeat-x,var(--mustard)}
[data-theme="christmas"] .hero2::before,[data-theme="christmas"] .about::before{content:"";position:absolute;top:0;right:0;width:150px;height:150px;pointer-events:none;z-index:2;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cg stroke='%23fff' stroke-opacity='.9' stroke-width='2.2' stroke-linecap='round' fill='none'%3E%3Cg transform='translate%2892 28%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3Cg transform='translate%2848 18%29 scale%28.6%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3Cg transform='translate%28104 74%29 scale%28.7%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
[data-theme="christmas"] .about::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cpath d='M120 8C90 14 60 30 36 60' stroke='%230F4D3A' stroke-width='3' fill='none'/%3E%3Cg fill='%231E7A4D'%3E%3Cpath d='M100 14c-4 10-12 14-22 14 2-9 10-15 22-14ZM80 28c-2 10-10 16-20 16 1-9 8-16 20-16ZM62 46c-2 8-8 12-16 12 1-8 6-12 16-12Z'/%3E%3C/g%3E%3Cg fill='%23C41E3A'%3E%3Ccircle cx='90' cy='30' r='4'/%3E%3Ccircle cx='72' cy='46' r='4'/%3E%3Ccircle cx='54' cy='62' r='3.6'/%3E%3C/g%3E%3C/svg%3E");z-index:1}
[data-theme="christmas"] .dark{position:relative}
[data-theme="christmas"] .dark::before{content:"";position:absolute;top:0;right:0;width:170px;height:170px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cg stroke='%23fff' stroke-opacity='.9' stroke-width='2.2' stroke-linecap='round' fill='none'%3E%3Cg transform='translate%2892 28%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3Cg transform='translate%2848 18%29 scale%28.6%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3Cg transform='translate%28104 74%29 scale%28.7%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
[data-theme="christmas"] .footer{position:relative}
[data-theme="christmas"] .footer::before{content:"";position:absolute;top:0;left:0;width:130px;height:130px;pointer-events:none;transform:scaleX(-1);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cg stroke='%23fff' stroke-opacity='.9' stroke-width='2.2' stroke-linecap='round' fill='none'%3E%3Cg transform='translate%2892 28%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3Cg transform='translate%2848 18%29 scale%28.6%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3Cg transform='translate%28104 74%29 scale%28.7%29'%3E%3Cpath d='M0-18v36M-15.6-9 15.6 9M-15.6 9 15.6-9'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
@media(min-width:960px){[data-theme="christmas"] .hero2::before{width:220px;height:220px}}
@media(hover:hover){[data-theme="christmas"] .teacher.is-in:hover,[data-theme="christmas"] .review.is-in:hover,[data-theme="christmas"] .price-card.is-in:hover,[data-theme="christmas"] .book.is-in:hover{box-shadow:0 0 0 2px var(--mustard),0 18px 40px var(--hw-glow)}}
[data-theme="christmas"] .review::before{color:var(--mustard);opacity:.55}

/* ===== Тема «valentine» ===== */
[data-theme="valentine"]{--milk:#FFF1F4;--sand:#FFD9E2;--line:#F5B8C9;--paper:#FFFBFC;--ink:#4A1229;--ink-2:#7A4256;--navy:#4A1229;--red:#D6194F;--red-deep:#8E0F33;--red-ink:#B0123F;--mustard:#FF8FAB;--mustard-soft:#FFC2D1;--hw-banner-bg:#4A1229;--hw-banner-fg:#FFE3EA;--hw-banner-accent:#FF9DB6;--hw-thread:#4A1229;--hw-glow:rgba(255,143,171,.45)}
[data-theme="valentine"] ::selection{background:#FF8FAB;color:var(--ink)}
[data-theme="valentine"] .hero2__shade{background:linear-gradient(180deg,rgba(74,18,41,.2) 0%,rgba(74,18,41,0) 30%,rgba(74,18,41,.6) 62%,rgba(74,18,41,.92) 100%)}
[data-theme="valentine"] .hero2__title .l--red{color:#FFB3C7}
[data-theme="valentine"] .dark .h2 em{color:#FFB3C7}
[data-theme="valentine"] .ticker{background:#4A1229}
[data-theme="valentine"] .ticker__track span:nth-child(3n+1){color:#FF9DB6}
[data-theme="valentine"] .footer{background:#33091B}
[data-theme="valentine"] .btn{position:relative;box-shadow:0 4px 0 var(--sh),0 0 22px var(--hw-glow)}
[data-theme="valentine"] .btn--line{box-shadow:none}
[data-theme="valentine"] .btn:hover{animation:hw-wobble .5s ease-in-out}
[data-theme="valentine"] .btn::after{content:"";position:absolute;pointer-events:none;background-repeat:no-repeat;background-size:contain;z-index:2}
[data-theme="valentine"] .btn:not(.btn--line):not(.btn--light):not(.btn--ink):not(.btn--sm):not(.btn--wide)::after{left:12px;top:-27px;width:46px;height:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40' %3E%3Cg transform='translate%28-2 0%29 scale%281.05%29'%3E%3Cpath d='M22 36C6 24 4 12 12 8c5-2 9 1 10 5 1-4 5-7 10-5 8 4 6 16-10 28Z' fill='%23D6194F'/%3E%3C/g%3E%3Cg transform='translate%2826 2%29 scale%28.5%29'%3E%3Cpath d='M22 36C6 24 4 12 12 8c5-2 9 1 10 5 1-4 5-7 10-5 8 4 6 16-10 28Z' fill='%23FF8FAB'/%3E%3C/g%3E%3Cpath d='M4 38 40 6' stroke='%234A1229' stroke-width='1.8'/%3E%3Cpath d='M40 6l-8 1 6 5z' fill='%234A1229'/%3E%3Cpath d='M4 38l-2-7M4 38l7-1M9 33l-2-6M9 33l6-1' stroke='%234A1229' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");transform:rotate(-9deg)}
[data-theme="valentine"] .btn--wide:not(.btn--line):not(.btn--light)::after,[data-theme="valentine"] .btn--ink::after{right:22px;width:18px;height:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40' %3E%3Cpath d='M10 0v14' stroke='%234A1229' stroke-width='1.2'/%3E%3Cg transform='translate%28-3 8%29 scale%28.8%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23D6194F'/%3E%3C/g%3E%3C/svg%3E");transform-origin:50% 0;animation:hw-swing 3s ease-in-out infinite;top:calc(100% - 2px)}
[data-theme="valentine"] .btn--line:not(.btn--sm)::after{right:14px;top:-17px;width:40px;height:19px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 22' %3E%3Cpath d='M2 11h38' stroke='%234A1229' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M46 11 36 4v14z' fill='%23D6194F'/%3E%3Cpath d='M2 11 8 4M2 11 8 18M8 11l6-7M8 11l6 7' stroke='%234A1229' stroke-width='1.8' stroke-linecap='round' fill='none'/%3E%3C/svg%3E")}
[data-theme="valentine"] .btn--light::after{right:10px;top:-17px;width:28px;height:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28' %3E%3Crect x='2' y='5' width='28' height='20' rx='2' fill='%23fff' stroke='%234A1229' stroke-width='1.6'/%3E%3Cpath d='M2 7 16 18 30 7' fill='none' stroke='%234A1229' stroke-width='1.6'/%3E%3Cg transform='translate%2810 8%29 scale%28.3%29'%3E%3Cpath d='M22 36C6 24 4 12 12 8c5-2 9 1 10 5 1-4 5-7 10-5 8 4 6 16-10 28Z' fill='%23D6194F'/%3E%3C/g%3E%3C/svg%3E")}
[data-theme="valentine"] .dock .btn::after,[data-theme="valentine"] .header .btn::after,[data-theme="valentine"] .nav .btn::after,[data-theme="valentine"] .quiz__actions .btn::after,[data-theme="valentine"] .test__actions .btn::after,[data-theme="valentine"] .btn--sm::after{display:none}
[data-theme="valentine"] .hero2__cta,[data-theme="valentine"] .cta{padding-top:12px}
[data-theme="valentine"] .sec .eyebrow.say::before{content:"";width:22px;height:20px;margin-right:8px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M12 21C3 14 1 8 5 5c3-2 6 0 7 3 1-3 4-5 7-3 4 3 2 9-7 16Z' fill='%23D6194F'/%3E%3C/svg%3E") center/contain no-repeat}
[data-theme="valentine"] .tartan{height:46px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 44' %3E%3Cpath d='M0 44V38Q16 30 32 38T64 38 96 38 128 38 160 38 192 38 224 38 260 38V44Z' fill='%234A1229'/%3E%3Cg fill='%234A1229'%3E%3Cpath d='M16 30C6 22 5 14 10 11c3-1 5 1 6 3 1-2 3-4 6-3 5 3 4 11-6 19Z'/%3E%3Cpath d='M108 28C98 20 97 12 102 9c3-1 5 1 6 3 1-2 3-4 6-3 5 3 4 11-6 19Z'/%3E%3Cpath d='M200 30C190 22 189 14 194 11c3-1 5 1 6 3 1-2 3-4 6-3 5 3 4 11-6 19Z'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M62 30C54 24 53 17 57 15c3-1 4 1 5 2 1-1 3-3 5-2 4 2 3 9-5 15Z'/%3E%3Cpath d='M154 30C146 24 145 17 149 15c3-1 4 1 5 2 1-1 3-3 5-2 4 2 3 9-5 15Z'/%3E%3Cpath d='M236 30C228 24 227 17 231 15c3-1 4 1 5 2 1-1 3-3 5-2 4 2 3 9-5 15Z'/%3E%3C/g%3E%3Cpath d='M22 22v6M114 20v8M206 22v6M62 24v6M154 24v6M236 24v6' stroke='%234A1229' stroke-width='1.2'/%3E%3C/svg%3E") bottom/260px 46px repeat-x,var(--mustard)}
[data-theme="valentine"] .hero2::before,[data-theme="valentine"] .about::before{content:"";position:absolute;top:0;right:0;width:150px;height:150px;pointer-events:none;z-index:2;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cg transform='translate%2870 12%29 scale%281.1%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23fff' fill-opacity='.9'/%3E%3C/g%3E%3Cg transform='translate%2834 8%29 scale%28.6%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23FFB3C7' fill-opacity='.95'/%3E%3C/g%3E%3Cg transform='translate%2888 66%29 scale%28.7%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23fff' fill-opacity='.85'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
[data-theme="valentine"] .about::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cg transform='translate%2868 10%29 scale%281.1%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23D6194F'/%3E%3C/g%3E%3Cg transform='translate%2834 6%29 scale%28.6%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%2888 66%29 scale%28.7%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%234A1229'/%3E%3C/g%3E%3C/svg%3E");z-index:1}
[data-theme="valentine"] .dark{position:relative}
[data-theme="valentine"] .dark::before{content:"";position:absolute;top:0;right:0;width:170px;height:170px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cg transform='translate%2870 12%29 scale%281.1%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23fff' fill-opacity='.9'/%3E%3C/g%3E%3Cg transform='translate%2834 8%29 scale%28.6%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23FFB3C7' fill-opacity='.95'/%3E%3C/g%3E%3Cg transform='translate%2888 66%29 scale%28.7%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23fff' fill-opacity='.85'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
[data-theme="valentine"] .footer{position:relative}
[data-theme="valentine"] .footer::before{content:"";position:absolute;top:0;left:0;width:130px;height:130px;pointer-events:none;transform:scaleX(-1);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cg transform='translate%2870 12%29 scale%281.1%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23fff' fill-opacity='.9'/%3E%3C/g%3E%3Cg transform='translate%2834 8%29 scale%28.6%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23FFB3C7' fill-opacity='.95'/%3E%3C/g%3E%3Cg transform='translate%2888 66%29 scale%28.7%29'%3E%3Cpath d='M16 34C4 24 2 12 9 8c4-2 7 1 7 4 0-3 3-6 7-4 7 4 5 16-7 26Z' fill='%23fff' fill-opacity='.85'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
@media(min-width:960px){[data-theme="valentine"] .hero2::before{width:220px;height:220px}}
@media(hover:hover){[data-theme="valentine"] .teacher.is-in:hover,[data-theme="valentine"] .review.is-in:hover,[data-theme="valentine"] .price-card.is-in:hover,[data-theme="valentine"] .book.is-in:hover{box-shadow:0 0 0 2px var(--mustard),0 18px 40px var(--hw-glow)}}
[data-theme="valentine"] .review::before{color:var(--mustard);opacity:.55}

/* ===== Тема «womensday» ===== */
[data-theme="womensday"]{--milk:#FFFBEA;--sand:#FBF0BC;--line:#E7D88A;--paper:#FFFFFF;--ink:#28422F;--ink-2:#546B58;--navy:#28422F;--red:#8E3FA8;--red-deep:#5E1F73;--red-ink:#7B2F93;--mustard:#FFD93D;--mustard-soft:#FFF0A6;--hw-banner-bg:#28422F;--hw-banner-fg:#F4F9E8;--hw-banner-accent:#FFE066;--hw-thread:#2E7D4F;--hw-glow:rgba(255,217,61,.5)}
[data-theme="womensday"] ::selection{background:#FFD93D;color:var(--ink)}
[data-theme="womensday"] .hero2__shade{background:linear-gradient(180deg,rgba(40,66,47,.2) 0%,rgba(40,66,47,0) 30%,rgba(40,66,47,.6) 62%,rgba(40,66,47,.92) 100%)}
[data-theme="womensday"] .hero2__title .l--red{color:#FFE066}
[data-theme="womensday"] .dark .h2 em{color:#FFE066}
[data-theme="womensday"] .ticker{background:#28422F}
[data-theme="womensday"] .ticker__track span:nth-child(3n+1){color:#FFE066}
[data-theme="womensday"] .footer{background:#1B3022}
[data-theme="womensday"] .btn{position:relative;box-shadow:0 4px 0 var(--sh),0 0 22px var(--hw-glow)}
[data-theme="womensday"] .btn--line{box-shadow:none}
[data-theme="womensday"] .btn:hover{animation:hw-wobble .5s ease-in-out}
[data-theme="womensday"] .btn::after{content:"";position:absolute;pointer-events:none;background-repeat:no-repeat;background-size:contain;z-index:2}
[data-theme="womensday"] .btn:not(.btn--line):not(.btn--light):not(.btn--ink):not(.btn--sm):not(.btn--wide)::after{left:12px;top:-27px;width:46px;height:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40' %3E%3Cpath d='M22 22v17' stroke='%232E7D4F' stroke-width='2.4'/%3E%3Cpath d='M22 36c-8-2-12-8-12-14 6 2 10 6 12 14ZM22 34c8-2 12-8 12-14-6 2-10 6-12 14Z' fill='%232E7D4F'/%3E%3Cpath d='M12 8c-2 10 2 18 10 18s12-8 10-18l-5 5-5-9-5 9Z' fill='%23E0457B'/%3E%3Cpath d='M22 4l-5 9h10z' fill='%23F47FA6'/%3E%3C/svg%3E");transform:rotate(-9deg)}
[data-theme="womensday"] .btn--wide:not(.btn--line):not(.btn--light)::after,[data-theme="womensday"] .btn--ink::after{right:22px;width:18px;height:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40' %3E%3Cpath d='M10 0v12' stroke='%232E7D4F' stroke-width='1.2'/%3E%3Cg transform='translate%28-8 -2%29 scale%28.9%29'%3E%3Cg fill='%23C58BE0'%3E%3Ccircle cx='18' cy='20' r='5'/%3E%3Ccircle cx='24' cy='25' r='5'/%3E%3Ccircle cx='21' cy='32' r='5'/%3E%3Ccircle cx='15' cy='32' r='5'/%3E%3Ccircle cx='12' cy='25' r='5'/%3E%3C/g%3E%3Ccircle cx='18' cy='27' r='4' fill='%23FFD93D'/%3E%3C/g%3E%3C/svg%3E");transform-origin:50% 0;animation:hw-swing 3s ease-in-out infinite;top:calc(100% - 2px)}
[data-theme="womensday"] .btn--line:not(.btn--sm)::after{right:14px;top:-17px;width:40px;height:19px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 22' %3E%3Cpath d='M24 11C18 0 4 2 4 9c0 5 8 7 20 2Z' fill='%23C58BE0'/%3E%3Cpath d='M24 11C30 0 44 2 44 9c0 5-8 7-20 2Z' fill='%23C58BE0'/%3E%3Cpath d='M24 11C14 13 8 20 14 22c6 0 10-5 10-11ZM24 11c10 2 16 9 10 11-6 0-10-5-10-11Z' fill='%23F4A9D0'/%3E%3Ccircle cx='12' cy='8' r='2' fill='%23fff'/%3E%3Ccircle cx='36' cy='8' r='2' fill='%23fff'/%3E%3Cpath d='M24 4v14' stroke='%2328422F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
[data-theme="womensday"] .btn--light::after{right:10px;top:-17px;width:28px;height:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28' %3E%3Cpath d='M16 27C14 20 12 14 6 6M16 27c1-8 4-14 10-20' stroke='%232E7D4F' stroke-width='2' fill='none'/%3E%3Cg fill='%23FFD93D'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Ccircle cx='12' cy='11' r='4.5'/%3E%3Ccircle cx='26' cy='7' r='4.5'/%3E%3Ccircle cx='20' cy='12' r='4.5'/%3E%3Ccircle cx='16' cy='5' r='4.5'/%3E%3C/g%3E%3Cpath d='M10 24c-3-3-6-3-9-1 3 4 6 4 9 1ZM22 24c3-3 6-3 9-1-3 4-6 4-9 1Z' fill='%232E7D4F'/%3E%3C/svg%3E")}
[data-theme="womensday"] .dock .btn::after,[data-theme="womensday"] .header .btn::after,[data-theme="womensday"] .nav .btn::after,[data-theme="womensday"] .quiz__actions .btn::after,[data-theme="womensday"] .test__actions .btn::after,[data-theme="womensday"] .btn--sm::after{display:none}
[data-theme="womensday"] .hero2__cta,[data-theme="womensday"] .cta{padding-top:12px}
[data-theme="womensday"] .sec .eyebrow.say::before{content:"";width:22px;height:20px;margin-right:8px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 40' %3E%3Cpath d='M18 26v14' stroke='%232E7D4F' stroke-width='2'/%3E%3Cg fill='%23E0457B'%3E%3Ccircle cx='18' cy='10' r='7'/%3E%3Ccircle cx='27' cy='17' r='7'/%3E%3Ccircle cx='23' cy='27' r='7'/%3E%3Ccircle cx='13' cy='27' r='7'/%3E%3Ccircle cx='9' cy='17' r='7'/%3E%3C/g%3E%3Ccircle cx='18' cy='19' r='5.5' fill='%23FFD93D'/%3E%3C/svg%3E") center/contain no-repeat}
[data-theme="womensday"] .tartan{height:46px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 44' %3E%3Cg stroke='%232E7D4F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M20 44V22M70 44V18M120 44V24M170 44V19M220 44V23'/%3E%3C/g%3E%3Cg fill='%232E7D4F'%3E%3Cpath d='M20 40c-8-2-10-8-10-12 6 1 9 6 10 12ZM70 38c8-2 10-8 10-12-6 1-9 6-10 12ZM120 40c-8-2-10-8-10-12 6 1 9 6 10 12ZM170 38c8-2 10-8 10-12-6 1-9 6-10 12ZM220 40c-8-2-10-8-10-12 6 1 9 6 10 12Z'/%3E%3C/g%3E%3Cpath d='M12 10c-1 8 3 14 8 14s9-6 8-14l-4 4-4-7-4 7Z' fill='%23E0457B'/%3E%3Cpath d='M62 6c-1 8 3 14 8 14s9-6 8-14l-4 4-4-7-4 7Z' fill='%238E3FA8'/%3E%3Cpath d='M112 12c-1 8 3 14 8 14s9-6 8-14l-4 4-4-7-4 7Z' fill='%23E0457B'/%3E%3Cpath d='M162 7c-1 8 3 14 8 14s9-6 8-14l-4 4-4-7-4 7Z' fill='%23F47FA6'/%3E%3Cpath d='M212 11c-1 8 3 14 8 14s9-6 8-14l-4 4-4-7-4 7Z' fill='%238E3FA8'/%3E%3Cpath d='M0 44V40Q65 36 130 40T260 40V44Z' fill='%232E7D4F'/%3E%3C/svg%3E") bottom/260px 46px repeat-x,var(--mustard)}
[data-theme="womensday"] .hero2::before,[data-theme="womensday"] .about::before{content:"";position:absolute;top:0;right:0;width:150px;height:150px;pointer-events:none;z-index:2;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cpath d='M120 6C96 12 66 30 40 64' stroke='%23fff' stroke-width='3' fill='none' stroke-opacity='.9'/%3E%3Cg fill='%23FFE066'%3E%3Ccircle cx='98' cy='16' r='7'/%3E%3Ccircle cx='84' cy='30' r='8'/%3E%3Ccircle cx='68' cy='44' r='7'/%3E%3Ccircle cx='54' cy='56' r='6'/%3E%3Ccircle cx='104' cy='34' r='6'/%3E%3Ccircle cx='88' cy='48' r='6'/%3E%3C/g%3E%3Cg fill='%23BFE8C9'%3E%3Cpath d='M92 4c-6 6-12 8-20 6 4-6 10-9 20-6ZM60 34c-8 0-14-2-20-8 8-2 16 0 20 8Z'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
[data-theme="womensday"] .about::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cpath d='M120 6C96 12 66 30 40 64' stroke='%2328422F' stroke-width='3' fill='none'/%3E%3Cg fill='%238E3FA8'%3E%3Ccircle cx='98' cy='16' r='7'/%3E%3Ccircle cx='84' cy='30' r='8'/%3E%3Ccircle cx='68' cy='44' r='7'/%3E%3Ccircle cx='54' cy='56' r='6'/%3E%3C/g%3E%3Cg fill='%232E7D4F'%3E%3Cpath d='M92 4c-6 6-12 8-20 6 4-6 10-9 20-6ZM60 34c-8 0-14-2-20-8 8-2 16 0 20 8Z'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='104' cy='34' r='5'/%3E%3Ccircle cx='88' cy='48' r='5'/%3E%3C/g%3E%3C/svg%3E");z-index:1}
[data-theme="womensday"] .dark{position:relative}
[data-theme="womensday"] .dark::before{content:"";position:absolute;top:0;right:0;width:170px;height:170px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cpath d='M120 6C96 12 66 30 40 64' stroke='%23fff' stroke-width='3' fill='none' stroke-opacity='.9'/%3E%3Cg fill='%23FFE066'%3E%3Ccircle cx='98' cy='16' r='7'/%3E%3Ccircle cx='84' cy='30' r='8'/%3E%3Ccircle cx='68' cy='44' r='7'/%3E%3Ccircle cx='54' cy='56' r='6'/%3E%3Ccircle cx='104' cy='34' r='6'/%3E%3Ccircle cx='88' cy='48' r='6'/%3E%3C/g%3E%3Cg fill='%23BFE8C9'%3E%3Cpath d='M92 4c-6 6-12 8-20 6 4-6 10-9 20-6ZM60 34c-8 0-14-2-20-8 8-2 16 0 20 8Z'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
[data-theme="womensday"] .footer{position:relative}
[data-theme="womensday"] .footer::before{content:"";position:absolute;top:0;left:0;width:130px;height:130px;pointer-events:none;transform:scaleX(-1);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' %3E%3Cpath d='M120 6C96 12 66 30 40 64' stroke='%23fff' stroke-width='3' fill='none' stroke-opacity='.9'/%3E%3Cg fill='%23FFE066'%3E%3Ccircle cx='98' cy='16' r='7'/%3E%3Ccircle cx='84' cy='30' r='8'/%3E%3Ccircle cx='68' cy='44' r='7'/%3E%3Ccircle cx='54' cy='56' r='6'/%3E%3Ccircle cx='104' cy='34' r='6'/%3E%3Ccircle cx='88' cy='48' r='6'/%3E%3C/g%3E%3Cg fill='%23BFE8C9'%3E%3Cpath d='M92 4c-6 6-12 8-20 6 4-6 10-9 20-6ZM60 34c-8 0-14-2-20-8 8-2 16 0 20 8Z'/%3E%3C/g%3E%3C/svg%3E") no-repeat top right/contain}
@media(min-width:960px){[data-theme="womensday"] .hero2::before{width:220px;height:220px}}
@media(hover:hover){[data-theme="womensday"] .teacher.is-in:hover,[data-theme="womensday"] .review.is-in:hover,[data-theme="womensday"] .price-card.is-in:hover,[data-theme="womensday"] .book.is-in:hover{box-shadow:0 0 0 2px var(--mustard),0 18px 40px var(--hw-glow)}}
[data-theme="womensday"] .review::before{color:var(--mustard);opacity:.55}
/*THEMES-END*/
