/* ==========================================================================
   Детский сад «Дана Бала»
   Палитра — с логотипа (пятеро разноцветных ребят) и интерьера:
   малиновый (фасад сада), нежно-розовый (стены внутри) + жёлтый, синий, красный, фиолетовый, зелёный.
   Шрифты: Rubik (заголовки) и Onest (текст) — оба с казахскими буквами (ә, ө, ғ, қ, ң, ү, ұ, һ, і).
   ========================================================================== */

/* ---------- Шрифты (локально) ---------- */
@font-face { font-family: "Rubik"; font-weight: 300 900; font-style: normal; font-display: swap; src: url("../assets/fonts/rubik-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-weight: 300 900; font-style: normal; font-display: swap; src: url("../assets/fonts/rubik-cyrillic-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Rubik"; font-weight: 300 900; font-style: normal; font-display: swap; src: url("../assets/fonts/rubik-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../assets/fonts/onest-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../assets/fonts/onest-cyrillic-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../assets/fonts/onest-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токены ---------- */
:root {
  --berry: #c8235f;        /* малина — фасад сада */
  --berry-2: #e0306f;
  --berry-d: #8f1647;
  --berry-dd: #4f0a28;
  --pink: #ffe1ec;         /* нежно-розовый — стены внутри */
  --blush: #fff1f6;
  --bg: #fff9fb;
  --paper: #ffffff;
  --ink: #33202b;
  --muted: #7b6573;
  --line: rgba(143, 22, 71, .13);

  /* пятеро ребят из логотипа */
  --y: #f5c30e;  --y-d: #c99700;  --y-l: #fff1b0;
  --b: #2e4cd2;  --b-d: #2139a8;  --b-l: #dde4ff;
  --r: #eb3415;  --r-d: #c42a10;  --r-l: #ffdcd3;
  --p: #9415d6;  --p-d: #7610ae;  --p-l: #f0d9ff;
  --g: #4fc22a;  --g-d: #3a9a1c;  --g-l: #dcf6cf;

  --font-head: "Rubik", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 12px 34px rgba(143, 22, 71, .10);
  --shadow-lg: 0 28px 70px rgba(143, 22, 71, .20);
  --ease: cubic-bezier(.22, .8, .28, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 84px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 4px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--berry); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--berry-d); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; color: var(--berry-dd); margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -.03em; }
/* казахские слова длиннее — заголовок чуть скромнее */
html[lang="kk"] h1 { font-size: clamp(2.2rem, 4.7vw, 3.7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--berry); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 500; }
.skip-link:focus { left: 8px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.note { color: var(--muted); background: rgba(255, 255, 255, .8); border: 2px dashed #efb6cb; border-radius: var(--radius-sm); padding: 18px 22px; }
.note-light { color: #ffe3ee; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Фон: пятеро ребят плывут по странице ---------- */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.orb.o1 { width: 48vw; height: 48vw; left: -14vw; top: -14vw; background: radial-gradient(circle, #ffc2d8, transparent 70%); animation: orb-a 28s ease-in-out infinite alternate; }
.orb.o2 { width: 40vw; height: 40vw; right: -12vw; top: 22vh; background: radial-gradient(circle, #ffe9a3, transparent 70%); animation: orb-b 32s ease-in-out infinite alternate; }
.orb.o3 { width: 42vw; height: 42vw; left: 16vw; bottom: -22vw; background: radial-gradient(circle, #cfd8ff, transparent 70%); animation: orb-a 36s ease-in-out infinite alternate-reverse; }
@keyframes orb-a { to { transform: translate3d(9vw, 7vh, 0) scale(1.15); } }
@keyframes orb-b { to { transform: translate3d(-10vw, -9vh, 0) scale(1.1); } }

/* плавающие фигурки ребят */
.floater { position: absolute; display: block; width: var(--s, 90px); opacity: .17; will-change: transform; animation: drift var(--dur, 40s) ease-in-out var(--delay, 0s) infinite; transition: opacity .6s; }
.floater .kid-svg { width: 100%; height: auto; overflow: visible; }
.f-yellow { --s: 92px; left: 3%;  top: 16%;    --dx1: 16vw; --dy1: 10vh;  --dx2: 6vw;  --dy2: 44vh; --dur: 46s; --r1: 14deg; --r2: -10deg; }
.f-blue   { --s: 104px; right: 4%; top: 12%;   --dx1: -14vw; --dy1: 24vh; --dx2: -4vw; --dy2: 52vh; --dur: 52s; --r1: -12deg; --r2: 10deg; --delay: -9s; }
.f-red    { --s: 96px; left: 5%;  bottom: 8%;  --dx1: 18vw; --dy1: -18vh; --dx2: 30vw; --dy2: -6vh; --dur: 58s; --r1: 12deg; --r2: -14deg; --delay: -20s; }
.f-purple { --s: 84px; right: 7%; bottom: 6%;  --dx1: -22vw; --dy1: -12vh; --dx2: -8vw; --dy2: -40vh; --dur: 48s; --r1: -10deg; --r2: 12deg; --delay: -30s; }
.f-green  { --s: 100px; left: 46%; top: 54%;   --dx1: -26vw; --dy1: -22vh; --dx2: 18vw; --dy2: -30vh; --dur: 62s; --r1: 10deg; --r2: -12deg; --delay: -14s; }
@keyframes drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  33% { translate: var(--dx1) var(--dy1); rotate: var(--r1); }
  66% { translate: var(--dx2) var(--dy2); rotate: var(--r2); }
}
.floater.is-near { opacity: .6; }

/* конфетти-пузырьки */
.bits { position: absolute; inset: 0; }
.bit { position: absolute; bottom: -24px; left: var(--x, 50%); width: var(--w, 10px); height: var(--h, 10px); background: var(--c, var(--y)); opacity: 0; border-radius: var(--br, 50%); will-change: transform; animation: bit-rise var(--dur, 30s) linear var(--delay, 0s) infinite; }
.bit.is-star { background: none; }
.bit.is-star svg { width: 100%; height: 100%; fill: var(--c); }
@keyframes bit-rise {
  0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; }
  8% { opacity: var(--o, .4); }
  92% { opacity: var(--o, .4); }
  100% { transform: translate3d(var(--dx, 6vw), -112vh, 0) rotate(var(--rot, 300deg)); opacity: 0; }
}

main, .site-footer { position: relative; z-index: 1; }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 450; max-width: min(92vw, 520px); padding: 12px 22px; border-radius: 999px; background: var(--berry-dd); color: #fff; font-weight: 600; font-size: .98rem; text-align: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translate(-50%, 24px) scale(.96); transition: opacity .35s var(--ease), transform .45s var(--bounce); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast.is-big { background: linear-gradient(90deg, var(--r), var(--p), var(--b)); font-size: 1.05rem; padding: 14px 28px; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--bounce), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: .55em 1.1em; font-size: .93rem; }
.btn-lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-berry { background: var(--berry); color: #fff; box-shadow: 0 10px 24px rgba(200, 35, 95, .32); }
.btn-berry:hover { background: var(--berry-2); color: #fff; box-shadow: 0 14px 30px rgba(200, 35, 95, .4); }
.btn-sun { background: var(--y); color: #3a2a00; box-shadow: 0 10px 24px rgba(245, 195, 14, .4); }
.btn-sun:hover { background: #ffd23a; color: #3a2a00; }
.btn-line { background: rgba(255, 255, 255, .8); color: var(--berry); border-color: var(--berry); }
.btn-line:hover { background: var(--berry); color: #fff; }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-line-light:hover { background: #fff; color: var(--berry-d); }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-head); font-weight: 600; color: var(--berry); text-decoration: none; }
.link-arrow .ico { transition: transform .3s var(--bounce); }
.link-arrow:hover .ico { transform: translateX(6px); }
.link-sm { font-size: .97rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); margin-bottom: .9em; }
.eyebrow::before { content: ""; width: 38px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--y) 0 20%, var(--b) 20% 40%, var(--r) 40% 60%, var(--p) 60% 80%, var(--g) 80% 100%); }
.eyebrow-light { color: #ffd566; }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 12px 0 0; pointer-events: none; }
.header-pill { pointer-events: auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: min(1240px, 100% - 24px); margin-inline: auto; padding: 8px 10px 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 30px rgba(143, 22, 71, .10); transition: box-shadow .3s, background .3s; }
.site-header.is-stuck .header-pill { background: rgba(255, 255, 255, .92); box-shadow: 0 12px 36px rgba(143, 22, 71, .18); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-kids { width: 64px; height: auto; overflow: visible; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; white-space: pre; }
.brand-text strong span { display: inline-block; transition: transform .4s var(--bounce); }
.brand-text .l0 { color: var(--r); } .brand-text .l1 { color: var(--p); } .brand-text .l2 { color: var(--g-d); } .brand-text .l3 { color: var(--b); }
.brand-text .l5 { color: #f0a000; } .brand-text .l6 { color: var(--r); } .brand-text .l7 { color: var(--p); } .brand-text .l8 { color: var(--g-d); }
.brand:hover .brand-text strong span { transform: translateY(-4px) rotate(-5deg); }
.brand:hover .brand-text strong span:nth-child(2n) { transform: translateY(-4px) rotate(5deg); }
.brand-text small { margin-top: 5px; font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.brand:hover .brand-kids .kid { animation: mini-hop .6s var(--ease) both; }
.brand:hover .brand-kids .kid-blue { animation-delay: .07s; } .brand:hover .brand-kids .kid-red { animation-delay: .14s; }
.brand:hover .brand-kids .kid-purple { animation-delay: .21s; } .brand:hover .brand-kids .kid-green { animation-delay: .28s; }
@keyframes mini-hop { 40% { transform: translateY(-14%) scale(1.06); } }

.site-nav ul { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) { position: relative; display: block; white-space: nowrap; padding: 9px 11px; font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; border-radius: 999px; transition: color .2s, background .25s; }
.site-nav a:not(.btn):hover { background: var(--blush); color: var(--berry); }
.site-nav a.is-active { background: var(--berry); color: #fff; }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--pink); }
.lang-switch a { display: block; padding: 6px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .06em; color: var(--berry-d); text-decoration: none; transition: background .25s, color .25s; }
.lang-switch a:hover { color: var(--berry); }
.lang-switch a.is-on { background: var(--berry); color: #fff; box-shadow: 0 4px 10px rgba(200, 35, 95, .3); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--pink); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2.5px; background: var(--berry); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Ребята: общие стили и анимации ---------- */
.kid { transform-box: fill-box; transform-origin: 50% 88%; }
.kid .kb, .kid .kh { transform-box: fill-box; transform-origin: 50% 100%; }
.kid-yellow { fill: var(--y); } .kid-blue { fill: var(--b); } .kid-red { fill: var(--r); } .kid-purple { fill: var(--p); } .kid-green { fill: var(--g); }

/* пасхалка: каждый малыш играет по-своему */
.do-yellow { animation: act-jump 1.15s var(--ease) both; }
.do-blue   { animation: act-spin 1.1s var(--ease) both; }
.do-red    { animation: act-wave 1.3s ease-in-out both; }
.do-purple { animation: act-squish 1.2s var(--ease) both; }
.do-green  { animation: act-wheel 1.3s var(--ease) both; }
@keyframes act-jump { 0% { transform: none; } 14% { transform: scale(1.14, .82); } 40% { transform: translateY(-46%) scale(.9, 1.14); } 62% { transform: translateY(0) scale(1.12, .86); } 76% { transform: translateY(-12%) scale(.98, 1.04); } 100% { transform: none; } }
@keyframes act-spin { 0% { transform: none; } 50% { transform: rotate(200deg) scale(1.18); } 100% { transform: rotate(360deg); } }
@keyframes act-wave { 0%, 100% { transform: none; } 12% { transform: rotate(-16deg); } 30% { transform: rotate(14deg); } 48% { transform: rotate(-12deg); } 66% { transform: rotate(10deg); } 84% { transform: rotate(-5deg); } }
@keyframes act-squish { 0%, 100% { transform: none; } 18% { transform: scale(1.35, .66); } 36% { transform: scale(.78, 1.34) translateY(-8%); } 54% { transform: scale(1.2, .82); } 72% { transform: scale(.92, 1.14); } }
@keyframes act-wheel { 0% { transform: none; } 50% { transform: translateX(40%) rotate(360deg); } 100% { transform: translateX(0) rotate(720deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 4vw, 48px); overflow-x: clip; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 8px 18px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(143, 22, 71, .08); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--berry-d); }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; animation: dot-bounce 2.4s ease-in-out infinite; }
.dots i:nth-child(1) { background: var(--y); } .dots i:nth-child(2) { background: var(--b); animation-delay: .12s; } .dots i:nth-child(3) { background: var(--r); animation-delay: .24s; }
.dots i:nth-child(4) { background: var(--p); animation-delay: .36s; } .dots i:nth-child(5) { background: var(--g); animation-delay: .48s; }
@keyframes dot-bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.hero h1 { margin-bottom: .4em; }
.rainbow-text { display: inline-block; background: linear-gradient(90deg, var(--r), #ff9d00, var(--y-d), var(--g-d), var(--b), var(--p), var(--r)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: rainbow 7s linear infinite; }
@keyframes rainbow { to { background-position: 220% 0; } }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .3s; }
.hero-copy > *:nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; display: grid; justify-items: center; gap: 14px; }
.orb-wrap { position: relative; width: min(500px, 100%); aspect-ratio: 1; display: grid; place-items: center; will-change: transform; }
.orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.orbit-1 { inset: -7%; border: 3px dashed rgba(200, 35, 95, .35); animation: spin 70s linear infinite; }
.orbit-1 i { position: absolute; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255, 255, 255, .8); }
.orbit-1 i:nth-child(1) { background: var(--y); top: 3%; left: 50%; margin-left: -11px; }
.orbit-1 i:nth-child(2) { background: var(--b); top: 28%; right: 1%; }
.orbit-1 i:nth-child(3) { background: var(--r); bottom: 8%; right: 17%; }
.orbit-1 i:nth-child(4) { background: var(--p); bottom: 8%; left: 17%; }
.orbit-1 i:nth-child(5) { background: var(--g); top: 28%; left: 1%; }
.orbit-2 { inset: -14%; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 2px rgba(200, 35, 95, .12); animation: spin 110s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-disc { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px #fff, 0 0 0 13px var(--berry), var(--shadow-lg); display: grid; place-items: center; animation: float 8s ease-in-out infinite; }
.hero-disc.has-photo { overflow: hidden; background: var(--pink); }
.disc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-kids { width: 92%; height: auto; overflow: visible; margin-top: -4%; filter: drop-shadow(0 12px 18px rgba(143, 22, 71, .16)); }
.hero-kids .kid { cursor: pointer; animation: breathe 4.2s ease-in-out infinite; }
.hero-kids .kid-blue { animation-delay: -.8s; } .hero-kids .kid-red { animation-delay: -1.6s; } .hero-kids .kid-purple { animation-delay: -2.4s; } .hero-kids .kid-green { animation-delay: -3.2s; }
.hero-kids .kid:hover .kh { transform: rotate(-9deg) translateY(-3%); transition: transform .3s var(--bounce); }
.hero-kids .kid:hover { filter: brightness(1.08) saturate(1.1); }
.hero-kids .kid:focus-visible { outline: none; filter: drop-shadow(0 0 6px var(--berry)); }
.hero-kids .kid[class*="do-"] { animation: none; }
.hero-kids .kid.do-yellow { animation: act-jump 1.15s var(--ease) both; }
.hero-kids .kid.do-blue { animation: act-spin 1.1s var(--ease) both; }
.hero-kids .kid.do-red { animation: act-wave 1.3s ease-in-out both; }
.hero-kids .kid.do-purple { animation: act-squish 1.2s var(--ease) both; }
.hero-kids .kid.do-green { animation: act-wheel 1.3s var(--ease) both; }
@keyframes breathe { 0%, 100% { transform: none; } 50% { transform: translateY(-2.5%) scale(1.015); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.disc-stickers { position: absolute; left: -4%; bottom: -2%; width: 54%; z-index: 2; transform: rotate(-4deg); }
.hero-kids-sm { width: 100%; margin: 0; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 10px 14px rgba(0, 0, 0, .2)); }
.egg-hint { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px dashed #efb6cb; font-family: var(--font-head); font-weight: 500; font-size: .86rem; color: var(--berry); animation: hint-bob 3.4s ease-in-out infinite; }
.egg-hint .spark { width: 14px; height: 14px; fill: var(--y); stroke: none; animation: twinkle 2s ease-in-out infinite; }
.egg-hint.is-done { border-style: solid; background: var(--berry); color: #fff; }
@keyframes hint-bob { 50% { transform: translateY(-4px); } }
@keyframes twinkle { 50% { transform: scale(.5) rotate(45deg); opacity: .5; } }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.head-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px 48px; align-items: end; margin-bottom: clamp(30px, 5vw, 52px); }
.head-split h2, .head-split .lead { margin-bottom: 0; }
.head-center { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 5vw, 52px); }
.h2-sm { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* цветные «волнистые» блоки: сверху и снизу — волна того же цвета (рисуется SVG прямо в CSS) */
.section-blush, .section-sun, .panel-berry { margin-block: clamp(44px, 6vw, 80px); }
.section-blush::before, .section-blush::after, .section-sun::before, .section-sun::after, .panel-berry::before, .panel-berry::after {
  content: ""; position: absolute; left: 0; right: 0; height: 56px; background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none;
}
.section-blush::before, .section-sun::before, .panel-berry::before { top: -55px; }
.section-blush::after, .section-sun::after, .panel-berry::after { bottom: -55px; transform: scaleY(-1); }
.section-blush { background: var(--pink); }
.section-sun { background: #fff0b8; }
.panel-berry { background: linear-gradient(180deg, #cf2a67, #7d1240); color: #ffe3ee; }
.section-blush::before, .section-blush::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%23ffe1ec' d='M0 56V30C140 4 260 2 400 22s300 34 460 12 360-36 580-8v28Z'/%3E%3C/svg%3E"); }
.section-sun::before, .section-sun::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%23fff0b8' d='M0 56V24C180 52 300 46 480 22S820 0 1020 24s300 24 420 4v28Z'/%3E%3C/svg%3E"); }
.panel-berry::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%23cf2a67' d='M0 56V28C160 2 300 6 460 26s320 30 500 8 340-30 480-6v28Z'/%3E%3C/svg%3E"); }
.panel-berry::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%237d1240' d='M0 56V28C160 2 300 6 460 26s320 30 500 8 340-30 480-6v28Z'/%3E%3C/svg%3E"); }
.panel-berry h2, .panel-berry h3, .panel-social h2 { color: #fff; }
.panel-berry .lead, .panel-social .lead { color: rgba(255, 255, 255, .85); }
.panel > .container { position: relative; }

/* плашка соцсетей — закруглённая, с «горошком» */
.panel-social { margin-inline: clamp(8px, 2vw, 28px); border-radius: clamp(32px, 5vw, 64px); overflow: hidden; background: linear-gradient(120deg, #6a1fd0, #2e4cd2 55%, #1d8fd6); color: #e8ecff; }
.panel-social::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.6px, transparent 2px); background-size: 34px 34px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }

/* О саде */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about-copy .lead { color: var(--ink); }
.about-copy p { color: var(--muted); }
.collage { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 200px 200px; gap: 16px; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--c-bg, var(--pink)); box-shadow: var(--shadow); transition: transform .5s var(--bounce); }
.tile:hover { transform: translateY(-8px) rotate(-1deg); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile-1 { grid-row: span 2; border-radius: 50% 50% 28px 28px / 36% 36% 28px 28px; --c-bg: var(--b-l); }
.tile-2 { border-radius: 28px 28px 28px 110px; --c-bg: var(--y-l); }
.tile-3 { border-radius: 110px 28px 28px 28px; --c-bg: var(--g-l); }
.tile-kid { position: absolute; left: 50%; top: 46%; width: 64%; height: auto; transform: translate(-50%, -50%); overflow: visible; transition: transform .6s var(--bounce); }
.tile:hover .tile-kid { transform: translate(-50%, -56%) rotate(-5deg) scale(1.06); }
.tile figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 18px; background: rgba(255, 255, 255, .94); font-weight: 600; font-size: .88rem; color: var(--berry-d); backdrop-filter: blur(6px); }
.tile figcaption span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--berry); color: #fff; font-size: .75rem; }

/* Группы */
.groups-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.group-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--bounce), box-shadow .4s; }
.group-card:hover { transform: translateY(-10px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.group-card:nth-child(2n):hover { transform: translateY(-10px) rotate(.6deg); }
.group-top { position: relative; display: grid; place-items: center; min-height: 230px; overflow: hidden; background: var(--gc, var(--berry)); }
.group-top::before, .group-top::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.group-top::before { width: 220px; height: 220px; right: -70px; top: -90px; }
.group-top::after { width: 140px; height: 140px; left: -50px; bottom: -60px; }
.g-yellow { --gc: linear-gradient(150deg, #ffd43b, #f5a800); } .g-blue { --gc: linear-gradient(150deg, #5b78ff, #2e4cd2); } .g-red { --gc: linear-gradient(150deg, #ff6a45, #e02d10); }
.g-purple { --gc: linear-gradient(150deg, #b84cf0, #8010c4); } .g-green { --gc: linear-gradient(150deg, #7ee05a, #3fae1e); }
.g-rainbow { --gc: linear-gradient(120deg, #ff5a3c 0%, #ffb300 22%, #5fd038 46%, #2e8bd2 70%, #8a1fd0 100%); }
.group-kid { position: relative; width: 150px; height: auto; overflow: visible; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18)); transition: transform .6s var(--bounce); }
.group-kid .kid { fill: #fff; }
.group-card:hover .group-kid { transform: rotate(-8deg) scale(1.1); }
.group-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.age-pill { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: #fff; color: var(--berry-dd); font-family: var(--font-head); font-weight: 700; font-size: .95rem; box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
.age-pill .ico { color: var(--berry); }
.group-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.group-body h3 { font-size: 1.8rem; margin-bottom: .3em; }
.group-body p { color: var(--muted); }
.group-body .link-arrow { margin-top: auto; padding-top: 4px; }

/* Руководитель */
.director-card { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(22px, 4vw, 48px); border-radius: 48px; background: linear-gradient(135deg, #fff, #ffeaf2); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.director-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 195, 14, .35), transparent 70%); }
.director-photo { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--p-l), #d9c2ff); box-shadow: 0 0 0 8px #fff, 0 0 0 11px var(--berry), 0 24px 50px rgba(143, 22, 71, .25); }
.director-photo img { width: 100%; height: 100%; object-fit: cover; }
.director-photo.is-empty { display: grid; place-items: center; }
.director-kid { position: absolute; width: 72%; left: 14%; top: 20%; height: auto; opacity: .92; overflow: visible; filter: drop-shadow(0 10px 16px rgba(116, 16, 174, .3)); }
.director-kid .kid { fill: #fff; }
.director-copy { position: relative; }
.director-copy h2 { margin-bottom: .2em; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.director-copy .eyebrow-light { color: var(--berry); }
.director-role { font-family: var(--font-head); font-weight: 700; color: var(--berry); font-size: 1.05rem; }
.director-copy p { color: var(--muted); }
.director-copy .btn { margin-top: 10px; }

/* Кружки */
.extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.extra-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--bounce), box-shadow .4s; }
.extra-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.extra-media { position: relative; height: 180px; display: grid; place-items: center; overflow: hidden; background: var(--xc, var(--y-l)); }
.x-yellow { --xc: linear-gradient(150deg, var(--y-l), #ffe27a); --xi: #8a6500; }
.x-blue { --xc: linear-gradient(150deg, var(--b-l), #b9c6ff); --xi: var(--b-d); }
.x-red { --xc: linear-gradient(150deg, var(--r-l), #ffb9a8); --xi: var(--r-d); }
.x-purple { --xc: linear-gradient(150deg, var(--p-l), #dbb4ff); --xi: var(--p-d); }
.x-green { --xc: linear-gradient(150deg, var(--g-l), #b0eb94); --xi: #2c7a14; }
.extra-media::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; right: -60px; top: -80px; background: rgba(255, 255, 255, .4); }
.extra-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.extra-card:hover .extra-media img { transform: scale(1.07); }
.extra-badge { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; color: var(--xi, var(--berry)); box-shadow: 0 12px 26px rgba(143, 22, 71, .18); transition: transform .5s var(--bounce); }
.extra-card:hover .extra-badge { transform: rotate(-8deg) scale(1.1); }
.extra-ico { width: 54px; height: 54px; }
.extra-media.has-photo .extra-badge { position: absolute; left: 14px; bottom: 14px; width: 58px; height: 58px; }
.extra-media.has-photo .extra-ico { width: 32px; height: 32px; }
.extra-body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.extra-body h3 { margin-bottom: .35em; }
.extra-body p { color: var(--muted); font-size: .98rem; }
.extra-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.extra-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--berry-d); background: var(--pink); }
.extra-meta .meta-price { background: var(--y-l); color: #6a4d00; }
.extra-body .link-arrow { margin-top: auto; }

/* Галерея */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { padding: 8px 20px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .93rem; transition: background .25s, color .25s, border-color .25s, transform .3s var(--bounce); }
.chip:hover { transform: translateY(-3px); border-color: var(--y); }
.chip.is-on { background: var(--y); border-color: var(--y); color: #3a2a00; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.m-item { position: relative; margin: 0; overflow: hidden; border-radius: 26px; background: rgba(255, 255, 255, .12); }
.m-item.m-big { grid-column: span 2; grid-row: span 2; }
.m-item:nth-child(3n+2) { border-radius: 26px 26px 26px 80px; }
.m-item:nth-child(3n) { border-radius: 80px 26px 26px 26px; }
.m-item[hidden] { display: none; }
.m-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.m-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.m-item:hover .m-btn img { transform: scale(1.1) rotate(.6deg); }
.m-item figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 7px 14px; border-radius: 16px; background: rgba(79, 10, 40, .78); backdrop-filter: blur(6px); color: #fff; font-size: .85rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.m-item:hover figcaption, .m-btn:focus-visible + figcaption { opacity: 1; transform: none; }
.mosaic-empty .m-item { display: grid; place-items: center; animation: pulse-soft 3.6s ease-in-out infinite; }
.mosaic-empty .m-item:nth-child(even) { animation-delay: -1.8s; }
.mosaic-empty .m-item.m-big { grid-column: span 2; grid-row: span 2; }
.mosaic-kid { width: 42%; height: auto; overflow: visible; opacity: .9; }
.mosaic-empty .m-big .mosaic-kid { width: 34%; }
@keyframes pulse-soft { 50% { background: rgba(255, 255, 255, .22); } }
.more-wrap { text-align: center; margin: 30px 0 0; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: rgba(50, 6, 26, .94); animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { margin-top: 14px; color: #ffe3ee; font-weight: 500; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; transition: background .2s, transform .3s var(--bounce); }
.lb-close:hover, .lb-nav:hover { background: var(--y); color: #3a2a00; transform: scale(1.1); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
@keyframes fade { from { opacity: 0; } }

/* Новости */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.news-card { overflow: hidden; transition: transform .45s var(--bounce), box-shadow .4s; }
.news-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.news-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.news-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pink); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-img-empty { display: grid; place-items: center; }
.news-card:nth-child(5n+1) .news-img-empty { background: var(--y-l); } .news-card:nth-child(5n+2) .news-img-empty { background: var(--b-l); }
.news-card:nth-child(5n+3) .news-img-empty { background: var(--r-l); } .news-card:nth-child(5n+4) .news-img-empty { background: var(--p-l); } .news-card:nth-child(5n+5) .news-img-empty { background: var(--g-l); }
.news-kid { width: 30%; height: auto; overflow: visible; transition: transform .6s var(--bounce); }
.news-card:hover .news-kid { transform: rotate(-8deg) scale(1.12); }
.news-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 26px 26px; }
.news-body time { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--berry); }
.news-title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--berry-dd); }
.news-excerpt { color: var(--muted); font-size: .96rem; }
.news-body .link-arrow { margin-top: auto; padding-top: 6px; }

.news-dialog { width: min(720px, calc(100% - 28px)); max-height: 90vh; padding: 0; border: 0; border-radius: 36px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .4); overflow: auto; }
.news-dialog::backdrop { background: rgba(50, 6, 26, .7); backdrop-filter: blur(5px); }
.news-dialog[open] { animation: pop .4s var(--bounce); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.95); } }
.nd-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--berry); box-shadow: var(--shadow); }
.nd-img { width: 100%; max-height: 380px; object-fit: cover; }
.nd-body { padding: 28px clamp(22px, 5vw, 40px) 36px; }
.nd-body time { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; color: var(--berry); }
.nd-body h3 { font-size: 1.7rem; margin: .3em 0 .6em; }
.nd-body #ndText { color: var(--ink); overflow-wrap: anywhere; }

/* Вакансии */
.jobs { display: grid; gap: 14px; max-width: 860px; }
.job { border-radius: 26px; background: var(--paper); border: 1px solid rgba(200, 160, 0, .25); box-shadow: var(--shadow); overflow: hidden; }
.job summary { display: flex; align-items: center; gap: 16px; padding: 20px 26px; cursor: pointer; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job-title { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--berry-dd); }
.job summary time { font-size: .85rem; font-weight: 600; color: var(--muted); }
.job-plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--y); transition: transform .4s var(--bounce); }
.job-plus::before, .job-plus::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2.5px; border-radius: 2px; background: #3a2a00; transition: transform .3s var(--ease); }
.job-plus::after { transform: rotate(90deg); }
.job[open] .job-plus { transform: rotate(180deg); }
.job[open] .job-plus::after { transform: rotate(0); }
.job-body { padding: 0 26px 26px; color: var(--muted); animation: fade .4s; }

/* Документы */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.docs-col { padding: 28px; }
.docs-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; padding-bottom: 14px; border-bottom: 3px dotted #f3b6cd; }
.docs-col h3 .ico { width: 1.4em; height: 1.4em; color: var(--berry); }
.doc-list { display: grid; gap: 10px; margin-top: 4px; }
.doc-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 18px; background: var(--blush); transition: background .25s, transform .3s var(--bounce); }
.doc-list li:hover { background: var(--pink); transform: translateX(6px); }
.doc-list a { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--berry-dd); text-decoration: none; }
.doc-list a .ico { margin-top: 3px; color: var(--berry); }
.doc-list small { padding-left: 33px; color: var(--muted); font-weight: 500; }
.docs-col .note { margin-top: 16px; }

/* Соцсети */
.social { padding-block: clamp(48px, 7vw, 84px); }
.social-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px 48px; align-items: center; }
.social-grid .lead { margin-bottom: 0; }
.social-grid .lead strong { color: #fff; }
.social-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* Контакты */
/* Контакты: паспорт сада (единственное место со всеми данными), карта, форма */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.passport { position: relative; margin: 28px 0 24px; padding: clamp(22px, 3vw, 32px); border-radius: 32px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.passport::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--y) 0 20%, var(--b) 20% 40%, var(--r) 40% 60%, var(--p) 60% 80%, var(--g) 80% 100%); }
.passport h3 { margin: 6px 0 18px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fact { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--blush); border: 1px solid transparent; transition: transform .35s var(--bounce), border-color .3s, background .3s; }
.fact-wide { grid-column: 1 / -1; }
.fact:hover { transform: translateY(-3px); border-color: #f3b6cd; background: #fff; }
.fact > div { display: flex; flex-direction: column; min-width: 0; }
.label { font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.fact strong, .fact a { font-size: 1.02rem; font-weight: 600; color: var(--berry-dd); overflow-wrap: anywhere; text-decoration: none; }
.fact a:hover { color: var(--berry); text-decoration: underline; }
.fact .addr-map { font-size: .9rem; font-weight: 600; color: var(--berry); }
.bubble { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 16px; }
.bubble .ico { width: 21px; height: 21px; }
.b-red { background: var(--r-l); color: var(--r-d); } .b-yellow { background: var(--y-l); color: #8a6500; } .b-blue { background: var(--b-l); color: var(--b-d); }
.b-purple { background: var(--p-l); color: var(--p-d); } .b-green { background: var(--g-l); color: #2c7a14; }
.map-frame { overflow: hidden; border-radius: 30px; border: 5px solid #fff; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--pink); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; padding: clamp(24px, 4vw, 40px); border-radius: 36px; box-shadow: var(--shadow-lg); overflow: hidden; }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--y) 0 20%, var(--b) 20% 40%, var(--r) 40% 60%, var(--p) 60% 80%, var(--g) 80% 100%); }
.form h3 { margin-bottom: .2em; font-size: 1.6rem; }
.form-lead { color: var(--muted); margin-bottom: 14px; }
.form label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin: 12px 0 6px; color: var(--berry-d); }
.form input:not([type="checkbox"]), .form textarea { width: 100%; padding: 14px 18px; border: 2px solid #f0cbd9; border-radius: 18px; background: #fffdfe; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 5px rgba(200, 35, 95, .14); }
.form input.is-bad { border-color: var(--r); }
.check-line { display: flex !important; align-items: flex-start; gap: 10px; font-family: var(--font-body) !important; font-weight: 500 !important; color: var(--muted) !important; font-size: .9rem !important; margin: 16px 0 18px !important; }
.check-line input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--berry); flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; text-align: center; }
.form-note.ok { color: var(--g-d); }
.form-note.err { color: var(--r-d); }
.form .btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Подвал ---------- */
.site-footer { position: relative; margin-top: clamp(60px, 8vw, 110px); padding-top: 110px; background: linear-gradient(180deg, #8f1647, #4f0a28); color: #ffd3e3; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 70px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%23fff9fb' d='M0 0h1440v22c-120 34-260 40-400 20S760 10 560 30 160 62 0 34Z'/%3E%3C/svg%3E"); background-size: 100% 100%; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 44px; padding-bottom: 40px; }
.wordmark { padding: 18px 22px 16px; border-radius: 32px; background: #fff; max-width: 420px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.wordmark img, .wordmark svg { width: 100%; height: auto; display: block; overflow: visible; }
.wordmark .lt { transform-box: fill-box; transform-origin: 50% 100%; cursor: pointer; transition: transform .3s var(--bounce); }
.wordmark .lt:hover { transform: translateY(-8%) rotate(-4deg) scale(1.06); }
.wordmark .lt.is-hop { animation: letter-hop .8s var(--ease); }
.wordmark.is-party .lt { animation: letter-hop 1.2s var(--ease) infinite; }
.wordmark.is-party .lt-1 { animation-delay: .08s; } .wordmark.is-party .lt-2 { animation-delay: .16s; } .wordmark.is-party .lt-3 { animation-delay: .24s; }
.wordmark.is-party .lt-4 { animation-delay: .32s; } .wordmark.is-party .lt-5 { animation-delay: .4s; } .wordmark.is-party .lt-6 { animation-delay: .48s; } .wordmark.is-party .lt-7 { animation-delay: .56s; }
@keyframes letter-hop { 0%, 60%, 100% { transform: none; } 20% { transform: translateY(-14%) rotate(-6deg) scale(1.06); } 40% { transform: translateY(0) rotate(3deg); } }
.footer-note { margin: 16px 4px 0; max-width: 24em; color: #ffc2d8; font-size: .96rem; }
.site-footer h3 { color: #ffd566; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-head); font-weight: 700; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: #ffe9f1; text-decoration: none; }
.site-footer a:hover { color: #ffd566; text-decoration: underline; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .92rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; }
.egg-progress { display: inline-flex; gap: 6px; align-items: center; opacity: .7; }
.egg-progress i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: background .4s, transform .5s var(--bounce); }
.egg-progress i.is-found[data-dot="yellow"] { background: var(--y); } .egg-progress i.is-found[data-dot="blue"] { background: #6c86ff; } .egg-progress i.is-found[data-dot="red"] { background: #ff6a45; }
.egg-progress i.is-found[data-dot="purple"] { background: #c06cf5; } .egg-progress i.is-found[data-dot="green"] { background: #7ee05a; }
.egg-progress i.is-found { transform: scale(1.35); }

.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 12px 30px rgba(31, 168, 85, .45); transition: transform .35s var(--bounce); }
.fab-wa .ico { width: 30px; height: 30px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fa855; animation: ping 2.6s ease-out infinite; }
.fab-wa:hover { transform: scale(1.12) rotate(-8deg); color: #fff; }
.fab-call { background: var(--berry); box-shadow: 0 12px 30px rgba(200, 35, 95, .45); }
.fab-call::before { border-color: var(--berry); }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .8s var(--ease), transform .9s var(--bounce); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 14px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.98); transition: opacity .25s, transform .35s var(--bounce), visibility .25s; max-height: calc(100vh - var(--header-h) - 24px); overflow: auto; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { padding: 13px 18px; font-size: 1.05rem; border-radius: 18px; }
  .nav-cta { display: block; margin-top: 8px; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .head-split, .social-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .orb-wrap { width: min(380px, 84%); }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .director-card { grid-template-columns: 1fr; text-align: center; border-radius: 40px; }
  .director-photo { width: min(280px, 78%); margin-inline: auto; }
  .social-buttons { justify-content: flex-start; }
  .form { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .floater { --s: 70px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-call span { display: none; }
  .header-call { padding: .6em .75em; }
  .brand-kids { width: 52px; }
  .brand-text strong { font-size: 1.3rem; }
  .facts { grid-template-columns: 1fr; }
  .collage { grid-template-rows: 150px 150px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .job summary { flex-wrap: wrap; gap: 6px 12px; padding: 16px 18px; }
  .job-title { flex-basis: calc(100% - 50px); }
  .job summary time { order: 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lb-nav { top: auto; bottom: 20px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .fab-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .floater { --s: 56px; }
  .toast { bottom: 84px; }
}

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