@import url("../fonts/fonts.css");

/* ===== Токены ===== */
:root {
  --sun: #FFAE00;
  --sun-2: #FFC233;
  --sun-soft: #FFE8A6;
  --cream: #FFF8EA;
  --paper: #FFFDF8;
  --ink: #10002B;
  --ink-2: #3B2E55;
  --muted: #6E6585;
  --coral: #FF6B57;
  --coral-soft: #FFE1DC;
  --teal: #13B5A5;
  --teal-soft: #D4F4EF;
  --lilac: #9B7BF0;
  --lilac-soft: #ECE4FF;
  --sky: #3FA9F5;
  --sky-soft: #DCF0FF;
  --leaf: #6CC04A;
  --leaf-soft: #E3F5D9;
  --radius: 28px;
  --radius-lg: 44px;
  --shadow: 0 18px 50px -20px rgba(16, 0, 43, .28);
  --shadow-sm: 0 8px 24px -12px rgba(16, 0, 43, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
  --head: "Unbounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; }
.section, .phero, .hero, main { overflow-x: clip; }
.hero__grid > *, .split > *, .cta > *, .contacts > *, .parents > *, .footer__grid > * { min-width: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 6.4vw, 78px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--sun); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #fff; }
.section--sun { background: var(--sun); }
.center { text-align: center; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 680px; }
.center .lead { margin-inline: auto; }
.section--ink .lead { color: rgba(255,255,255,.78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 9px 16px; border-radius: 99px;
  background: var(--sun-soft); color: var(--ink); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 14px 0 0 var(--coral), 28px 0 0 var(--teal); margin-right: 28px; }
.section--ink .eyebrow { background: rgba(255,255,255,.1); color: #fff; }

.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .42em;
  background: var(--sun); border-radius: 8px; z-index: -1;
  transform: scaleX(0); transform-origin: left; transition: transform 1s .3s var(--ease);
}
.is-in .mark::after, .mark.is-in::after { transform: scaleX(1); }
.mark--coral::after { background: #E4D7FF; } /* сиреневая подсветка (раньше розовая) */
.mark--teal::after { background: var(--teal-soft); }
.section--ink .mark::after { background: var(--coral); }
.c-sun { color: var(--sun); }
.c-coral { color: var(--coral); }
.c-teal { color: var(--teal); }

/* ===== Кнопки ===== */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  padding: 18px 28px; border-radius: 99px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  transition: transform .35s var(--bounce), box-shadow .35s var(--ease), background .25s;
  box-shadow: 0 6px 0 rgba(16,0,43,.18);
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 10px 0 rgba(16,0,43,.18); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(16,0,43,.18); }
.btn--sun { --bg: var(--sun); --fg: var(--ink); }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); background: var(--ink); color: #fff; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Шапка ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 16px 0; transition: padding .35s var(--ease), background .35s, box-shadow .35s;
}
.header.is-scrolled { padding: 8px 0; background: rgba(255,253,248,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 30px -18px rgba(16,0,43,.35); }
.header__in { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; transition: transform .4s var(--bounce); }
.logo:hover img { transform: rotate(-4deg) scale(1.04); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 14px; border-radius: 99px;
  transition: background .25s, color .25s;
}
.nav a:hover { background: var(--sun-soft); }
.nav a.is-active { background: var(--ink); color: #fff; }
.header__tel { font-family: var(--head); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header .btn { padding: 13px 20px; font-size: 14px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sun); cursor: pointer; position: relative; margin-left: auto; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 50%; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); transform: translateX(-50%); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.burger span { top: 50%; margin-top: -1px; }
.burger span::before, .burger span::after { content: ""; left: 0; transform: none; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .header__tel { display: none; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .header .btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: var(--sun); clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .6s var(--ease);
  }
  .nav a { font-family: var(--head); font-size: 26px; }
  .nav a.is-active { background: var(--ink); }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .menu-open { overflow: hidden; }
}

/* ===== Hero ===== */
.hero { padding: 150px 0 60px; position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, var(--sun-soft), transparent 60%), var(--paper); }
.hero__grid, .phero .wrap, .section > .wrap { position: relative; z-index: 1; }
.step > :not(.step__num) { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .big { display: block; font-size: 1.28em; color: var(--sun); -webkit-text-stroke: 0; }
.hero .lead { margin-bottom: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; font-size: 15px; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); font-style: normal; }

.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage__img { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--cream); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--a { inset: 0 18% 30% 0; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; animation: morph 14s ease-in-out infinite; }
.collage__img--b { width: 50%; aspect-ratio: 1; right: 0; bottom: 4%; border: 8px solid #fff; border-radius: 50%; }
.collage__img--c { width: 40%; aspect-ratio: 4/3; left: 4%; bottom: 0; border: 8px solid #fff; transform: rotate(-6deg); border-radius: 30px; }
@keyframes morph {
  0%, 100% { border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; }
  33% { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; }
  66% { border-radius: 44% 56% 58% 42% / 56% 44% 52% 48%; }
}
.sticker {
  position: absolute; z-index: 3; padding: 12px 18px; border-radius: 18px; font-family: var(--head); font-weight: 700; font-size: 15px;
  background: #fff; box-shadow: var(--shadow); white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.sticker b { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--body); }
.sticker--1 { top: 4%; right: 2%; background: var(--coral); color: #fff; transform: rotate(4deg); }
.sticker--1 b { color: rgba(255,255,255,.8); }
.sticker--2 { top: 46%; left: -6%; animation-delay: -2s; }
.sticker--3 { bottom: 0; right: 2%; background: var(--teal); color: #fff; animation-delay: -4s; }
.sticker--3 b { color: rgba(255,255,255,.8); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* декоративные «кубики» из логотипа */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--arch { width: 90px; height: 70px; background: var(--sun); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); border-radius: 12px; }
.deco--dot { width: 54px; height: 54px; border-radius: 50%; background: var(--coral); }
.deco--bar { width: 110px; height: 40px; border-radius: 14px; background: var(--teal); }
.deco--ring { width: 120px; height: 120px; border-radius: 50%; border: 16px solid var(--lilac); }
.deco--squig { width: 140px; height: 40px; }
.spin { animation: spin 22s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.bob { animation: float 7s ease-in-out infinite; }

/* бегущая строка */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.5deg); margin: 10px -20px 0; position: relative; z-index: 2; }
.marquee--sun { background: var(--sun); color: var(--ink); transform: rotate(1.2deg); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span { font-family: var(--head); font-weight: 800; font-size: clamp(20px, 2.6vw, 32px); padding: 0 28px; display: flex; align-items: center; gap: 28px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--sun); }
.marquee--sun .marquee__track span::after { color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== О нас ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
.photo-stack { position: relative; }
.photo-stack .p1 { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.photo-stack .p1 img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .p2 { position: absolute; width: 46%; right: -6%; bottom: -8%; border-radius: 30px; overflow: hidden; border: 8px solid var(--paper); box-shadow: var(--shadow); rotate: 5deg; aspect-ratio: 1; }
.section--cream .photo-stack .p2 { border-color: var(--cream); }
.photo-stack .p2 img { width: 100%; height: 100%; object-fit: cover; }
.quote {
  font-family: var(--head); font-weight: 700; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.35;
  padding: 26px 30px; border-radius: var(--radius); background: var(--sun-soft); position: relative; margin: 28px 0;
}
.quote::before { content: "“"; position: absolute; top: -26px; left: 20px; font-size: 90px; color: var(--sun); line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { padding-left: 42px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/60% no-repeat; }

/* ===== Я сам — 3 шага ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; counter-reset: st; }
.step {
  border-radius: var(--radius-lg); padding: 38px 32px 34px; position: relative; overflow: hidden; color: var(--ink);
  transition: transform .5s var(--bounce);
}
.step:hover { transform: translateY(-8px) rotate(-1deg); }
.step:nth-child(1) { background: var(--sun); }
.step:nth-child(2) { background: var(--coral); color: #fff; }
.step:nth-child(3) { background: var(--teal); color: #fff; }
.step__num { font-family: var(--head); font-weight: 800; font-size: 120px; line-height: .8; position: absolute; right: 18px; bottom: -6px; opacity: .18; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); }
.step p { margin: 0; font-size: 17px; opacity: .92; }
.step__ico { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.35); display: grid; place-items: center; margin-bottom: 26px; }
.step__ico svg { width: 34px; height: 34px; }

/* ===== Принципы ===== */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 54px; }
.pr {
  background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .45s var(--bounce), box-shadow .45s var(--ease);
  border-top: 8px solid var(--c, var(--sun));
}
.pr:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pr__tag { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--c, var(--sun)); margin-bottom: 10px; }
.pr h3 { margin-bottom: 12px; }
.pr p { color: var(--ink-2); font-size: 17px; margin: 0; }
.pr__from { margin-top: 18px; padding-top: 14px; border-top: 2px dashed #eee; font-size: 14px; color: var(--muted); }
.pr__from b { color: var(--ink); }
.section--ink .pr { background: rgba(255,255,255,.06); box-shadow: none; color: #fff; }
.section--ink .pr p { color: rgba(255,255,255,.75); }
.section--ink .pr__from { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.55); }
.section--ink .pr__from b { color: #fff; }

/* ===== Группы ===== */
.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.group {
  border-radius: var(--radius); overflow: hidden; background: var(--bg); position: relative; text-decoration: none;
  transition: transform .5s var(--bounce); display: flex; flex-direction: column;
}
.group:hover { transform: translateY(-10px) rotate(var(--r, -1.5deg)); }
.group:nth-child(even) { --r: 1.5deg; }
.group__img { aspect-ratio: 1; overflow: hidden; margin: 10px 10px 0; border-radius: calc(var(--radius) - 8px); }
.group__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.group:hover .group__img img { transform: scale(1.08); }
.group__body { padding: 20px 22px 24px; }
.group__age { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1; }
.group__age small { font-size: 15px; font-weight: 600; }
.group__name { font-weight: 800; font-size: 19px; margin-top: 8px; }
.group__txt { font-size: 15px; margin: 6px 0 0; opacity: .85; }

/* ===== Карточки «что входит» ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 50px; }
.tile {
  border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; background: var(--bg, #fff);
  transition: transform .5s var(--bounce); min-height: 260px; display: flex; flex-direction: column;
}
.tile:hover { transform: scale(1.02); }
.tile--food { grid-column: span 4; background: var(--sun-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.tile--speech { grid-column: span 2; background: var(--lilac-soft); }
.tile--env { grid-column: span 2; background: var(--teal-soft); }
.tile--health { grid-column: span 2; background: var(--sky-soft); }
.tile--music { grid-column: span 2; background: var(--coral-soft); }
.tile h3 { margin-bottom: 10px; }
.tile p { font-size: 16.5px; color: var(--ink-2); margin: 0 0 .7em; }
.tile__ico { font-size: 42px; line-height: 1; margin-bottom: 18px; display: inline-block; transition: transform .5s var(--bounce); }
.tile:hover .tile__ico { transform: rotate(-12deg) scale(1.15); }
.tile__photo { border-radius: 22px; overflow: hidden; height: 100%; min-height: 240px; }
.tile__photo img { width: 100%; height: 100%; object-fit: cover; }
.tile .more { margin-top: auto; font-weight: 800; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.tile .more:hover { text-decoration: underline; }

/* ===== Цены ===== */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; align-items: stretch; }
.price {
  background: #fff; border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .45s var(--bounce), box-shadow .4s;
}
.price:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price--hit { background: var(--ink); color: #fff; }
.price__badge { position: absolute; top: -14px; right: 20px; background: var(--coral); color: #fff; font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 99px; rotate: 4deg; }
.price__name { font-family: var(--head); font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.price__time { font-weight: 700; color: var(--muted); margin-bottom: 22px; }
.price--hit .price__time { color: rgba(255,255,255,.65); }
.price__sum { font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1; }
.price__sum small { font-size: 15px; font-weight: 600; }
.price__per { font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.price--hit .price__per { color: rgba(255,255,255,.65); }
.price__food { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 14px; padding: 10px 14px; font-size: 15px; font-weight: 700; margin-bottom: 24px; }
.price--hit .price__food { background: rgba(255,255,255,.1); }
.price .btn { margin-top: auto; width: 100%; }

/* ===== Галерея ===== */
.gallery { columns: 4 240px; column-gap: 16px; margin-top: 50px; }
.gallery a { display: block; margin-bottom: 16px; border-radius: 24px; overflow: hidden; break-inside: avoid; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .8s var(--ease), filter .4s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after { content: "+"; position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 22px; transform: scale(0); transition: transform .4s var(--bounce); }
.gallery a:hover::after { transform: scale(1); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16,0,43,.92); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s; padding: 20px; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; max-width: min(1200px, 100%); border-radius: 20px; transform: scale(.92); transition: transform .45s var(--bounce); }
.lightbox.is-open img { transform: scale(1); }
.lightbox button { position: absolute; border: 0; background: var(--sun); color: var(--ink); width: 54px; height: 54px; border-radius: 50%; font-size: 24px; font-weight: 800; cursor: pointer; transition: transform .3s var(--bounce); }
.lightbox button:hover { transform: scale(1.1); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -27px; }
.lb-next { right: 20px; top: 50%; margin-top: -27px; }

/* ===== Таймлайн дня ===== */
.timeline { position: relative; max-width: 920px; margin: 60px auto 0; }
.timeline::before, .timeline__progress { content: ""; position: absolute; left: 118px; top: 0; bottom: 0; width: 6px; border-radius: 6px; background: var(--sun-soft); }
.timeline__progress { background: linear-gradient(var(--sun), var(--coral), var(--teal), var(--lilac)); bottom: auto; height: 0; transition: height .1s linear; }
.tl { display: grid; grid-template-columns: 100px 1fr; gap: 44px; padding: 14px 0; position: relative; }
.tl__time { font-family: var(--head); font-weight: 700; font-size: 15px; text-align: right; padding-top: 22px; color: var(--ink-2); }
.tl__dot { position: absolute; left: 110px; top: 34px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--c, var(--sun)); transition: transform .4s var(--bounce); z-index: 1; }
.tl:hover .tl__dot { transform: scale(1.35); }
.tl__card { background: #fff; border-radius: 24px; padding: 22px 26px; box-shadow: var(--shadow-sm); border-left: 6px solid var(--c, var(--sun)); transition: transform .4s var(--bounce); }
.tl:hover .tl__card { transform: translateX(6px); }
.tl__card h3 { font-size: 19px; margin-bottom: 6px; }
.tl__card p { font-size: 16px; color: var(--ink-2); margin: 0; }
.tl__tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 99px; background: var(--c, var(--sun)); color: #fff; margin-bottom: 10px; }
.tl--self { --c: var(--coral); }
.tl--talk { --c: var(--lilac); }
.tl--learn { --c: var(--sky); }
.tl--play { --c: var(--sun); }
.tl--out { --c: var(--leaf); }
.tl--rest { --c: var(--teal); }
.tl.is-now .tl__card { box-shadow: 0 0 0 3px var(--c), var(--shadow); }
.tl.is-now .tl__dot { animation: pulse 1.6s infinite; }
.now-badge { display: none; margin-left: 8px; font-size: 12px; font-weight: 800; background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 99px; vertical-align: 2px; }
.tl.is-now .now-badge { display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,107,87,.6); } 100% { box-shadow: 0 0 0 18px rgba(255,107,87,0); } }
.reflect { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.reflect span { background: var(--coral-soft); border-radius: 99px; padding: 5px 12px; font-size: 14px; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; background: #fff; padding: 8px 14px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }

/* мини-день на главной */
.daystrip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; }
.dcard { background: rgba(255,255,255,.07); border-radius: 24px; padding: 24px 20px; border: 2px solid rgba(255,255,255,.1); transition: transform .4s var(--bounce), background .3s; }
.dcard:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.dcard__t { font-family: var(--head); font-weight: 700; color: var(--sun); font-size: 15px; margin-bottom: 10px; }
.dcard h3 { font-size: 17px; margin-bottom: 8px; }
.dcard p { font-size: 15px; color: rgba(255,255,255,.72); margin: 0; }

/* ===== Меню ===== */
.menu-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; }
.meal { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .45s var(--bounce); }
.meal:hover { transform: translateY(-6px) rotate(-1deg); }
.meal::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .18; right: -40px; top: -40px; }
.meal__ico { font-size: 40px; margin-bottom: 12px; }
.meal h3 { margin-bottom: 14px; }
.meal ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.meal li { padding-left: 22px; position: relative; font-weight: 600; }
.meal li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 46px; }
.fact { background: var(--bg, var(--cream)); border-radius: 24px; padding: 26px; }
.fact b { font-family: var(--head); font-size: 18px; display: block; margin-bottom: 8px; }
.fact p { margin: 0; font-size: 16.5px; color: var(--ink-2); }

/* ===== Возраст → самостоятельность ===== */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; align-items: end; }
.rung { border-radius: var(--radius) var(--radius) 18px 18px; padding: 28px 24px; background: var(--bg); position: relative; transition: transform .45s var(--bounce); }
.rung:hover { transform: translateY(-8px); }
.rung:nth-child(1) { min-height: 330px; }
.rung:nth-child(2) { min-height: 380px; }
.rung:nth-child(3) { min-height: 430px; }
.rung:nth-child(4) { min-height: 480px; }
.rung__age { font-family: var(--head); font-weight: 800; font-size: 26px; }
.rung__name { font-weight: 800; margin-bottom: 14px; opacity: .75; }
.rung ul { margin: 0; padding-left: 20px; font-size: 16px; display: grid; gap: 6px; }

/* ===== Страничный hero ===== */
.phero { padding: 160px 0 80px; position: relative; overflow: hidden; background: var(--bg, var(--sun-soft)); }
.phero h1 { font-size: clamp(36px, 5.6vw, 68px); max-width: 900px; }
.phero .lead { margin-bottom: 0; }
.crumbs { font-weight: 700; font-size: 15px; margin-bottom: 18px; color: var(--ink-2); }
.crumbs a { text-decoration: none; border-bottom: 2px solid var(--sun); }

/* ===== Родители / Спектр ===== */
.spectrum-band { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--coral), var(--sun), var(--leaf), var(--teal), var(--sky), var(--lilac)); margin: 26px 0; background-size: 200% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }
.parents { border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.parents p { color: rgba(255,255,255,.8); }
.prism { width: 100%; max-width: 360px; margin-inline: auto; }

/* ===== Форма ===== */
.cta { border-radius: var(--radius-lg); background: var(--sun); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(30px, 4vw, 50px); }
.cta .lead { color: var(--ink); }
.form { display: grid; gap: 14px; position: relative; z-index: 1; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: 15px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; padding: 16px 20px; border-radius: 18px; border: 3px solid transparent; background: #fff; color: var(--ink);
  outline: none; transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 6px 0 rgba(16,0,43,.12); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { cursor: pointer; }
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios span { display: inline-block; padding: 10px 16px; border-radius: 99px; background: rgba(255,255,255,.6); font-weight: 700; font-size: 15px; transition: background .2s, color .2s, transform .3s var(--bounce); }
.radios input:checked + span { background: var(--ink); color: #fff; transform: scale(1.05); }
.radios input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.consent { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.form__ok { display: none; background: #fff; border-radius: 24px; padding: 30px; text-align: center; }
.form__ok .big { font-size: 60px; }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; animation: pop .6s var(--bounce); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ===== Контакты ===== */
.contacts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; margin-top: 50px; }
.contact-list { display: grid; gap: 16px; }
.ccard { background: #fff; border-radius: 24px; padding: 24px 26px; box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; text-decoration: none; transition: transform .4s var(--bounce); }
a.ccard:hover { transform: translateX(6px); }
.ccard__ico { width: 54px; height: 54px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: var(--bg, var(--sun-soft)); }
.ccard b { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.ccard span { font-family: var(--head); font-weight: 700; font-size: 18px; word-break: break-word; }
.ccard small { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--sun-soft); box-shadow: var(--shadow-sm); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }

/* ===== Подвал ===== */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 34px; margin-top: 0; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__logo { background: #fff; display: inline-block; padding: 12px 18px; border-radius: 20px; margin-bottom: 18px; }
.footer__logo img { height: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.footer__big { font-family: var(--head); font-weight: 800; font-size: clamp(60px, 14vw, 200px); color: rgba(255,255,255,.04); line-height: .8; position: absolute; bottom: -10px; right: -10px; pointer-events: none; white-space: nowrap; }

/* плавающая кнопка */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: none; opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .35s, transform .45s var(--bounce); }
.fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.fab .btn { box-shadow: var(--shadow); }

/* ===== Анимации появления ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal--pop { transform: scale(.85); transition-timing-function: var(--ease), var(--bounce); }
.reveal.is-in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 60ms + .1s); }
.split-words.is-in .w > span { transform: none; }

.counter { font-variant-numeric: tabular-nums; }

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
  .groups, .prices, .menu-days, .ladder { grid-template-columns: repeat(2, 1fr); }
  .ladder .rung { min-height: 0 !important; }
  .daystrip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { padding-top: 120px; }
  .hero__grid, .split, .cta, .contacts, .parents, .footer__grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .collage { max-width: 520px; margin: 20px auto 0; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--food { grid-column: span 2; grid-template-columns: 1fr; }
  .tile--speech, .tile--env, .tile--health, .tile--music { grid-column: span 1; }
  .daystrip { grid-template-columns: 1fr 1fr; }
  .photo-stack { margin-right: 6%; }
  .map { min-height: 340px; }
  .fab { display: block; }
}
@media (max-width: 600px) {
  .deco { display: none !important; }
  .step__num { font-size: 80px; }
  .step { padding: 26px 22px 26px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; }
  .step__ico { width: 52px; height: 52px; border-radius: 16px; margin: 0; }
  .step__ico svg { width: 28px; height: 28px; }
  .step h3 { margin: 0; font-size: 22px; }
  .step p { grid-column: 1 / -1; margin-top: 14px; }
  .step:not(:has(.step__ico)) h3 { grid-column: 1 / -1; }
  .eyebrow { font-size: 11px; letter-spacing: .08em; padding: 8px 14px; }
  .groups, .prices, .menu-days, .ladder, .bento, .daystrip { grid-template-columns: 1fr; }
  .tile--food { grid-column: span 1; }
  .timeline::before, .timeline__progress { left: 10px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding-left: 40px; }
  .tl__time { text-align: left; padding-top: 0; }
  .tl__dot { left: 2px; top: 18px; }
  .sticker { font-size: 13px; padding: 9px 13px; }
  .sticker--2 { left: -2%; }
  .sticker--3 { right: 0; bottom: -2%; }
  .marquee { margin-inline: -10px; }
  .btn-row .btn { width: 100%; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; margin: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
}

/* режим правки в админке: без анимаций появления */
.is-editing .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.is-editing .mark::after { transform: scaleX(1) !important; }
.is-editing .fab { display: none !important; }

/* фото обеда: маленькое фото не закрывает лица на большом */
.photo-stack:has(.p1 img[src*="lunch-table"]) { margin-bottom: 26%; }
.photo-stack:has(.p1 img[src*="lunch-table"]) .p2 { width: 40%; bottom: -32%; }

/* форма: ловушка для ботов, ошибка, загрузка */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__err { margin: 0; background: #fff; border-radius: 16px; padding: 12px 16px; font-weight: 700; font-size: 15px; color: #B3261E; }
.form__err a { color: var(--ink); }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ===== Питание: «Кладём / Исключаем» ===== */
.plate { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }
.plate__col { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.plate__col--yes { background: var(--leaf-soft); }
.plate__col--no { background: var(--coral-soft); }
.plate__col::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -70px; opacity: .55; }
.plate__col--yes::after { background: var(--sun-soft); }
.plate__col--no::after { background: #FFD0C7; }
.plate__head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; position: relative; z-index: 1; }
.plate__head h3 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
.plate__badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 24px; flex: none; color: #fff; }
.plate__col--yes .plate__badge { background: var(--leaf); }
.plate__col--no .plate__badge { background: var(--coral); }
.plate__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.plate__list li { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 18px; line-height: 1.35; background: rgba(255,255,255,.72); border-radius: 20px; padding: 14px 18px; transition: transform .4s var(--bounce); }
.plate__list li:hover { transform: translateX(6px); }
.plate__ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 24px; flex: none; }
.plate__list small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.plate__x { flex: 1; }
.plate__col--no .plate__list li::after { content: "✕"; margin-left: auto; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800; transform: scale(0); transition: transform .5s var(--bounce); }
.plate__col--no.is-in .plate__list li::after { transform: scale(1); }
.plate__col--no .plate__list li:nth-child(1)::after { transition-delay: .4s; }
.plate__col--no .plate__list li:nth-child(2)::after { transition-delay: .55s; }
.plate__col--no .plate__list li:nth-child(3)::after { transition-delay: .7s; }
.plate__col--no .plate__list li:nth-child(4)::after { transition-delay: .85s; }
.plate__col--no .plate__list li:nth-child(5)::after { transition-delay: 1s; }
.plate__note { margin: 22px auto 0; max-width: 820px; text-align: center; background: var(--cream); border-radius: 20px; padding: 16px 22px; color: var(--ink-2); }
/* пары строк стоят друг напротив друга: одинаковая высота строк в обеих колонках */
@media (min-width: 801px) { .plate__list li { min-height: 84px; } }
@media (max-width: 800px) { .plate { grid-template-columns: 1fr; } }
