/* «Ардақ Балақай» — дети тянутся к звёздам на радуге; вокруг — казахский орнамент, шашақ-кисточки, воздушные шары и юрта, как в самом саду.
   Палитра логотипа: голубой (мальчик, обод), малиновый (девочка, «Балақай»), зелёный («Ардақ»), жёлтый, оранжевый, фиолетовый — радуга букв.
   Шрифты: Oswald (заголовки, как надпись в логотипе) и Ubuntu (текст) — свои, лежат в assets/fonts; казахские буквы есть в обоих. */

@font-face { font-family: "Oswald"; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/oswald-cyrillic-ext.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: "Oswald"; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/oswald-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/oswald-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-weight: 400; font-display: swap; src: url("../assets/fonts/ubuntu-cyrillic-ext-400.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: "Ubuntu"; font-weight: 400; font-display: swap; src: url("../assets/fonts/ubuntu-cyrillic-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Ubuntu"; font-weight: 400; font-display: swap; src: url("../assets/fonts/ubuntu-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-weight: 500; font-display: swap; src: url("../assets/fonts/ubuntu-cyrillic-ext-500.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: "Ubuntu"; font-weight: 500; font-display: swap; src: url("../assets/fonts/ubuntu-cyrillic-500.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Ubuntu"; font-weight: 500; font-display: swap; src: url("../assets/fonts/ubuntu-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Ubuntu"; font-weight: 700; font-display: swap; src: url("../assets/fonts/ubuntu-cyrillic-ext-700.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: "Ubuntu"; font-weight: 700; font-display: swap; src: url("../assets/fonts/ubuntu-cyrillic-700.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Ubuntu"; font-weight: 700; font-display: swap; src: url("../assets/fonts/ubuntu-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #1b9ad6; --blue-d: #1279b0; --pink: #e5197e; --pink-d: #b3105f; --green: #1f9a3c; --green-l: #3cb04a;
  --yellow: #f7d21c; --orange: #f39a1c; --red: #d7263d; --purple: #8e3fb8; --lime: #cfe31a; --gold: #e2b23a;
  --ink: #1d2b4f; --ink-soft: #5a6684; --cream: #fffaf2; --sky: #eaf6fd; --line: rgba(29, 43, 79, .12);
  --rainbow: linear-gradient(90deg, #e5197e, #f39a1c, #f7d21c, #3cb04a, #1b9ad6, #8e3fb8);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar-h: 70px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.04rem/1.65 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--blue-d); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ico-star { width: 1.1em; height: 1.1em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 90; padding: 10px 16px; border-radius: 12px; background: #fff; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--ink-soft); }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.08; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.lede { max-width: 62ch; font-size: 1.08rem; color: var(--ink-soft); text-wrap: pretty; }
.head { display: grid; gap: 12px; margin-bottom: 40px; }
.head-center { justify-items: center; text-align: center; }
.head-center .lede { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); }
.kicker .ico-star { color: var(--yellow); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .15)); }
.hint { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.hint .ico-star { color: var(--orange); }

/* ---------- Разделы ---------- */
.section, .foot, .frieze { overflow-x: clip; }
.section { position: relative; padding: clamp(70px, 8vw, 110px) 0; }
.sec-cream { background: var(--cream); }
.sec-white { background: #fff; }
.sec-sky { background: var(--sky); }
.sec-blue { background: var(--blue); color: #fff; }
.sec-blue h2, .sec-blue .kicker { color: #fff; }
.sec-blue .lede { color: rgba(255, 255, 255, .9); }
.sec-sky::before, .sec-blue::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--rainbow); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-main { background: var(--pink); color: #fff; box-shadow: 0 10px 24px rgba(229, 25, 126, .35); }
.btn-main:hover { background: var(--pink-d); }
.btn-main .ico-star { color: var(--yellow); }
.btn-line { border: 2px solid var(--blue); background: #fff; color: var(--blue-d); }

/* ---------- Шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .3s; }
.top.is-stuck { box-shadow: 0 8px 30px rgba(29, 43, 79, .12); }
.top-in { display: flex; align-items: center; gap: 16px; width: min(1240px, 100% - 32px); height: var(--bar-h); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; }
.bt-a { color: var(--green); } .bt-b { color: var(--pink); }
.brand-text small { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu { display: flex; gap: 2px; }
.menu a { padding: 8px 13px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s; }
.menu a:hover { background: var(--sky); }
.menu a.is-active { background: var(--blue); color: #fff; }
.chips { display: flex; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; cursor: pointer; }
.chip-call { border-color: var(--pink); background: var(--pink); color: #fff; }
.chip-menu { display: none; width: 42px; padding: 0; justify-content: center; }
.rainbar { position: relative; height: 5px; background: rgba(29, 43, 79, .06); }
.rainbar i { display: block; width: var(--p, 0%); height: 100%; background: var(--rainbow); background-size: 100vw 100%; }
.rb-star { position: absolute; top: 50%; left: var(--p, 0%); width: 22px; translate: -50% -50%; color: var(--yellow); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }

/* ---------- Первый экран ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: 100svh; padding: calc(var(--bar-h) + 40px) 0 80px; overflow: hidden; background: linear-gradient(180deg, #def2fd 0%, #f6fbff 55%, var(--cream) 100%); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.big-rainbow { position: absolute; left: 50%; bottom: -4%; width: max(1200px, 110%); height: 86%; translate: -50% 0; opacity: .22; }
.big-rainbow path { fill: none; stroke-width: 26; stroke-linecap: round; }
.oyu-corner { position: absolute; top: calc(var(--bar-h) + 16px); width: 90px; color: var(--pink); opacity: .14; }
.oc-l { left: 18px; } .oc-r { right: 18px; transform: scaleX(-1); }
.stars-field { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fall-star { position: absolute; left: 0; top: 0; width: 34px; height: 34px; padding: 6px; border: 0; background: none; cursor: pointer; pointer-events: auto; filter: drop-shadow(0 0 6px rgba(255, 210, 40, .8)); -webkit-tap-highlight-color: transparent; }
.fall-star svg { width: 100%; height: 100%; }
.balloon-btn { position: absolute; z-index: 2; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.balloon-btn .balloon { width: 100%; height: auto; filter: drop-shadow(0 12px 14px rgba(29, 43, 79, .16)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.hero-text { display: grid; gap: 20px; justify-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 10px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px rgba(29, 43, 79, .08); font-weight: 700; font-size: .82rem; letter-spacing: .08em; color: var(--ink); }
.eyebrow .ico-star { color: var(--yellow); }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.2rem); line-height: 1.02; text-transform: uppercase; }
.hw { display: inline-block; color: var(--c); text-shadow: 0 3px 0 rgba(29, 43, 79, .08); }
.hero-lead { max-width: 52ch; font-size: 1.12rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.star-score { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px rgba(29, 43, 79, .08); font-weight: 500; font-size: .92rem; }
.star-score .ico-star { color: var(--yellow); width: 1.4em; height: 1.4em; }
.star-score b { font-family: var(--display); font-size: 1.3rem; color: var(--pink); }
.hero-logo { display: grid; justify-items: center; }
.logo-btn { width: min(100%, 520px); padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.ab-logo { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 24px 40px rgba(27, 154, 214, .25)); }

/* ---------- ЛОГОТИП: части ---------- */
.ab-kid, .ab-star, .ab-t, .ab-s { transform-box: fill-box; }
.ab-kid { transform-origin: 50% 100%; }
.ab-star { transform-origin: 50% 50%; }
.ab-t, .ab-s { transform-origin: 50% 100%; }
.ab-band { stroke-dasharray: 100; }

/* ---------- Фриз с кисточками ---------- */
.frieze { position: relative; z-index: 4; height: 88px; margin: -10px 0 -60px; pointer-events: none; }
.frieze-band { position: absolute; left: 0; right: 0; top: 0; height: 40px; background:
  radial-gradient(circle at 50% 50%, var(--red) 3px, transparent 3.5px) 0 0 / 28px 28px,
  repeating-linear-gradient(45deg, transparent 0 8px, var(--red) 8px 11px, transparent 11px 20px),
  repeating-linear-gradient(-45deg, transparent 0 8px, var(--red) 8px 11px, transparent 11px 20px), #fff;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 26px no-repeat, conic-gradient(from -45deg at 50% 100%, #0000, #000 1deg 89deg, #0000 90deg) 0 100% / 28px 14px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 26px no-repeat, conic-gradient(from -45deg at 50% 100%, #0000, #000 1deg 89deg, #0000 90deg) 0 100% / 28px 14px repeat-x;
  box-shadow: 0 4px 0 #f6c8cf; }
.tassels { position: absolute; left: 0; right: 0; top: 36px; display: flex; justify-content: space-around; }
.tassel { width: 18px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; transform-origin: 50% 0; -webkit-tap-highlight-color: transparent; }
.tassel .tassel-svg { width: 100%; height: 100%; }
.frieze-hero { margin-top: -70px; }

/* ---------- О нас ---------- */
.about { padding-top: 110px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-text { display: grid; gap: 14px; justify-items: start; }
.about-text .head { margin-bottom: 6px; }
.place { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; padding: 12px 18px; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(29, 43, 79, .08); font-weight: 500; }
.place .ico { color: var(--pink); }
.place a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 700; text-decoration: none; }
.yurt { position: relative; justify-self: center; width: min(100%, 440px); }
.yurt-in { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 48% 48% 14px 14px / 32% 32% 14px 14px; border: 10px solid var(--orange); box-shadow: 0 0 0 6px #fff, 0 0 0 12px var(--red), 0 30px 60px rgba(29, 43, 79, .2); }
.yurt-in img { width: 100%; height: 100%; object-fit: cover; }
.yurt-oyu { position: absolute; left: 50%; top: -40px; width: 74px; translate: -50% 0; color: var(--red); background: var(--cream); border-radius: 50%; padding: 8px; }
.yurt figcaption { margin-top: 18px; text-align: center; font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; color: var(--ink); }
.facts-wrap { margin-top: clamp(50px, 6vw, 84px); text-align: center; }
.facts-title { margin-bottom: 26px; font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); text-transform: uppercase; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
.fact { position: relative; display: grid; place-items: center; align-content: center; width: 190px; height: 190px; padding: 30px 26px 18px; border: 0; background: none; color: #fff; cursor: pointer; font-family: var(--body); }
.fact-star { position: absolute; inset: 0; color: var(--c); filter: drop-shadow(0 10px 14px rgba(29, 43, 79, .16)); transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.fact-star svg { width: 100%; height: 100%; }
.fact strong { position: relative; max-width: 118px; font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.05; text-align: center; }
.fact b { font-size: 2rem; }
.fact small { position: relative; margin-top: 2px; font-weight: 700; font-size: .78rem; }
.fact.spin .fact-star { transform: rotate(144deg) scale(1.08); }

/* ---------- Радужная лесенка ---------- */
.stairs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; max-width: 900px; height: 460px; margin: 0 auto; padding-top: 150px; }
.step { position: relative; display: flex; flex-direction: column; gap: 6px; height: calc(130px + var(--i) * 60px); padding: 18px 14px; border: 0; border-radius: 22px 22px 8px 8px; background: var(--c); color: #fff; text-align: left; cursor: pointer; box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .12), 0 14px 26px rgba(29, 43, 79, .14); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), filter .3s; }
.step:hover { transform: translateY(-6px); }
.step.is-on { filter: brightness(1.08) saturate(1.1); box-shadow: inset 0 -12px 0 rgba(0, 0, 0, .12), 0 0 0 5px #fff, 0 18px 34px rgba(29, 43, 79, .2); }
.step-age { font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; }
.step-age b { font-size: 3rem; line-height: .9; }
.step-cap { font-weight: 500; font-size: .92rem; line-height: 1.3; }
.stair-kids { position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; gap: 4px; pointer-events: none; transition: left .6s cubic-bezier(.4, 1.4, .5, 1), bottom .6s cubic-bezier(.4, 1.4, .5, 1); translate: -50% 0; }
.stair-kids .kid { width: auto; height: 120px; }
.stair-kids .kid-girl { height: 96px; }
.stair-kids.hop { animation: hop .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes hop { 40% { transform: translateY(-70px); } }
.ages-cta { margin-top: 34px; text-align: center; }

/* ---------- Обручи (как на стене в группе): руководитель и кружки ---------- */
.hoop { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 9px solid var(--gold); background: #fff; box-shadow: inset 0 0 0 3px #f6dc8a, 0 16px 30px rgba(29, 43, 79, .14); }
.hoop-spokes { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(27, 154, 214, .55) 0 1.2deg, transparent 1.2deg 20deg); transition: transform 1.2s cubic-bezier(.2, .8, .3, 1); }
.hoop.spin .hoop-spokes { transform: rotate(360deg); }
.leaders { display: grid; gap: 34px; max-width: 920px; margin-inline: auto; }
.leader { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: 36px; background: var(--cream); box-shadow: 0 20px 50px rgba(29, 43, 79, .1); overflow: hidden; }
.hoop-photo { width: 260px; }
.hoop-photo img, .hoop-photo .avatar { position: relative; width: 76%; height: 76%; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 10px 24px rgba(29, 43, 79, .2); }
.leader-body { position: relative; display: grid; gap: 8px; justify-items: start; }
.leader-role { padding: 3px 12px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.leader h3 { font-family: var(--display); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); text-transform: uppercase; line-height: 1.05; }
.leader-edu span { margin-right: 10px; font-weight: 700; color: var(--blue-d); }
.leader-about { color: var(--ink-soft); }
.leader-years { display: flex; align-items: baseline; gap: 12px; }
.leader-years strong { font-family: var(--display); font-size: 3.2rem; color: var(--pink); }
.leader-oyu { position: absolute; right: -70px; bottom: -60px; width: 200px; color: var(--pink); opacity: .08; }
.clubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 30px 22px; }
.club-open { display: grid; justify-items: center; gap: 16px; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: center; cursor: pointer; font: inherit; }
.club-media { width: 170px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.club-open:hover .club-media { transform: rotate(-8deg) scale(1.05); }
.hoop-ico { position: relative; display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--c); color: #fff; box-shadow: 0 8px 18px rgba(29, 43, 79, .2); }
.hoop-ico .extra-ico { width: 58%; height: 58%; }
.club-media img { position: relative; width: 76%; height: 76%; border-radius: 50%; object-fit: cover; }
.club-body { display: grid; gap: 6px; justify-items: center; }
.club-title { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; color: var(--c); line-height: 1.1; }
.club-meta { font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.club-text { max-width: 30ch; color: var(--ink-soft); }
.story-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--blue-d); }
.story-count { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .76rem; font-weight: 700; }

/* ---------- Фото ---------- */
.gallery { padding-top: 110px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 8px; }
.tab { min-height: 44px; padding: 0 20px; border: 2px solid var(--blue); border-radius: 999px; background: #fff; font-weight: 700; font-size: .9rem; color: var(--blue-d); cursor: pointer; }
.tab.is-on { background: var(--blue); color: #fff; }
.hall { position: relative; }
.album { display: flex; align-items: center; gap: 28px; padding: 30px max(24px, calc((100vw - 1160px) / 2)) 44px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.album::-webkit-scrollbar { display: none; }
.album.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.hall-one .album { justify-content: center; cursor: default; }
.album figure { flex: none; scroll-snap-align: center; margin: 0; transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.album figure:nth-child(odd) { transform: rotate(-1.5deg); } .album figure:nth-child(even) { transform: rotate(1.5deg) translateY(12px); }
.album figure:hover { transform: translateY(-8px) rotate(0); }
.album figure[hidden] { display: none; }
.photo-btn { position: relative; display: block; padding: 0; border: 10px solid #fff; border-bottom-width: 44px; border-radius: 10px; background: #fff; cursor: zoom-in; overflow: hidden; box-shadow: 0 24px 46px rgba(29, 43, 79, .18); }
.photo-btn img { display: block; width: auto; height: clamp(260px, 50vh, 460px); max-width: min(84vw, 640px); object-fit: cover; pointer-events: none; }
.photo-btn figcaption { position: absolute; left: 0; right: 0; bottom: -36px; padding: 0 10px; color: var(--ink); font-family: var(--display); font-size: 1.05rem; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-btn::before { content: ""; position: absolute; left: 50%; top: -6px; z-index: 2; width: 70px; height: 20px; translate: -50% 0; rotate: -3deg; background: rgba(247, 210, 28, .75); }
.hall-nav { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 54px; height: 54px; translate: 0 -50%; border: 0; border-radius: 50%; background: var(--pink); color: #fff; cursor: pointer; box-shadow: 0 10px 24px rgba(229, 25, 126, .35); }
.hall-prev { left: max(10px, calc((100vw - 1260px) / 2)); } .hall-next { right: max(10px, calc((100vw - 1260px) / 2)); }
.gallery .hall-hint { display: flex; justify-content: center; color: var(--ink-soft); font-weight: 500; }

/* ---------- Новости ---------- */
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.story { overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 18px 44px rgba(29, 43, 79, .1); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.story:hover { transform: translateY(-8px); }
.story-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; }
.story-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.story:hover .story-img img { transform: scale(1.06); }
.story-img-empty { display: grid; place-items: center; }
.story-img-empty img { width: 34%; height: auto; object-fit: contain; }
.story-body { display: grid; gap: 6px; padding: 18px 24px 26px; }
.story-body time { font-size: .84rem; font-weight: 700; color: var(--pink); }
.story-title { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; line-height: 1.15; }
.story-excerpt { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Документы и вакансии ---------- */
.docs-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.doc-sets { display: grid; gap: 22px; margin-top: 20px; }
.doc-set, .jobs { padding: 26px 28px; border-radius: 26px; background: #fff; box-shadow: 0 14px 34px rgba(29, 43, 79, .08); }
.jobs { background: var(--pink); color: #fff; }
.doc-set h3, .jobs h3 { margin-bottom: 12px; }
.doc-set li { display: grid; gap: 2px; padding: 10px 0; border-top: 2px dotted var(--line); }
.doc-set li:first-child { border-top: 0; }
.doc-set a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
.doc-set a .ico { color: var(--pink); }
.doc-set small { margin-left: 32px; color: var(--ink-soft); font-weight: 500; }
.job { margin-top: 14px; padding-top: 14px; border-top: 2px dashed rgba(255, 255, 255, .45); }
.job summary { cursor: pointer; font-weight: 700; }
.job p { margin-top: 8px; }
.job a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; color: var(--yellow); }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-info { display: grid; gap: 14px; justify-items: start; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); color: #fff; text-decoration: none; }
.contact-phone .ico { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.contact-list .ico { margin-top: 3px; color: var(--yellow); }
.contact-list a { color: #fff; }
.social-label { margin-top: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 8px 18px rgba(0, 0, 0, .14); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.socials a:hover { transform: translateY(-3px) rotate(-2deg); }
.form { position: relative; padding: 44px 36px 34px; border-radius: 32px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .2); overflow: hidden; }
.form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--rainbow); }
.form-oyu { position: absolute; bottom: -14px; width: 90px; color: var(--pink); opacity: .1; }
.fo-l { left: -14px; } .fo-r { right: -14px; transform: scaleX(-1); }
.seal { position: absolute; top: 22px; right: 24px; width: 64px; height: 64px; }
.seal img { width: 100%; height: 100%; border-radius: 50%; }
.form h3 { font-family: var(--display); font-size: 2.2rem; text-transform: uppercase; }
.form label { display: block; margin: 16px 0 6px; font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.form input:not([type="checkbox"]), .form select, .form textarea { position: relative; width: 100%; padding: 13px 18px; border: 2px solid #dbe6f0; border-radius: 16px; background: #fbfdff; font: 500 1rem var(--body); color: var(--ink); transition: box-shadow .2s, border-color .2s; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d2b4f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; padding-right: 42px; }
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 5px rgba(27, 154, 214, .15); }
.consent { position: relative; display: flex !important; gap: 10px; align-items: flex-start; margin-top: 16px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .9rem !important; font-weight: 500 !important; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink); }
.form .btn { position: relative; width: 100%; margin-top: 20px; }
.form-note { position: relative; margin-top: 10px; font-weight: 700; color: var(--green); opacity: 0; transition: opacity .3s; }
.form-note.show { opacity: 1; }
.form-note.error { color: var(--red); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Подвал: асық ату ---------- */
.foot { position: relative; background: var(--ink); color: #dfe6f5; }
.asyq-game { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px; align-items: center; width: min(1160px, 100% - 40px); margin-inline: auto; padding: 70px 0 50px; }
.ag-head { display: grid; gap: 10px; justify-items: start; }
.ag-head h3 { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); text-transform: uppercase; color: var(--yellow); }
.ag-again { padding: 8px 16px; border: 0; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 700; cursor: pointer; }
.tekemet { position: relative; display: flex; align-items: center; gap: 24px; min-height: 170px; padding: 30px 28px; border-radius: 24px; background: var(--red) repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 10px, transparent 10px 20px); box-shadow: inset 0 0 0 8px #b51d31, inset 0 0 0 11px var(--yellow), inset 0 0 0 16px #b51d31, 0 20px 40px rgba(0, 0, 0, .3); }
.saqa { flex: none; width: 64px; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .3)); }
.asyq-row { display: flex; flex: 1; justify-content: space-around; gap: 4px; }
.asyq { width: 54px; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .3)); -webkit-tap-highlight-color: transparent; }
.asyq.out { visibility: hidden; }
.asyq-svg { width: 100%; height: auto; }
.foot-ground { position: relative; display: grid; gap: 14px; justify-items: center; padding: 34px 0 30px; background: #16213d; text-align: center; }
.foot-kids { display: flex; align-items: flex-end; gap: 4px; height: 70px; margin-top: -66px; }
.foot-kids .kid { width: auto; height: 70px; } .foot-kids .kid-girl { height: 56px; }
.foot-bye { font-family: var(--display); font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); text-transform: uppercase; color: #fff; }
.eggs { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-weight: 500; font-size: .9rem; }
.eggs-dots { display: inline-flex; gap: 5px; }
.eggs-dots i { width: 20px; height: 20px; color: rgba(255, 255, 255, .18); transition: color .4s, transform .4s; }
.eggs-dots i svg { width: 100%; height: 100%; }
.eggs-dots i.on { color: var(--c); transform: scale(1.2) rotate(18deg); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.foot-in img { width: 44px; height: 44px; border-radius: 50%; }
.foot-in a { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 700; text-decoration: none; }

/* ---------- Всплывающее, просмотр фото, диалоги ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 12px 24px 12px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 18px 44px rgba(29, 43, 79, .3), inset 0 -5px 0 var(--pink); translate: -50% 0; animation: toast-in .5s cubic-bezier(.3, 1.6, .5, 1); }
.toast[hidden] { display: none; }
.toast b { color: var(--pink); }
.toast .fx-star { width: 32px; height: 32px; flex: none; color: var(--yellow); }
@keyframes toast-in { from { transform: translateY(40px) scale(.8); opacity: 0; } }
.news-dialog { width: min(640px, 100% - 32px); max-height: calc(100% - 40px); padding: 0; border: 0; border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.news-dialog::backdrop { background: rgba(29, 43, 79, .72); }
.nd-close { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pink); color: #fff; cursor: pointer; }
.nd-gallery { position: relative; background: var(--ink); }
.nd-stage { position: relative; }
.nd-img { width: 100%; max-height: 60vh; object-fit: contain; }
.nd-nav { position: absolute; top: 50%; display: none; place-items: center; width: 44px; height: 44px; translate: 0 -50%; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }
.nd-prev { left: 10px; } .nd-next { right: 10px; }
.nd-counter { position: absolute; left: 12px; bottom: 12px; display: none; padding: 3px 11px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-weight: 700; font-size: .86rem; }
.has-many .nd-nav { display: grid; } .has-many .nd-counter { display: block; }
.nd-thumbs { display: none; gap: 8px; padding: 10px 12px; overflow-x: auto; }
.has-many .nd-thumbs { display: flex; }
.nd-thumbs button { flex: 0 0 auto; width: 72px; height: 54px; padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.nd-thumbs button.is-active { border-color: var(--yellow); opacity: 1; }
.nd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.nd-body { padding: 26px 28px 32px; }
.nd-gallery[hidden] + .nd-body { padding-top: 60px; }
.nd-body time { font-weight: 700; color: var(--pink); }
.nd-body h3 { font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; margin: .2em 0 .5em; }
#ndText { overflow-wrap: anywhere; }
.lightbox { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(22, 33, 61, .95); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 80vh; border-radius: 16px; }
.lightbox figcaption { margin-top: 12px; color: #fff; font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; }
.lb-close, .lb-nav { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.lb-close { position: absolute; top: 18px; right: 18px; }

/* летящие: искры, звёзды, орнаменты, бегущие дети */
.sky-layer { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.spark { position: fixed; left: 0; top: 0; z-index: 74; width: 14px; height: 14px; pointer-events: none; }
.spark svg { width: 100%; height: 100%; }
.fly-oyu { position: absolute; left: 0; top: 0; width: 80px; }
.fly-oyu svg { width: 100%; height: auto; }
.run-kids { position: absolute; left: 0; bottom: 10%; display: flex; align-items: flex-end; gap: 6px; }
.run-kids .kid { width: auto; height: 130px; } .run-kids .kid-girl { height: 104px; }
.run-trail { position: absolute; left: 0; right: 0; bottom: 8%; height: 26px; background: var(--rainbow); border-radius: 999px; opacity: .85; transform-origin: left; }

/* ---------- Движение (только если посетитель не просил его уменьшить) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .8s cubic-bezier(.3, 1.4, .5, 1); transition-delay: var(--delay, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }

  .js .big-rainbow path { stroke-dasharray: 100; animation: draw 1.6s calc(var(--i) * .12s + .2s) cubic-bezier(.3, .8, .3, 1) both; }
  @keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
  .oyu-corner { animation: breathe 6s ease-in-out infinite alternate; }
  @keyframes breathe { from { opacity: .08; } to { opacity: .2; } }
  .balloon-btn { animation: float 6s calc(var(--i) * -2s) ease-in-out infinite alternate; }
  @keyframes float { 0% { transform: translate(0, 0) rotate(-3deg); } 100% { transform: translate(14px, -26px) rotate(4deg); } }
  .js .hw { animation: word-in .8s calc(var(--i) * .12s + .4s) cubic-bezier(.3, 1.6, .5, 1) both; }
  @keyframes word-in { from { opacity: 0; transform: translateY(40px) rotate(-6deg) scale(.7); } }
  .js .eyebrow, .js .hero-lead, .js .hero-actions, .js .star-score { animation: rise .8s cubic-bezier(.3, 1.4, .5, 1) both; }
  .js .eyebrow { animation-delay: .1s; } .js .hero-lead { animation-delay: .9s; } .js .hero-actions { animation-delay: 1.05s; } .js .star-score { animation-delay: 1.3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }

  /* логотип: радуга рисуется, дети запрыгивают и тянутся к звёздам, буквы подпрыгивают волной */
  .js .ab-disc { animation: pop .8s cubic-bezier(.3, 1.5, .5, 1) both; transform-box: fill-box; transform-origin: center; }
  @keyframes pop { from { opacity: 0; transform: scale(.6); } }
  .js .ab-band { animation: draw 1.2s calc(var(--i) * .12s + .6s) ease-out both; }
  .js .ab-boy { animation: kid-in .8s 1s cubic-bezier(.3, 1.6, .5, 1) both, reach 2.6s 2s ease-in-out infinite; }
  .js .ab-girl { animation: kid-in .8s 1.15s cubic-bezier(.3, 1.6, .5, 1) both, reach 2.6s 3.3s ease-in-out infinite; }
  @keyframes kid-in { from { opacity: 0; transform: translateY(60px) scale(.6); } }
  @keyframes reach { 0%, 60%, 100% { transform: none; } 72% { transform: scale(1.03, .95); } 84% { transform: translateY(-14px) scale(.98, 1.04); } }
  .ab-star { animation: twinkle 2.4s calc(var(--i) * .37s) ease-in-out infinite; }
  @keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.5) rotate(36deg); opacity: .6; } }
  .js .ab-t { animation: letter-in .6s calc(var(--i) * 50ms + 1.4s) cubic-bezier(.3, 1.6, .5, 1) both, wave 4s calc(var(--i) * .1s + 3s) ease-in-out infinite; }
  .js .ab-s { animation: letter-in .6s calc(var(--i) * 45ms + 1.9s) cubic-bezier(.3, 1.6, .5, 1) both, wave 4s calc(var(--i) * .1s + 3.6s) ease-in-out infinite; }
  @keyframes letter-in { from { opacity: 0; transform: translateY(-30px) scale(.3); } }
  @keyframes wave { 0%, 30%, 100% { transform: none; } 15% { transform: translateY(-7px); } }
  .logo-btn.is-paused * { animation-play-state: paused !important; }
  .ab-kid.jump { animation: jump .7s cubic-bezier(.3, 1.4, .5, 1) !important; }
  @keyframes jump { 40% { transform: translateY(-40px) rotate(-4deg); } 75% { transform: translateY(0); } 88% { transform: translateY(-6px); } }
  .logo-btn.five .ab-boy { animation: five-b 1s ease-in-out !important; } .logo-btn.five .ab-girl { animation: five-g 1s ease-in-out !important; }
  @keyframes five-b { 50% { transform: translate(18px, -30px) rotate(10deg); } }
  @keyframes five-g { 50% { transform: translate(-18px, -30px) rotate(-10deg); } }
  .logo-btn.five .ab-band { animation: draw .8s calc(var(--i) * .1s) ease-out both !important; }

  .tassel { animation: sway 3.4s calc(var(--i) * -.37s) ease-in-out infinite alternate; }
  @keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
  .tassel.ring { animation: ring 1s cubic-bezier(.3, 1.2, .5, 1); }
  @keyframes ring { 0% { transform: rotate(0); } 20% { transform: rotate(28deg); } 45% { transform: rotate(-20deg); } 70% { transform: rotate(10deg); } 100% { transform: rotate(0); } }
  .yurt-oyu { animation: oyu-spin 18s linear infinite; }
  @keyframes oyu-spin { to { rotate: 360deg; } }
  .hoop-spokes { animation: spokes 40s linear infinite; }
  @keyframes spokes { to { rotate: 360deg; } }
  .stair-kids .kid { animation: bounce 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
  .stair-kids .kid-girl { animation-delay: -.8s; }
  @keyframes bounce { from { transform: scaleY(1); } to { transform: scaleY(.96) translateY(2px); } }
  .saqa { animation: bounce 1.2s ease-in-out infinite alternate; }
  .foot-kids .kid { animation: bounce 1.4s ease-in-out infinite alternate; transform-origin: 50% 100%; }
  .rb-star { animation: oyu-spin 4s linear infinite; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .stars-field { display: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) { .menu a { padding: 8px 9px; font-size: .9rem; } .brand-text small { display: none; } }
@media (max-width: 1100px) {
  .chip-menu { display: inline-flex; }
  .chip-call span { display: none; }
  .chip-call { width: 42px; padding: 0; justify-content: center; }
  .menu { position: absolute; top: calc(var(--bar-h) + 2px); left: 12px; right: 12px; display: none; flex-direction: column; gap: 4px; padding: 14px; border-radius: 26px; background: #fff; box-shadow: 0 24px 60px rgba(29, 43, 79, .22); }
  .menu.open { display: flex; }
  .menu a { padding: 13px 18px; font-size: 1.05rem; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text { justify-items: center; order: 2; }
  .hero-logo { order: 1; }
  .logo-btn { width: min(100%, 420px); }
  .hero-actions { justify-content: center; }
  .about-grid, .contact-grid, .docs-grid { grid-template-columns: 1fr; }
  .asyq-game { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .leader { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .leader-body { justify-items: center; }
  .hoop-photo { width: 220px; }
  .stairs { height: auto; padding-top: 140px; gap: 8px; }
  .step { height: calc(110px + var(--i) * 40px); padding: 12px 8px; }
  .step-age b { font-size: 2.2rem; }
  .step-cap { font-size: .76rem; }
  .stair-kids .kid { height: 90px; } .stair-kids .kid-girl { height: 72px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1160px, 100% - 32px); }
  .brand-text strong { font-size: 1.2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form { padding: 44px 20px 28px; }
  .seal { width: 52px; height: 52px; top: 18px; right: 16px; }
  .foot-in { justify-content: center; text-align: center; } .foot-in p { width: 100%; }
  .hall-nav { width: 44px; height: 44px; }
  .photo-btn img { height: clamp(240px, 46vh, 360px); }
  .place a { margin-left: 0; }
  .fact { width: 150px; height: 150px; padding: 26px 20px 14px; }
  .fact strong { font-size: 1.2rem; max-width: 96px; } .fact b { font-size: 1.6rem; }
  .tekemet { gap: 10px; padding: 24px 16px; }
  .saqa { width: 44px; } .asyq { width: 38px; }
  .balloon-btn:nth-of-type(3) { display: none; }
  .oyu-corner { display: none; }
  .tassel { width: 14px; height: 40px; }
  .frieze { height: 76px; }
}
@media (max-width: 420px) {
  .top-in { gap: 8px; width: calc(100% - 20px); }
  .brand img { width: 40px; height: 40px; }
  .chip { min-height: 40px; padding: 0 12px; }
  .chip-menu, .chip-call { width: 40px; padding: 0; }
  .brand-text strong { font-size: 1.05rem; }
}
