/* Шрифты Mommy's Helper (из Токены 1.0.json) */
@font-face{font-family:'Caveat';src:url(../fonts/Caveat-cyrillic-ext.woff2) format('woff2');font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Caveat';src:url(../fonts/Caveat-cyrillic.woff2) format('woff2');font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Caveat';src:url(../fonts/Caveat-latin-ext.woff2) format('woff2');font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Caveat';src:url(../fonts/Caveat-latin.woff2) format('woff2');font-weight:400 700;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';src:url(../fonts/CormorantGaramond-Italic-cyrillic-ext.woff2) format('woff2');font-weight:400 700;font-style:italic;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Cormorant Garamond';src:url(../fonts/CormorantGaramond-Italic-cyrillic.woff2) format('woff2');font-weight:400 700;font-style:italic;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';src:url(../fonts/CormorantGaramond-Italic-latin-ext.woff2) format('woff2');font-weight:400 700;font-style:italic;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';src:url(../fonts/CormorantGaramond-Italic-latin.woff2) format('woff2');font-weight:400 700;font-style:italic;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Manrope';src:url(../fonts/Manrope-cyrillic-ext.woff2) format('woff2');font-weight:300 800;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Manrope';src:url(../fonts/Manrope-cyrillic.woff2) format('woff2');font-weight:300 800;font-style:normal;font-display:swap;unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Manrope';src:url(../fonts/Manrope-latin-ext.woff2) format('woff2');font-weight:300 800;font-style:normal;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';src:url(../fonts/Manrope-latin.woff2) format('woff2');font-weight:300 800;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Unbounded';src:url(../fonts/Unbounded-cyrillic-ext.woff2) format('woff2');font-weight:300 900;font-style:normal;font-display:swap;unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Unbounded';src:url(../fonts/Unbounded-cyrillic.woff2) format('woff2');font-weight:300 900;font-style:normal;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-ext.woff2) format('woff2');font-weight:300 900;font-style:normal;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Unbounded';src:url(../fonts/Unbounded-latin.woff2) format('woff2');font-weight:300 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Mommy's Helper — сайт. Цвета, шрифты и анимации из дизайн-системы 1.2.
   Макет: «стикерный альбом» — цветные полосы-разделы, арки с фото, наклейки с жёсткой тенью,
   живые иллюстрации и рукописные заметки. Сайт осознанно светлый: фирменная розовая основа. */
:root {
  --blush: #FCE7EC; --blush-deep: #F8CDD8; --milk: #FFF9F5; --petal: #F4A6BC; --rose: #E8578B;
  --cherry: #D62D25; --cherry-ink: #B3231C; --sky: #8CC8F2; --sky-deep: #2C69A0; --butter: #FCE88F;
  --caramel: #D29A6B; --cocoa: #6B3A2A; --ink: #47271C; --ink-muted: #7A5446;
  --on-light: #47271C; --on-cherry: #FFF9F5; --on-cocoa: #FFF9F5; --line: #EDB9C7; --cocoa-muted: #F3DCD2;
  --shadow-sticker: 6px 8px 0 #47271C; --shadow-sm: 4px 5px 0 #47271C;
  --shadow-soft: 0 30px 60px -24px rgba(107, 58, 42, .35);
  --font-display: Unbounded, "Arial Black", system-ui, sans-serif;
  --font-accent: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: Manrope, "Helvetica Neue", Arial, sans-serif;
  --font-hand: Caveat, "Segoe Print", "Bradley Hand", cursive;
  --r-sm: 12px; --r-md: 28px; --r-lg: 48px; --r-pill: 999px;
  --ease-soft: cubic-bezier(.22, 1, .36, 1); --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 280ms; --dur-base: 700ms; --dur-slow: 1400ms; --dur-ambient: 7s;
  --u: .5px;
  /* тон раздела */
  --bg: var(--blush); --fg: var(--ink); --muted: var(--ink-muted); --accent: var(--cherry-ink); --card: var(--milk);
  color-scheme: light;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--blush); color: var(--ink);
  font: 500 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--blush); }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: .6em 1.1em; border-radius: 999px; background: var(--ink); color: var(--milk); font-weight: 800; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.nowrap { white-space: nowrap; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; margin-inline: auto; }

.wrap {
  width: 100%; max-width: 1240px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 900px; }

/* ---------- Тона разделов ---------- */
.sec { position: relative; background: var(--bg); color: var(--fg); padding-block: clamp(64px, 8vw, 116px); }
.t-blush  { --bg: var(--blush); --card: var(--milk); }
.t-milk   { --bg: var(--milk); --card: var(--blush); }
.t-deep   { --bg: var(--blush-deep); --card: var(--milk); --line: #E9A9BB; }
.t-cocoa  { --bg: var(--cocoa); --fg: var(--on-cocoa); --muted: var(--cocoa-muted); --accent: var(--butter); --card: var(--milk); --line: rgba(255, 249, 245, .22); }
.t-cherry { --bg: var(--cherry); --fg: var(--on-cherry); --muted: var(--on-cherry); --accent: var(--butter); --card: var(--milk); }
.t-butter { --bg: var(--butter); --fg: var(--on-light); --muted: var(--on-light); --accent: var(--cherry-ink); --card: var(--milk); --line: rgba(71, 39, 28, .22); }
.t-sky    { --bg: var(--sky); --fg: var(--on-light); --muted: var(--on-light); --accent: var(--on-light); --card: var(--milk); --line: rgba(71, 39, 28, .25); }
.t-blush, .t-milk, .t-deep, .t-cocoa, .t-cherry, .t-butter, .t-sky { background: var(--bg); color: var(--fg); }

.bg-petal { background: var(--petal); } .bg-sky { background: var(--sky); } .bg-butter { background: var(--butter); }
.bg-caramel { background: var(--caramel); } .bg-blush { background: var(--blush-deep); }

/* ---------- Типографика ---------- */
.h1, .h2, .h3, .h4 { font-family: var(--font-display); color: inherit; text-wrap: balance; overflow-wrap: break-word; }
.h1 { font-weight: 700; font-size: clamp(2.05rem, 1.15rem + 3.7vw, 4.3rem); line-height: 1.03; letter-spacing: -.025em; }
.h2 { font-weight: 600; font-size: clamp(1.7rem, 1.15rem + 2.2vw, 3rem); line-height: 1.07; letter-spacing: -.02em; }
.h3 { font-weight: 600; font-size: clamp(1.1rem, 1rem + .45vw, 1.4rem); line-height: 1.2; letter-spacing: -.01em; }
.h4 { font-weight: 600; font-size: 1.04rem; line-height: 1.28; letter-spacing: -.005em; }
.acc { font-family: var(--font-accent); font-style: italic; font-weight: 600; font-size: 1.22em; line-height: .9; letter-spacing: -.01em; color: var(--accent); }
.lead { font-size: clamp(1.07rem, 1rem + .32vw, 1.28rem); line-height: 1.5; font-weight: 500; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; width: max-content; max-width: 100%;
  padding: .55em 1.1em; border: 2px solid currentColor; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25;
}
.eyebrow::before { content: ""; width: .62em; height: .62em; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow:has(.ico)::before { display: none; }
.eyebrow .ico { width: 1.25em; height: 1.25em; }

.ico { display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; flex: none; }
.ico svg { width: 100%; height: 100%; display: block; }

/* ---------- Кнопки, ссылки, наклейки ---------- */
.btn {
  --b-bg: var(--milk); --b-fg: var(--ink); --b-sh: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.45em; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); box-shadow: 4px 5px 0 var(--b-sh);
  font: 800 1rem/1.15 var(--font-body); letter-spacing: .01em; text-decoration: none; text-align: center; cursor: pointer;
  transition: translate var(--dur-fast) var(--ease-pop), box-shadow var(--dur-fast) var(--ease-pop), background-color .2s, color .2s;
}
.btn:hover { translate: -2px -2px; box-shadow: 6px 8px 0 var(--b-sh); }
.btn:active { translate: 3px 4px; box-shadow: 1px 1px 0 var(--b-sh); }
.btn .ico { width: 1.3em; height: 1.3em; }
.btn-cherry { --b-bg: var(--cherry); --b-fg: var(--on-cherry); }
.btn-butter { --b-bg: var(--butter); --b-fg: var(--on-light); --b-sh: #2A1813; }
.btn-milk { --b-bg: var(--milk); --b-fg: var(--ink); }
.btn-ink { --b-bg: var(--ink); --b-fg: var(--milk); --b-sh: var(--cherry); }
.btn-ghost { --b-bg: transparent; box-shadow: none; }
.btn-ghost:hover { --b-bg: var(--milk); box-shadow: 4px 5px 0 var(--ink); }
.btn-ghost-light { --b-bg: transparent; --b-fg: currentColor; border-color: currentColor; box-shadow: none; }
.btn-ghost-light:hover { --b-bg: rgba(255, 249, 245, .14); box-shadow: none; }
.btn-sm { min-height: 42px; padding: .55em 1.05em; font-size: .9rem; box-shadow: 3px 4px 0 var(--b-sh); }
.btn-lg { min-height: 58px; padding: .95em 1.7em; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row.center { margin-top: 40px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; width: max-content; max-width: 100%;
  font-weight: 800; color: var(--fg); text-decoration: none; padding-bottom: 3px;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat;
}
.link-arrow .ico { width: 1.1em; transition: translate .25s var(--ease-pop); }
.link-arrow:hover .ico { translate: 4px 0; }

.sticker {
  display: inline-flex; align-items: center; gap: .45em; width: max-content;
  padding: .6em 1.05em; border-radius: 999px; border: 2px solid var(--ink); box-shadow: var(--shadow-sm);
  font: 800 .76rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transform: rotate(var(--rot, -6deg)); background: var(--butter); color: var(--on-light);
}
.sticker .ico { width: 1.25em; height: 1.25em; }
.st-sky { background: var(--sky); } .st-petal { background: var(--petal); }
.st-cherry { background: var(--cherry); color: var(--on-cherry); }

/* Заметка от руки */
.note {
  display: flex; align-items: flex-start; gap: 6px; width: max-content; max-width: 100%;
  font: 600 1.65rem/1.05 var(--font-hand); color: var(--accent); transform: rotate(-3deg);
}
.note span { padding-top: 16px; }
.note-arrow { width: 62px; height: auto; flex: none; overflow: visible; }
.note-arrow path { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 0; }
.in .note-arrow path, .a-rise .note-arrow path, .note.a-rise .note-arrow path { animation: mh-draw-arrow var(--dur-slow) .5s var(--ease-soft) both; }
.note-center { margin: 44px auto 0; }
.note-card { font: 600 1.45rem/1 var(--font-hand); color: var(--cherry-ink); transform: rotate(-4deg); }

/* ---------- Иллюстрации ---------- */
.ill { display: inline-block; line-height: 0; }
.ill svg { width: 100%; height: auto; display: block; overflow: visible; }
.ill .mh-p-beat { transform-box: fill-box; transform-origin: center; animation: mh-beat 1.8s ease-in-out infinite; }
.ill .mh-p-twinkle { transform-box: fill-box; transform-origin: center; animation: mh-twinkle 2.6s ease-in-out infinite; }
.ill .mh-p-wobble { transform-box: fill-box; transform-origin: 50% 100%; animation: mh-wobble 3.4s ease-in-out infinite; }
.ill .mh-p-sway { transform-box: fill-box; transform-origin: 50% 100%; animation: mh-sway 3.6s ease-in-out infinite; }
.ill .mh-p-bob { transform-box: fill-box; transform-origin: center; animation: mh-bob 2.8s ease-in-out infinite; }
.ill .mh-p-steam { animation: mh-steam 2.6s ease-in-out infinite; }
.ill .mh-p-tick { transform-box: view-box; transform-origin: 100px 100px; animation: mh-spin 24s linear infinite; }
.ill .mh-p-d2 { animation-delay: -1.1s; }
.ill .mh-p-d3 { animation-delay: -1.9s; }
.float svg { animation: mh-float var(--dur-ambient) ease-in-out infinite; }
.float-slow svg { animation: mh-float 9s ease-in-out infinite reverse; }

/* ---------- Анимации ---------- */
/* Только сдвиг, без прозрачности: если анимация не запустилась (превью, миниатюра), текст всё равно виден */
@keyframes mh-rise { from { transform: translateY(calc(48 * var(--u, 1px))); } }
@keyframes mh-pop { from { transform: scale(.9) rotate(-4deg); } }
@keyframes mh-stamp { 0% { transform: scale(1.3) rotate(var(--rot, -6deg)); } 100% { transform: scale(1) rotate(var(--rot, -6deg)); } }
@keyframes mh-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5%) rotate(2deg); } }
@keyframes mh-spin { to { transform: rotate(360deg); } }
@keyframes mh-morph {
  0%, 100% { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; transform: rotate(0); }
  33% { border-radius: 42% 58% 60% 40% / 56% 42% 58% 44%; }
  66% { border-radius: 50% 50% 38% 62% / 40% 60% 40% 60%; transform: rotate(8deg); }
}
@keyframes mh-beat { 0%, 45%, 100% { transform: scale(1); } 12% { transform: scale(1.14); } 24% { transform: scale(1.02); } 34% { transform: scale(1.1); } }
@keyframes mh-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.6); } }
@keyframes mh-wobble { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.03, .97); } 65% { transform: scale(.985, 1.02); } }
@keyframes mh-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes mh-bob { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-4px) rotate(5deg); } }
@keyframes mh-steam { 0% { opacity: 0; transform: translateY(6px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes mh-draw-arrow { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes mq { to { transform: translateX(-50%); } }

.a-rise { animation: mh-rise var(--dur-base) var(--ease-soft) both; }
.a-pop { animation: mh-pop var(--dur-base) var(--ease-pop) both; }
.a-stamp { animation: mh-stamp .55s var(--ease-pop) both; }
.d2 { animation-delay: .1s; } .d3 { animation-delay: .2s; } .d4 { animation-delay: .45s; } .d5 { animation-delay: .6s; }

/* Появление при прокрутке: только сдвиг, текст виден всегда */
.js .rv { transform: translateY(26px); transition: transform .9s var(--ease-soft); }
.js .rv.in { transform: none; }

/* ---------- Шапка ---------- */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(252, 231, 236, .9); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 2px solid transparent; transition: border-color .3s, background-color .3s;
}
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.02rem/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.logo em { font-family: var(--font-accent); font-style: italic; font-weight: 600; font-size: 1.32em; color: var(--cherry-ink); letter-spacing: 0; }
.logo-mark { width: 40px; flex: none; }
.logo:hover .logo-mark svg { animation: mh-pop .5s var(--ease-pop); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: .55em .72em; border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: var(--milk); }
.nav a[aria-current] { background: var(--ink); color: var(--milk); }
.hdr-tools { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 2px; font: 800 .76rem/1 var(--font-body); letter-spacing: .08em; }
.langs a { padding: .62em .62em; border-radius: 999px; color: var(--ink-muted); text-decoration: none; }
.langs a:hover { color: var(--ink); background: var(--milk); }
.langs a[aria-current] { color: var(--ink); background: var(--butter); box-shadow: inset 0 0 0 2px var(--ink); }
.burger {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--milk); box-shadow: 3px 4px 0 var(--ink); cursor: pointer;
}
.burger-lines { position: relative; width: 20px; height: 12px; }
.burger-lines i { position: absolute; left: 0; right: 0; height: 2.6px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-pop), top .35s var(--ease-pop); }
.burger-lines i:first-child { top: 0; } .burger-lines i:last-child { top: 9.4px; }
.burger[aria-expanded="true"] .burger-lines i:first-child { top: 4.7px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines i:last-child { top: 4.7px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: -1; background: var(--milk); overflow-y: auto; padding-top: calc(86px + env(safe-area-inset-top, 0px)); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.menu-in { position: relative; display: flex; flex-direction: column; gap: 32px; min-height: 100%; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { padding: .42em 0; border-bottom: 2px dashed var(--line); font: 600 clamp(1.4rem, 1rem + 2.4vw, 2rem)/1.15 var(--font-display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; animation: mh-rise .6s var(--ease-soft) both; }
.menu-nav a:nth-child(2) { animation-delay: .03s; } .menu-nav a:nth-child(3) { animation-delay: .06s; } .menu-nav a:nth-child(4) { animation-delay: .09s; }
.menu-nav a:nth-child(5) { animation-delay: .12s; } .menu-nav a:nth-child(6) { animation-delay: .15s; } .menu-nav a:nth-child(7) { animation-delay: .18s; } .menu-nav a:nth-child(8) { animation-delay: .21s; }
.menu-nav a[aria-current] { color: var(--cherry-ink); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.langs-lg { font-size: .9rem; }
.menu-ill { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: -6px; width: 72px; pointer-events: none; }
.menu-open, .menu-open body { overflow: hidden; }
/* Размытие у шапки делает её «рамкой» для fixed-меню, и меню сжимается до высоты шапки. Пока меню открыто, размытие выключаем. */
.menu-open .hdr { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--milk); }

@media (max-width: 1280px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr-tools { margin-left: auto; }
}
@media (max-width: 640px) {
  .hdr-in { min-height: 66px; gap: 10px; }
  .hdr-tools .langs, .hdr-cta { display: none; }
  .logo { font-size: .92rem; }
  .logo-mark { width: 34px; }
}

/* ---------- Заголовки разделов ---------- */
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head.center { align-items: center; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-top .sec-head { margin-bottom: 0; }

/* фоновые кляксы */
.blob-bg { position: absolute; pointer-events: none; z-index: 0; border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; animation: mh-morph 16s ease-in-out infinite; }
.blob-bg-1 { width: 560px; height: 560px; right: -200px; top: -230px; background: var(--blush-deep); }
.blob-bg-2 { width: 320px; height: 320px; left: -170px; bottom: -150px; background: var(--petal); opacity: .45; animation-duration: 12s; }

/* ---------- Главный экран ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(24px, 4.5vw, 64px) clamp(56px, 7vw, 100px); }
.hero-grid, .phero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero-copy, .phero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.hero-h1 { font-size: clamp(2.15rem, 1.1rem + 4.1vw, 4.6rem); }
.hero-art { position: relative; width: 100%; max-width: 500px; justify-self: center; margin-block: 16px; }
.hero-blob { position: absolute; inset: 10% -9% -5% 12%; background: var(--sky); border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; animation: mh-morph var(--dur-ambient) ease-in-out infinite; }
.arch { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow-sticker); background: var(--petal); }
.arch-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-i { position: absolute; z-index: 2; pointer-events: none; }
.hero-i1 { width: 21%; top: -3%; right: -5%; }
.hero-i2 { width: 12%; top: 34%; left: -8%; }
.hero-i3 { width: 19%; bottom: -5%; left: -6%; }
.hero-s1 { position: absolute; z-index: 3; left: -7%; bottom: 17%; }
.hero-s2 { position: absolute; z-index: 3; right: -5%; top: 26%; }

/* бегущая строка */
.mq-wrap { overflow: hidden; padding-block: 20px; margin-block: -20px; position: relative; z-index: 2; background: linear-gradient(var(--blush) 50%, var(--milk) 50%); }
.marquee { width: 112%; margin-left: -6%; transform: rotate(-1.6deg); background: var(--cherry); color: var(--on-cherry); border-block: 3px solid var(--ink); padding-block: 14px; overflow: hidden; }
.mq-track { display: flex; width: max-content; animation: mq 42s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.mq-group span { font: 700 clamp(1rem, .9rem + .6vw, 1.38rem)/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.mq-ill { width: 30px; }

/* ---------- Встречи-билеты ---------- */
.tickets { display: grid; gap: 22px; }
.ticket {
  position: relative; display: grid; grid-template-columns: 172px minmax(0, 1fr); min-width: 0;
  background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-soft);
}
.ticket-stub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 24px 12px; background: var(--cherry); color: var(--on-cherry); text-decoration: none; border-right: 2px dashed var(--ink);
}
.ticket-stub.tone-sky { background: var(--sky); color: var(--on-light); }
.ticket-stub.tone-butter { background: var(--butter); color: var(--on-light); }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; right: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.ticket-stub::before { top: -15px; } .ticket-stub::after { bottom: -15px; }
.stub-wd { font: 800 .7rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.stub-day { font: 800 4.4rem/.9 var(--font-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stub-mon { font: italic 600 1.7rem/1 var(--font-accent); }
.stub-time { margin-top: 8px; padding: .4em .85em; border-radius: 999px; border: 2px solid currentColor; font: 800 .88rem/1 var(--font-body); }
.ticket-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 26px 30px; min-width: 0; }
.ticket-kicker { font: 800 .74rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cherry-ink); }
.ticket-title a { color: inherit; text-decoration: none; }
.ticket-title a:hover { text-decoration: underline; text-decoration-color: var(--cherry); }
.ticket-who { color: var(--ink-muted); font-weight: 600; }
.ticket-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: .95rem; }
.ticket-facts li { display: inline-flex; align-items: center; gap: 7px; }
.ticket-facts .ico { width: 1.15em; height: 1.15em; color: var(--cherry-ink); }
.ticket-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }
.ticket-actions .link-arrow { --fg: var(--ink); --accent: var(--cherry); }
.ticket-ill { position: absolute; right: 20px; bottom: 18px; width: 120px; opacity: .95; pointer-events: none; }
.ticket-body { padding-right: 160px; }
.tickets-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; padding: 26px 30px; border-radius: var(--r-md); border: 2px dashed var(--ink-muted); background: var(--card); color: var(--ink); }
.tickets-empty p { flex: 1 1 260px; font-weight: 600; }
.empty-ill { width: 70px; }

/* ---------- Карточки услуг ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 26px 26px 22px; border-radius: var(--r-md); background: var(--card); color: var(--ink); border: 2px solid var(--line);
  transition: translate .35s var(--ease-pop), rotate .35s var(--ease-pop), border-color .2s, box-shadow .35s var(--ease-pop);
}
.svc:hover { translate: 0 -6px; rotate: -.6deg; border-color: var(--ink); box-shadow: var(--shadow-sticker); }
.svc:focus-within { border-color: var(--ink); }
.svc-art { width: 86px; }
.svc .h3 a { color: inherit; text-decoration: none; }
.svc .h3 a:focus-visible { outline: none; }
.svc:has(a:focus-visible) { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc > p { color: var(--ink-muted); }
.svc .svc-price { margin-top: auto; padding-top: 14px; border-top: 2px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 700 1.08rem/1.1 var(--font-display); color: var(--ink); }
.svc-go { width: 1.3em; height: 1.3em; color: var(--cherry-ink); transition: translate .3s var(--ease-pop); }
.svc:hover .svc-go { translate: 5px 0; }
.t-milk .svc { --line: var(--blush-deep); }

/* ---------- Половинки ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 92px); align-items: center; }
.split-top { align-items: start; }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.split-art { min-width: 0; }

.art { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin-inline: auto; }
.art-blob { position: absolute; inset: 5%; border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; animation: mh-morph var(--dur-ambient) ease-in-out infinite; }
.art-main { position: absolute; inset: 12%; }
.art-deco { position: absolute; width: 22%; }
.art-deco-tr { top: 0; right: 2%; }
.art-deco-bl { bottom: 4%; left: 0; width: 18%; }
.art-sticker { position: absolute; right: -4%; bottom: 8%; }

.photo-card { position: relative; margin: 0 auto; width: 100%; max-width: 430px; }
.photo-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); border: 3px solid var(--ink); box-shadow: var(--shadow-sticker); background: var(--petal); }
.photo-tilt .photo-img { rotate: 2deg; }
.photo-ill { position: absolute; width: 24%; top: -7%; right: -7%; pointer-events: none; }
.photo-sticker { position: absolute; left: -5%; bottom: 12%; font-size: 1rem; }
.note-photo { position: absolute; left: -4%; bottom: -15%; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: .55em 1em; border-radius: 999px; background: var(--card); border: 2px solid var(--line); font-weight: 700; font-size: .9rem; line-height: 1.3; color: var(--ink); }
.t-milk .chips li { border-color: var(--blush-deep); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.ticks .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--bg); }
.ticks-lg li { font-size: 1.1rem; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.points li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.points li::before { content: ""; width: 14px; height: 14px; border-radius: 50% 50% 50% 12%; background: var(--cherry); transform: translateY(1px) rotate(-45deg); }
.points li:nth-child(3n+2)::before { background: var(--sky); }
.points li:nth-child(3n)::before { background: var(--butter); box-shadow: inset 0 0 0 2.5px var(--caramel); }
.points-lg { gap: 16px; }
.points-lg li { font-size: 1.12rem; font-weight: 600; }

.course-teaser .lead { color: var(--cocoa-muted); }
.course-teaser .ticks .ico { color: var(--cocoa); }
.muted-on-dark { color: var(--cocoa-muted); }

/* ---------- Отзывы ---------- */
.car { position: relative; }
.car-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  list-style: none; margin: 0 -4px; padding: 6px 4px 28px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar { display: none; }
.car-item { flex: 0 0 min(410px, 84%); scroll-snap-align: start; display: flex; min-width: 0; }
.car-ctrl { display: flex; gap: 10px; justify-content: flex-end; }
.car-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--milk); box-shadow: 3px 4px 0 var(--ink); cursor: pointer; transition: translate .2s var(--ease-pop), box-shadow .2s, opacity .2s; }
.car-btn svg { width: 22px; height: 22px; }
.car-btn:hover:not(:disabled) { translate: -1px -1px; box-shadow: 4px 6px 0 var(--ink); }
.car-btn:active:not(:disabled) { translate: 2px 3px; box-shadow: 1px 1px 0 var(--ink); }
.car-btn:disabled { opacity: .35; box-shadow: none; cursor: default; }

.rev { position: relative; margin: 0; width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 22px; border-radius: var(--r-lg); border: 2px solid var(--ink); background: var(--milk); color: var(--ink); }
.rev.tone-butter { background: var(--butter); } .rev.tone-sky { background: var(--sky); }
.rev.tone-petal { background: var(--petal); } .rev.tone-milk { background: var(--milk); }
.rev-q { display: block; height: .42em; font: italic 700 6.4rem/.8 var(--font-accent); color: var(--cherry); }
.rev.tone-petal .rev-q { color: var(--cherry-ink); }
.rev blockquote { margin: 0; }
.rev blockquote p { font: italic 500 1.3rem/1.38 var(--font-accent); letter-spacing: .002em; text-wrap: pretty; }
.rev figcaption { margin-top: auto; padding-top: 12px; border-top: 2px dashed rgba(71, 39, 28, .35); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rev figcaption span { font-weight: 700; opacity: .8; }
.reviews-sec .small { margin-top: 14px; }

.masonry { columns: 3 300px; column-gap: 20px; margin-top: 26px; }
.masonry-item { break-inside: avoid; margin-bottom: 20px; display: flex; }

/* ---------- Шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step::after { content: ""; position: absolute; top: 36px; left: 92px; right: -18px; border-top: 3px dotted var(--accent); opacity: .55; }
.step:last-child::after { display: none; }
.step-num { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 50%; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); background: var(--cherry); color: var(--on-cherry); font: 700 1.7rem/1 var(--font-display); }
.step:nth-child(4n+2) .step-num { background: var(--sky); color: var(--on-light); }
.step:nth-child(4n+3) .step-num { background: var(--butter); color: var(--on-light); }
.step:nth-child(4n+4) .step-num { background: var(--petal); color: var(--on-light); }
.step p { color: var(--muted); }

/* ---------- Вопросы ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq { display: grid; gap: 14px; }
.qa { border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--milk); color: var(--ink); overflow: hidden; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 20px 26px; cursor: pointer; font: 600 1.05rem/1.3 var(--font-display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa-ico { background: var(--petal); }
.qa-ico { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--butter); transition: transform .4s var(--ease-pop), background-color .2s; }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.6px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.qa-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-ico { transform: rotate(135deg); background: var(--petal); }
.qa-a { padding: 0 26px 22px; color: var(--ink-muted); }
.qa[open] .qa-a { animation: mh-rise .5s var(--ease-soft) both; }

/* ---------- Призыв ---------- */
.cta-band { overflow: hidden; text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 900px; }
.cta-band .h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.5rem); }
.cta-band .lead { color: var(--on-cherry); margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost-light { color: var(--on-cherry); }
.cta-ill { width: 104px; }

/* ---------- Внутренние страницы ---------- */
.phero { position: relative; overflow: hidden; padding-block: clamp(20px, 3.5vw, 48px) clamp(56px, 7vw, 96px); }
.phero-grid { grid-template-columns: 1.15fr .85fr; }
.phero-art { min-width: 0; width: 100%; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.past-banner { background: var(--butter); border-bottom: 2px solid var(--ink); }
.past-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 14px; font-weight: 700; }

/* цены */
.pcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pcs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; }
.pc { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 30px; border-radius: var(--r-lg); background: var(--card); color: var(--ink); border: 2px solid var(--blush-deep); }
.pc.is-featured { background: var(--butter); border-color: var(--ink); box-shadow: var(--shadow-sticker); --line: rgba(71, 39, 28, .25); }
.pc-top { display: flex; align-items: center; gap: 14px; }
.pc-ill { width: 72px; flex: none; }
.pc-meta { margin-top: 6px; font-size: .9rem; font-weight: 700; color: var(--ink-muted); }
.pc.is-featured .pc-meta { color: var(--ink); }
.pc-price { font: 800 clamp(2.1rem, 1.7rem + 1.3vw, 2.9rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pc-price small { font-size: .5em; letter-spacing: 0; white-space: nowrap; }
.pc-sub { font: 800 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.pc-addons dl { margin: 0; display: grid; }
.pc-addons dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-block: 9px; border-top: 1.5px dashed var(--line); }
.pc-addons dt { font-weight: 600; font-size: .95rem; }
.pc-addons dd { margin: 0; font-weight: 800; text-align: right; font-size: .95rem; }
.pc .points li { font-size: .98rem; }
.pc-cta { margin-top: auto; padding-top: 6px; }
.pc .note-card { align-self: flex-start; margin-top: 2px; }

.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.help-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 32px; border-radius: var(--r-lg); background: var(--card); color: var(--ink); border: 2px solid var(--line); }
.help-ill { width: 84px; }

/* встречи */
.bf { display: grid; gap: 26px; }
.bf-head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em; border-radius: 999px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.25; }
.facts .ico { width: 1.15em; height: 1.15em; color: var(--cherry-ink); }
.bf-sub { margin-top: 10px; font: 800 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.incs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.inc { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px; border-radius: var(--r-md); background: var(--card); color: var(--ink); border: 2px solid var(--line); }
.inc-ill { width: 66px; }
.inc p { color: var(--ink-muted); font-size: .96rem; }
.bebisu .photo-img { box-shadow: 6px 8px 0 var(--ink); }
.bebisu .lead { color: var(--ink); }

.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gal-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
.gal-item { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gal-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); border: 2px solid var(--ink); background: var(--petal); }
.gal-item:nth-child(odd) .gal-img { rotate: -1.4deg; }
.gal-item:nth-child(even) .gal-img { rotate: 1.4deg; }
.gal-item figcaption { display: grid; gap: 4px; }
.gal-item b { font: 600 1.02rem/1.25 var(--font-display); }
.gal-item span { color: var(--ink-muted); font-size: .94rem; }
.past-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; max-width: 820px; }
.past-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.past-list .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--butter); border: 1.5px solid var(--ink); }

.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(44px, 6vw, 76px); }
.fact { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 22px; border-radius: var(--r-md); background: var(--card); color: var(--ink); border: 2px solid var(--blush-deep); }
.fact-ico { width: 42px; height: 42px; padding: 8px; border-radius: 50%; background: var(--butter); border: 2px solid var(--ink); }
.fact-k { margin-top: 8px; font: 800 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.fact-v { font: 600 1.04rem/1.38 var(--font-display); }
.ev-split .art { max-width: 380px; }

/* курс */
.prog-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.prog-part { min-width: 0; padding: 32px; border-radius: var(--r-lg); background: var(--card); color: var(--ink); border: 2px solid var(--line); }
.prog-h { margin-bottom: 14px; }
.prog { list-style: none; margin: 0; padding: 0; display: grid; }
.prog-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-top: 2px dashed var(--line); }
.prog-item:first-child { border-top: 0; }
.prog-n { font: 800 1.65rem/1 var(--font-display); letter-spacing: -.04em; color: var(--cherry); font-variant-numeric: tabular-nums; }
.prog-item p { margin-top: 4px; color: var(--ink-muted); }

/* чек-листы */
.papers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.paper {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 26px 26px 24px; border-radius: var(--r-md);
  border: 2px solid var(--ink); color: var(--ink);
  background: var(--milk) repeating-linear-gradient(transparent 0 31px, var(--line) 31px 32.5px);
  background-position: 0 70px; box-shadow: var(--shadow-soft);
}
.paper:nth-child(2) { rotate: 1.2deg; } .paper:nth-child(3) { rotate: -1deg; }
.paper-box { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--ink); background: var(--cherry); color: var(--on-cherry); }
.paper-box svg { width: 26px; height: 26px; }
.paper-price { font: 800 1.7rem/1 var(--font-display); letter-spacing: -.03em; margin-top: auto; }

/* обо мне */
.prose { gap: 18px; font-size: 1.1rem; }
.duo { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.duo figure { margin: 0; min-width: 0; }
.duo-b { margin-top: 64px !important; }
.duo .photo-img, .trio .photo-img { border-radius: var(--r-md); box-shadow: none; border-width: 2px; }
.duo-a .photo-img { rotate: -2deg; } .duo-b .photo-img { rotate: 2deg; }
.duo-ill { position: absolute; width: 64px; top: -24px; left: 45%; }
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.val { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 30px; border-radius: var(--r-lg); background: var(--card); color: var(--ink); border: 2px solid var(--line); }
.val-ill { width: 78px; }
.val p { color: var(--ink-muted); }
.tl { display: grid; }
.tl-year { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding-block: 30px; border-top: 2px dashed var(--blush-deep); }
.tl-year:first-child { border-top: 0; padding-top: 0; }
.tl-y { font: 800 clamp(2.4rem, 1.9rem + 2vw, 3.8rem)/.9 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--cherry); font-variant-numeric: tabular-nums; }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.tl-list li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--butter); border: 2px solid var(--ink); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trio figure { margin: 0; min-width: 0; }
.trio figure:nth-child(2) { translate: 0 30px; }

/* контакты */
.ccards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; align-items: stretch; }
.cc { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 30px; border-radius: var(--r-lg); border: 2px solid var(--ink); }
.cc-wa { background: var(--cherry); color: var(--on-cherry); box-shadow: var(--shadow-sticker); }
.cc-ig { background: var(--petal); color: var(--on-light); }
.cc-tt { background: var(--sky); color: var(--on-light); }
.cc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--milk); color: var(--ink); border: 2px solid var(--ink); }
.cc-ico svg { width: 28px; height: 28px; }
.cc .btn { margin-top: auto; align-self: flex-start; }
.cc-num { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.7rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: .5em .85em; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: inherit; font: 800 .78rem/1 var(--font-body); letter-spacing: .04em; cursor: pointer; }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: rgba(255, 249, 245, .16); }
.topics { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.topics fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-radio span { display: inline-flex; align-items: center; padding: .7em 1.15em; border-radius: 999px; border: 2px solid var(--ink); background: var(--milk); color: var(--ink); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, translate .25s var(--ease-pop); }
.chip-radio span:hover { translate: 0 -2px; }
.chip-radio input:checked + span { background: var(--ink); color: var(--milk); }
.chip-radio input:focus-visible + span { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.urgent { margin-top: 30px; text-align: center; font-weight: 700; color: var(--cherry-ink); }

/* ---------- Подвал ---------- */
.ftr { position: relative; background: var(--cocoa); color: var(--on-cocoa); padding-top: clamp(56px, 7vw, 84px); }
.ftr a { color: var(--on-cocoa); text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.ftr-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ftr-brand > p { color: var(--cocoa-muted); max-width: 30em; }
.logo-light { color: var(--on-cocoa); }
.logo-light em { color: var(--butter); }
.ftr-h { margin-bottom: 14px; font: 800 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--butter); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr-contacts a { display: inline-flex; align-items: center; gap: 10px; }
.ftr-contacts .ico { width: 20px; height: 20px; }
.ftr-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-weight: 700; font-size: .92rem; }
.ftr-langs .ico { width: 18px; height: 18px; color: var(--butter); }
.ftr-langs a[aria-current] { color: var(--butter); }
.ftr-bottom { display: grid; gap: 10px; margin-top: 46px; padding-block: 24px 30px; border-top: 1px solid rgba(255, 249, 245, .22); font-size: .86rem; color: var(--cocoa-muted); }
.ftr-disc { max-width: 60em; }
.checker { height: 18px; background: conic-gradient(var(--butter) 90deg, var(--cocoa) 0 180deg, var(--butter) 0 270deg, var(--cocoa) 0) 0 0 / 36px 36px; background-size: 36px 36px; }
.ftr-checker { height: 18px; background-size: 36px 36px; padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ---------- Корень и 404 ---------- */
.pg-root { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--blush); }
.root-pick { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-block: 48px; text-align: center; }
.logo-big { font-size: clamp(2rem, 1.2rem + 4vw, 3.6rem); }
.lang-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lang-card { display: flex; flex-direction: column; gap: 6px; min-width: 180px; padding: 20px 26px; border-radius: var(--r-md); border: 2px solid var(--ink); background: var(--milk); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; font: 700 1.2rem/1.1 var(--font-display); transition: translate .25s var(--ease-pop), box-shadow .25s var(--ease-pop); }
.lang-card:hover { translate: -2px -2px; box-shadow: 6px 8px 0 var(--ink); }
.lang-card span { font: 600 .86rem/1.2 var(--font-body); color: var(--ink-muted); }
.nf { max-width: 1000px; padding-inline: 20px; }
.nf-ill { width: 120px; }
.nf-code { font: 800 clamp(4rem, 3rem + 6vw, 8rem)/.9 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 3px var(--cherry); }
.nf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.nf-block { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-md); background: var(--milk); border: 2px solid var(--line); }

/* ---------- Адаптивность ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcs { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
  .ccards { grid-template-columns: 1fr 1fr; }
  .cc-wa { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps .step:nth-child(2n)::after { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .phero-grid, .split, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 380px; width: 82%; margin-top: 26px; }
  .phero-art { max-width: 360px; margin-inline: auto; }
  .help-grid, .prog-wrap, .vals { grid-template-columns: minmax(0, 1fr); }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .papers { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .pcs-2 { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .split-art .photo-card { max-width: 360px; }
  .split-art:has(.note-photo) { padding-bottom: 56px; }
  .nf-grid { grid-template-columns: minmax(0, 1fr); }
  .art { max-width: 340px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .sec { padding-block: 60px; }
  .svc-grid, .incs, .steps, .steps-3, .ccards, .trio { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start; }
  .step .step-num { grid-row: span 2; width: 60px; height: 60px; font-size: 1.4rem; }
  .step::after { display: none; }
  .trio figure:nth-child(2) { translate: none; }
  .trio { max-width: 380px; margin-inline: auto; }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-stub { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 6px 12px; padding: 16px 22px; border-right: 0; border-bottom: 2px dashed var(--ink); }
  .ticket-stub::before, .ticket-stub::after { right: auto; top: auto; bottom: -14px; }
  .ticket-stub::before { left: -15px; } .ticket-stub::after { right: -15px; }
  .stub-day { font-size: 3rem; }
  .stub-wd { order: 4; width: 100%; }
  .stub-time { margin: 0 0 0 auto; }
  .ticket-body { padding: 22px 22px 24px; }
  .ticket-ill { width: 84px; right: 14px; top: 14px; bottom: auto; }
  .ticket-stub { padding-right: 110px; }
  .tl-year { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gal { gap: 14px; }
  .gal-3 { grid-template-columns: minmax(0, 1fr); max-width: 380px; }
  .hero-s1 { left: -4%; } .hero-s2 { right: -3%; }
  .sticker { font-size: .7rem; }
  .photo-sticker { font-size: .95rem; left: -3%; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fact { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: center; padding: 16px 18px; }
  .fact-ico { grid-row: span 2; }
  .fact-k { margin-top: 0; }
  .note { font-size: 1.45rem; }
  .note-arrow { width: 50px; }
  .note-photo { bottom: -13%; left: 0; }
  .photo-ill { right: -2%; top: -6%; }
  .masonry { columns: 1; }
  .ftr-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pc { padding: 24px; }
  .pc .note-card { position: static; align-self: flex-start; }
  .cc { padding: 24px; }
  .car-item { flex-basis: 88%; }
  .rev blockquote p { font-size: 1.2rem; }
}
@media (max-width: 420px) {
  .gal { grid-template-columns: minmax(0, 1fr); max-width: 340px; margin-inline: auto; }
  .btn { padding-inline: 1.2em; }
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .rv { transform: none; }
  .mq-track { animation: none !important; }
}
