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

@font-face { font-family: "Pacifico"; font-weight: 400; font-display: swap; src: url("../assets/fonts/pacifico-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: "Pacifico"; font-weight: 400; font-display: swap; src: url("../assets/fonts/pacifico-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pacifico"; font-weight: 400; font-display: swap; src: url("../assets/fonts/pacifico-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: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/montserrat-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: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/montserrat-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/montserrat-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; }

:root {
  --gold: #ffc61a; --gold-d: #f0a400; --amber: #d98200; --honey: #ffe27a; --brown: #8a4b0b; --cocoa: #5a2e0a;
  --sky-c: #8fd0f5; --leaf: #3f9a3a; --rose: #f07a8a; --night: #0c1846; --night-2: #1c2d72; --night-3: #2f4290;
  --bg: #fff8e7; --bg-2: #e6f5fd; --card: #ffffff; --text: #3b2408; --muted: #6e5434; --line: rgba(138, 75, 11, .14);
  --head: var(--cocoa); --kick: var(--amber);
  --foil: linear-gradient(100deg, #b86a00 0%, #f5b400 20%, #ffe58a 36%, #e89a00 52%, #ffd34a 70%, #b86a00 100%);
  --display: "Pacifico", "Brush Script MT", cursive;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar-h: 72px;
  --ease-pop: cubic-bezier(.3, 1.6, .5, 1);
}
html.is-night {
  --bg: #0f1c50; --bg-2: #13225c; --card: #18275f; --text: #fff4da; --muted: #cfc8ea; --line: rgba(255, 214, 90, .2);
  --head: #ffe58a; --kick: #ffd34a;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 1.02rem/1.7 var(--body); overflow-x: hidden; transition: background-color .9s, color .9s; }
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(--amber); }
.is-night a { color: var(--gold); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 10px; }
[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; }
.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(--muted); }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.3; color: var(--head); text-wrap: balance; transition: color .9s; }
h3 { font-weight: 800; font-size: 1.3rem; line-height: 1.25; }
.lede { max-width: 62ch; font-size: 1.07rem; color: var(--muted); text-wrap: pretty; transition: color .9s; }
.head { display: grid; gap: 10px; 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: 800; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--kick); transition: color .9s; }
.kicker .ico { color: var(--gold-d); }
.hint { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.hint .ico, .hero-hint .ico { color: var(--gold-d); }
.foil { background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Разделы ---------- */
.section, .foot, .hero { overflow-x: clip; }
.section { position: relative; padding: clamp(70px, 8vw, 110px) 0; transition: background-color .9s; }
.sec-cream { background: var(--bg); }
.sec-sky { background: var(--bg-2); }
.sec-sun { background: linear-gradient(180deg, #fff3cc, #ffe7a6); }
.is-night .sec-sun { background: linear-gradient(180deg, #13225c, #1b2b6a); }
.sec-white { background: var(--card); }
.sec-night { background: linear-gradient(180deg, var(--night), var(--night-2)); color: #fff4da; --head: #ffe58a; --kick: #ffd34a; --muted: #d6d0f0; }
.sec-dusk { background: linear-gradient(165deg, #ffbf3c 0%, #f5893a 38%, #a24a8a 70%, #2a3a8c 100%); color: #fff; --head: #fff; --kick: #fff3c4; --muted: rgba(255, 255, 255, .92); }
.is-night .sec-dusk { background: linear-gradient(165deg, #2a3a8c 0%, #1c2d72 50%, #0c1846 100%); }
.orn { width: 220px; height: auto; color: var(--gold-d); }
.orn-head { width: 180px; margin-top: 2px; }
.orn-band { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 20px; background: var(--bg); transition: background-color .9s; }
.orn-band::before, .orn-band::after { content: ""; flex: 1; max-width: 420px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--gold-d)); }
.orn-band::after { transform: scaleX(-1); }
.orn-band .orn { width: 200px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer; font-family: var(--body); font-weight: 800; font-size: 1rem; text-decoration: none; transition: transform .25s var(--ease-pop), box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-3px); }
.btn-main { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffd84a, #f5ad00); color: var(--cocoa) !important; box-shadow: 0 12px 26px rgba(224, 138, 0, .38), inset 0 -4px 0 rgba(138, 75, 11, .22), inset 0 2px 0 rgba(255, 255, 255, .6); }
.btn-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); transform: translateX(-120%); }
.btn-main:hover::after { transition: transform .8s; transform: translateX(120%); }
.btn-wa { background: var(--card); color: var(--text) !important; box-shadow: 0 10px 22px rgba(90, 46, 10, .12); }
.btn-wa .ico { color: #25a244; }

/* ---------- Шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255, 250, 236, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s, background-color .9s; }
.is-night .top { background: rgba(12, 24, 70, .88); }
.top.is-stuck { box-shadow: 0 10px 30px rgba(90, 46, 10, .14); }
.top-in { display: flex; align-items: center; gap: 14px; width: min(1260px, 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: 50px; height: 50px; border-radius: 50%; box-shadow: 0 4px 12px rgba(224, 138, 0, .35); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.3; background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: .66rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--brown); }
.is-night .brand-text small { color: #ffd34a; }
.menu { display: flex; gap: 2px; }
.menu a { padding: 8px 12px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .2s, color .2s; }
.menu a:hover { background: rgba(255, 198, 26, .22); }
.menu a.is-active { background: var(--gold); color: var(--cocoa); }
.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: var(--card); color: var(--text); font-weight: 800; font-size: .86rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .9s, color .9s; }
.is-night .chip { color: var(--text); }
.chip-call { border-color: transparent; background: linear-gradient(180deg, #ffd84a, #f5ad00); color: var(--cocoa) !important; }
.chip-menu { display: none; width: 42px; padding: 0; justify-content: center; }
/* переключатель «күн / ай» */
.dn { position: relative; display: inline-flex; align-items: center; justify-content: space-between; width: 70px; height: 38px; padding: 0 9px; border: 0; border-radius: 999px; background: linear-gradient(90deg, #8fd0f5, #c9ecfd); cursor: pointer; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .12); transition: background .9s; }
.is-night .dn { background: linear-gradient(90deg, #1c2d72, #0c1846); }
.dn-ico { position: relative; z-index: 1; width: 16px; height: 16px; color: #fff; }
.dn-ico .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.dn-knob { position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff6b0, #ffcf1f 55%, #f2a400); box-shadow: 0 0 12px rgba(255, 198, 26, .8); transition: transform .6s var(--ease-pop), background .6s, box-shadow .6s; }
.is-night .dn-knob { transform: translateX(32px); background: radial-gradient(circle at 30% 30%, #fff8d0, #ffe27a 60%, #e8b830); box-shadow: inset -7px -3px 0 rgba(12, 24, 70, .55), 0 0 14px rgba(255, 226, 122, .7); }
.sunline { position: relative; height: 4px; background: rgba(138, 75, 11, .08); }
.sunline i { display: block; width: var(--p, 0%); height: 100%; background: var(--foil); background-size: 100vw 100%; box-shadow: 0 0 8px rgba(255, 198, 26, .8); }

/* ---------- Первый экран ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: 100svh; padding: calc(var(--bar-h) + 30px) 0 110px; background: linear-gradient(180deg, #a9dcf8 0%, #dff3fd 40%, #fff3cf 78%, #fff8e7 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #060f36 0%, #13246a 55%, #2a3d88 100%); opacity: 0; transition: opacity 1.2s; }
.is-night .hero::before { opacity: 1; }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.burst { position: absolute; top: 50%; right: max(-200px, calc((100vw - 1160px) / 2 - 220px)); width: 1100px; height: 1100px; translate: 0 -50%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 208, 60, .34) 0deg 7deg, transparent 7deg 16deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 68%); mask: radial-gradient(circle, #000 18%, transparent 68%); transition: opacity 1.2s; }
.is-night .burst { opacity: .12; }
.cloud { position: absolute; fill: #fff; opacity: .9; filter: drop-shadow(0 10px 18px rgba(80, 150, 200, .18)); transition: opacity 1.2s; }
.is-night .cloud { opacity: .07; }
.cl-1 { top: 14%; left: 3%; width: 170px; }
.cl-2 { top: 24%; left: 42%; width: 120px; }
.cl-3 { top: 62%; left: 8%; width: 110px; }
.night-stars { position: absolute; inset: 0; pointer-events: none; }
.night-stars i { position: absolute; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; background: #fff4c4; box-shadow: 0 0 6px #ffe27a; }
.hero .night-stars { opacity: 0; transition: opacity 1.2s; }
.is-night .hero .night-stars { opacity: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.hero-text { display: grid; gap: 18px; justify-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--card); box-shadow: 0 6px 16px rgba(90, 46, 10, .1); font-weight: 700; font-size: .82rem; color: var(--text); transition: background-color .9s, color .9s; }
.eyebrow .ico { color: var(--rose); }
.hero-title { display: flex; flex-wrap: nowrap; align-items: baseline; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 1.2rem + 5vw, 5.9rem); line-height: 1.32; letter-spacing: .005em; }
.ht { display: inline-block; padding: 0 .08em; background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(138, 75, 11, .14)); transition: filter 1s; }
.ht-gold { background-image: var(--foil); }
.ht-moon { background-image: linear-gradient(100deg, #1c2d72, #3f57b8 45%, #1c2d72); }
.ht-dash { color: var(--gold-d); }
.is-night .ht-gold { background-image: linear-gradient(100deg, #c9c3ea, #fff, #c9c3ea); filter: none; }
.is-night .ht-moon { background-image: var(--foil); filter: drop-shadow(0 0 18px rgba(255, 214, 90, .65)); }
.hero-tag { font-weight: 800; font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem); color: var(--brown); transition: color .9s; }
.is-night .hero-tag { color: #ffe58a; }
.hero-lead { max-width: 52ch; font-size: 1.08rem; color: var(--muted); }
.is-night .hero-lead { color: #dcd6f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 16px; background: rgba(255, 255, 255, .7); font-weight: 600; font-size: .9rem; color: var(--text); }
.is-night .hero-hint { background: rgba(255, 255, 255, .08); }
.hero-logo { position: relative; display: grid; justify-items: center; }
.logo-glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 90, .6), transparent 68%); filter: blur(10px); }
.is-night .logo-glow { background: radial-gradient(circle, rgba(255, 236, 150, .4), transparent 68%); }
.aa-logo { position: relative; width: min(100%, 520px); height: auto; overflow: visible; filter: drop-shadow(0 24px 34px rgba(170, 100, 0, .3)); -webkit-tap-highlight-color: transparent; }
.kid-bubble { position: absolute; z-index: 3; padding: 6px 14px; border-radius: 16px; background: #fff; color: var(--cocoa); font-weight: 800; font-size: .95rem; white-space: nowrap; box-shadow: 0 8px 18px rgba(90, 46, 10, .22); translate: -50% -100%; opacity: 0; pointer-events: none; }
.kid-bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; translate: -50% 0; rotate: 45deg; background: #fff; }
.kid-bubble.show { animation: bubble 1.4s var(--ease-pop) both; }
@keyframes bubble { 0% { opacity: 0; transform: scale(.4) translateY(10px); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
.hero-hill { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: 90px; fill: var(--bg); transition: fill .9s; }

/* ---------- ЛОГОТИП: части (assets/logo/altynai.svg) ---------- */
.aa-nightsky, .aa-st, .aa-dot, .aa-moonface, .aa-zz { opacity: 0; transition: opacity 1.4s; }
.aa-st, .aa-dot { transform-box: fill-box; transform-origin: center; }
.aa-clouds { transition: opacity 1.4s; }
.aa-halo { opacity: .55; transition: opacity 1.4s; }
.aa-shadow { transform: translate(-440px, -40px); transition: transform 1.8s cubic-bezier(.6, 0, .3, 1); }
.aa-face { transition: opacity 1s; }
.aa-ray { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1s var(--ease-pop), opacity .8s; }
.aa-brow { fill: none; stroke: #7a3d10; stroke-width: 6; stroke-linecap: round; }
.aa-lid { fill: none; stroke: #3a1a06; stroke-width: 4.5; stroke-linecap: round; }
.aa-lash { fill: none; stroke: #3a1a06; stroke-width: 3.5; stroke-linecap: round; }
.aa-eye { transform-box: fill-box; transform-origin: center; }
.aa-zz { fill: none; stroke: #fff3b0; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.aa-shades { opacity: 0; transform: translateY(-80px) rotate(-8deg); transition: transform .7s var(--ease-pop), opacity .4s; pointer-events: none; }
.aa-logo.sun-cool .aa-shades { opacity: 1; transform: none; }
.aa-sun { cursor: pointer; }
.aa-kid, .aa-tulip { transform-box: fill-box; transform-origin: 50% 100%; cursor: pointer; }
.aa-ringglint { transform-origin: 478px 480px; }
/* ночь: солнце становится золотым месяцем, небо темнеет, загораются звёзды */
.is-night .aa-nightsky, .is-night .aa-st, .is-night .aa-dot, .is-night .aa-moonface, .is-night .aa-zz { opacity: 1; }
.is-night .aa-moonface, .is-night .aa-zz { transition-delay: .9s; }
.is-night .aa-clouds { opacity: .16; }
.is-night .aa-halo { opacity: .3; }
.is-night .aa-shadow { transform: translate(-92px, -34px); }
.is-night .aa-face { opacity: 0; }
.is-night .aa-ray { transform: scale(.15); opacity: 0; transition-delay: calc(var(--i) * 25ms); }
.is-night .aa-shades { opacity: 0; }
/* полная луна (пасхалка): тень уходит */
.is-night .aa-logo.moon-full .aa-shadow { transform: translate(-440px, -40px); }
.is-night .aa-logo.moon-full .aa-halo { opacity: .95; }
.aa-logo[data-phase="1"] .aa-shadow { transform: translate(-150px, -38px) !important; }
.aa-logo[data-phase="2"] .aa-shadow { transform: translate(-240px, -40px) !important; }

/* ---------- О нас: Алтын + Ай ---------- */
.duo-title { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .25em; font-size: clamp(2.8rem, 1.6rem + 4vw, 4.8rem); }
.dt-a { background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em; }
.dt-b { color: var(--night-2); transition: color .9s; }
.is-night .dt-b { color: #ffe27a; text-shadow: 0 0 20px rgba(255, 214, 90, .6); }
.dt-plus { display: inline-block; font-family: var(--body); font-weight: 800; color: var(--rose); }
.name-duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: center; max-width: 980px; margin: 0 auto 44px; }
.name-card { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 4px 20px; align-items: center; min-height: 190px; padding: 26px 28px; border: 0; border-radius: 34px; text-align: left; cursor: pointer; overflow: hidden; transition: transform .35s var(--ease-pop), box-shadow .3s; }
.name-card:hover { transform: translateY(-6px) rotate(-.6deg); }
.nc-gold { background: linear-gradient(140deg, #fff4c8, #ffd863); color: var(--cocoa); box-shadow: 0 18px 40px rgba(224, 138, 0, .28); }
.nc-moon { background: linear-gradient(140deg, #1c2d72, #0c1846); color: #fff4da; box-shadow: 0 18px 40px rgba(12, 24, 70, .35); }
.nc-moon::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20% 30%, #fff4c4 50%, transparent 52%), radial-gradient(1.6px 1.6px at 70% 20%, #fff4c4 50%, transparent 52%), radial-gradient(2px 2px at 85% 70%, #fff4c4 50%, transparent 52%), radial-gradient(1.4px 1.4px at 45% 80%, #fff4c4 50%, transparent 52%), radial-gradient(1.8px 1.8px at 60% 50%, #fff4c4 50%, transparent 52%); opacity: .8; }
.name-card.is-current { outline: 4px solid var(--gold); outline-offset: 5px; }
.nc-art { grid-row: span 2; position: relative; display: grid; place-items: center; width: 96px; height: 96px; }
.mini-sun { position: relative; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff6b0, #ffcf1f 55%, #f2a400); box-shadow: 0 0 22px rgba(255, 198, 26, .8); }
.mini-sun i { position: absolute; inset: -20px; border-radius: 50%; background: repeating-conic-gradient(#ffc61a 0deg 12deg, transparent 12deg 30deg); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%, #000 70%, transparent 72%); mask: radial-gradient(circle, transparent 54%, #000 56%, #000 70%, transparent 72%); }
.mini-moon { width: 64px; height: 64px; border-radius: 50%; box-shadow: 16px -6px 0 0 #ffe27a; filter: drop-shadow(0 0 12px rgba(255, 226, 122, .7)); translate: -8px 4px; }
.nc-word { position: relative; font-family: var(--display); font-size: 2.6rem; line-height: 1.2; }
.nc-gold .nc-word { color: #b86a00; }
.nc-moon .nc-word { color: #ffe27a; }
.nc-text { position: relative; align-self: start; font-size: .98rem; font-weight: 600; }
.name-plus { font-weight: 800; font-size: 2.6rem; color: var(--rose); }
.about-text { display: grid; gap: 14px; justify-items: center; max-width: 76ch; margin: 0 auto; text-align: center; }
.about-text .lede { max-width: none; }
.place { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; padding: 10px 18px; border-radius: 22px; background: var(--card); font-weight: 700; box-shadow: 0 8px 20px rgba(90, 46, 10, .08); transition: background-color .9s; }
.place .ico { color: var(--rose); }
.place a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
/* монетки-факты */
.coins-wrap { position: relative; margin-top: 56px; text-align: center; }
.coins-title { margin-bottom: 22px; font-family: var(--display); font-weight: 400; font-size: 1.9rem; color: var(--head); transition: color .9s; }
.coins { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.coin { display: block; width: 168px; height: 168px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 700px; -webkit-tap-highlight-color: transparent; }
.coin-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease-pop); }
.coin.flipped .coin-in { transform: rotateY(180deg); }
.coin:hover .coin-in { transform: rotateY(18deg) translateY(-4px); }
.coin.flipped:hover .coin-in { transform: rotateY(162deg) translateY(-4px); }
.coin-face { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; padding: 22px; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: radial-gradient(circle at 36% 30%, #fff6c0, #ffd23a 45%, #f0a400 80%, #c98000); color: #6b3a00; box-shadow: inset 0 0 0 7px rgba(255, 246, 200, .55), inset 0 0 0 9px rgba(185, 110, 0, .45), inset 0 -8px 16px rgba(150, 80, 0, .35), 0 14px 26px rgba(170, 100, 0, .35); }
.coin-face::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; border: 2px dashed rgba(138, 75, 11, .35); }
.coin-front b { font-weight: 800; font-size: 2.8rem; line-height: 1; text-shadow: 0 2px 0 rgba(255, 246, 200, .7); }
.coin-front b.b-sm { font-size: 1.7rem; }
.coin-front b.b-xs { font-size: 1.15rem; line-height: 1.2; max-width: 110px; }
.coin-front small { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.coin-back { transform: rotateY(180deg); background: radial-gradient(circle at 36% 30%, #ffe680, #f5b400 50%, #c47c00); }
.coin-back .ico { width: 34px; height: 34px; stroke-width: 2.4; }
.coin-back small { max-width: 118px; font-weight: 800; font-size: .8rem; line-height: 1.25; }

/* ---------- Біздің күн: солнце по дуге ---------- */
.dayarc { position: relative; max-width: 1000px; aspect-ratio: 1000 / 420; margin: 0 auto; --ground: #9fd27e; }
.is-night .dayarc { --ground: #24357a; }
.arc-sky { position: absolute; inset: 0; overflow: hidden; border-radius: 40px 40px 18px 18px; background: #ffe2bd; box-shadow: 0 24px 50px rgba(90, 46, 10, .14); }
.arc-sky i { position: absolute; inset: 0; }
.as-dawn { background: linear-gradient(180deg, #ffc9a0, #ffeccf); opacity: clamp(0, calc(1 - var(--p) * 4), 1); }
.as-day { background: linear-gradient(180deg, #74c3f2, #d9f1fd); opacity: clamp(0, min(calc(var(--p) * 4), calc((.78 - var(--p)) * 6)), 1); }
.as-dusk { background: linear-gradient(180deg, #8a5bb0, #f59a55 60%, #ffd08a); opacity: clamp(0, min(calc((var(--p) - .5) * 5), calc((1 - var(--p)) * 6)), 1); }
.as-night { background: linear-gradient(180deg, #08123a, #1c2d72); opacity: clamp(0, calc((var(--p) - .86) * 8), 1); }
.arc-stars { position: absolute; inset: 0; opacity: clamp(0, calc((var(--p) - .8) * 5), 1); background-image: radial-gradient(2px 2px at 12% 20%, #fff4c4 50%, transparent 52%), radial-gradient(1.6px 1.6px at 28% 12%, #fff4c4 50%, transparent 52%), radial-gradient(2px 2px at 44% 30%, #fff4c4 50%, transparent 52%), radial-gradient(1.4px 1.4px at 66% 14%, #fff4c4 50%, transparent 52%), radial-gradient(2.2px 2.2px at 80% 26%, #fff4c4 50%, transparent 52%), radial-gradient(1.6px 1.6px at 90% 10%, #fff4c4 50%, transparent 52%), radial-gradient(1.6px 1.6px at 56% 44%, #fff4c4 50%, transparent 52%), radial-gradient(2px 2px at 20% 48%, #fff4c4 50%, transparent 52%); }
.arc-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc-track { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 4; stroke-dasharray: .8 1.6; stroke-linecap: round; }
.arc-done { fill: none; stroke: #ffd23a; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(255, 210, 58, .9)); transition: stroke-dashoffset .5s; }
.arc-ground { fill: var(--ground); transition: fill .9s; }
.arc-stop { position: absolute; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); translate: -50% -50%; cursor: pointer; transition: background .3s, transform .3s var(--ease-pop); }
.arc-stop i { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(90, 46, 10, .25); transition: background .3s; }
.arc-stop:hover { transform: scale(1.2); }
.arc-stop.is-past i { background: #ffd23a; }
.arc-sun { position: absolute; z-index: 3; display: grid; place-items: center; width: 92px; height: 92px; translate: -50% -50%; border-radius: 50%; cursor: grab; touch-action: none; outline-offset: 6px; }
.arc-sun:active { cursor: grabbing; }
.arc-orb { position: relative; display: block; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff6b0, #ffcf1f 55%, #f2a400); box-shadow: 0 0 26px rgba(255, 198, 26, .95); transition: background .8s, box-shadow .8s, transform .8s; }
.arc-orb::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; background: repeating-conic-gradient(#ffc61a 0deg 10deg, transparent 10deg 24deg); -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%, #000 74%, transparent 76%); mask: radial-gradient(circle, transparent 60%, #000 62%, #000 74%, transparent 76%); transition: opacity .6s, transform .8s; }
.dayarc.is-moon .arc-orb { background: transparent; box-shadow: 16px -6px 0 0 #ffe27a; transform: translateX(-8px); }
.dayarc.is-moon .arc-orb::before { opacity: 0; transform: scale(.4); }
.arc-time { position: absolute; bottom: 2%; z-index: 2; padding: 2px 4px; font-weight: 700; font-size: clamp(.72rem, .6rem + .4vw, .95rem); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.arc-time b { font-weight: 800; }
.at-l { left: 4%; } .at-r { right: 4%; }
.arc-card { display: grid; gap: 4px; justify-items: center; max-width: 560px; margin: -10px auto 0; padding: 22px 28px; border-radius: 0 0 30px 30px; background: var(--card); text-align: center; box-shadow: 0 20px 40px rgba(90, 46, 10, .12); transition: background-color .9s; }
.arc-n { padding: 2px 12px; border-radius: 999px; background: var(--gold); color: var(--cocoa); font-weight: 800; font-size: .78rem; }
.arc-card strong { font-weight: 800; font-size: 1.35rem; color: var(--head); }
.arc-card p { color: var(--muted); }
.arc-card.swap > * { animation: swap .5s var(--ease-pop) both; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Группы: фазы луны ---------- */
.sec-night .night-stars { z-index: 0; }
.groups .wrap { position: relative; z-index: 1; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.phase { display: grid; justify-items: center; gap: 8px; width: 100%; height: 100%; padding: 30px 24px 26px; border: 1px solid rgba(255, 214, 90, .25); border-radius: 34px; background: rgba(255, 255, 255, .05); color: #fff4da; text-align: center; cursor: pointer; transition: transform .35s var(--ease-pop), background .3s, box-shadow .3s; }
.phase:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .09); }
.phase.is-picked { box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(255, 214, 90, .35); }
.phase-moon { width: 170px; filter: drop-shadow(0 0 22px rgba(255, 220, 110, .45)); transition: filter .6s; }
.phase:hover .phase-moon { filter: drop-shadow(0 0 34px rgba(255, 220, 110, .8)); }
.moon .mp-dark { fill: rgba(255, 255, 255, .08); }
.moon .mp-shadow { transform: translateX(var(--sx)); transition: transform 1.4s cubic-bezier(.6, 0, .3, 1); }
.phase.is-full .mp-shadow { transform: translateX(-240px); }
.phase-name { font-family: var(--display); font-weight: 400; font-size: 2.3rem; line-height: 1.3; color: #ffe27a; }
.phase-age { padding: 3px 14px; border-radius: 999px; background: var(--gold); color: var(--cocoa); font-weight: 800; font-size: .9rem; }
.phase-text { max-width: 30ch; color: #d6d0f0; font-weight: 500; }
.phase-pick { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 800; font-size: .9rem; color: #ffd34a; }

/* ---------- Руководитель ---------- */
.leaders { display: grid; gap: 30px; }
.leader { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 50px); align-items: center; max-width: 920px; margin: 0 auto; padding: 34px clamp(24px, 4vw, 46px); border-radius: 40px; background: var(--card); box-shadow: 0 24px 50px rgba(90, 46, 10, .12); transition: background-color .9s; }
.medal { position: relative; display: grid; place-items: center; width: 260px; aspect-ratio: 1; margin: 0 auto; }
.medal-rays { position: absolute; inset: -26px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 198, 26, .55) 0deg 6deg, transparent 6deg 15deg); -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%, #000 66%, transparent 72%); mask: radial-gradient(circle, transparent 55%, #000 57%, #000 66%, transparent 72%); }
.medal-in { position: relative; display: block; width: 100%; height: 100%; padding: 8px; border-radius: 50%; background: var(--foil); box-shadow: 0 16px 30px rgba(170, 100, 0, .35); }
.medal-in img, .medal-in .avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.leader-body { display: grid; gap: 8px; justify-items: start; }
.leader-role { font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--kick); }
.leader-body h3 { font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); color: var(--head); }
.leader-edu span { display: block; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.leader-about { color: var(--muted); }
.leader-years { display: inline-flex; align-items: baseline; gap: 8px; }
.leader-years strong { font-family: var(--display); font-size: 2.4rem; color: var(--gold-d); }
.leader-orn { width: 150px; margin-top: 8px; }

/* ---------- Кружки ---------- */
.clubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 26px; max-width: 960px; margin: 0 auto; }
.clubs-1 { max-width: 480px; }
.club { position: relative; border-radius: 36px; background: var(--card); box-shadow: 0 20px 44px rgba(150, 90, 0, .16); transition: transform .35s var(--ease-pop), background-color .9s; }
.club:hover { transform: translateY(-8px) rotate(-.6deg); }
.club-open { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; width: 100%; padding: 26px 26px; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; }
.club-media { position: relative; display: grid; place-items: center; width: 120px; height: 120px; }
.club-media img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.club-rays { position: absolute; inset: -12px; border-radius: 50%; background: repeating-conic-gradient(color-mix(in srgb, var(--c) 55%, transparent) 0deg 8deg, transparent 8deg 20deg); -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%); mask: radial-gradient(circle, transparent 58%, #000 60%); }
.club-ico { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c)); color: #fff; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12), 0 10px 20px color-mix(in srgb, var(--c) 40%, transparent); }
.club-ico .extra-ico { width: 62px; height: 62px; }
.club-body { display: grid; gap: 6px; }
.club-title { font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1.3; color: var(--c); }
.is-night .club-title { color: color-mix(in srgb, var(--c) 50%, #fff); }
.club-meta { font-weight: 800; font-size: .8rem; color: var(--muted); }
.club-text { color: var(--muted); }
.story-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .9rem; color: var(--amber); }
.note-fly { position: fixed; z-index: 74; font-size: 26px; font-weight: 800; pointer-events: none; }

/* ---------- Фото ---------- */
.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(--gold-d); border-radius: 999px; background: var(--card); font-weight: 800; font-size: .88rem; color: var(--text); cursor: pointer; }
.tab.is-on { background: var(--gold); color: var(--cocoa); }
.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 var(--ease-pop); }
.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 #fffdf6; border-bottom-width: 44px; border-radius: 12px; background: #fffdf6; cursor: zoom-in; overflow: hidden; box-shadow: 0 24px 46px rgba(90, 46, 10, .2), 0 0 0 3px rgba(240, 164, 0, .5); }
.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(--cocoa); font-family: var(--display); font-size: 1.1rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.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(--gold); color: var(--cocoa); cursor: pointer; box-shadow: 0 10px 24px rgba(224, 138, 0, .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(--muted); font-weight: 600; }

/* ---------- Новости ---------- */
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.story { overflow: hidden; border-radius: 30px; background: var(--card); box-shadow: 0 18px 44px rgba(90, 46, 10, .12); transition: transform .35s var(--ease-pop), background-color .9s; }
.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: #fff3cf; }
.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-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-weight: 700; font-size: .82rem; }
.story-body { display: grid; gap: 6px; padding: 18px 24px 26px; }
.story-body time { font-size: .84rem; font-weight: 800; color: var(--amber); }
.story-title { font-weight: 800; font-size: 1.25rem; line-height: 1.25; color: var(--head); }
.story-excerpt { color: var(--muted); 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: 28px; background: var(--card); box-shadow: 0 14px 34px rgba(90, 46, 10, .1); }
.jobs { background: linear-gradient(160deg, #1c2d72, #0c1846); color: #fff4da; }
.doc-set h3, .jobs h3 { margin-bottom: 12px; color: var(--head); }
.jobs h3 { color: #ffe27a; }
.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(--text); }
.doc-set a .ico { color: var(--gold-d); }
.doc-set small { margin-left: 32px; color: var(--muted); font-weight: 600; }
.job { margin-top: 14px; padding-top: 14px; border-top: 2px dashed rgba(255, 255, 255, .3); }
.job summary { cursor: pointer; font-weight: 800; }
.job p { margin-top: 8px; }
.job a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 800; color: var(--gold) !important; }

/* ---------- Контакты ---------- */
.contact-grid { position: relative; 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; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); color: #fff !important; text-decoration: none; text-shadow: 0 2px 10px rgba(90, 30, 0, .25); }
.contact-phone .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; color: var(--amber); }
.contact-phone small { padding: 2px 10px; border-radius: 999px; background: #25a244; font-size: .78rem; text-shadow: none; }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.contact-list .ico { margin-top: 3px; color: #fff3c4; }
.contact-list a { color: #fff !important; font-weight: 800; }
.social-label { margin-top: 6px; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.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(--cocoa) !important; font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px rgba(0, 0, 0, .14); transition: transform .25s var(--ease-pop); }
.socials a:hover { transform: translateY(-3px) rotate(-2deg); }
.map-frame { width: 100%; margin-top: 10px; overflow: hidden; border: 6px solid rgba(255, 255, 255, .9); border-radius: 26px; box-shadow: 0 18px 40px rgba(40, 20, 60, .3); }
.map-frame iframe { display: block; width: 100%; height: 260px; border: 0; }
.form { position: relative; padding: 46px 36px 34px; border-radius: 34px; background: #fffdf6; color: #3b2408; box-shadow: 0 30px 70px rgba(40, 20, 60, .3); }
.form::before { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(240, 164, 0, .35); border-radius: 26px; pointer-events: none; }
.seal { position: absolute; top: -26px; right: 26px; width: 74px; height: 74px; border-radius: 50%; box-shadow: 0 10px 22px rgba(170, 100, 0, .4); }
.seal img { width: 100%; height: 100%; border-radius: 50%; }
.form h3 { font-family: var(--display); font-weight: 400; font-size: 2.3rem; line-height: 1.3; color: #b86a00; }
.form-orn { width: 140px; margin: 2px 0 4px; color: #f0a400; }
.form label { display: block; margin: 16px 0 6px; font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #6e5434; }
.form input:not([type="checkbox"]), .form select, .form textarea { position: relative; width: 100%; padding: 13px 18px; border: 2px solid #f1dfb4; border-radius: 16px; background: #fff; font: 600 1rem var(--body); color: #3b2408; 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='%238a4b0b' 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 select.flash { animation: flash 1s ease; }
@keyframes flash { 30% { border-color: #f0a400; box-shadow: 0 0 0 6px rgba(255, 198, 26, .4); } }
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: #f0a400; box-shadow: 0 0 0 5px rgba(255, 198, 26, .25); }
.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: .88rem !important; font-weight: 600 !important; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: #f0a400; }
.form .btn { position: relative; width: 100%; margin-top: 20px; }
.form-note { position: relative; margin-top: 10px; font-weight: 800; color: var(--leaf); opacity: 0; transition: opacity .3s; }
.form-note.show { opacity: 1; }
.form-note.error { color: #b3261e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Подвал: сад тюльпанов ---------- */
.foot { position: relative; padding-top: 60px; background: linear-gradient(180deg, #0c1846, #071034); color: #e5e0f6; }
.foot .night-stars { bottom: 40%; }
.garden-head { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; }
.garden-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.3; color: #ffe27a; }
.tulip-bed { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(2px, 1.5vw, 22px); height: 150px; margin-top: 18px; padding: 0 12px; }
.tulip-btn { width: calc(var(--h) * .55); height: var(--h); padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 100%; -webkit-tap-highlight-color: transparent; }
.tulip { width: 100%; height: 100%; overflow: visible; }
.tp-l, .tp-r, .tp-m { transform-box: fill-box; transition: transform .8s var(--ease-pop), fill .6s; }
.tp-l { transform-origin: 100% 100%; transform: rotate(6deg); }
.tp-r { transform-origin: 0 100%; transform: rotate(-6deg); }
.tp-m { transform-origin: 50% 100%; }
.tulip-btn.is-open .tp-l { transform: rotate(-34deg); }
.tulip-btn.is-open .tp-r { transform: rotate(34deg); }
.tulip-btn.is-open .tp-m { transform: scale(1.08); }
.tulip-btn.is-open .tulip { filter: drop-shadow(0 0 12px rgba(255, 214, 90, .7)); }
.foot-ground { position: relative; display: grid; gap: 14px; justify-items: center; padding: 26px 0 30px; background: #1b3a2a; background: linear-gradient(180deg, #23502f, #0e2618); text-align: center; }
.foot-bye { font-family: var(--display); font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); line-height: 1.4; color: #fff; padding: 0 16px; }
.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, .08); font-weight: 600; font-size: .88rem; }
.eggs-dots { display: inline-flex; gap: 6px; }
.eggs-dots i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: background .4s, transform .5s var(--ease-pop), box-shadow .4s; }
.eggs-dots i.on { background: radial-gradient(circle at 36% 30%, #fff6c0, #ffd23a 50%, #e09a00); box-shadow: 0 0 10px rgba(255, 210, 58, .8); transform: scale(1.2) rotateY(360deg); }
.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, .12); font-size: .9rem; }
.foot-in img { width: 46px; height: 46px; border-radius: 50%; }
.foot-in a { display: inline-flex; align-items: center; gap: 6px; color: #ffe27a !important; font-weight: 800; text-decoration: none; }

/* спрятанные золотые монетки (пасхалка) */
.tiyn { position: absolute; z-index: 4; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 6px; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tiyn i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff6c0, #ffd23a 50%, #d98a00); box-shadow: inset 0 0 0 2px rgba(150, 80, 0, .35), 0 3px 6px rgba(120, 60, 0, .3); }
.tiyn.got { pointer-events: 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: #fffdf6; color: #3b2408; font-weight: 600; box-shadow: 0 18px 44px rgba(90, 46, 10, .3), inset 0 -5px 0 var(--gold); translate: -50% 0; animation: toast-in .5s var(--ease-pop); }
.toast[hidden] { display: none; }
.toast b { color: #b86a00; }
.toast .t-coin { width: 30px; height: 30px; flex: none; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff6c0, #ffd23a 50%, #d98a00); box-shadow: 0 0 12px rgba(255, 198, 26, .8); }
@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: #fffdf6; color: #3b2408; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.news-dialog::backdrop { background: rgba(12, 24, 70, .75); }
.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(--gold); color: var(--cocoa); cursor: pointer; }
.nd-gallery { position: relative; background: var(--night); }
.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: #3b2408; 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(--gold); 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: 800; color: #b86a00; }
.nd-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.3; color: #8a4b0b; 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(12, 24, 70, .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; }
.lb-close, .lb-nav { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border: 0; border-radius: 50%; background: #fff; color: #3b2408; 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: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, #fff, #ffd23a 60%, transparent 70%); pointer-events: none; }
.fx-coin { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff6c0, #ffd23a 50%, #d98a00); box-shadow: inset 0 0 0 2px rgba(150, 80, 0, .35); }
.fx-bf { position: absolute; left: 0; top: 0; width: 40px; height: 32px; }
.fx-orb { position: absolute; left: 0; top: 0; width: 90px; height: 90px; border-radius: 50%; }
.fx-sun { background: radial-gradient(circle at 38% 32%, #fff6b0, #ffcf1f 55%, #f2a400); box-shadow: 0 0 40px 10px rgba(255, 198, 26, .7); }
.fx-moon { box-shadow: 22px -8px 0 0 #ffe27a; filter: drop-shadow(0 0 16px rgba(255, 226, 122, .8)); }

/* ---------- Движение (только если посетитель не просил его уменьшить) ---------- */
@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 .orn path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s ease-out .2s; }
  .js .orn.is-drawn path { stroke-dashoffset: 0; }

  .ht-gold, .brand-text strong, .dt-a, .btn-main { background-position: 0 0; }
  .ht, .brand-text strong, .dt-a { animation: foil 6s ease-in-out infinite; }
  @keyframes foil { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
  .js .eyebrow, .js .hero-tag, .js .hero-lead, .js .hero-actions, .js .hero-hint { animation: rise .8s var(--ease-pop) both; }
  .js .eyebrow { animation-delay: .1s; } .js .hero-tag { animation-delay: 1s; } .js .hero-lead { animation-delay: 1.15s; } .js .hero-actions { animation-delay: 1.3s; } .js .hero-hint { animation-delay: 1.5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  .js .ht-gold { animation: word-in .9s .25s var(--ease-pop) both, foil 6s 1.2s ease-in-out infinite; }
  .js .ht-dash { animation: word-in .6s .5s var(--ease-pop) both; }
  .js .ht-moon { animation: word-in .9s .65s var(--ease-pop) both, foil 6s 1.6s ease-in-out infinite; }
  @keyframes word-in { from { opacity: 0; transform: translateY(40px) rotate(-6deg) scale(.7); } }
  .burst { animation: spin 120s linear infinite; }
  @keyframes spin { to { rotate: 360deg; } }
  .cloud { animation: drift 26s ease-in-out infinite alternate; }
  .cl-2 { animation-duration: 34s; animation-delay: -8s; } .cl-3 { animation-duration: 30s; animation-delay: -14s; }
  @keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }
  .night-stars i { animation: tw 3s calc(var(--d) * -1s) ease-in-out infinite; }
  @keyframes tw { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
  .dt-plus { animation: plus 5s ease-in-out infinite; }
  @keyframes plus { 0%, 70%, 100% { transform: none; } 80% { transform: rotate(180deg) scale(1.3); } }
  .mini-sun i, .medal-rays { animation: spin 30s linear infinite; }
  .club:hover .club-rays, .club.is-playing .club-rays { animation: spin 6s linear infinite; }
  .club.is-playing .club-ico { animation: boing .6s var(--ease-pop) 2; }
  @keyframes boing { 40% { transform: scale(1.12) rotate(-6deg); } 70% { transform: scale(.96) rotate(3deg); } }
  .tulip-btn { animation: sway 4s calc(var(--i) * -.53s) ease-in-out infinite alternate; }
  @keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
  .tiyn i { animation: glint 4s calc(var(--d, 0) * 1s) ease-in-out infinite; }
  @keyframes glint { 0%, 80%, 100% { transform: none; filter: none; } 88% { transform: rotateY(180deg) scale(1.15); filter: brightness(1.3); } }
  .tiyn.got i { animation: got .9s var(--ease-pop) forwards; }
  @keyframes got { 30% { transform: translateY(-40px) scale(1.4) rotateY(360deg); opacity: 1; } 100% { transform: translateY(-90px) scale(.3); opacity: 0; } }
  .phase-li { animation: float 6s calc(var(--i) * -2s) ease-in-out infinite alternate; }
  @keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
  .arc-sun:not(.dragging) { transition: left .7s cubic-bezier(.4, 1.3, .5, 1), top .7s cubic-bezier(.4, 1.3, .5, 1); }
  .arc-orb::before { animation: spin 14s linear infinite; }

  /* логотип: живые части */
  .aa-sun { animation: bob 5s ease-in-out infinite alternate; }
  @keyframes bob { from { transform: translateY(0); } to { transform: translateY(-7px); } }
  .aa-rays { animation: spin 70s linear infinite; }
  .aa-logo.sun-spin .aa-rays { animation: spin 2.4s cubic-bezier(.2, .8, .3, 1); }
  .aa-eye { animation: blink 5s 3s infinite; }
  .aa-eye-r { animation-delay: 3.05s; }
  @keyframes blink { 0%, 94%, 100% { transform: none; } 96% { transform: scaleY(.1); } }
  .aa-logo.wink .aa-eye-l { animation: winkk .7s ease; }
  @keyframes winkk { 40% { transform: scaleY(.1); } }
  .is-night .aa-st, .is-night .aa-dot { animation: twinkle 2.6s calc(var(--i) * .31s) ease-in-out infinite; }
  @keyframes twinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(.45); } }
  .aa-c1 { animation: drift 18s ease-in-out infinite alternate; } .aa-c2 { animation: drift 22s -6s ease-in-out infinite alternate-reverse; } .aa-c3 { animation: drift 16s -3s ease-in-out infinite alternate; }
  .is-night .aa-zz { animation: zz 3s ease-in-out infinite; }
  @keyframes zz { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -10px); } }
  .aa-kid { animation: peek 7s calc(var(--k, 0) * 1.3s + 1s) ease-in-out infinite; }
  .aa-kid:nth-child(1) { --k: 0; } .aa-kid:nth-child(2) { --k: 3; } .aa-kid:nth-child(3) { --k: 1; } .aa-kid:nth-child(4) { --k: 4; } .aa-kid:nth-child(5) { --k: 2; }
  @keyframes peek { 0%, 86%, 100% { transform: none; } 91% { transform: translateY(-9px); } 95% { transform: translateY(0); } }
  .aa-kid.hop { animation: hop .75s cubic-bezier(.3, 1.4, .5, 1); }
  @keyframes hop { 40% { transform: translateY(-34px) rotate(-3deg); } 72% { transform: translateY(0); } 86% { transform: translateY(-6px); } }
  .aa-tulip { animation: tsway 4s ease-in-out infinite alternate; }
  .aa-tr { animation-delay: -2s; }
  @keyframes tsway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
  .aa-shine { animation: shine 6s 1s ease-in-out infinite; }
  @keyframes shine { 0% { transform: translateX(0); } 45%, 100% { transform: translateX(1240px); } }
  .aa-ringglint { animation: spin 8s linear infinite; }
  .is-night .aa-logo.moon-full .aa-orb { animation: fullglow 2s ease-in-out infinite alternate; }
  @keyframes fullglow { to { filter: brightness(1.15); } }

  /* вступление логотипа: ночь → рассвет. Месяц («ай») наполняется и становится золотым солнцем («алтын»). */
  .js:not(.is-night) .is-intro .aa-ring { stroke-dasharray: 100; animation: draw 1.4s .1s cubic-bezier(.5, 0, .3, 1) both; }
  @keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
  .js:not(.is-night) .is-intro .aa-nightsky, .js:not(.is-night) .is-intro .aa-st, .js:not(.is-night) .is-intro .aa-dot { animation: dawn 2.6s ease-in both; }
  @keyframes dawn { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
  .js:not(.is-night) .is-intro .aa-clouds { animation: rise-in 1.6s 1s ease-out both; }
  @keyframes rise-in { from { opacity: .1; transform: translateY(16px); } }
  .js:not(.is-night) .is-intro .aa-shadow { animation: wax 1.6s .7s cubic-bezier(.6, 0, .3, 1) both; }
  @keyframes wax { from { transform: translate(-92px, -34px); } to { transform: translate(-440px, -40px); } }
  .js:not(.is-night) .is-intro .aa-moonface { animation: fade-out .8s .5s both; }
  @keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
  .js:not(.is-night) .is-intro .aa-face { animation: fade-in .8s 1.7s both; }
  @keyframes fade-in { from { opacity: 0; } }
  .js:not(.is-night) .is-intro .aa-ray { animation: ray-in .7s calc(1.7s + var(--i) * 45ms) var(--ease-pop) both; }
  @keyframes ray-in { from { transform: scale(0); opacity: 0; } }
  .js:not(.is-night) .is-intro .aa-banner { animation: banner-in .9s .2s var(--ease-pop) both; transform-box: fill-box; transform-origin: 50% 0; }
  @keyframes banner-in { from { opacity: 0; transform: translateY(40px) scale(.9); } }
  .js .is-intro .aa-kid { animation: kid-up .9s calc(2.1s + var(--k) * .14s) var(--ease-pop) both; }
  @keyframes kid-up { from { transform: translateY(190px); } }
  .js .is-intro .aa-tulip { animation: grow .8s 2.8s var(--ease-pop) both; }
  @keyframes grow { from { transform: scale(0); } }
  .js .is-intro .aa-shine { animation: shine 1.6s 3.2s ease-in-out both; }
}

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

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) { .menu a { padding: 8px 9px; font-size: .86rem; } .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: var(--card); box-shadow: 0 24px 60px rgba(90, 46, 10, .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-title { justify-content: center; }
  .hero-logo { order: 1; }
  .aa-logo { width: min(100%, 440px); }
  .hero-actions { justify-content: center; }
  .burst { right: 50%; top: 30%; translate: 50% -50%; width: 900px; height: 900px; }
  .contact-grid, .docs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .name-duo { grid-template-columns: 1fr; }
  .name-plus { justify-self: center; line-height: 1; }
  .phases { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .leader { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .leader-body { justify-items: center; }
  .medal { width: 220px; }
  .arc-card { border-radius: 26px; margin-top: 14px; }
  .arc-sun { width: 70px; height: 70px; }
  .arc-orb { width: 44px; height: 44px; }
  .arc-orb::before { inset: -13px; }
  .arc-stop { width: 28px; height: 28px; }
  .arc-stop i { width: 11px; height: 11px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1160px, 100% - 32px); }
  .brand-text strong { font-size: 1.3rem; }
  .hero { padding-bottom: 90px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form { padding: 46px 20px 28px; }
  .seal { width: 60px; height: 60px; top: -22px; right: 18px; }
  .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); }
  .coin { width: 140px; height: 140px; }
  .coins { gap: 14px; }
  .coin-front b { font-size: 2.3rem; } .coin-front b.b-sm { font-size: 1.4rem; }
  .name-card { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 0; padding: 24px 20px; }
  .nc-art { grid-row: auto; width: 80px; height: 80px; }
  .nc-text { align-self: auto; }
  .club-open { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .club-body { justify-items: center; }
  .arc-time { display: none; }
  .arc-sun { width: 56px; height: 56px; }
  .arc-orb { width: 32px; height: 32px; }
  .arc-orb::before { inset: -10px; }
  .arc-stop { width: 22px; height: 22px; }
  .arc-stop i { width: 9px; height: 9px; }
  .arc-sky { border-radius: 26px 26px 12px 12px; }
  .arc-time { font-size: .7rem; }
  .cl-2 { display: none; }
}
@media (max-width: 420px) {
  .top-in { gap: 6px; width: calc(100% - 20px); }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.12rem; }
  .chip { min-height: 38px; padding: 0 11px; }
  .chip-menu, .chip-call { width: 38px; padding: 0; }
  .dn { width: 60px; height: 34px; padding: 0 7px; }
  .dn-knob { width: 26px; height: 26px; }
  .is-night .dn-knob { transform: translateX(26px); }
}
