/* «Дәулет» (Қызылорда) — «караван на берегу Сырдарьи».
   Палитра — из логотипа: бирюза арки (майолика Шёлкового пути), золото солнца и рисовых колосьев, терракота букв,
   песок барханов, кремовый. Шрифты свои (assets/fonts): Podkova (заголовки, переменная 400–800) и Alegreya Sans (текст),
   казахские буквы есть в обоих. */

@font-face { font-family: "Podkova"; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/podkova-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: "Podkova"; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/podkova-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Podkova"; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/podkova-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: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url("../assets/fonts/alegreya-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: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url("../assets/fonts/alegreya-cyrillic-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url("../assets/fonts/alegreya-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: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url("../assets/fonts/alegreya-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: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url("../assets/fonts/alegreya-cyrillic-700.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url("../assets/fonts/alegreya-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; }
@font-face { font-family: "Alegreya Sans"; font-weight: 800; font-display: swap; src: url("../assets/fonts/alegreya-cyrillic-ext-800.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: "Alegreya Sans"; font-weight: 800; font-display: swap; src: url("../assets/fonts/alegreya-cyrillic-800.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Alegreya Sans"; font-weight: 800; font-display: swap; src: url("../assets/fonts/alegreya-latin-800.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 {
  --teal: #14a3a6; --teal-d: #0b6f76; --teal-dd: #084a52; --teal-l: #d7f1ef; --aqua: #7fd6d2;
  --gold: #f5b31b; --gold-d: #b97a0e; --gold-l: #fff1c8;
  --red: #d8432c; --red-d: #8a2316; --orange: #e9833a;
  --sand: #f6deb0; --sand-l: #fbf1dc; --sand-d: #e9b062; --dune: #dd9b48;
  --cream: #fff6e2; --ink: #3a2412; --text: #3a2412; --muted: #735c49; --line: rgba(58, 36, 18, .14); --card: #fffdf7;
  --amber: var(--orange); --cocoa: var(--ink); --head: var(--red-d); --night: #0f2442;
  --display: "Podkova", Georgia, serif;
  --body: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar-h: 78px;
  --ease-pop: cubic-bezier(.3, 1.5, .5, 1);
  --shadow: 0 22px 50px rgba(138, 35, 22, .13);
  --frieze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='20'%3E%3Crect width='36' height='20' fill='%2314a3a6'/%3E%3Cpath d='M18 2l8 8-8 8-8-8Z' fill='%23f5b31b' stroke='%23b97a0e' stroke-width='1'/%3E%3Ccircle cx='18' cy='10' r='2' fill='%23d8432c'/%3E%3Ccircle cx='0' cy='10' r='2.4' fill='%23fff6e2'/%3E%3Ccircle cx='36' cy='10' r='2.4' fill='%23fff6e2'/%3E%3C/svg%3E");
  --lattice: radial-gradient(circle at 50% 50%, var(--gold) 0 3px, transparent 3.6px) 0 0 / 34px 34px,
    linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, .16) 47% 53%, transparent 53%) 0 0 / 34px 34px,
    linear-gradient(-45deg, transparent 47%, rgba(255, 255, 255, .16) 47% 53%, transparent 53%) 0 0 / 34px 34px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand-l); color: var(--text); font: 400 1.1rem/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(--teal-d); }
button { font: inherit; color: inherit; }
b, strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--teal); 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: 10px; background: #fff; font-weight: 800; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.6rem); line-height: 1.08; color: var(--red-d); text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1.25; }
.lede { max-width: 64ch; font-size: 1.15rem; color: var(--muted); text-wrap: pretty; }
.head { display: grid; gap: 14px; margin-bottom: 50px; }
.head-center { justify-items: center; text-align: center; }
.head-center .lede { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 16px 6px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); }
.kicker .ico { color: var(--gold-d); }
.hint { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: .98rem; font-weight: 700; color: var(--muted); text-align: center; }
.hint .ico, .hero-hint .ico { color: var(--gold); }

/* ---------- Разделы ---------- */
.section, .foot, .hero { overflow-x: clip; }
.section { position: relative; padding: clamp(80px, 8vw, 120px) 0; }
.sec-sand { background: radial-gradient(circle at 1px 1px, rgba(185, 122, 14, .16) 1.2px, transparent 1.6px) 0 0 / 22px 22px, var(--sand-l); }
.sec-cream { background: var(--cream); }
.sec-white { background: #fff; }
.sec-sky { background: linear-gradient(180deg, var(--teal-l), #f3fbfa); }
.sec-field { background: linear-gradient(180deg, #fbf1dc 0%, #eef3d2 55%, #d9efd7 100%); }
.sec-majolica { background: var(--lattice), linear-gradient(180deg, var(--teal-d), var(--teal-dd)); color: #fff; }
.sec-majolica h2 { color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .18); }
.sec-majolica .lede { color: rgba(255, 255, 255, .85); }
.sec-majolica .kicker { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); color: var(--gold); }
.sec-majolica .kicker .ico { color: var(--gold); }
.sec-night { background: linear-gradient(180deg, #0c1d38 0%, #1a2c55 55%, #3b3560 100%); color: #fff; }
.sec-night h2 { color: #fff; } .sec-night .lede { color: rgba(255, 255, 255, .82); }
.sec-night .kicker { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2); color: var(--gold); }
/* бирюзовый фриз — граница разделов майолики */
.sec-majolica::before, .sec-majolica::after { content: ""; position: absolute; left: 0; right: 0; height: 20px; background: var(--frieze) 0 0 / 36px 20px repeat-x; box-shadow: 0 0 0 3px var(--teal-dd); }
.sec-majolica::before { top: 0; } .sec-majolica::after { bottom: 0; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 16px; cursor: pointer; font-family: var(--body); font-weight: 800; font-size: 1.08rem; text-decoration: none; transition: transform .25s var(--ease-pop), box-shadow .25s, background .2s; }
.btn:hover { transform: translateY(-3px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-main { position: relative; background: linear-gradient(180deg, #ec5a3e, var(--red)); color: #fff !important; box-shadow: 0 6px 0 var(--red-d), 0 14px 26px rgba(138, 35, 22, .3); }
.btn-main::after { content: ""; position: absolute; inset: 5px; border: 2px dashed rgba(255, 241, 200, .55); border-radius: 12px; pointer-events: none; }
.btn-main:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--red-d); }
.btn-line { background: var(--card); color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--teal), 0 6px 0 var(--teal-d); }
.btn-line .ico { color: var(--teal-d); }

/* ---------- Шапка: бирюзовый фриз, верблюжонок идёт и оставляет следы (прокрутка) ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; background: #fffaf0; transition: filter .3s; }
.top.is-stuck { filter: drop-shadow(0 8px 14px rgba(138, 35, 22, .14)); }
.top-in { display: flex; align-items: center; gap: 14px; width: min(1280px, 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: 64px; height: 64px; transition: transform .5s var(--ease-pop); }
.brand:hover img { transform: translateY(-4px) rotate(-6deg); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 1.75rem; color: var(--red); text-shadow: 1px 2px 0 var(--red-d); white-space: nowrap; }
.brand-text small { font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-d); }
.menu { display: flex; gap: 2px; }
.menu a { position: relative; padding: 8px 11px; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: .98rem; white-space: nowrap; text-decoration: none; transition: background .2s, color .2s; }
.menu a:hover { background: var(--teal-l); }
.menu a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px; background: var(--gold); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .35s var(--ease-pop); }
.menu a:hover::after, .menu a.is-active::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.menu a.is-active { color: var(--red); }
.chips { display: flex; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-weight: 800; font-size: .88rem; text-decoration: none; white-space: nowrap; cursor: pointer; }
.chip-call { border-color: transparent; background: var(--teal); color: #fff !important; box-shadow: 0 3px 0 var(--teal-dd); }
.chip-menu { display: none; width: 42px; padding: 0; justify-content: center; }
.frieze { position: absolute; left: 0; right: 0; top: 100%; height: 14px; background: var(--frieze) 0 50% / 25px 14px repeat-x; box-shadow: 0 3px 0 var(--teal-dd); }
.trek { position: absolute; left: 0; right: 0; top: calc(100% + 17px); height: 30px; pointer-events: none; }
.trek-steps { position: absolute; left: 0; top: 22px; height: 6px; width: var(--p, 0%); background: radial-gradient(ellipse 3px 2.4px at 4px 2px, rgba(138, 35, 22, .55) 98%, transparent) 0 0 / 22px 6px repeat-x, radial-gradient(ellipse 3px 2.4px at 15px 5px, rgba(138, 35, 22, .45) 98%, transparent) 0 0 / 22px 6px repeat-x; }
.trek-camel { position: absolute; top: -8px; left: clamp(26px, var(--p, 0%), calc(100% - 30px)); width: 46px; translate: -50% 0; transform: scaleX(var(--dir, 1)); transition: transform .3s; filter: drop-shadow(0 3px 2px rgba(58, 36, 18, .25)); }
.trek-svg { width: 100%; height: auto; overflow: visible; }

/* ---------- Первый экран: рассвет над барханами, караван ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--bar-h) + 70px) 0 clamp(250px, 27vw, 360px); background: linear-gradient(180deg, #86d8d3 0%, #c9eedf 28%, #ffe9b8 60%, #ffcf8c 100%); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.big-sun { position: absolute; left: 50%; bottom: clamp(150px, 17vw, 240px); width: clamp(220px, 26vw, 380px); aspect-ratio: 1; translate: -50% 0; }
.bs-rays { position: absolute; inset: -55%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 210, 90, .38) 0 5deg, transparent 5deg 15deg); -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); }
.bs-disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 36%, #fff8d0, #ffd34a 45%, #f5a10b 80%); box-shadow: 0 0 80px 20px rgba(255, 196, 60, .45); }
.haze { position: absolute; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .55); filter: blur(2px); }
.hz-1 { left: 6%; top: 24%; width: 220px; } .hz-2 { right: 10%; top: 16%; width: 160px; opacity: .7; }
.birds { position: absolute; left: 12%; top: 15%; width: 120px; fill: none; stroke: var(--teal-dd); stroke-width: 2.4; stroke-linecap: round; opacity: .7; }
.hero-grid { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero-text { display: grid; gap: 16px; justify-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; background: rgba(255, 250, 240, .9); font-weight: 800; font-size: .92rem; color: var(--teal-d); box-shadow: 0 6px 16px rgba(138, 35, 22, .1); }
.eyebrow .ico { color: var(--red); }
.hero-title { display: grid; gap: 0; line-height: .95; }
.ht-word { display: flex; font-family: var(--display); font-weight: 800; font-size: clamp(4.4rem, 2.2rem + 8vw, 9rem); letter-spacing: -.01em; }
.ht-l { display: inline-block; color: var(--c); -webkit-text-stroke: 10px var(--cream); paint-order: stroke fill; text-shadow: 4px 5px 0 var(--ink); cursor: default; }
.ht-kicker { margin-top: 12px; font-weight: 800; font-size: clamp(1.05rem, .8rem + .8vw, 1.45rem); letter-spacing: .3em; text-transform: uppercase; color: var(--teal-dd); }
.hero-tag { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; color: var(--red-d); }
.hero-lead { max-width: 52ch; font-size: 1.15rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-logo { position: relative; display: grid; place-items: center; }
.logo-glow { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 250, 230, .95), rgba(255, 250, 230, 0) 66%); }
.dl-logo { position: relative; width: min(100%, 540px); height: auto; overflow: visible; filter: drop-shadow(0 18px 24px rgba(138, 35, 22, .18)); }
.dl-sun, .dl-l, .dl-camel, .dl-rice { cursor: pointer; }
.dl-sun { transform-box: view-box; transform-origin: 0 0; transition: scale .3s var(--ease-pop); }
.dl-sun:hover { scale: 1.08; }
.dl-rays { transform-box: view-box; transform-origin: 0 0; }
.dl-seyes { transform-box: view-box; transform-origin: 0 -3px; }
.dl-l { transform-box: fill-box; transform-origin: 50% 100%; }
.dl-rice { transform-box: view-box; transform-origin: 0 0; }
.dl-key { transform-box: fill-box; transform-origin: 50% 50%; }
.cm-leg { transform-box: fill-box; transform-origin: 50% 0; }
.cm-head { transform-box: fill-box; transform-origin: 10% 90%; }
.cm-tail { transform-box: fill-box; transform-origin: 80% 0; }
.cm-bell { transform-box: fill-box; transform-origin: 50% 0; }
.cm-eye { transform-box: fill-box; transform-origin: 50% 50%; }
.cm-all { transform-box: fill-box; transform-origin: 50% 100%; }

/* пустыня */
.desert { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: clamp(230px, 25vw, 340px); }
.dune { position: absolute; left: 0; bottom: 0; width: 100%; }
.dune-far { height: 100%; fill: #f2c98a; }
.dune-mid { height: 78%; fill: var(--sand-d); }
.dune-near { height: 56%; fill: var(--dune); }
.dune-ridge { fill: none; stroke: rgba(255, 240, 200, .7); stroke-width: 3; vector-effect: non-scaling-stroke; }
.launch { position: absolute; right: 13%; bottom: 64%; width: clamp(30px, 3vw, 46px); }
.rocket-svg { width: 100%; height: auto; overflow: visible; }
.sax { position: absolute; }
.sax-1 { left: 5%; bottom: 58%; width: clamp(60px, 7vw, 100px); }
.sax-2 { right: 28%; bottom: 34%; width: clamp(70px, 8vw, 120px); }
.caravan { position: absolute; inset: 0; }
.hero-camel { position: absolute; left: var(--x); bottom: 12%; width: clamp(104px, 11.5vw, 176px); padding: 0; border: 0; background: none; cursor: pointer; }
.hc-bob { display: block; }
.hc-svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 0 rgba(138, 80, 30, .25)); }
.tumble { position: absolute; left: -80px; bottom: 6%; width: 44px; pointer-events: none; }
.tumble-svg { width: 100%; height: auto; }
.hero-hint { position: absolute; left: 50%; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; translate: -50% 0; padding: 6px 16px; border-radius: 12px; background: rgba(255, 250, 240, .88); font-weight: 700; font-size: .95rem; color: var(--red-d); white-space: nowrap; pointer-events: none; }
.note-pop { position: fixed; left: 0; top: 0; z-index: 76; font: 800 1.8rem/1 var(--display); color: var(--gold); text-shadow: 0 2px 0 var(--red-d); pointer-events: none; }
.heart-pop { position: fixed; left: 0; top: 0; z-index: 76; width: 90px; height: 80px; pointer-events: none; }
.heart-pop::before { content: ""; position: absolute; inset: 0; background: var(--red); clip-path: path("M45 78C15 56 0 40 0 22C0 9 10 0 22 0C32 0 40 6 45 15C50 6 58 0 68 0C80 0 90 9 90 22C90 40 75 56 45 78Z"); filter: drop-shadow(0 6px 10px rgba(216, 67, 44, .5)); }

/* ---------- О нас: текст, верблюжонок, сундуки-факты, Сырдария ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-text { display: grid; gap: 16px; justify-items: start; }
.about-p { font-size: 1.14rem; text-wrap: pretty; }
.place { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 18px; border-radius: 16px; background: var(--card); font-weight: 700; box-shadow: var(--shadow); }
.place .ico { color: var(--red); }
.place a { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.about-camel { position: relative; display: grid; place-items: end center; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.ac-sun { position: absolute; left: 50%; top: 8%; width: 62%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 40% 36%, #fff6c2, var(--gold) 55%, var(--orange)); box-shadow: 0 0 0 18px rgba(245, 179, 27, .18), 0 0 0 40px rgba(245, 179, 27, .1); }
.ac-dune { position: absolute; left: -6%; right: -6%; bottom: 0; height: 32%; border-radius: 50% 50% 0 0 / 70% 70% 0 0; background: linear-gradient(180deg, var(--sand-d), var(--dune)); }
.ac-svg { position: relative; z-index: 1; width: 78%; margin-bottom: 14%; overflow: visible; filter: drop-shadow(0 8px 0 rgba(138, 80, 30, .22)); }
.snaps { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.snap { position: relative; overflow: hidden; border-radius: 120px 120px 18px 18px; background: var(--card); box-shadow: 0 0 0 6px var(--teal), 0 0 0 10px var(--gold), var(--shadow); }
.snap:first-child { grid-column: 1 / -1; }
.snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.snap figcaption { padding: 8px 14px 12px; font-family: var(--display); font-weight: 700; text-align: center; color: var(--red-d); }
.snaps-1 { grid-template-columns: 1fr; }

.treasure-wrap { margin-top: clamp(60px, 7vw, 100px); }
.treasure-title { margin-bottom: 30px; text-align: center; font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem); color: var(--teal-dd); }
.treasure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; max-width: 980px; margin-inline: auto; }
.chest { position: relative; display: grid; justify-items: center; gap: 10px; width: 100%; padding: 22px 14px 22px; border: 0; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 2px var(--line), var(--shadow); cursor: pointer; transition: transform .3s var(--ease-pop), box-shadow .3s; }
.chest:hover { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--gold), 0 26px 50px rgba(138, 35, 22, .18); }
.chest-art { position: relative; display: block; width: 150px; }
.chest-svg { width: 100%; height: auto; overflow: visible; }
.ch-lid { transform-box: fill-box; transform-origin: 6% 100%; transition: transform .55s var(--ease-pop); }
.ch-glow { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; transition: opacity .4s; }
.chest.open .ch-lid { transform: rotate(-24deg) translateY(-6px); }
.chest.open .ch-glow { opacity: 1; }
.chest-coins { position: absolute; left: 50%; top: 34%; width: 0; height: 0; }
.chest-coins i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff6c0, var(--gold) 50%, var(--gold-d)); box-shadow: 0 0 0 1.5px var(--gold-d); opacity: 0; }
.chest-txt { display: grid; justify-items: center; text-align: center; line-height: 1.1; }
.chest-big b { font-family: var(--display); font-weight: 800; font-size: 2.8rem; color: var(--red); text-shadow: 2px 3px 0 var(--gold-l); }
.chest-big b.b-sm { font-size: 1.35rem; color: var(--teal-dd); }
.chest-label { margin-top: 6px; font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.river { position: relative; height: 120px; margin-top: clamp(60px, 7vw, 100px); margin-bottom: calc(-1 * clamp(80px, 8vw, 120px)); overflow: hidden; background: linear-gradient(180deg, #4fc0bf, var(--teal) 55%, var(--teal-d)); }
.river-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-bank { fill: var(--sand-l); } .rv-bank-b { fill: #f0e6c4; }
.rv-w1, .rv-w2 { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rv-w2 { stroke: rgba(255, 255, 255, .3); }
.river-name { position: absolute; left: 6%; top: 50%; translate: 0 -50%; font: italic 800 clamp(1.4rem, 1rem + 1.5vw, 2.2rem) / 1 var(--display); letter-spacing: .3em; color: rgba(255, 255, 255, .75); text-transform: uppercase; }
.fish { position: absolute; bottom: 30px; width: 40px; opacity: 0; }
.fish-1 { left: 44%; } .fish-2 { left: 76%; width: 32px; }

/* ---------- Группы: рисовое поле ---------- */
.paddy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: end; }
.paddy-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .paddy-2 { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }
.sprout { display: grid; width: 100%; padding: 0; border: 0; background: none; text-align: center; cursor: pointer; }
.sprout-art { position: relative; display: grid; place-items: end center; height: 250px; }
.rice-svg { width: min(100%, 220px); height: auto; overflow: visible; }
.rc-stems { transform-box: view-box; transform-origin: 70px 148px; }
.sprout-card { position: relative; display: grid; justify-items: center; gap: 8px; margin-top: 12px; padding: 22px 18px 24px; border-radius: 22px; background: var(--card); box-shadow: inset 0 -6px 0 var(--c), var(--shadow); transition: transform .3s var(--ease-pop), box-shadow .3s; }
.sprout-card::before { content: ""; position: absolute; left: 50%; top: -10px; width: 20px; height: 20px; translate: -50% 0; rotate: 45deg; background: var(--card); border-radius: 3px; }
.sprout:hover .sprout-card { transform: translateY(-6px); }
.sprout-age { padding: 3px 14px; border-radius: 10px; background: var(--c); color: #fff; font-weight: 800; font-size: .92rem; }
.sprout-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.sprout-text { font-size: 1rem; color: var(--muted); }
.sprout-pick { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 800; font-size: .95rem; color: var(--teal-d); }
.sprout.picked .sprout-card { box-shadow: 0 0 0 4px var(--c), var(--shadow); }

/* ---------- Кружки: арки с резными дверями ---------- */
.gates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 30px; }
.gates-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.club { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 26px 22px 30px; border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .25); text-align: center; transition: transform .35s var(--ease-pop); }
.club:hover { transform: translateY(-8px); }
.gate-doors { padding: 0; border: 0; background: none; cursor: pointer; }
.gate-art { position: relative; display: block; width: 200px; aspect-ratio: 200 / 244; }
.gate-art .portal-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gate-ico { position: absolute; left: 50%; top: 56%; display: grid; place-items: center; width: 86px; height: 86px; translate: -50% -50%; color: var(--c); }
.gate-ico svg { width: 100%; height: 100%; stroke-width: 3.6; }
.pt-door { transform-box: fill-box; transition: transform .7s var(--ease-pop); }
.pt-door-l { transform-origin: 0 50%; } .pt-door-r { transform-origin: 100% 50%; }
.gate-doors:hover .pt-door-l { transform: scaleX(.82); } .gate-doors:hover .pt-door-r { transform: scaleX(.82); }
.gate.open .pt-door-l, .gate.open .pt-door-r { transform: scaleX(.1); }
.club-body { display: grid; gap: 8px; justify-items: center; margin-top: 14px; }
.club-title { font-family: var(--display); font-weight: 800; font-size: 1.55rem; line-height: 1.2; color: var(--red-d); }
.club-badge { padding: 2px 12px; border-radius: 10px; background: var(--teal-l); color: var(--teal-dd); font-weight: 800; font-size: .86rem; }
.club-badge.is-paid { background: var(--gold-l); color: var(--gold-d); }
.club-meta { font-size: .92rem; font-weight: 700; color: var(--teal-d); }
.club-text { color: var(--muted); font-size: 1.02rem; }
.club-thumb img { width: 100%; max-height: 160px; border-radius: 16px; object-fit: cover; }
.club-open { padding: 0; border: 0; background: none; cursor: pointer; }
.story-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .95rem; color: var(--teal-d); }

/* ---------- Видео ---------- */
.video-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.video-grid .head { margin-bottom: 0; }
.video-note { font-size: .92rem; color: var(--muted); }
.tv { position: relative; padding: 14px; border-radius: 30px; background: var(--frieze) 0 0 / 36px 20px, var(--teal); box-shadow: 0 0 0 4px var(--teal-dd), 0 30px 60px rgba(138, 35, 22, .25); }
.tv-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--teal-dd); }
.tv-screen img { width: 100%; height: 100%; object-fit: cover; }
.tv-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(8, 74, 82, .55)); pointer-events: none; }
.tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-screen.is-on::after { display: none; }
.tv-play { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.tv-sun { position: relative; display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 40% 36%, #fff6c2, var(--gold) 60%, var(--orange)); box-shadow: 0 0 0 10px rgba(245, 179, 27, .3); transition: transform .4s var(--ease-pop); }
.tv-play:hover .tv-sun { transform: scale(1.12); }
.tv-tri { position: relative; width: 36px; margin-left: 6px; color: var(--red-d); }
.tv-label { padding: 6px 18px; border-radius: 12px; background: rgba(8, 74, 82, .75); font-weight: 800; }

/* ---------- Руководство: ниши-арки ---------- */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; max-width: 900px; margin-inline: auto; }
.leaders-1 { max-width: 420px; }
.leader { display: grid; justify-items: center; gap: 18px; text-align: center; }
.niche { position: relative; width: 240px; aspect-ratio: 200 / 244; }
.niche .portal-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.niche-photo { position: absolute; left: 18%; right: 18%; top: 11%; bottom: 3%; display: grid; place-items: center; overflow: hidden; border-radius: 50% 50% 0 0 / 34% 34% 0 0; }
.niche-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.niche-photo .avatar { width: 92%; height: auto; overflow: visible; }
.leader-body { display: grid; gap: 10px; justify-items: center; }
.leader-role { padding: 4px 16px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 3px 0 var(--teal-dd); }
.leader:nth-child(even) .leader-role { background: var(--red); box-shadow: 0 3px 0 var(--red-d); }
.leader-body h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); color: var(--ink); }
.leader-label { margin-top: 8px; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); }
.leader-edu { display: grid; gap: 8px; }
.leader-edu li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 16px; border-radius: 14px; background: var(--card); box-shadow: inset 4px 0 0 var(--gold), 0 8px 20px rgba(138, 35, 22, .08); font-weight: 600; text-align: left; }
.leader-edu .ico { margin-top: 3px; color: var(--gold-d); }
.leader-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.leader-skills li { padding: 6px 16px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 3px var(--c); font-weight: 800; }
.leader-about { color: var(--muted); }
.leader-years { display: flex; align-items: baseline; gap: 8px; } .leader-years strong { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--red); }

/* ---------- Фото ---------- */
.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; }

/* ---------- Всплывающее, просмотр фото, диалоги ---------- */
.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; }


/* ---------- Общие блоки: в палитре «Дәулет» ---------- */
.tab { border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-weight: 700; }
.tab.is-on { background: var(--teal); color: #fff; border-color: var(--teal); }
.photo-btn { border-color: var(--cream); border-radius: 8px; box-shadow: 0 24px 46px rgba(138, 35, 22, .18), 0 0 0 3px var(--teal); }
.photo-btn figcaption { color: var(--red-d); font-weight: 700; }
.hall-nav { background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--red-d); }
.story, .doc-set, .jobs { border-radius: 24px; box-shadow: var(--shadow); }
.story-title { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--red-d); }
.story-img { background: var(--teal-l); }
.story-body time { color: var(--teal-d); }
.doc-set h3 { color: var(--red-d); }
.doc-set a .ico { color: var(--teal-d); }
.jobs { background: var(--lattice), linear-gradient(160deg, var(--teal-d), var(--teal-dd)); }
.jobs h3 { color: var(--gold); }
.job a { color: var(--gold) !important; }
.toast { border-radius: 16px; box-shadow: 0 18px 44px rgba(138, 35, 22, .3), inset 0 -5px 0 var(--teal); color: var(--ink); }
.toast b { color: var(--red); }
.news-dialog { border-radius: 24px; color: var(--ink); }
.news-dialog::backdrop { background: rgba(8, 74, 82, .78); }
.nd-body time { color: var(--teal-d); }
.nd-body h3 { font-family: var(--display); font-weight: 800; color: var(--red-d); }
.nd-close { background: var(--red); color: #fff; }
.nd-thumbs button.is-active { border-color: var(--gold); }
.lightbox { background: rgba(8, 40, 50, .95); }

/* ---------- Контакты: ночная пустыня, звёзды, костёр ---------- */
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, .7); opacity: .8; }
.moon { position: absolute; right: 8%; top: 70px; width: 70px; height: 70px; border-radius: 50%; box-shadow: -16px 10px 0 0 #fff1c8; rotate: -20deg; filter: drop-shadow(0 0 14px rgba(255, 241, 200, .6)); pointer-events: none; }
.sec-night::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; height: 120px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #2b2443; pointer-events: none; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; padding-bottom: 90px; }
.contact-info { display: grid; gap: 14px; justify-items: start; }
.contact-phone-row { display: flex; align-items: center; gap: 10px; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); color: #fff !important; text-decoration: none; }
.contact-phone .ico { width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: var(--gold); color: var(--red-d); }
.contact-wa { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #25d366; color: #fff; transition: transform .25s var(--ease-pop); }
.contact-wa:hover { transform: scale(1.1) rotate(-8deg); }
.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: var(--gold); }
.contact-list a { color: #fff !important; font-weight: 800; }
.social-label { margin-top: 6px; font-size: .8rem; font-weight: 800; 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: 12px; background: var(--cream); color: var(--ink) !important; font-weight: 800; text-decoration: none; transition: transform .25s var(--ease-pop); }
.socials a:hover { transform: translateY(-3px); }
.map-box { width: 100%; margin-top: 8px; overflow: hidden; border-radius: 20px; box-shadow: 0 0 0 4px var(--teal), 0 0 0 8px rgba(255, 255, 255, .12); }
.map-box iframe { display: block; width: 100%; height: 260px; border: 0; }
/* форма — ковёр-текемет: красная кайма, золотой пунктир, бахрома */
.form { position: relative; padding: 46px 34px 34px; border: 12px solid var(--red); border-radius: 18px; background: var(--cream); color: var(--ink); box-shadow: 0 0 0 4px var(--red-d), 0 30px 70px rgba(0, 0, 0, .4); outline: 3px dashed var(--gold); outline-offset: -22px; }
.form::before { content: ""; position: absolute; left: 50%; top: 10px; width: 26px; height: 26px; translate: -50% 0; rotate: 45deg; background: var(--teal); box-shadow: 0 0 0 3px var(--gold); }
.form-fringe { position: absolute; left: 4px; right: 4px; bottom: -32px; height: 20px; background: repeating-linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 9px); -webkit-mask: linear-gradient(#000, rgba(0, 0, 0, .4)); mask: linear-gradient(#000, rgba(0, 0, 0, .4)); }
.form h3 { margin-top: 6px; font-size: 1.9rem; color: var(--red-d); text-align: center; }
.form label { display: block; margin: 16px 0 6px; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; padding: 12px 16px; border: 2px solid transparent; border-radius: 12px; background: var(--sand); font: 600 1.06rem var(--body); color: var(--ink); transition: border-color .2s, background .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='%233a2412' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 36px; }
.form select.flash { animation: flash 1s ease; }
@keyframes flash { 30% { background-color: rgba(245, 179, 27, .55); } }
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--teal); background-color: #fff; }
.consent { position: relative; display: flex !important; gap: 10px; align-items: flex-start; margin-top: 18px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; font-weight: 600 !important; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-d); }
.form .btn { width: 100%; margin-top: 22px; }
.form-note { margin-top: 12px; font-weight: 800; color: var(--teal-d); 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; }
.camp { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 120px; pointer-events: none; }
.camp-camel { position: absolute; left: 6%; bottom: 52px; width: 110px; }
.night-camel { width: 100%; height: auto; filter: brightness(.55) saturate(.7); }
.fire { position: absolute; left: calc(6% + 128px); bottom: 54px; width: 54px; height: 70px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.fl { position: absolute; left: 50%; bottom: 12px; width: 26px; height: 46px; translate: -50% 0; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: radial-gradient(ellipse at 50% 80%, #fff6c2, var(--gold) 45%, var(--orange) 70%, rgba(216, 67, 44, 0) 72%); transform-origin: 50% 100%; filter: drop-shadow(0 0 10px rgba(245, 179, 27, .8)); }
.fl-2 { width: 18px; height: 34px; margin-left: -10px; } .fl-3 { width: 16px; height: 30px; margin-left: 10px; }
.logs { position: absolute; left: 4px; right: 4px; bottom: 6px; height: 9px; border-radius: 5px; background: #6b3d1a; rotate: -8deg; box-shadow: 0 0 0 2px #3a2412; }
.logs::after { content: ""; position: absolute; inset: 0; border-radius: 5px; background: #7a4a22; rotate: 16deg; box-shadow: 0 0 0 2px #3a2412; }
.spark { position: fixed; left: 0; top: 0; z-index: 76; width: 6px; height: 6px; border-radius: 50%; background: #ffe27a; box-shadow: 0 0 8px 2px rgba(245, 179, 27, .9); pointer-events: none; }

/* ---------- Подвал: фриз, барханы, монеты-пасхалки ---------- */
.foot { position: relative; background: linear-gradient(180deg, #2b2443, #3b2a2a 30%, var(--ink)); color: var(--cream); }
.frieze-foot { position: relative; top: auto; height: 20px; background: var(--frieze) 0 0 / 36px 20px repeat-x; box-shadow: 0 -3px 0 var(--teal-dd), 0 3px 0 var(--teal-dd); }
.foot-in-top { display: grid; gap: 16px; justify-items: center; padding: 40px 0 34px; text-align: center; }
.foot-logo { width: 150px; height: 150px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .3)); }
.foot-bye { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); color: var(--gold); }
.eggs { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 10px 20px; border-radius: 14px; background: rgba(255, 246, 226, .1); box-shadow: inset 0 0 0 2px rgba(245, 179, 27, .35); font-weight: 700; font-size: .95rem; }
.eggs-dots { display: inline-flex; gap: 6px; }
.eggs-dots i { display: block; width: 22px; opacity: .45; filter: grayscale(1) brightness(.9); transition: opacity .4s, filter .4s, transform .5s var(--ease-pop); }
.eggs-dots i svg { width: 100%; height: auto; }
.eggs-dots i.on { opacity: 1; filter: drop-shadow(0 0 6px rgba(245, 179, 27, .9)); transform: scale(1.2) rotate(-14deg); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; padding: 20px 0 30px; background: rgba(0, 0, 0, .25); color: rgba(255, 246, 226, .85); font-size: .95rem; }
.foot-in.wrap { width: 100%; }
.foot-in a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold) !important; font-weight: 800; text-decoration: none; }

/* ---------- Спрятанные монеты ---------- */
.hid-coin { position: absolute; z-index: 4; width: 28px; padding: 0; border: 0; background: none; cursor: pointer; rotate: var(--r); opacity: .92; }
.hc-svg { width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }

/* ---------- Летящее: монеты, караван, ракета ---------- */
.sky-layer { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.bit { position: fixed; left: 0; top: 0; z-index: 74; width: 12px; height: 12px; pointer-events: none; }
.rain-coin { position: fixed; left: 0; top: 0; z-index: 74; width: 26px; height: 26px; pointer-events: none; }
.walker { position: fixed; left: 0; bottom: 6px; z-index: 75; display: flex; gap: 10px; align-items: flex-end; pointer-events: none; }
.walker .walk-svg { width: 120px; height: auto; overflow: visible; }
.walker .walk-svg:nth-child(2) { width: 104px; } .walker .walk-svg:nth-child(3) { width: 92px; }
.fly-rocket { position: fixed; left: 0; top: 0; z-index: 75; width: 70px; height: auto; overflow: visible; pointer-events: none; }
.fly-rocket path:first-child { display: none; }
.puff { position: fixed; left: 0; top: 0; z-index: 74; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .85); pointer-events: none; }

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

  /* небо */
  .js .big-sun { animation: sun-rise 2.2s .2s cubic-bezier(.2, .9, .3, 1) both; }
  @keyframes sun-rise { from { transform: translateY(45%); opacity: .4; } }
  .bs-rays { animation: spin 60s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .haze { animation: haze 26s ease-in-out infinite alternate; }
  .hz-2 { animation-duration: 34s; animation-delay: -8s; }
  @keyframes haze { to { translate: 60px 0; } }
  .birds { animation: birds 30s linear infinite; }
  @keyframes birds { from { translate: -20vw 0; } to { translate: 90vw -40px; } }

  /* заголовок */
  .js .eyebrow, .js .hero-tag, .js .hero-lead, .js .hero-actions, .js .ht-kicker { animation: rise .8s var(--ease-pop) both; }
  .js .eyebrow { animation-delay: .1s; } .js .ht-kicker { animation-delay: .9s; } .js .hero-tag { animation-delay: 1.05s; } .js .hero-lead { animation-delay: 1.2s; } .js .hero-actions { animation-delay: 1.35s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  .js .ht-l { animation: l-in .9s calc(var(--i) * .1s + .2s) var(--ease-pop) both, l-float 5s calc(var(--i) * .35s + 1.6s) ease-in-out infinite; }
  @keyframes l-in { from { opacity: 0; transform: translateY(-90px) rotate(-14deg) scale(.6); } }
  @keyframes l-float { 0%, 100% { transform: none; } 50% { transform: translateY(-7px) rotate(-2deg); } }
  .ht-l.hop { animation: l-hop .6s var(--ease-pop); }

  /* логотип: вступление — арка рисуется, солнце встаёт, бота выходит, буквы падают, колосья вырастают */
  .js .is-intro .dl-archg { animation: arch-in 1s .15s var(--ease-pop) both; }
  @keyframes arch-in { from { opacity: 0; transform: scale(.7) translateY(30px); } }
  .dl-archg { transform-box: view-box; transform-origin: 200px 246px; }
  .js .is-intro .dl-sun { animation: sun-in 1.2s .6s var(--ease-pop) both; }
  @keyframes sun-in { from { opacity: 0; transform: translateY(80px) scale(.4); } }
  .js .is-intro .dl-camel { animation: camel-in 1.4s 1s cubic-bezier(.3, 1.2, .5, 1) both; }
  @keyframes camel-in { from { opacity: 0; transform: translateX(-140px); } }
  .js .is-intro .dl-l { animation: l-drop .7s calc(var(--i) * .1s + 1.6s) cubic-bezier(.3, 1.6, .5, 1) both; }
  @keyframes l-drop { from { opacity: 0; transform: translateY(-120px) scaleY(1.2); } }
  .js .is-intro .dl-rice { animation: rice-in 1s 2.2s var(--ease-pop) both; }
  @keyframes rice-in { from { opacity: 0; transform: scale(0) rotate(-30deg); } }
  .dl-camel { transform-box: fill-box; transform-origin: 50% 100%; }
  /* логотип: живые части */
  .dl-rays { animation: spin 30s linear infinite; }
  .dl-seyes { animation: blink 5s 3s infinite; }
  @keyframes blink { 0%, 92%, 100% { transform: none; } 95% { transform: scaleY(.1); } }
  .dl-logo .cm-head { animation: nod 4s 3s ease-in-out infinite; }
  @keyframes nod { 0%, 60%, 100% { transform: none; } 70% { transform: rotate(-8deg); } 82% { transform: rotate(4deg); } }
  .dl-logo .cm-tail, .hc-svg .cm-tail, .ac-svg .cm-tail, .trek-svg .cm-tail, .walk-svg .cm-tail { animation: tail 1.6s ease-in-out infinite alternate; }
  @keyframes tail { from { transform: rotate(-10deg); } to { transform: rotate(14deg); } }
  .cm-eye { animation: blink 4.6s 2s infinite; }
  .dl-logo .cm-bell, .ac-svg .cm-bell { animation: bell 2.4s ease-in-out infinite; }
  @keyframes bell { 0%, 70%, 100% { transform: none; } 78% { transform: rotate(18deg); } 88% { transform: rotate(-14deg); } }
  .dl-l { animation: l-wave 5s calc(var(--i) * .2s + 3.4s) ease-in-out infinite; }
  @keyframes l-wave { 0%, 76%, 100% { transform: none; } 84% { transform: translateY(-10px) scaleY(1.05); } 92% { transform: translateY(2px) scaleY(.97); } }
  .dl-shine { animation: shine 5s calc(var(--i) * .2s + 3.4s) ease-in-out infinite; }
  @keyframes shine { 0%, 72%, 100% { opacity: 1; } 84% { opacity: 0; } }
  .dl-rice { animation: sway 3.6s ease-in-out infinite alternate; }
  .rice-r { animation-delay: -1.8s; }
  @keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
  .dl-tiles { animation: tiles 3s linear infinite; }
  @keyframes tiles { to { stroke-dashoffset: -6.4; } }
  .dl-key { animation: key 6s ease-in-out infinite; }
  @keyframes key { 0%, 80%, 100% { transform: none; } 90% { transform: rotate(45deg) scale(1.2); } }
  .dl-l.hop { animation: l-hop .6s var(--ease-pop); }
  @keyframes l-hop { 40% { transform: translateY(-34px) rotate(-8deg) scale(1.12); } }
  .dl-sun.spin { animation: sun-spin 1.2s var(--ease-pop); }
  @keyframes sun-spin { 50% { transform: scale(1.4) rotate(200deg); } 100% { transform: rotate(360deg); } }
  .dl-camel.hop, .dl-rice.hop { animation: c-hop .7s var(--ease-pop); }
  @keyframes c-hop { 40% { transform: translateY(-18px) rotate(-4deg); } }

  /* шаг верблюжонка (караван, шапка, подвал-караван) */
  .hc-svg .cm-lf, .hc-svg .cm-rb, .trek-svg .cm-lf, .trek-svg .cm-rb, .walk-svg .cm-lf, .walk-svg .cm-rb { animation: step 1s ease-in-out infinite alternate; }
  .hc-svg .cm-lb, .hc-svg .cm-rf, .trek-svg .cm-lb, .trek-svg .cm-rf, .walk-svg .cm-lb, .walk-svg .cm-rf { animation: step 1s ease-in-out infinite alternate-reverse; }
  @keyframes step { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
  .hc-svg .cm-leg { animation-delay: var(--d, 0s); }
  .hc-bob { animation: bob 1s calc(var(--d, 0s)) ease-in-out infinite alternate; }
  @keyframes bob { to { transform: translateY(-3px); } }
  .hc-svg .cm-head, .walk-svg .cm-head { animation: head-walk 1s ease-in-out infinite alternate; }
  @keyframes head-walk { to { transform: rotate(-5deg); } }
  .hero-camel { animation: wander 22s calc(var(--k) * -4s) ease-in-out infinite alternate; }
  @keyframes wander { from { translate: -24px 0; } to { translate: 40px 0; } }
  .hero-camel.hop .hc-bob { animation: c-jump .8s var(--ease-pop); }
  @keyframes c-jump { 40% { transform: translateY(-46px) rotate(-6deg); } }
  .hero-camel.hop .cm-bell { animation: bell-ring .8s ease-in-out; }
  @keyframes bell-ring { 20%, 60% { transform: rotate(28deg); } 40%, 80% { transform: rotate(-24deg); } }
  .caravan.party .hc-bob { animation: c-jump .8s calc(var(--k) * .15s) var(--ease-pop) 3; }
  .trek-camel .cm-leg { animation-play-state: paused; }
  .top.is-moving .trek-camel .cm-leg { animation-play-state: running; }

  /* пустыня */
  .tumble { animation: tumble-x 18s 4s linear infinite; }
  @keyframes tumble-x { 0% { translate: 0 0; } 100% { translate: calc(100vw + 160px) 0; } }
  .tumble-svg { animation: tumble-r 1.4s linear infinite, tumble-b .7s ease-in-out infinite alternate; }
  @keyframes tumble-r { to { rotate: 360deg; } }
  @keyframes tumble-b { from { translate: 0 0; } to { translate: 0 -16px; } }
  .sax svg { transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite alternate; }

  /* о нас */
  .ac-sun { animation: ac-sun 6s ease-in-out infinite alternate; }
  @keyframes ac-sun { to { box-shadow: 0 0 0 26px rgba(245, 179, 27, .2), 0 0 0 56px rgba(245, 179, 27, .08); } }
  .ac-svg .cm-head { animation: nod 5s 1s ease-in-out infinite; }
  .chest-art { animation: chest-bob 4s calc(var(--i) * -.7s) ease-in-out infinite alternate; }
  @keyframes chest-bob { to { transform: translateY(-5px) rotate(1deg); } }
  .chest.open .ch-glow { animation: glow 1.6s ease-in-out infinite alternate; }
  @keyframes glow { to { transform: scale(1.12); } }
  .chest.pop .chest-coins i { animation: coin-pop 1s cubic-bezier(.2, .8, .4, 1) both; }
  .chest-coins i:nth-child(1) { --tx: -46px; --ty: -70px; } .chest-coins i:nth-child(2) { --tx: -18px; --ty: -96px; animation-delay: .06s !important; }
  .chest-coins i:nth-child(3) { --tx: 8px; --ty: -110px; animation-delay: .12s !important; } .chest-coins i:nth-child(4) { --tx: 34px; --ty: -88px; animation-delay: .18s !important; }
  .chest-coins i:nth-child(5) { --tx: 56px; --ty: -60px; animation-delay: .24s !important; }
  @keyframes coin-pop { 0% { opacity: 1; transform: translate(0, 0) scale(.4); } 55% { opacity: 1; transform: translate(var(--tx), var(--ty)) scale(1) rotateY(360deg); } 100% { opacity: 0; transform: translate(calc(var(--tx) * 1.3), calc(var(--ty) * .4)) scale(.8); } }
  .rv-w1 { animation: flow 6s linear infinite; }
  .rv-w2 { animation: flow2 9s linear infinite; }
  @keyframes flow { to { transform: translateX(-360px); } }
  @keyframes flow2 { to { transform: translateX(-480px); } }
  .fish-1 { animation: fish-jump 7s 1s ease-in-out infinite; }
  .fish-2 { animation: fish-jump 9s 4s ease-in-out infinite; }
  @keyframes fish-jump { 0%, 70% { opacity: 0; transform: translate(0, 30px) rotate(40deg); } 74% { opacity: 1; } 82% { transform: translate(-60px, -46px) rotate(-10deg); } 92% { opacity: 1; transform: translate(-120px, 20px) rotate(-60deg); } 96%, 100% { opacity: 0; transform: translate(-130px, 40px) rotate(-70deg); } }

  /* группы */
  .sprout-art .rc-stems { animation: rice-sway 4s calc(var(--i) * -.8s) ease-in-out infinite alternate; }
  @keyframes rice-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
  .sprout.swing .rc-stems { animation: rice-swing 1.1s var(--ease-pop); }
  @keyframes rice-swing { 25% { transform: rotate(-12deg); } 55% { transform: rotate(9deg); } 80% { transform: rotate(-4deg); } }
  .rc-wave { animation: rc-wave 3s ease-in-out infinite alternate; }
  @keyframes rc-wave { to { transform: translateX(8px); opacity: .4; } }
  .paddy.harvest .rc-ear { animation: harvest 1.2s ease-in-out 2; }
  @keyframes harvest { 50% { filter: brightness(1.4) drop-shadow(0 0 6px #ffe27a); } }

  /* кружки */
  .gate-ico svg { animation: ico-bob 3s calc(var(--i) * -.9s) ease-in-out infinite alternate; }
  @keyframes ico-bob { to { transform: translateY(-6px) rotate(-4deg); } }
  .pt-dots { animation: tiles 4s linear infinite; }
  .gate.open .gate-ico svg { animation: ico-pop .8s var(--ease-pop); }
  @keyframes ico-pop { 40% { transform: scale(1.25) rotate(8deg); } }

  /* руководство */
  .av-rays { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 40s linear infinite; }
  .leader:hover .av-rays { animation-duration: 6s; }

  /* ночь */
  .stars i { animation: twinkle 3s calc(var(--i) * -.45s) ease-in-out infinite alternate; }
  @keyframes twinkle { to { opacity: .2; transform: scale(.6); } }
  .fl { animation: flame .5s ease-in-out infinite alternate; }
  .fl-2 { animation-duration: .4s; animation-delay: -.2s; } .fl-3 { animation-duration: .6s; animation-delay: -.1s; }
  @keyframes flame { from { transform: scaleY(1) rotate(-3deg); } to { transform: scaleY(1.18) rotate(4deg); } }
  .fire.roar .fl { animation: roar .9s ease-out; }
  @keyframes roar { 40% { transform: scale(1.7); } }
  .night-camel .cm-head { animation: nod 6s ease-in-out infinite; }

  /* монеты */
  .hid-coin { animation: coin-shine 2.6s ease-in-out infinite alternate; }
  @keyframes coin-shine { from { transform: rotateY(0) translateY(0); filter: brightness(1); } to { transform: rotateY(50deg) translateY(-5px); filter: brightness(1.25); } }
  .hid-coin.got { animation: coin-got 1s var(--ease-pop) forwards; }
  @keyframes coin-got { 40% { transform: translateY(-60px) scale(1.8) rotateY(360deg); opacity: 1; } 100% { transform: translateY(-140px) scale(.4); opacity: 0; } }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1400px) { .menu a { padding: 8px 9px; font-size: .94rem; } }
@media (max-width: 1320px) {
  .chip-menu { display: inline-flex; }
  .menu { position: absolute; top: calc(var(--bar-h) + 22px); left: 12px; right: 12px; display: none; flex-direction: column; gap: 4px; padding: 14px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 3px var(--teal), 0 24px 60px rgba(138, 35, 22, .22); }
  .menu.open { display: flex; }
  .menu a { padding: 13px 18px; font-size: 1.1rem; }
  .menu a::after { left: auto; right: 22px; bottom: 50%; transform: translateY(50%) rotate(45deg) scale(0); width: 10px; height: 10px; }
  .menu a:hover::after, .menu a.is-active::after { transform: translateY(50%) rotate(45deg) scale(1); }
}
@media (max-width: 1060px) {
  .hero { min-height: 0; padding-top: calc(var(--bar-h) + 50px); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text { justify-items: center; order: 2; }
  .hero-title { justify-items: center; }
  .ht-word { justify-content: center; }
  .hero-logo { order: 1; }
  .dl-logo { width: min(100%, 400px); }
  .hero-actions { justify-content: center; }
  .about-grid, .contact-grid, .docs-grid, .video-grid { grid-template-columns: 1fr; }
  .about-camel { max-width: 340px; }
  .paddy { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .gates-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
  .treasure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, 100% - 32px); }
  body { font-size: 1.05rem; }
  .hero { padding-bottom: 210px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .ht-l { -webkit-text-stroke-width: 7px; text-shadow: 3px 4px 0 var(--ink); }
  .desert { height: 200px; }
  .hero-camel { width: 84px; bottom: 12%; }
  .hero-camel:nth-child(1) { --x: 4% !important; } .hero-camel:nth-child(2) { --x: 34% !important; } .hero-camel:nth-child(3) { --x: 64% !important; }
  .sax-2 { display: none; }
  .launch { right: 6%; }
  .hero-hint { font-size: .85rem; bottom: 8px; }
  .trek-camel { width: 34px; top: -4px; }
  .big-sun { bottom: 130px; }
  .treasure { gap: 14px; }
  .chest { padding: 16px 8px 18px; }
  .chest-art { width: 110px; }
  .chest-big b { font-size: 2.2rem; } .chest-big b.b-sm { font-size: 1.05rem; }
  .chest-label { font-size: .72rem; letter-spacing: .06em; }
  .river { height: 96px; }
  .river-name { font-size: 1.2rem; letter-spacing: .2em; }
  .paddy { gap: 14px; }
  .sprout-art { height: 170px; }
  .rice-svg { width: 150px; }
  .sprout-card { padding: 16px 10px 18px; border-radius: 18px; }
  .sprout-text { display: none; }
  .sprout-name { font-size: 1.1rem; }
  .sprout-pick { font-size: 0; gap: 0; } .sprout-pick .ico { font-size: 1rem; }
  .gate-art { width: 170px; }
  .niche { width: 210px; }
  .form { padding: 42px 18px 28px; border-width: 9px; outline-offset: -16px; }
  .camp-camel { width: 80px; left: 4%; } .fire { left: calc(4% + 92px); }
  .moon { width: 52px; height: 52px; top: 40px; right: 6%; }
  .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); }
  .tv { padding: 8px; border-radius: 22px; } .tv-screen { border-radius: 16px; } .tv-sun { width: 86px; height: 86px; }
}
@media (max-width: 420px) {
  .top-in { gap: 6px; width: calc(100% - 20px); }
  .brand img { width: 50px; height: 50px; }
  .brand-text strong { font-size: 1.4rem; }
  .chip { min-height: 38px; padding: 0 10px; }
  .chip-menu, .chip-call { width: 38px; padding: 0; }
  .chip-call span { display: none; }
}
@media (max-width: 760px) { .chip-call span { display: none; } .chip-call { width: 42px; padding: 0; justify-content: center; } }
