/* =========================================================================
   «Шырағымай» бөбекжай бақшасы — стили сайта
   Палитра с логотипа: малиново-красная надпись, золотой месяц, голубой, зелёный и фиолетовый
   из радужной ленты и героев. Тёмный цвет — вечернее небо (индиго).
   Шрифты: Rubik (заголовки), Onest (текст).
   ========================================================================= */

:root {
  --night-900: #120f3a;
  --night-800: #1a1650;
  --night: #261f6b;
  --indigo: #3a30a0;
  --rose: #e8224f;
  --rose-d: #c4153f;
  --blush: #fff0f3;
  --blush-2: #ffdfe7;

  --red: #e8224f;
  --sun: #f7b81a;
  --sun-d: #d99a00;
  --sky: #2b7fe0;
  --leaf: #3fb04a;
  --grape: #a247c4;

  --paper: #fffaf6;
  --white: #ffffff;
  --ink: #231d45;
  --muted: #655e82;
  --line: rgba(38, 31, 107, .12);

  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 18px 40px -22px rgba(26, 22, 80, .38);
  --shadow-lg: 0 30px 70px -30px rgba(26, 22, 80, .5);
  --font-head: "Rubik", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bar-h: 76px;
  --ease: cubic-bezier(.22, .9, .3, 1.15);
}

/* цвета героев: --c основной, --c-soft фон, --c-ink текст на цвете */
.c-red, .f-red, .g-red, .a-red, .d-red { --c: var(--red); --c-soft: #ffe3ea; --c-ink: #fff; }
.c-yellow, .f-yellow, .g-yellow, .a-yellow, .d-yellow { --c: var(--sun); --c-soft: #fff2c9; --c-ink: #3b2a00; }
.c-blue, .f-blue, .g-blue, .a-blue, .d-blue { --c: var(--sky); --c-soft: #dcebfc; --c-ink: #fff; }
.c-green, .f-green, .g-green, .a-green, .d-green { --c: var(--leaf); --c-soft: #e0f4df; --c-ink: #fff; }
.c-purple, .f-purple, .g-purple, .a-purple, .d-purple { --c: var(--grape); --c-soft: #f0e1f8; --c-ink: #fff; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--paper); overflow-x: hidden; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--rose); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--night); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .45em; color: var(--night-800); letter-spacing: -.01em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--night); color: #fff; }
.skip-link:focus { top: 12px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78em 1.45em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-lg { padding: .95em 1.8em; font-size: 1.06rem; }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-icon { padding-inline: 1em; }
.btn-main { background: var(--rose); color: #fff; box-shadow: 0 12px 26px -12px rgba(232, 34, 79, .75); }
.btn-main:hover { background: var(--rose-d); color: #fff; }
.btn-sun { background: var(--sun); color: #3b2a00; box-shadow: 0 10px 22px -12px rgba(226, 184, 0, .9); }
.btn-sun:hover { background: #ffe34a; color: #3b2a00; }
.btn-line { border-color: rgba(38, 31, 107, .25); color: var(--night); background: rgba(255, 255, 255, .7); }
.btn-line:hover { border-color: var(--night); color: var(--night); background: #fff; }
.btn-white { background: #fff; color: var(--night); }
.btn-white:hover { color: var(--rose); }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-glass:hover { background: rgba(255, 255, 255, .28); color: #fff; }

.link-go { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-head); font-weight: 600; color: var(--rose); text-decoration: none; }
.link-go .ico { transition: transform .25s var(--ease); }
.link-go:hover .ico { transform: translateX(4px); }
.link-sm { font-size: .95rem; }

/* ---------- Живой фон ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(circle, rgba(247, 184, 26, .9) 1.3px, transparent 2.2px),
    radial-gradient(circle, rgba(232, 34, 79, .55) 1.1px, transparent 2px),
    radial-gradient(circle, rgba(43, 127, 224, .55) 1.2px, transparent 2.1px);
  background-size: 270px 270px, 410px 410px, 330px 330px;
  background-position: 30px 50px, 190px 210px, 110px 130px;
}
.sky-moon {
  position: absolute; width: 560px; height: 560px; right: -150px; top: -170px; border-radius: 50%; opacity: .15;
  box-shadow: inset 90px -40px 0 -10px #f7b81a; transform: rotate(18deg);
}
.sky-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .4; }
.sg1 { width: 520px; height: 520px; left: -200px; top: 40vh; background: #ffd0dc; }
.sg2 { width: 420px; height: 420px; right: -120px; top: 120vh; background: #fff0b0; }
.sg3 { width: 380px; height: 380px; left: 30%; top: 220vh; background: #d4e6fb; }
.bub { position: absolute; bottom: -90px; width: var(--s); height: var(--s); left: var(--x); opacity: var(--o, .2); }
.bub svg { width: 100%; height: 100%; display: block; }
.js .sky::before { animation: twinkle 6s ease-in-out infinite alternate; }
.js .sky-moon { animation: moon-rock 14s ease-in-out infinite alternate; }
.js .sky-glow { animation: drift 26s ease-in-out infinite alternate; }
.js .sg2 { animation-duration: 32s; }
.js .sg3 { animation-duration: 38s; }
.js .bub { animation: rise var(--dur) linear var(--delay) infinite, sway var(--sw) ease-in-out var(--delay) infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { from { opacity: .22; } to { opacity: .6; } }
@keyframes moon-rock { from { transform: rotate(10deg); } to { transform: rotate(28deg); } }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.1); } }
@keyframes rise { from { translate: 0 0; } to { translate: 0 calc(-100vh - 180px); } }
@keyframes sway { from { margin-left: -18px; } to { margin-left: 18px; } }

/* ---------- Шапка ---------- */
.bar { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.bar.is-stuck { background: rgba(255, 251, 245, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(26, 22, 80, .4); }
.bar-in { width: min(1320px, 100% - 32px); margin-inline: auto; height: var(--bar-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night-800); flex: none; }
.brand-mark { width: 48px; height: 48px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-72deg); }
.brand-text strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: -.01em; }
.brand-text small { display: block; margin-top: 3px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a { position: relative; display: block; padding: 8px 11px; border-radius: 999px; font-weight: 550; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover { background: var(--blush); color: var(--night); }
.nav a.is-active { color: var(--night); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--red); }

.bar-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.topstrip { position: relative; z-index: 51; background: var(--night-900); color: #d3cef0; font-size: .86rem; }
.topstrip-in { width: min(1320px, 100% - 32px); margin-inline: auto; min-height: 44px; display: flex; align-items: center; gap: 22px; }
.topstrip-info { display: inline-flex; align-items: center; gap: 8px; color: #d3cef0; text-decoration: none; white-space: nowrap; }
.topstrip-info .ico { color: var(--sun); }
a.topstrip-info:hover { color: #fff; }
.seg-lang { margin-left: auto; }
.topstrip .seg { background: rgba(255, 255, 255, .08); }
.topstrip .seg a { color: #c9c3ec; }
.topstrip .seg a:hover { color: #fff; }
.topstrip .seg a.is-on { background: #fff; color: var(--night); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(38, 31, 107, .07); }
.seg a { padding: 6px 11px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.seg a:hover { color: var(--night); }
.seg a.is-on { background: #fff; color: var(--night); box-shadow: 0 2px 8px -2px rgba(26, 22, 80, .25); }
.bar-call .ico { width: 1em; height: 1em; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--night); cursor: pointer; padding: 0; place-items: center; align-content: center; gap: 4px; }
.burger span { display: block; width: 20px; height: 2px; margin: 0 auto; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Главный экран ---------- */
.hero { position: relative; overflow-x: clip; padding: clamp(16px, 3vw, 40px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 56px); min-height: min(720px, calc(100vh - var(--bar-h) - 120px)); }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: .92rem; color: var(--night); }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.js .dots i { animation: hop 2.4s var(--ease) infinite; }
.dots i:nth-child(2) { animation-delay: .12s; } .dots i:nth-child(3) { animation-delay: .24s; }
.dots i:nth-child(4) { animation-delay: .36s; } .dots i:nth-child(5) { animation-delay: .48s; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin-bottom: .35em; }
.hl-word { position: relative; display: inline-block; color: var(--rose); white-space: nowrap; }
.hl-word::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .2em; z-index: -1; border-radius: 99px;
  background: linear-gradient(90deg, var(--sun), #f2841d, var(--red), var(--grape), var(--sky), var(--leaf));
}
.js .hl-word::after { transform-origin: left; animation: underline 1.1s .4s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; }
.hero-place { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 10px 18px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, .78); border: 1px dashed rgba(38, 31, 107, .25); }
.hb-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 14px; background: var(--blush); color: var(--rose); }
.hero-place strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.25; }
.hero-place small { color: var(--muted); font-size: .86rem; }

.hero-stage { position: relative; aspect-ratio: 700 / 684; width: 100%; max-width: 620px; justify-self: center; }
.mark { position: relative; width: 100%; height: 100%; overflow: visible; }
.mk-ring { transform-box: view-box; transform-origin: 320px 320px; }
.js .mk-ring { animation: spin 70s linear infinite; }
.hero-stage:hover .mk-ring { animation-play-state: paused; }
.js .mk-aura { animation: aura 5s ease-in-out infinite alternate; transform-box: view-box; transform-origin: 320px 320px; }
@keyframes aura { from { transform: scale(.97); opacity: .8; } to { transform: scale(1.04); opacity: 1; } }
.mk-badge { cursor: pointer; transform-box: view-box; transform-origin: 320px 320px; transition: transform .5s var(--ease); }
.mk-badge:hover { transform: scale(1.015); }
.mk-badge:focus-visible, .it:focus-visible { outline: none; }
.mk-badge.is-shine { animation: badge-pop .9s var(--ease); }
@keyframes badge-pop { 30% { transform: scale(1.04) rotate(-1.5deg); } 60% { transform: scale(.995) rotate(1deg); } }

.it { cursor: pointer; }
.it-in { transform-box: fill-box; transform-origin: 50% 100%; transition: translate .35s var(--ease), filter .3s; }
.it:hover .it-in, .it:focus-visible .it-in { translate: 0 -10px; filter: drop-shadow(0 10px 10px rgba(26, 22, 80, .28)); }
.it.is-hop .it-in { animation: jump .75s var(--ease) both; }
@keyframes jump { 0% { translate: 0 0; scale: 1; } 35% { translate: 0 -46px; scale: 1.08; } 70% { translate: 0 4px; scale: .97; } 100% { translate: 0 0; scale: 1; } }
.it-hand { transform-box: fill-box; transform-origin: 10% 100%; }
.it-purple .it-hand { transform-origin: 90% 100%; }
.js .it-hand { animation: wave 1.6s ease-in-out infinite alternate; }
.js .it-purple .it-hand { animation-direction: alternate-reverse; animation-delay: -.5s; }
@keyframes wave { from { rotate: -12deg; } to { rotate: 14deg; } }
.js .it-yellow .it-in { transform-origin: 50% 12%; animation: rock 5s ease-in-out infinite alternate; }
@keyframes rock { from { rotate: -9deg; } to { rotate: 9deg; } }
.js .it-red .it-in { transform-origin: 50% 55%; animation: beat 1.9s ease-in-out infinite; }
@keyframes beat { 0%, 100% { scale: 1; } 12% { scale: 1.13; } 24% { scale: 1.02; } 36% { scale: 1.09; } 52% { scale: 1; } }
.js .it-green .it-in { animation: sway-leaf 4.2s ease-in-out infinite alternate; }
@keyframes sway-leaf { from { rotate: -6deg; } to { rotate: 6deg; } }
.js .it-blue .it-in { animation: bob 3.2s var(--ease) infinite; }
.js .it-purple .it-in { animation: bob 3.2s var(--ease) -1.6s infinite; }
@keyframes bob { 0%, 70%, 100% { translate: 0 0; } 82% { translate: 0 -12px; } }
.it:hover .it-in, .it:focus-visible .it-in { animation-play-state: paused; }

.sp-in { transform-box: fill-box; transform-origin: 50% 50%; }
.js .sp-in { animation: tw 2.8s ease-in-out infinite; }
.sp1 .sp-in { animation-delay: -.5s; } .sp2 .sp-in { animation-delay: -1s; } .sp3 .sp-in { animation-delay: -1.5s; } .sp4 .sp-in { animation-delay: -2s; } .sp5 .sp-in { animation-delay: -2.4s; }
@keyframes tw { 0%, 100% { scale: .35; rotate: 0deg; opacity: .5; } 50% { scale: 1.15; rotate: 45deg; opacity: 1; } }
.say {
  position: absolute; left: 50%; top: 2%; z-index: 3; max-width: 90%; padding: 10px 18px; border-radius: 18px; background: var(--say-c, var(--night)); color: var(--say-ink, #fff);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-align: center; pointer-events: none;
  opacity: 0; transform: translate(-50%, 10px) scale(.8); transition: opacity .25s, transform .35s var(--ease);
  box-shadow: var(--shadow);
}
.say::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; background: inherit; transform: rotate(45deg); border-radius: 3px; }
.say.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.stage-hint { position: absolute; left: 0; right: 0; bottom: -10px; margin: 0; text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); opacity: .8; }

.glance {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(30px, 4vw, 50px);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden;
}
.glance-item { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 22px 24px; }
.glance-item + .glance-item { border-left: 1px solid var(--line); }
.glance-item::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: var(--c); }
.glance-ico { grid-row: span 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--c-soft); color: var(--c); }
.g-yellow .glance-ico { color: var(--sun-d); }
.glance-ico .ico { width: 24px; height: 24px; }
.glance-item strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.05; color: var(--night-800); }
.glance-item span:last-child { font-size: .9rem; color: var(--muted); }
.glance-item.is-long strong { font-size: clamp(1.1rem, 1.7vw, 1.4rem); white-space: nowrap; }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-tint { background: linear-gradient(180deg, rgba(255, 240, 243, 0), var(--blush) 12%, var(--blush) 88%, rgba(255, 240, 243, 0)); }
.sec-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.sec-head-left { margin-left: 0; text-align: left; }
.sec-head-split { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 48px; max-width: none; text-align: left; }
.sec-head-split .lead { margin: 0 0 .5em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.sec-num { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--night); color: #fff; font-size: .78rem; letter-spacing: 0; }
.lead { font-size: 1.1rem; color: var(--muted); }
.note { padding: 18px 22px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .7); border: 1.5px dashed rgba(38, 31, 107, .2); color: var(--muted); text-align: center; }
.note-left { text-align: left; }
.note-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #e5e0fa; }
.fine { margin: 18px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- 1. О саде ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-copy .lead { color: var(--ink); font-size: 1.15rem; }
.about-copy p:not(.lead):not(.eyebrow) { color: var(--muted); }
.trio { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.05; }
.trio-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.trio-1 { grid-row: span 2; border-radius: 120px 120px var(--radius) var(--radius); background: #fff3c4; }
.trio-2 { background: #dcf3fb; border-radius: var(--radius) 80px var(--radius) var(--radius); }
.trio-3 { background: #fde5e1; }
.trio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.trio-item:hover img { transform: scale(1.05); }
.trio-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--night-800); }
.trio-item.is-empty { display: grid; place-items: center; }
.ph-art { width: 62%; height: auto; max-height: 72%; }
.trio-1 .ph-art { width: 56%; }
.ph-item { width: 56%; }
.ph-spark { width: 40%; }

.passport { position: relative; margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 44px); border-radius: 36px; background: #fff; box-shadow: var(--shadow-lg); }
.passport::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(120deg, var(--red), var(--sun), var(--leaf), var(--sky), var(--rose)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .65; }
.passport-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 20px; background: var(--paper); transition: background .2s, transform .25s var(--ease); }
.fact:hover { background: var(--c-soft); transform: translateY(-2px); }
.fact-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: var(--c-ink); }
.fact-ico .ico { width: 21px; height: 21px; }
.fact dt { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 2px 0 0; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.fact dd a { display: block; color: var(--ink); text-decoration: none; }
.fact dd a:hover { color: var(--rose); }
.ages { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }
.ages-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ages-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.age { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 8px; border-radius: 999px; background: var(--c-soft); font-weight: 600; }
.age-item { width: 30px; height: 30px; flex: none; }

/* ---------- Прячущиеся герои (пасхалка) ---------- */
.peek { position: absolute; z-index: 3; width: 76px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.peek-item { position: absolute; left: 0; top: 0; width: 76px; height: 76px; transform: translateY(36px); transition: transform .45s var(--ease); filter: drop-shadow(0 -2px 4px rgba(26, 22, 80, .18)); }
.peek:hover .peek-item, .peek:focus-visible .peek-item { transform: translateY(8px); }
.js .peek .peek-item { animation: peekaboo 7s ease-in-out infinite; }
.peek.is-found { overflow: visible; }
.peek.is-found .peek-item { animation: found-hop .9s var(--ease) forwards; }
@keyframes peekaboo { 0%, 76%, 100% { transform: translateY(36px); } 82%, 90% { transform: translateY(6px) rotate(-6deg); } }
@keyframes found-hop { 0% { transform: translateY(36px); } 40% { transform: translateY(-34px) rotate(-8deg); } 70% { transform: translateY(6px) rotate(4deg); } 100% { transform: translateY(8px); } }
.peek-passport { top: -42px; right: 56px; }
.peek-gallery { top: -42px; right: 28px; }
.peek-folder { top: -42px; right: 26px; }
.peek-form { top: -42px; right: 40px; }
.peek-director { right: -6px; bottom: 14%; transform: rotate(58deg); transform-origin: 50% 100%; }

/* ---------- 2. Фото ---------- */
.gal-wrap { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 9px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--night); font-family: var(--font-head); font-weight: 600; font-size: .92rem; cursor: pointer; box-shadow: 0 4px 14px -8px rgba(26, 22, 80, .3); transition: background .2s, color .2s, transform .2s; }
.chip:hover { transform: translateY(-1px); }
.chip.is-on { background: var(--night); color: #fff; }
.masonry { columns: 3 280px; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 14px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot[hidden] { display: none; }
.shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.shot-btn:hover img { transform: scale(1.04); }
.shot figcaption { padding: 10px 14px 12px; font-size: .9rem; color: var(--muted); }
.more-wrap { text-align: center; margin: 24px 0 0; }
.album { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.album-card { position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 230px; padding: 20px; border-radius: var(--radius); background: var(--c-soft); overflow: hidden; }
.album-card strong { font-family: var(--font-head); font-weight: 650; font-size: 1.05rem; color: var(--night-800); line-height: 1.25; }
.album-art { display: grid; place-items: center; height: 130px; }
.album-art .ph-art { width: auto; height: 100%; max-height: 120px; }
.album-art .ph-item { height: 100px; width: auto; }

/* ---------- 3. Руководство ---------- */
.team { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.team.is-solo { grid-template-columns: 1fr; max-width: 880px; margin-inline: auto; }
.person { position: relative; display: grid; align-content: center; gap: 22px; padding: clamp(22px, 3vw, 34px); border-radius: 36px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.person::before { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--blush); }
.person > * { position: relative; }
.person-lead { grid-template-columns: minmax(170px, 250px) 1fr; align-items: center; gap: clamp(20px, 3vw, 38px); }
.person-second { justify-items: center; text-align: center; grid-template-columns: 1fr; }
.person-second::before { background: #dcebfc; }
.person-photo { position: relative; aspect-ratio: 1; width: 100%; border-radius: 50%; padding: 11px; }
.person-second .person-photo { max-width: 190px; }
.person-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--sun), #f2841d, var(--red), var(--grape), var(--sky), #17a9b8, var(--leaf), var(--sun)); }
.person-ring::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.js .person-ring { animation: spin 26s linear infinite; }
.person-photo img, .person-photo .person-ph { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 32%; }
.person-second .person-photo img { object-position: 50% 14%; }
.person-photo.is-empty .person-ph { padding: 12%; background: var(--blush); }
.person-role { margin: 0 0 4px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.person-name { margin: 0 0 12px; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 750; line-height: 1.15; color: var(--night-800); }
.person-rank { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff2c9; color: #6a4800; font-weight: 600; font-size: .92rem; }
.person-rank .ico { width: 20px; height: 20px; color: var(--sun-d); stroke-width: 1.9; }
.person-text { color: var(--muted); margin-bottom: 18px; }
.person-copy .note { margin-bottom: 16px; }
.person-second .person-name { font-size: 1.35rem; }

/* ---------- 4. Кружки ---------- */
.panel-night { margin-inline: clamp(8px, 1.6vw, 20px); border-radius: 48px; background: radial-gradient(120% 90% at 85% 0%, #4a3fb8 0%, var(--night) 42%, var(--night-900) 100%); color: #e9e5fb; overflow: hidden; isolation: isolate; }
.night-stars { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 224, 130, .95) 1.4px, transparent 2.4px), radial-gradient(circle, rgba(255, 255, 255, .8) 1px, transparent 2px), radial-gradient(circle, rgba(255, 143, 169, .8) 1.2px, transparent 2.2px);
  background-size: 190px 190px, 260px 260px, 330px 330px; background-position: 20px 30px, 120px 90px, 60px 170px; }
.night-stars::after { content: ""; position: absolute; width: 360px; height: 360px; right: 4%; top: -90px; border-radius: 50%; box-shadow: inset 62px -26px 0 -6px rgba(247, 184, 26, .5); transform: rotate(14deg); }
.js .night-stars { animation: twinkle 5s ease-in-out infinite alternate; }
.sec-head-light h2 { color: #fff; }
.sec-head-light .eyebrow { color: var(--sun); }
.sec-head-light .sec-num { background: var(--sun); color: var(--night-800); }
.sec-head-light .lead { color: #d4cff2; }
.clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.club { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius); background: #fff; color: var(--ink); overflow: hidden; transition: transform .35s var(--ease), box-shadow .3s; }
.club:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .6); }
.club::before { content: ""; position: absolute; right: -50px; top: -50px; width: 140px; height: 140px; border-radius: 50%; background: var(--c-soft); transition: transform .5s var(--ease); }
.club:hover::before { transform: scale(1.35); }
.club > * { position: relative; }
.club-photo { margin: -22px -22px 18px; aspect-ratio: 16 / 9; overflow: hidden; }
.club-photo img { width: 100%; height: 100%; object-fit: cover; }
.club-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.club-badge { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--c); color: var(--c-ink); transition: transform .5s var(--ease); }
.club-badge::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 3px solid transparent; border-top-color: rgba(255,255,255,.55); transform: rotate(30deg); }
.club:hover .club-badge { transform: rotate(-12deg) scale(1.08); }
.extra-ico { width: 34px; height: 34px; }
.club-kind { padding: 4px 10px; border-radius: 999px; background: var(--blush); color: var(--rose); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.club.is-service .club-kind { background: var(--sun); color: #3b2a00; }
.club h3 { color: var(--night-800); margin-bottom: .35em; }
.club p { color: var(--muted); font-size: .97rem; flex: 1; }
.club-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.club-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--paper); font-size: .85rem; font-weight: 600; }
.club-meta .meta-price { background: var(--c-soft); }
.club .link-go { color: var(--night); margin-top: auto; }
.extra-empty { display: grid; justify-items: center; gap: 16px; max-width: 560px; margin: 0 auto; padding: 36px 24px; text-align: center; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1.5px dashed rgba(255, 255, 255, .28); }
.extra-empty p { margin: 0; color: #e5e0fa; font-size: 1.05rem; }
.extra-moon { width: 110px; height: 110px; }
.js .extra-moon { animation: rock 4s ease-in-out infinite alternate; transform-origin: 50% 10%; }
.extra-empty .btn-white { color: var(--night); }

/* ---------- 5. Документы ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; max-width: 980px; margin: 0 auto; }
.folder { position: relative; padding: 30px 26px 24px; border-radius: 6px var(--radius) var(--radius) var(--radius); background: #fff; box-shadow: var(--shadow-lg); margin-top: 22px; }
.folder-tab { position: absolute; left: 0; top: -22px; width: 44%; height: 26px; border-radius: 18px 18px 0 0; background: var(--fo); }
.folder::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 0 var(--radius) 0 0; background: var(--fo); }
.fo-blue { --fo: var(--sky); } .fo-green { --fo: var(--leaf); } .fo-yellow { --fo: var(--sun); }
.folder h3 { display: flex; align-items: center; gap: 10px; }
.folder h3 .ico { color: var(--rose); width: 1.2em; height: 1.2em; }
.stamp { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 16px; background: #e7f6d6; color: #2f6b00; font-weight: 600; font-size: .95rem; }
.stamp .ico { width: 30px; height: 30px; flex: none; color: var(--leaf); stroke-width: 1.8; }
.js .stamp .ico { animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-12deg); } 20% { transform: rotate(10deg); } 30% { transform: rotate(0); } }
.doc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.doc-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--paper); transition: background .2s; }
.doc-list li:hover { background: var(--blush); }
.doc-list a { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.doc-list a .ico { color: var(--rose); }
.doc-list small { padding-left: 1.9em; color: var(--muted); font-size: .82rem; }

/* ---------- 6. Соцсети ---------- */
.social-card { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 30px; padding: clamp(28px, 5vw, 56px); border-radius: 40px; overflow: hidden; color: #fff;
  background: linear-gradient(125deg, #e8224f 0%, #c43fb4 38%, #a247c4 64%, #2b7fe0 100%); }
.social-card::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: repeating-conic-gradient(rgba(255,255,255,.1) 0 5deg, transparent 5deg 11.25deg); -webkit-mask: radial-gradient(circle, #000 15%, transparent 65%); mask: radial-gradient(circle, #000 15%, transparent 65%); pointer-events: none; }
.js .social-card::after { animation: spin 60s linear infinite; }
.social-card h2 { color: #fff; }
.eyebrow-light { color: #ffe68a; }
.eyebrow-light .sec-num { background: #fff; color: var(--night); }
.social-card .lead { color: rgba(255, 255, 255, .88); }
.social-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.social-tiles { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 330px; justify-self: center; }
.st { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; background: rgba(255, 255, 255, .95); }
.st-kid { width: 82%; }
.st-3 { background: var(--sun); }
.st-ico { width: 46%; height: 46%; color: var(--night); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-5 { grid-column: 2; }
.js .st { animation: tile 5s ease-in-out infinite; }
.st-2 { animation-delay: -1s !important; } .st-3 { animation-delay: -2s !important; } .st-4 { animation-delay: -3s !important; } .st-5 { animation-delay: -4s !important; }
@keyframes tile { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-2deg); } }
.st-handle { grid-column: 1 / -1; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: .9rem; opacity: .9; overflow-wrap: anywhere; }

/* ---------- 7. Вакансии ---------- */
.jobs-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.jobs-wrap .sec-head { margin-bottom: 0; }
.jobs { display: grid; gap: 12px; }
.job { border-radius: 22px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.job summary { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job-title { font-family: var(--font-head); font-weight: 650; font-size: 1.08rem; color: var(--night-800); }
.job time { font-size: .85rem; color: var(--muted); }
.job-plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--blush); }
.job-plus::before, .job-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--night); transition: transform .3s; }
.job-plus::after { transform: rotate(90deg); }
.job[open] .job-plus::after { transform: rotate(0); }
.job-body { padding: 0 22px 22px; color: var(--muted); }
.jobs-empty { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1.5px dashed rgba(38, 31, 107, .2); }
.jobs-kid { width: 96px; flex: none; }
.jobs-empty p { margin: 0; color: var(--muted); }

/* ---------- 8. Новости ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.news-card { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-5px); 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; cursor: pointer; }
.news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-soft); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-img-empty { display: grid; place-items: center; }
.news-img-empty .ph-art { width: 40%; }
.news-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.news-body time { font-size: .82rem; font-weight: 600; color: var(--c); }
.c-yellow .news-body time { color: var(--sun-d); }
.news-title { font-family: var(--font-head); font-weight: 650; font-size: 1.15rem; line-height: 1.25; color: var(--night-800); }
.news-excerpt { color: var(--muted); font-size: .95rem; }
.news-body .link-go { margin-top: 6px; }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list div { display: flex; flex-direction: column; }
.c-label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span:not(.c-label):not(.fact-ico) { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--rose); }
.contact-list .addr-map { font-size: .9rem; color: var(--rose); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--blush-2); aspect-ratio: 16 / 9; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { position: relative; display: grid; gap: 6px; padding: clamp(22px, 4vw, 36px); border-radius: 32px; background: #fff; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 1.6rem; margin: 0; }
.form-lead { color: var(--muted); margin-bottom: 10px; }
.form-lead strong { color: var(--night); }
.form label { font-weight: 600; font-size: .9rem; margin-top: 6px; }
.form input, .form textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--rose); background: #fff; box-shadow: 0 0 0 4px rgba(232, 34, 79, .12); }
.form input.is-bad { border-color: var(--red); }
.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 8px; font-weight: 500 !important; color: var(--muted); }
.check-line input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--rose); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 8px 0 0; font-weight: 600; min-height: 1.5em; }
.form-note.ok { color: #2f7a00; }
.form-note.err { color: var(--red); }

/* ---------- Подвал ---------- */
.footer { position: relative; margin-top: 40px; padding: 64px 0 28px; background: var(--night-900); color: #c9c3ec; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--sun), #f2841d, var(--red), var(--grape), var(--sky), #17a9b8, var(--leaf)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { color: #e6e2fa; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.foot-word { width: min(420px, 100%); height: auto; overflow: visible; }
.foot-word .k-letter { fill: #ff4f80; stroke: #ff4f80; cursor: pointer; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .3s var(--ease); }
.foot-word .k-letter:hover { transform: translateY(-6px) scale(1.06); }
.foot-word .k-letter.is-jump { animation: letter-jump .6s var(--ease); }
.foot-word.is-dance .k-letter { animation: letter-jump .7s var(--ease) infinite alternate; }
.foot-word.is-dance .k-letter:nth-child(2) { animation-delay: .1s; } .foot-word.is-dance .k-letter:nth-child(3) { animation-delay: .2s; }
.foot-word.is-dance .k-letter:nth-child(4) { animation-delay: .3s; } .foot-word.is-dance .k-letter:nth-child(5) { animation-delay: .4s; }
.foot-word.is-dance .k-letter:nth-child(6) { animation-delay: .5s; } .foot-word.is-dance .k-letter:nth-child(7) { animation-delay: .6s; }
.foot-word.is-dance .k-letter:nth-child(8) { animation-delay: .7s; } .foot-word.is-dance .k-letter:nth-child(9) { animation-delay: .8s; }
.foot-word .k-sub-letter { transform-box: fill-box; transform-origin: 50% 100%; }
.foot-word.is-dance .k-sub-letter { animation: letter-jump .7s var(--ease) infinite alternate; }
@keyframes letter-jump { 40% { transform: translateY(-22px) rotate(-8deg) scale(1.1); } }
.egg { margin-top: 18px; }
.egg-title { font-size: .92rem; max-width: 30em; }
.egg-dots { display: flex !important; gap: 10px !important; }
.egg-dots li { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1.5px dashed rgba(255, 255, 255, .22); }
.egg-dots .egg-kid { width: 38px; height: 38px; filter: grayscale(1) brightness(.55) opacity(.45); transition: filter .3s; }
.egg-dots li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.egg-dots li.is-found { border-style: solid; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); }
.egg-dots li.is-found .egg-kid { filter: none; animation: found-dot .6s var(--ease); }
@keyframes found-dot { 0% { transform: scale(.3); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Плавающие элементы ---------- */
.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.fab-wa:hover { transform: scale(1.08); color: #fff; }
.fab-wa .ico { width: 28px; height: 28px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 18px; background: var(--night-800); color: #fff; font-family: var(--font-head); font-weight: 600; text-align: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translate(-50%, 20px); transition: opacity .3s, transform .4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Просмотр фото */
.lightbox { position: fixed; inset: 0; z-index: 95; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 20px; background: rgba(18, 15, 58, .94); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 18px; }
.lightbox figcaption { color: #e6e2fa; }
.lb-close, .lb-nav { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-close .ico, .lb-nav .ico { width: 24px; height: 24px; }

/* Новость целиком */
.news-dialog { width: min(720px, 100% - 24px); max-height: 88vh; padding: 0; border: 0; border-radius: 28px; overflow: auto; color: var(--ink); background: #fff; }
.news-dialog::backdrop { background: rgba(18, 15, 58, .7); backdrop-filter: blur(4px); }
.nd-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--blush); color: var(--night); cursor: pointer; z-index: 1; }
.nd-img { width: 100%; max-height: 380px; object-fit: cover; }
.nd-body { padding: 24px 28px 30px; }
.nd-body time { font-size: .85rem; font-weight: 600; color: var(--rose); }

/* ---------- Частицы и праздник (js/fx.js) ---------- */
.fx-layer { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.fx-bit { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); animation: bit var(--t) cubic-bezier(.2, .7, .3, 1) forwards; }
.fx-bit svg { width: 100%; height: 100%; display: block; }
@keyframes bit { 0% { transform: translate(0, 0) scale(.4) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--rot)); opacity: 0; } }
.fx-letter { position: absolute; font-family: var(--font-head); font-weight: 800; color: var(--c); font-size: var(--s); line-height: 1; animation: bit var(--t) cubic-bezier(.2, .7, .3, 1) forwards; }
.fx-party { position: fixed; left: 50%; top: 50%; z-index: 85; width: min(78vmin, 520px); aspect-ratio: 1; margin: calc(min(78vmin, 520px) / -2) 0 0 calc(min(78vmin, 520px) / -2); pointer-events: none; animation: party-in 6.5s var(--ease) forwards; }
.fx-party svg { width: 100%; height: 100%; overflow: visible; }
.fx-party .mk-ring { animation: spin 3.2s linear infinite; }
.fx-party .it-in { animation: bob .7s var(--ease) infinite; }
.fx-party .it-yellow .it-in { animation: rock .6s ease-in-out infinite alternate; }
.fx-party .it-red .it-in { animation: beat .8s ease-in-out infinite; }
@keyframes party-in { 0% { opacity: 0; transform: scale(.3) rotate(-90deg); } 14% { opacity: 1; transform: scale(1) rotate(0); } 82% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.4); } }

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

/* ---------- Адаптивность ---------- */
@media (max-width: 1240px) {
  .burger { display: grid; }
  .nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); margin: 0; padding: 14px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; max-height: calc(100vh - var(--bar-h) - 24px); overflow: auto; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .nav a { padding: 12px 14px; font-size: 1rem; border-radius: 14px; }
  .nav a.is-active { background: var(--blush); }
  .nav a.is-active::after { display: none; }
  .bar-tools { margin-left: auto; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-copy { order: 2; }
  .hero-stage { order: 1; max-width: 460px; }
  .hero-lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .glance { grid-template-columns: 1fr 1fr; }
  .glance-item:nth-child(3) { border-left: 0; }
  .glance-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about, .jobs-wrap, .contact-grid, .social-card, .team { grid-template-columns: 1fr; }
  .person-lead { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .person-lead .person-photo { max-width: 260px; }
  .person-rank { text-align: left; }
  .facts { grid-template-columns: 1fr 1fr; }
  .album { grid-template-columns: 1fr 1fr; }
  .sec-head-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .topstrip-mail { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --bar-h: 66px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text small { display: none; }
  .bar-call span { display: none; }
  .bar-call { padding: 0; width: 44px; height: 44px; }
  .bar-call .ico { width: 20px; height: 20px; }
  .facts { grid-template-columns: 1fr; }
  .trio { aspect-ratio: auto; grid-template-rows: 200px 160px; }
  .glance-item { padding: 18px 16px; grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 6px; }
  .glance-ico { grid-row: auto; width: 44px; height: 44px; }
  .glance-item::before { left: 16px; right: 16px; }
  .panel-night { border-radius: 32px; margin-inline: 6px; }
  .job summary { grid-template-columns: 1fr auto; }
  .job time { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 10px 20px; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: 30%; } .lb-next { right: 30%; }
  .social-tiles { max-width: 240px; }
  .nav ul { grid-template-columns: 1fr; }
  .topstrip-in { gap: 10px; min-height: 42px; }
  .topstrip-info { display: none; }
  .sec-head:not(.sec-head-left):not(.sec-head-split) { text-align: left; }
}
@media (max-width: 400px) {
  .seg-lang a { padding: 6px 8px; }
  .container { width: calc(100% - 32px); }
  .album { grid-template-columns: 1fr; }
  .bar-in { gap: 8px; }
  .brand-text strong { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
