:root {
  color-scheme: dark;
  --bg: #03131b;
  --bg-deep: #020b11;
  --surface: rgba(7, 31, 43, .76);
  --surface-strong: #092532;
  --cyan: #27ddf7;
  --cyan-soft: #71e8f5;
  --gold: #ffd168;
  --text: #f4f7f9;
  --muted: #a9bec8;
  --border: rgba(40, 222, 247, .35);
  --shadow: 0 26px 70px rgba(0, 0, 0, .34);
  --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 9%, rgba(0, 140, 170, .14), transparent 26rem),
    linear-gradient(180deg, #020c12 0%, var(--bg) 46%, #020c12 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

.site-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: url("assets/astana-hero.webp") center/cover no-repeat;
  opacity: .88;
  transform: translateZ(0) scale(1.01);
  transform-origin: center;
}
.service-gesture-target { position:fixed; z-index:9; width:96px; height:96px; padding:0; border:0; border-radius:50%; opacity:0; background:transparent; cursor:default; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.service-gesture-target:focus { outline:none; }
main, .site-footer { position: relative; z-index: 1; }

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--cyan); color: #001118; border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.container { width: min(calc(100% - 6rem), var(--container)); margin-inline: auto; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 6rem), var(--container));
  height: 104px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; width: max-content; font-size: 2rem; font-weight: 750; letter-spacing: -.04em; }
.site-brand { align-self:center; }
.site-brand-logo { display:block; width:158px; height:auto; filter:drop-shadow(0 5px 12px rgba(0,0,0,.42)) drop-shadow(0 0 7px rgba(32,220,244,.12)); }
.brand-mark { width: 42px; aspect-ratio: 1; border: 8px solid var(--cyan); border-right-color: var(--cyan-soft); border-bottom-color: transparent; border-radius: 50%; transform: rotate(-12deg); filter: drop-shadow(0 0 12px rgba(39, 221, 247, .42)); }
.main-nav { justify-self:center; display:flex; align-items:center; gap:3.5rem; font-weight:600; }
.main-nav a { position: relative; padding: 2.4rem .2rem 1rem; color: rgba(255, 255, 255, .82); transition: color .25s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { color: var(--cyan); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { justify-self:end; display:flex; align-items:center; gap:.72rem; min-width:max-content; }
.header-control { --control-accent:#f3ca55; position:relative; isolation:isolate; flex:0 0 auto; min-height:50px; overflow:hidden; border:1px solid rgba(243,202,85,.92); border-radius:999px; color:#f8fcfd; background:linear-gradient(145deg,rgba(6,76,91,.92),rgba(1,26,36,.9)); box-shadow:inset 0 0 0 2px rgba(2,25,34,.72),inset 0 0 0 3px rgba(243,202,85,.18),0 9px 26px rgba(0,0,0,.26); backdrop-filter:blur(14px); transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease; }
.header-control::after { content:""; position:absolute; z-index:-1; right:.8rem; bottom:.3rem; width:34px; height:5px; opacity:.34; background:repeating-linear-gradient(45deg,transparent 0 5px,rgba(243,202,85,.72) 5px 6px,transparent 6px 10px); pointer-events:none; }
.header-control:hover,.header-control:focus-visible,.header-control[aria-expanded="true"] { transform:translateY(-2px); border-color:#ffe28a; color:white; background:linear-gradient(145deg,rgba(8,96,112,.97),rgba(1,35,46,.94)); box-shadow:inset 0 0 0 2px rgba(2,25,34,.7),inset 0 0 0 3px rgba(255,226,138,.27),0 11px 30px rgba(0,0,0,.3),0 0 18px rgba(243,202,85,.14); outline:none; }
.donate-trigger { display:inline-flex; align-items:center; gap:.66rem; width:284px; padding:.38rem .9rem .38rem .48rem; font-size:.875rem; font-weight:800; white-space:nowrap; cursor:pointer; }
.donate-trigger > * { position:relative; z-index:1; }
.donate-trigger-mark { display:grid; place-items:center; flex:0 0 36px; width:36px; aspect-ratio:1; border:1px solid rgba(255,230,145,.72); border-radius:50%; color:#063946; background:linear-gradient(145deg,#ffe697,#e7b934); font-size:.9rem; box-shadow:inset 0 0 0 2px rgba(5,80,94,.16),0 0 14px rgba(243,202,85,.18); }
.language-switcher { position: relative; }
.language { display:grid; grid-template-columns:auto auto auto; align-items:center; gap:.48rem; width:124px; padding:.38rem .72rem .38rem .48rem; cursor:pointer; }
.language-icon { position:relative; z-index:1; display:grid; place-items:center; width:36px; height:36px; border:1px solid rgba(255,230,145,.72); border-radius:50%; color:#063946; background:linear-gradient(145deg,#ffe697,#e7b934); box-shadow:inset 0 0 0 2px rgba(5,80,94,.16),0 0 14px rgba(243,202,85,.18); }
.language-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.language-copy { position:relative; z-index:1; display:grid; justify-items:start; line-height:1; }
.language-copy small { color:#9db8c0; font-size:.54rem; font-weight:650; letter-spacing:.08em; text-transform:uppercase; }
.language-copy b { margin-top:.25rem; color:#f7fdff; font-size:.82rem; letter-spacing:.08em; }
.language-chevron { position:relative; z-index:1; color:#f3ca55; font-size:.85rem; transition:transform .2s ease; }
.language[aria-expanded="true"] .language-chevron { transform:rotate(180deg); }
.language-menu { position: absolute; z-index: 20; top: calc(100% + .55rem); right: 0; display: grid; min-width: 170px; padding: .45rem; border: 1px solid var(--border); border-radius: 14px; background: rgba(2, 17, 24, .98); box-shadow: 0 18px 50px rgba(0, 0, 0, .38); opacity: 0; transform: translateY(-7px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.language-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.language-menu button { display: flex; justify-content: space-between; gap: 1rem; width: 100%; padding: .7rem .75rem; border: 0; border-radius: 9px; color: #dcecf0; background: transparent; cursor: pointer; text-align: left; }
.language-menu button:hover, .language-menu button:focus-visible, .language-menu button.active { color: #001118; background: var(--cyan); outline: none; }
.language-menu b { font-size: .72rem; }
.mobile-languages { display: none; }
.mobile-donate { display:none; }
.menu-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 7px 0; background: white; transition: transform .25s ease; }

.button { min-height: 54px; padding: .9rem 1.8rem; border: 1px solid var(--cyan); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; font-weight: 700; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(39, 221, 247, .08), 0 12px 32px rgba(0, 199, 232, .2); }
.button-primary { color: #01161d; border-color: transparent; background: linear-gradient(100deg, #63e8f8, #15d5f2); box-shadow: 0 10px 32px rgba(26, 216, 244, .25); }
.button-outline { background: rgba(2, 19, 27, .32); }
.button-small { min-height: 46px; padding: .65rem 1.45rem; font-size: .92rem; }
.header-control-download { width:186px; min-height:50px; padding:.38rem .9rem; gap:.68rem; border-color:rgba(243,202,85,.92); font-size:.875rem; line-height:1.15; text-align:center; background:linear-gradient(145deg,rgba(6,76,91,.92),rgba(1,26,36,.9)); }
.header-control-download > span:first-child { display:grid; place-items:center; flex:0 0 36px; width:36px; aspect-ratio:1; border:1px solid rgba(255,230,145,.72); border-radius:50%; color:#063946; background:linear-gradient(145deg,#ffe697,#e7b934); font-size:1rem; box-shadow:inset 0 0 0 2px rgba(5,80,94,.16),0 0 14px rgba(243,202,85,.18); }

.hero { position: relative; min-height: 830px; overflow: hidden; }
.hero-content { position: relative; z-index: 2; padding-top: 176px; }
.eyebrow { margin: 0 0 1rem; color: #7da8b8; font-size: .86rem; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3.5rem, 5vw, 5.7rem); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 span, .section-heading h2 span, .about-copy h2 span, .authors-intro h2 span { color: var(--cyan); }
.hero-logo { display:block; width:min(660px,63vw); height:auto; margin:-.35rem 0 -.2rem; filter:drop-shadow(0 14px 30px rgba(0,0,0,.48)) drop-shadow(0 0 12px rgba(26,215,240,.13)); transform-origin:left center; animation:logoReveal .85s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy { max-width: 660px; margin: 2rem 0 2.2rem; color: #e0eaee; font-size: 1.15rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.stats { display: flex; gap: 4.5rem; margin-top: 5rem; }
.stat { display: flex; align-items: center; gap: .9rem; }
.stat-icon { font-size: 2.8rem; line-height: 1; color: #eaf8fb; }
.stat strong { display: block; color: var(--cyan); font-size: 1.12rem; }
.stat small { display: block; color: var(--muted); font-size: .78rem; }
.location-pill { position: absolute; z-index: 3; right: max(3rem, calc((100vw - var(--container))/2)); bottom: 88px; display: flex; align-items: flex-start; gap: .8rem; max-width: 220px; }
.location-pill > span { font-size: 2rem; }
.location-pill strong, .location-pill small { display: block; }
.location-pill small { color: var(--muted); }
.ornament { position: absolute; z-index: 1; right: 3%; top: 7%; font-size: 18rem; color: rgba(49, 216, 240, .055); transform: rotate(18deg); }

.light-ribbon { position: absolute; z-index: 1; inset-inline: 0; pointer-events: none; }
.light-ribbon svg { width: 100%; height: 100%; overflow: visible; }
.hero-ribbon { bottom: -2rem; height: 240px; }
.ribbon-core, .ribbon-blur { fill: none; stroke: url(#heroGradient); stroke-linecap: round; }
.ribbon-core { stroke-width: 3; filter: url(#heroGlow); stroke-dasharray: 240 45 80 36; animation: trail 13s linear infinite; }
.ribbon-blur { stroke-width: 24; opacity: .16; animation: glowPulse 6s ease-in-out infinite; }

.apps-section { position: relative; padding: 110px 0 80px; }
.section-heading { display: grid; grid-template-columns: 1.25fr .8fr auto; align-items: end; gap: 3.5rem; margin-bottom: 3rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.8rem, 4vw, 4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 .3rem; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.app-card { position: relative; min-height: 410px; padding: 2.2rem; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(145deg, rgba(8, 44, 59, .92), rgba(3, 22, 31, .94)); box-shadow: var(--shadow); isolation: isolate; cursor: pointer; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.app-card::before { content: ""; position: absolute; z-index: -1; width: 290px; height: 290px; right: -15%; bottom: -25%; background: radial-gradient(circle, rgba(30, 213, 242, .26), transparent 70%); transition: transform .5s ease; }
.app-card:hover, .app-card:focus-visible { transform: translateY(-8px); border-color: rgba(62, 230, 252, .8); box-shadow: 0 28px 80px rgba(0, 0, 0, .46), 0 0 30px rgba(21, 213, 240, .1); outline: none; }
.app-card:hover::before { transform: scale(1.3); }
.app-card-copy { position: relative; z-index: 3; }
.app-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.2rem; border-radius: 15px; color: #02151c; font-size: 1.7rem; font-weight: 900; background: linear-gradient(145deg, #82ecf8, #26cde8); box-shadow: 0 0 30px rgba(56, 221, 243, .36); }
.translate-icon { font-size: 1rem; letter-spacing: -.08em; }
.app-card h3 { margin: 0; font-size: 1.65rem; }
.app-card p { color: var(--muted); margin: .8rem 0 1.6rem; }
.card-download { min-height: 44px; padding: .55rem 1.35rem; border: 1px solid var(--cyan); border-radius: 999px; background: rgba(1,15,21,.54); color: white; cursor: pointer; transition: background .25s ease, color .25s ease; }
.card-download:hover, .card-download:focus-visible { background: var(--cyan); color: #001118; }
.platforms { margin-top: .8rem; display: flex; gap: .65rem; color: #d4edf2; }
.phone-mock { position: absolute; z-index: 2; right: -2rem; bottom: -2rem; width: 210px; height: 355px; padding: 2.8rem 1.2rem 1rem; border: 8px solid #24333a; border-radius: 38px; background: linear-gradient(160deg, #061018, #121f26); box-shadow: -20px -10px 50px rgba(0, 0, 0, .4); transform: rotate(7deg); }
.phone-top { position: absolute; top: 12px; left: 50%; width: 70px; height: 16px; transform: translateX(-50%); border-radius: 20px; background: #01070a; }
.phone-mock strong { font-size: .9rem; }
.translate-row { display: flex; align-items: center; gap: .65rem; min-height: 42px; margin-top: .75rem; padding: .55rem .65rem; border: 1px solid rgba(46, 218, 243, .1); border-radius: 9px; background: #1c2b31; color: #dcecf0; font-style: normal; font-size: .72rem; }
.translate-row b { display: grid; place-items: center; flex: 0 0 28px; height: 24px; border-radius: 7px; background: linear-gradient(145deg, #82ecf8, #26cde8); color: #02151c; font-size: .62rem; }
.translate-row:nth-of-type(3) b { background: linear-gradient(145deg, #ffe194, #ffc553); }
.translate-row:nth-of-type(4) b { background: linear-gradient(145deg, #b8a6ff, #8c70eb); }
.translate-row:nth-of-type(5) b { background: linear-gradient(145deg, #ff9a8e, #ff5d6c); }
.mock-row, .media-row { display: block; height: 42px; margin-top: .75rem; border-radius: 9px; background: #1c2b31; }
.mock-row::before { content: ""; display: block; width: 18px; height: 18px; margin: 12px; border-radius: 5px; background: var(--gold); }
.mock-row.cyan::before { background: var(--cyan); }
.mock-row.violet::before { background: #d581e8; }
.phone-media { right: -1.2rem; transform: rotate(2deg); }
.phone-compass { right: -2rem; bottom: -1.4rem; width: 220px; height: 370px; padding: 2.3rem .75rem .4rem; overflow: hidden; transform: rotate(1deg); text-align: center; background: linear-gradient(180deg, rgba(1, 9, 15, .05), rgba(1, 9, 15, .2)), url("assets/onli-compass-screen.png") center/cover no-repeat; border-color: #334550; box-shadow: -20px -10px 50px rgba(0, 0, 0, .48), 0 0 18px rgba(28, 205, 242, .12); }
.phone-compass .phone-top { z-index: 5; width: 42px; height: 11px; }
.compass-status { position: relative; z-index: 3; display: flex; justify-content: space-between; color: #dceaf0; font-size: .48rem; }
.compass-brand { position: relative; z-index: 3; margin-top: .55rem; text-align: left; color: #cceeff; line-height: 1; }
.compass-brand b { display: block; letter-spacing: .28em; font-size: .62rem; font-weight: 500; }
.compass-brand small { display: block; margin-top: .25rem; color: #5e90a8; font-size: .28rem; letter-spacing: .32em; }
.compass-reading { position: absolute; z-index: 3; top: 246px; left: 50%; display: grid; justify-items: center; transform: translateX(-50%); color: #a9cad1; line-height: 1; }
.compass-reading strong { color: #e8fbff; font-size: 1.85rem; font-weight: 400; text-shadow: 0 0 9px #28dfff; }
.compass-reading small { margin-top: .2rem; color: #72c5dd; font-size: .5rem; }
.compass-nav { position: absolute; z-index: 4; left: .6rem; right: .6rem; bottom: .4rem; display: flex; justify-content: space-around; padding-top: .35rem; border-top: 1px solid rgba(72, 194, 224, .13); color: #66828f; background: linear-gradient(180deg, transparent, rgba(0, 7, 12, .72)); }
.compass-nav i { display: grid; justify-items: center; gap: .12rem; font-size: .72rem; font-style: normal; }
.compass-nav i.active { color: #42e3ff; text-shadow: 0 0 8px rgba(42, 225, 255, .7); }
.compass-nav small { font-size: .3rem; }
.media-row { height: 38px; padding: .55rem .8rem; color: #c2d6dc; font-style: normal; font-size: .74rem; border: 1px solid rgba(46,218,243,.08); }
.laptop-mock { position: absolute; z-index: 2; right: -5rem; bottom: .5rem; width: 270px; transform: rotate(4deg); }
.laptop-screen { height: 235px; padding: 2.8rem 1rem 1rem; border: 7px solid #4a5559; border-radius: 17px 17px 5px 5px; background: #061319; box-shadow: -15px -10px 45px rgba(0,0,0,.42); }
.laptop-screen i { display: block; padding: .7rem .5rem; color: #bcd2d8; font-size: .68rem; font-style: normal; border-bottom: 1px solid rgba(62,220,244,.14); }
.laptop-screen i::before { content: ""; display: inline-block; width: 17px; height: 17px; margin-right: .55rem; vertical-align: middle; border-radius: 5px; background: var(--cyan); }
.laptop-base { width: 315px; height: 18px; margin-left: -22px; border-radius: 2px 2px 14px 14px; background: linear-gradient(#9ca7a9, #3f4a4e); }

.kids-card { border-color:rgba(86,222,245,.48); background:linear-gradient(145deg,rgba(8,50,65,.95),rgba(6,24,40,.96)); }
.kids-card::before { width:360px; height:360px; right:-22%; bottom:-37%; background:radial-gradient(circle,rgba(151,113,255,.24),rgba(42,217,244,.15) 42%,transparent 70%); }
.kids-card::after { content:"✦"; position:absolute; z-index:0; right:43%; top:12%; color:rgba(255,211,105,.32); font-size:1rem; text-shadow:42px 28px rgba(98,232,249,.23),82px -9px rgba(255,211,105,.2); pointer-events:none; }
.kids-icon { color:#063546; background:linear-gradient(145deg,#ffe18a,#42e0f5 72%); box-shadow:0 0 30px rgba(76,221,244,.3),0 0 18px rgba(255,205,93,.16); }
.kids-icon svg { width:35px; height:35px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.kids-label { display:inline-flex; align-items:center; min-height:24px; margin-top:.55rem; padding:.2rem .62rem; border:1px solid rgba(255,214,105,.42); border-radius:999px; color:#ffe08a; background:rgba(255,200,67,.08); font-size:.6rem; font-weight:850; letter-spacing:.09em; text-transform:uppercase; }
.kids-card .app-card-copy > p { margin-top:.7rem; }
.named-platform { align-items:center; color:#e8fbff; }
.named-platform b { color:#8faab4; font-size:.66rem; font-weight:650; letter-spacing:.03em; }
.android-mark { display:inline-grid; place-items:center; width:17px; height:17px; }
.android-mark svg { display:block; width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.android-mark circle { fill:currentColor; stroke:none; }
.kids-laptop { right:-4.3rem; bottom:.4rem; width:285px; transform:rotate(3deg); }
.kids-screen { position:relative; height:238px; overflow:hidden; padding:.85rem 1rem 1rem; border-color:#596b76; background:linear-gradient(155deg,#102840 0%,#0b1a2d 48%,#10213b 100%); box-shadow:-15px -10px 45px rgba(0,0,0,.42),inset 0 0 40px rgba(51,218,243,.06); }
.kids-screen::before { content:""; position:absolute; width:165px; height:165px; right:-52px; top:-70px; border-radius:50%; background:radial-gradient(circle,rgba(140,104,255,.31),transparent 68%); }
.kids-screen::after { content:""; position:absolute; left:-25px; bottom:-52px; width:150px; height:110px; border-radius:50%; background:radial-gradient(circle,rgba(44,221,244,.18),transparent 70%); }
.kids-spark { position:absolute; z-index:2; color:#ffd66d; line-height:1; text-shadow:0 0 10px rgba(255,211,97,.7); }
.spark-one { top:20px; left:20px; font-size:.72rem; }
.spark-two { top:46px; right:24px; color:#73e7f5; font-size:.55rem; }
.kids-bot { position:relative; z-index:2; width:58px; height:48px; margin:3px auto 10px; border:2px solid rgba(255,224,137,.88); border-radius:21px 21px 18px 18px; background:linear-gradient(145deg,#5fe4f5,#9a82ff); box-shadow:0 0 22px rgba(78,220,242,.32); }
.kids-bot::before { content:""; position:absolute; left:12px; right:12px; top:12px; height:21px; border-radius:10px; background:#0a2940; }
.kids-bot .kids-antenna { position:absolute; left:50%; top:-13px; color:#ffd66d; font-size:.55rem; transform:translateX(-50%); text-shadow:0 0 8px #ffd66d; }
.kids-bot .kids-antenna::after { content:""; position:absolute; left:50%; top:7px; width:1px; height:7px; background:#ffe08a; }
.kids-bot i { position:absolute; z-index:2; top:19px; width:5px; height:6px; border-radius:50%; background:#8ff4ff; box-shadow:0 0 5px #64eafa; }
.kids-bot i:nth-of-type(1) { left:19px; }
.kids-bot i:nth-of-type(2) { right:19px; }
.kids-bot b { position:absolute; z-index:2; left:50%; top:28px; width:12px; height:5px; border-bottom:2px solid #ffd76e; border-radius:0 0 10px 10px; transform:translateX(-50%); }
.kids-bubble { position:relative; z-index:2; width:max-content; max-width:82%; margin-top:.42rem; padding:.42rem .58rem; border-radius:10px 10px 10px 3px; color:#eafcff; background:rgba(35,194,220,.18); border:1px solid rgba(73,224,244,.22); font-size:.58rem; line-height:1.3; }
.child-bubble { margin-left:auto; border-color:rgba(255,214,103,.28); border-radius:10px 10px 3px 10px; color:#fff3c8; background:rgba(255,198,65,.11); }
.kids-chatbar { position:absolute; z-index:3; left:.85rem; right:.85rem; bottom:.65rem; display:flex; align-items:center; justify-content:space-between; min-height:30px; padding:.35rem .38rem .35rem .65rem; border:1px solid rgba(114,230,246,.2); border-radius:999px; color:#6f94a6; background:rgba(2,14,25,.72); font-size:.5rem; }
.kids-chatbar b { display:grid; place-items:center; width:22px; aspect-ratio:1; border-radius:50%; color:#082f42; background:linear-gradient(145deg,#ffe284,#45e0f4); font-size:.58rem; }

.authors-section { position:relative; padding:55px 0 105px; }
.authors-panel { position:relative; display:grid; grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr); gap:2.5rem; padding:2.5rem; overflow:hidden; border:1px solid rgba(255,209,104,.38); border-radius:28px; background:radial-gradient(circle at 5% 5%,rgba(255,209,104,.12),transparent 28rem),linear-gradient(145deg,rgba(7,43,56,.94),rgba(2,20,29,.97)); box-shadow:var(--shadow); }
.authors-panel::after { content:""; position:absolute; right:-110px; top:-150px; width:340px; height:340px; border:1px solid rgba(255,209,104,.18); border-radius:50%; box-shadow:0 0 0 26px rgba(39,221,247,.035),0 0 0 52px rgba(255,209,104,.025); pointer-events:none; }
.authors-intro { position:relative; z-index:1; align-self:center; }
.authors-intro .eyebrow { color:var(--gold); }
.authors-intro h2 { margin:0; font-size:clamp(2.35rem,3.7vw,4rem); line-height:1.04; letter-spacing:-.045em; }
.authors-intro > p { max-width:580px; margin:1.4rem 0 2rem; color:#b5c9d0; }
.authors-safety { display:grid; gap:.7rem; }
.authors-safety > div { display:flex; align-items:center; gap:.8rem; padding:.78rem .9rem; border:1px solid rgba(47,219,242,.16); border-radius:14px; background:rgba(1,17,24,.34); }
.authors-safety > div > span { flex:0 0 34px; display:grid; place-items:center; width:34px; height:34px; border-radius:11px; color:#052b35; background:linear-gradient(145deg,#ffe28b,#eebd3d); font-weight:900; }
.authors-safety p,.authors-safety strong,.authors-safety small { display:block; margin:0; }
.authors-safety strong { font-size:.82rem; }
.authors-safety small { margin-top:.08rem; color:#8faab4; font-size:.7rem; }
.authors-form { position:relative; z-index:1; padding:1.65rem; border:1px solid rgba(48,218,243,.24); border-radius:21px; background:rgba(2,22,30,.8); box-shadow:inset 0 1px rgba(255,255,255,.03); }
.authors-form-head { display:flex; align-items:center; gap:.8rem; margin-bottom:1rem; }
.authors-form-head > span { display:grid; place-items:center; width:42px; height:42px; border-radius:13px; color:#052b35; background:linear-gradient(145deg,#ffe28b,#eebd3d); }
.authors-form-head strong,.authors-form-head small { display:block; }
.authors-form-head small { margin-top:.15rem; color:var(--muted); font-size:.7rem; }
.authors-fields { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.authors-form label { display:grid; gap:.4rem; margin-top:.75rem; color:#aac2ca; font-size:.75rem; }
.authors-form input:not([type="checkbox"]),.authors-form select,.authors-form textarea { width:100%; border:1px solid rgba(48,218,243,.2); border-radius:11px; outline:none; color:var(--text); background:rgba(1,13,19,.78); font:inherit; }
.authors-form input:not([type="checkbox"]),.authors-form select { min-height:46px; padding:.68rem .8rem; }
.authors-form textarea { min-height:100px; padding:.8rem; resize:vertical; line-height:1.45; }
.authors-form input:focus,.authors-form select:focus,.authors-form textarea:focus { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(37,220,246,.08); }
.authors-form input::placeholder,.authors-form textarea::placeholder { color:#607f8b; }
.authors-file { position:relative; cursor:pointer; }
.authors-file > input { position:absolute; width:1px !important; height:1px; opacity:0; pointer-events:none; }
.authors-file-button { display:flex; align-items:center; gap:.8rem; min-height:62px; padding:.65rem .8rem; border:1px dashed rgba(48,218,243,.34); border-radius:12px; background:rgba(39,221,247,.035); }
.authors-file-button > b { display:grid; place-items:center; width:36px; height:36px; border-radius:11px; color:#052b35; background:var(--cyan); font-size:1.2rem; }
.authors-file-button strong,.authors-file-button small { display:block; }
.authors-file-button small { color:#819eaa; font-size:.68rem; }
.authors-consent { display:flex !important; grid-template-columns:none; align-items:flex-start; gap:.55rem !important; cursor:pointer; line-height:1.35; }
.authors-consent input { flex:0 0 auto; width:17px; height:17px; margin:.05rem 0 0; accent-color:var(--cyan); }
.authors-submit { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1rem; }
.authors-submit .button { min-height:48px; padding:.72rem 1.35rem; }
.authors-submit small { color:#7895a0; text-align:right; }
.authors-form progress { display:none; width:100%; height:7px; margin-top:1rem; overflow:hidden; border:0; border-radius:99px; background:rgba(255,255,255,.08); }
.authors-form progress.visible { display:block; }
.authors-form progress::-webkit-progress-bar { border-radius:99px; background:rgba(255,255,255,.08); }
.authors-form progress::-webkit-progress-value { border-radius:99px; background:linear-gradient(90deg,var(--cyan),var(--gold)); }
.authors-form progress::-moz-progress-bar { border-radius:99px; background:linear-gradient(90deg,var(--cyan),var(--gold)); }
.authors-status { min-height:1.25rem; margin:.65rem 0 0; color:var(--muted); font-size:.74rem; }
.authors-status.success { color:#78e5bd; }.authors-status.error { color:#ff9d9d; }

.feedback-section { position: relative; padding: 35px 0 105px; }
.feedback-heading { position:relative; display:grid; grid-template-columns:1.05fr .95fr; align-items:end; gap:4rem; margin-bottom:2.2rem; }
.feedback-heading h2 { margin:0; font-size:clamp(2.4rem,4vw,4.2rem); line-height:1.05; letter-spacing:-.04em; }
.feedback-heading h2 span { color:var(--cyan); }
.feedback-heading > p { margin:0 0 .35rem; color:var(--muted); max-width:590px; }
.feedback-layout { position:relative; display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:1.1rem; }
.feedback-form,.feedback-feed { border:1px solid var(--border); border-radius:24px; background:linear-gradient(145deg,rgba(8,44,59,.94),rgba(3,22,31,.96)); box-shadow:var(--shadow); }
.feedback-form { padding:2rem; }
.feedback-form-head,.feedback-feed-head { display:flex; align-items:center; gap:.85rem; margin-bottom:1.4rem; }
.feedback-form-head > span { display:grid; place-items:center; width:43px; aspect-ratio:1; border-radius:13px; color:#03212b; background:linear-gradient(145deg,#ffe294,#f5be35); box-shadow:0 0 25px rgba(245,190,53,.16); }
.feedback-form-head strong,.feedback-form-head small,.feedback-feed-head strong,.feedback-feed-head small { display:block; }
.feedback-form-head strong,.feedback-feed-head strong { font-size:1.05rem; }
.feedback-form-head small,.feedback-feed-head small { margin-top:.2rem; color:var(--muted); font-size:.72rem; }
.feedback-form label { display:grid; gap:.45rem; margin-top:.9rem; color:#a9c1ca; font-size:.77rem; }
.feedback-fields { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.feedback-form input,.feedback-form select,.feedback-form textarea { width:100%; border:1px solid rgba(48,218,243,.2); border-radius:12px; outline:none; color:var(--text); background:rgba(1,15,21,.72); font:inherit; transition:border-color .2s,box-shadow .2s; }
.feedback-form input,.feedback-form select { min-height:48px; padding:.75rem .9rem; }
.feedback-form textarea { min-height:130px; resize:vertical; padding:.9rem; line-height:1.5; }
.feedback-form input:focus,.feedback-form select:focus,.feedback-form textarea:focus { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(37,220,246,.08); }
.feedback-form input::placeholder,.feedback-form textarea::placeholder { color:#63818d; }
.feedback-trap { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; }
.feedback-attachment { position:relative; }
.feedback-attachment > input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.feedback-file-button { display:flex; align-items:center; gap:.8rem; padding:.75rem; border:1px dashed rgba(48,218,243,.32); border-radius:13px; background:rgba(1,15,21,.38); cursor:pointer; transition:border-color .2s,background .2s; }
.feedback-file-button:hover { border-color:var(--cyan); background:rgba(37,220,246,.055); }
.feedback-file-button > b { display:grid; place-items:center; width:38px; aspect-ratio:1; border-radius:11px; color:#03212b; background:linear-gradient(145deg,#7debf8,#24cbe6); font-size:1.2rem; }
.feedback-file-button strong,.feedback-file-button small { display:block; }.feedback-file-button strong { color:var(--text); font-size:.82rem; }.feedback-file-button small { margin-top:.2rem; color:var(--muted); font-size:.67rem; }
.feedback-preview { display:none; grid-template-columns:64px 1fr auto; align-items:center; gap:.8rem; margin-top:.7rem; padding:.65rem; border:1px solid rgba(48,218,243,.2); border-radius:13px; background:rgba(1,15,21,.5); }
.feedback-preview.visible { display:grid; }
.feedback-preview img { width:64px; height:52px; border-radius:8px; object-fit:cover; }
.feedback-preview strong,.feedback-preview small { display:block; max-width:240px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.feedback-preview strong { font-size:.76rem; }.feedback-preview small { margin-top:.2rem; color:var(--muted); font-size:.66rem; }
.feedback-preview button { display:grid; place-items:center; width:30px; aspect-ratio:1; padding:0; border:1px solid rgba(255,255,255,.18); border-radius:50%; color:white; background:transparent; cursor:pointer; }
.feedback-submit { display:flex; align-items:center; gap:1rem; margin-top:1.1rem; }
.feedback-submit button { border:0; }
.feedback-submit button:disabled { opacity:.55; cursor:wait; }
.feedback-submit small { color:var(--muted); font-size:.72rem; }
.feedback-status { min-height:1.2em; margin:.75rem 0 0; color:var(--muted); font-size:.78rem; }
.feedback-status.success { color:#78ead2; }.feedback-status.error { color:#ff9d9d; }
.feedback-feed { min-height:505px; padding:2rem; }
.feedback-feed-head { justify-content:space-between; }
.feedback-feed-head button { display:grid; place-items:center; width:38px; aspect-ratio:1; padding:0; border:1px solid var(--border); border-radius:50%; color:var(--cyan); background:transparent; font-size:1.2rem; cursor:pointer; transition:transform .25s,background .25s; }
.feedback-feed-head button:hover { transform:rotate(90deg); background:rgba(37,220,246,.09); }
.feedback-list { display:grid; gap:.7rem; max-height:420px; overflow:auto; padding-right:.25rem; scrollbar-color:rgba(37,220,246,.4) transparent; }
.feedback-item { padding:1rem; border:1px solid rgba(48,218,243,.13); border-radius:15px; background:rgba(1,13,18,.35); }
.feedback-item > div { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.7rem; }
.feedback-avatar { display:grid; place-items:center; width:36px; aspect-ratio:1; border-radius:11px; color:#01202a; background:linear-gradient(145deg,#7debf8,#24cbe6); font-weight:850; }
.feedback-item strong,.feedback-item small { display:block; }
.feedback-item strong { font-size:.86rem; }.feedback-item small { margin-top:.1rem; color:var(--cyan); font-size:.66rem; }
.feedback-item time { color:#6f8c97; font-size:.66rem; }
.feedback-item p { margin:.75rem 0 0; color:#c6d7dd; font-size:.86rem; line-height:1.48; white-space:pre-wrap; overflow-wrap:anywhere; }
.feedback-image { display:block; margin-top:.8rem; overflow:hidden; border:1px solid rgba(48,218,243,.17); border-radius:12px; }
.feedback-image img { display:block; width:100%; max-height:270px; object-fit:cover; transition:transform .35s; }
.feedback-image:hover img { transform:scale(1.02); }
.feedback-empty { margin:3rem 0; color:var(--muted); text-align:center; }

.about-section { padding: 20px 0 90px; }
.about-card { position: relative; min-height: 390px; overflow: hidden; display: flex; align-items: center; border: 1px solid rgba(45, 219, 245, .2); border-radius: 24px; box-shadow: var(--shadow); }
.about-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 18, 25, .98), rgba(2, 20, 28, .68) 45%, rgba(2, 17, 23, .18)), url("assets/kazakhstan-mountains.webp") center/cover no-repeat; transition: transform 7s ease; }
.about-card:hover .about-bg { transform: scale(1.035); }
.about-copy { position: relative; z-index: 1; width: min(560px, 55%); padding: 3.8rem; }
.about-copy h2 { margin: 0 0 1.2rem; font-size: 2.2rem; line-height: 1.14; }
.about-copy p { color: #c1d1d7; }
.about-copy .button { margin-top: 1rem; }
.about-card blockquote { position: absolute; z-index: 1; right: 4rem; bottom: 3.2rem; max-width: 300px; color: rgba(240,248,250,.74); font-family: Georgia, serif; font-size: 1.15rem; font-style: italic; transform: rotate(-4deg); }

.download-section { position: relative; min-height: 340px; display: grid; place-items: center; overflow: hidden; }
.download-content { position: relative; z-index: 3; text-align: center; }
.download-content h2 { margin: 0; font-size: 2.25rem; }
.download-content p { margin: .45rem 0 1.5rem; color: var(--muted); }
.download-main { border: 0; }
.download-content small { display: block; margin-top: 1rem; color: #9db2ba; }
.bottom-ribbon { z-index: 1; bottom: -3rem; height: 260px; width: 115%; left: -7%; }
.ribbon-core.bottom, .ribbon-blur.bottom { stroke: url(#bottomGradient); }
.ribbon-core.bottom { stroke-width: 3; stroke-dasharray: 190 34 70 28; animation: trail 15s linear infinite reverse; }
.ribbon-blur.bottom { stroke-width: 25; opacity: .17; animation: glowPulse 7s ease-in-out infinite; }

.contact-section { position:relative; padding:45px 0 90px; }
.contact-panel { position:relative; display:grid; grid-template-columns:minmax(250px,.72fr) minmax(0,1.45fr); gap:3rem; align-items:center; overflow:hidden; padding:2.5rem; border:1px solid rgba(56,224,246,.34); border-radius:25px; background:linear-gradient(135deg,rgba(3,28,39,.82),rgba(2,16,24,.68)); box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.04); backdrop-filter:blur(14px); }
.contact-panel::before { content:""; position:absolute; width:360px; height:360px; left:-190px; top:-230px; border-radius:50%; background:radial-gradient(circle,rgba(255,209,104,.18),transparent 68%); pointer-events:none; }
.contact-intro { position:relative; }
.contact-intro .eyebrow { margin-bottom:.55rem; color:var(--gold); }
.contact-intro h2 { margin:0; font-size:clamp(1.85rem,3vw,2.75rem); line-height:1.08; letter-spacing:-.035em; }
.contact-intro > p:last-child { max-width:430px; margin:.85rem 0 0; color:var(--muted); }
.contact-grid { position:relative; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1.08fr) minmax(0,.84fr); gap:.8rem; }
.contact-card { min-width:0; display:flex; align-items:flex-start; gap:.8rem; min-height:132px; padding:1rem; border:1px solid rgba(50,220,244,.2); border-radius:17px; background:rgba(1,15,22,.54); transition:transform .25s,border-color .25s,background .25s; }
.contact-card:hover { transform:translateY(-4px); border-color:rgba(64,231,252,.68); background:rgba(5,38,50,.75); }
.contact-icon { flex:0 0 38px; display:grid; place-items:center; width:38px; aspect-ratio:1; border-radius:12px; color:#03212a; background:linear-gradient(145deg,#ffe590,#efbd3a); box-shadow:0 8px 22px rgba(0,0,0,.2); }
.contact-icon svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.contact-card > div { min-width:0; }
.contact-card small { display:block; margin:.1rem 0 .45rem; color:#8ca7b2; font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; }
.contact-card a { display:block; width:max-content; max-width:100%; margin-top:.18rem; color:#f4fbfd; font-size:.83rem; font-weight:700; overflow-wrap:anywhere; transition:color .2s; }
.contact-card a[href^="mailto:"] { white-space:nowrap; overflow-wrap:normal; }
.contact-card a:hover,.contact-card a:focus-visible { color:var(--cyan); outline:none; }

.site-footer { padding: 3.5rem 0 2.5rem; background: rgba(0, 8, 12, .4); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.footer-brand { display:inline-block; width:max-content; }
.footer-brand-logo { display:block; width:230px; height:auto; filter:drop-shadow(0 8px 18px rgba(0,0,0,.45)) drop-shadow(0 0 8px rgba(35,218,242,.12)); }
.footer-inner > div > p { color: #75919d; font-size: .85rem; }
.footer-inner nav { display: flex; gap: 2.4rem; color: #9ab1ba; font-size: .85rem; }
.footer-inner nav a:hover { color: var(--cyan); }
.copyright { grid-column: 2; margin: 0; color: #617a84; font-size: .8rem; text-align: right; }

.toast { position: fixed; z-index: 80; right: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; width: min(360px, calc(100vw - 3rem)); padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: 15px; background: rgba(5, 29, 39, .96); box-shadow: 0 18px 70px rgba(0,0,0,.5); transform: translateY(130%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.toast.visible { transform: translateY(0); opacity: 1; }
.toast-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #001118; background: var(--cyan); font-weight: 900; }
.toast strong, .toast small { display: block; }
.toast small { color: var(--muted); }

body.modal-open { overflow: hidden; }
.download-modal { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 1rem; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s; }
.download-modal.open { visibility: visible; opacity: 1; }
.download-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 10, 15, .78); backdrop-filter: blur(10px); }
.download-dialog { position: relative; width: min(560px, 100%); overflow: hidden; padding: 2rem 2rem 1.5rem; border: 1px solid rgba(247, 198, 65, .7); border-radius: 26px; background: linear-gradient(145deg, rgba(0, 175, 196, .98), rgba(0, 112, 136, .98)); box-shadow: 0 28px 100px rgba(0, 0, 0, .62), 0 0 42px rgba(15, 214, 236, .18); transform: translateY(18px) scale(.97); transition: transform .3s ease; }
.download-modal.open .download-dialog { transform: translateY(0) scale(1); }
.download-dialog::before { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: url("assets/astana-hero.webp") 67% center/cover no-repeat; opacity: .42; filter: saturate(.85) contrast(1.08); }
.download-dialog::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(0, 169, 193, .96) 0%, rgba(0, 145, 169, .9) 43%, rgba(0, 83, 107, .56) 100%); }
.download-dialog > * { position: relative; z-index: 2; }
.download-modal-close { position: absolute !important; z-index: 5 !important; top: 1rem; right: 1rem; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: white; background: rgba(0,70,89,.34); font-size: 1.45rem; line-height: 1; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.download-modal-close:hover, .download-modal-close:focus-visible { color: #004d62; background: #f5cc59; transform: rotate(7deg); outline: none; }
.download-modal-eyebrow { margin: 0 0 .65rem; color: #ffe189; font-size: .7rem; font-weight: 800; letter-spacing: .2em; }
.download-dialog h2 { margin: 0; padding-right: 3rem; font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.1; }
.download-dialog h2 strong { display: block; margin-top: .3rem; color: #fff0b1; font-size: .58em; font-weight: 650; }
.download-modal-copy { margin: .7rem 0 1.2rem; color: rgba(235, 253, 255, .86); }
.download-options { display: grid; gap: .65rem; }
.download-options button { display: grid; grid-template-columns: 42px 1fr; gap: .85rem; align-items: center; width: 100%; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 15px; color: #f8feff; text-align: left; background: rgba(0, 55, 74, .3); box-shadow: inset 0 1px rgba(255,255,255,.08); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.download-options button[hidden] { display:none; }
.download-options button:hover:not(:disabled), .download-options button:focus-visible:not(:disabled) { border-color: #ffe081; color: white; background: rgba(0, 58, 77, .55); transform: translateX(4px); outline: none; }
.download-options button:disabled { opacity: .38; cursor: not-allowed; }
.download-option-icon { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 12px; color: #07556a; background: linear-gradient(145deg, #ffe896, #edb92f); font-size: 1.2rem; font-weight: 900; box-shadow: 0 7px 18px rgba(30, 71, 73, .28); }
[data-download-choice="both"] .download-option-icon { font-size: .66rem; letter-spacing: .04em; }
[data-download-choice="instruction"] .download-option-icon, [data-download-choice="instruction_alt"] .download-option-icon { font-size:.62rem; letter-spacing:.035em; }
.download-options strong, .download-options small { display: block; }
.download-options strong { font-size: .95rem; }
.download-options small { margin-top: .15rem; color: rgba(221, 247, 250, .72); font-size: .7rem; }
.download-modal-note { min-height: 1.2em; margin: 1rem 0 0; color: #ffecaa; font-size: .74rem; text-align: center; }

.donate-modal { position:fixed; z-index:130; inset:0; display:grid; place-items:center; padding:1rem; visibility:hidden; opacity:0; transition:opacity .25s,visibility .25s; }
.donate-modal.open { visibility:visible; opacity:1; }
.donate-modal-backdrop { position:absolute; inset:0; background:rgba(0,9,14,.8); backdrop-filter:blur(10px); }
.donate-dialog { position:relative; width:min(510px,100%); overflow:hidden; padding:2rem 2.1rem 1.6rem; border:1px solid rgba(255,210,96,.85); border-radius:28px; color:white; text-align:center; background:linear-gradient(145deg,rgba(0,174,194,.98),rgba(0,104,127,.98)); box-shadow:0 30px 100px rgba(0,0,0,.68),0 0 44px rgba(28,219,241,.2); transform:translateY(18px) scale(.97); transition:transform .3s; }
.donate-modal.open .donate-dialog { transform:translateY(0) scale(1); }
.donate-dialog::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,transparent 0 7%,rgba(255,216,103,.15) 7% 7.7%,transparent 7.7% 92.3%,rgba(255,216,103,.15) 92.3% 93%,transparent 93%),radial-gradient(circle at 50% -15%,rgba(255,227,132,.35),transparent 45%); }
.donate-dialog::after { content:"✦  ◇  ✦  ◇  ✦"; position:absolute; left:0; right:0; bottom:.45rem; color:rgba(255,222,118,.52); font-size:.58rem; letter-spacing:.65rem; pointer-events:none; }
.donate-dialog > * { position:relative; z-index:1; }
.donate-modal-close { position:absolute; z-index:3; top:1rem; right:1rem; display:grid; place-items:center; width:38px; aspect-ratio:1; padding:0; border:1px solid rgba(255,255,255,.42); border-radius:50%; color:white; background:rgba(0,78,96,.36); font-size:1.45rem; cursor:pointer; transition:transform .2s,background .2s,color .2s; }
.donate-modal-close:hover,.donate-modal-close:focus-visible { color:#07566b; background:#ffe080; transform:rotate(7deg); outline:none; }
.donate-emblem-wrap { width:96px; height:96px; margin:0 auto .8rem; padding:5px; border:1px solid rgba(255,222,121,.72); border-radius:50%; background:rgba(2,26,34,.36); box-shadow:0 0 30px rgba(255,209,88,.2); }
.donate-emblem-wrap img { display:block; width:100%; height:100%; object-fit:contain; }
.donate-eyebrow { margin:0 0 .55rem; color:#ffdf79; font-size:.68rem; font-weight:850; letter-spacing:.2em; text-transform:uppercase; }
.donate-dialog h2 { margin:0; font-size:clamp(1.65rem,5vw,2.2rem); line-height:1.1; }
.donate-copy { max-width:410px; margin:.8rem auto 1rem; color:rgba(235,252,254,.88); }
.donate-amount { display:flex; align-items:center; justify-content:center; gap:.7rem; margin:0 auto 1.1rem; padding:.75rem 1rem; border:1px solid rgba(255,229,145,.38); border-radius:14px; background:rgba(1,62,78,.34); }
.donate-amount > span { display:grid; place-items:center; width:34px; aspect-ratio:1; border-radius:10px; color:#07566b; background:#ffe081; font-size:1.15rem; font-weight:900; }
.donate-amount strong { font-size:.85rem; }
.donate-pay { width:100%; border-color:#ffe080; color:#063946; background:linear-gradient(100deg,#ffe48c,#f5c850); box-shadow:0 12px 30px rgba(0,0,0,.22); }
.donate-dialog > small { display:block; margin:.8rem 0 .25rem; color:rgba(225,248,251,.72); font-size:.7rem; }

.service-modal { position:fixed; z-index:145; inset:0; display:grid; place-items:center; padding:1rem; visibility:hidden; opacity:0; transition:opacity .25s,visibility .25s; }
.service-modal.open { visibility:visible; opacity:1; }
.service-modal-backdrop { position:absolute; inset:0; background:rgba(0,8,13,.84); backdrop-filter:blur(11px); }
.service-dialog { position:relative; width:min(500px,100%); overflow:hidden; padding:2rem 2rem 1.55rem; border:1px solid rgba(255,210,91,.83); border-radius:28px; color:#f7fdff; background:linear-gradient(145deg,rgba(3,127,148,.98),rgba(1,50,67,.99)); box-shadow:0 30px 110px rgba(0,0,0,.72),0 0 38px rgba(39,221,247,.16); transform:translateY(18px) scale(.97); transition:transform .3s; }
.service-modal.open .service-dialog { transform:translateY(0) scale(1); }
.service-dialog::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(105deg,rgba(0,151,174,.94),rgba(1,69,88,.78)),url("assets/astana-hero.webp") 73% 18%/auto 135% no-repeat; opacity:.72; }
.service-dialog::after { content:""; position:absolute; inset:10px; border:1px solid rgba(255,218,105,.2); border-radius:21px; pointer-events:none; }
.service-dialog > * { position:relative; z-index:1; }
.service-dialog [hidden] { display:none!important; }
.service-modal-close { position:absolute!important; z-index:3!important; top:1rem; right:1rem; display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid rgba(255,235,170,.56); border-radius:50%; color:white; background:rgba(1,49,64,.5); font-size:1.4rem; cursor:pointer; }
.service-modal-close:hover,.service-modal-close:focus-visible { color:#06495c; background:#ffe081; outline:none; }
.service-ornament { display:flex; align-items:center; width:148px; gap:.6rem; margin-bottom:.8rem; color:#ffdb68; font-size:.62rem; }
.service-ornament i { flex:1; height:1px; background:linear-gradient(90deg,#ffdc6c,rgba(255,220,108,.18)); }
.service-eyebrow { margin:0 0 .25rem; color:#ffe082; font-size:.68rem; font-weight:850; letter-spacing:.2em; }
.service-dialog h2 { margin:0; padding-right:3rem; font-size:clamp(2.1rem,8vw,3rem); line-height:1; letter-spacing:.07em; }
.service-copy { margin:.6rem 0 1.25rem; color:rgba(229,249,252,.82); }
.service-login label { display:block; margin-bottom:.45rem; color:#e8f7f9; font-size:.76rem; font-weight:700; }
.service-password-row { display:grid; grid-template-columns:1fr auto; gap:.6rem; }
.service-password-row input { min-width:0; min-height:49px; padding:.75rem .9rem; border:1px solid rgba(112,232,246,.45); border-radius:13px; outline:none; color:white; background:rgba(0,23,32,.68); }
.service-password-row input:focus { border-color:#ffe081; box-shadow:0 0 0 3px rgba(255,224,129,.1); }
.service-password-row button { min-width:105px; padding:.7rem 1rem; border:1px solid #ffe081; border-radius:13px; color:#063d4d; background:linear-gradient(145deg,#ffe692,#eebe3e); font-weight:850; cursor:pointer; }
.service-password-row button:disabled { opacity:.58; cursor:wait; }
.service-status { min-height:1.25em; margin:.7rem 0 0; color:#ffe8a4; font-size:.74rem; }
.service-status.error { color:#ffd0ca; }
.service-release-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:.8rem; padding:.65rem .8rem; border:1px solid rgba(255,226,135,.25); border-radius:12px; background:rgba(0,33,44,.32); }
.service-release-head span { color:#dff6f8; font-size:.76rem; }
.service-release-head b { color:#ffe081; font-size:.76rem; }
.service-files { display:grid; gap:.65rem; }
.service-file { display:grid; grid-template-columns:44px 1fr; gap:.8rem; align-items:center; width:100%; padding:.78rem .9rem; border:1px solid rgba(255,255,255,.3); border-radius:14px; color:white; text-align:left; background:rgba(0,39,52,.48); cursor:pointer; transition:transform .2s,border-color .2s,background .2s; }
.service-file:hover,.service-file:focus-visible { transform:translateX(4px); border-color:#ffe081; background:rgba(0,47,61,.72); outline:none; }
.service-file:disabled { opacity:.4; cursor:not-allowed; transform:none; }
.service-file-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; color:#075166; background:linear-gradient(145deg,#ffe893,#eebe3d); font-size:1.1rem; font-weight:900; }
.service-file strong,.service-file small { display:block; }
.service-file strong { font-size:.9rem; }
.service-file small { margin-top:.15rem; color:rgba(218,243,247,.72); font-size:.68rem; }

@keyframes trail { to { stroke-dashoffset: -800; } }
@keyframes glowPulse { 0%, 100% { opacity: .1; } 50% { opacity: .27; } }
@keyframes logoReveal { from { opacity:0; transform:translateY(14px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }

@media (max-width: 1100px) {
  .container, .site-header { width: min(calc(100% - 3rem), var(--container)); }
  .main-nav { gap: 1rem; font-size:.9rem; }
  .donate-trigger { width:250px; font-size:.78rem; }
  .header-actions > .button { display: none; }
  .hero { min-height: 770px; }
  .hero-content { padding-top: 155px; }
  .section-heading { grid-template-columns: 1fr 1fr; }
  .section-heading .button { display: none; }
  .app-grid { grid-template-columns: 1fr; }
  .authors-panel { grid-template-columns:1fr; gap:1.5rem; }
  .app-card { min-height: 330px; }
  .phone-mock { right: 5%; }
  .laptop-mock { right: 2%; }
  .contact-panel { grid-template-columns:1fr; gap:1.5rem; }
}

@media (max-width: 1380px) and (min-width: 1101px) {
  .site-header { gap:1rem; }
  .main-nav { gap:1.25rem; }
  .header-actions { gap:.55rem; }
  .donate-trigger { width:284px; padding-right:.65rem; }
  .header-control-download { width:170px; padding-right:.65rem; font-size:.82rem; }
}

@media (max-width: 760px) {
  .container, .site-header { width: min(calc(100% - 2rem), var(--container)); }
  .site-header { height: 78px; grid-template-columns: 1fr auto; }
  .brand { font-size: 1.5rem; }
  .site-brand-logo { width:132px; }
  .brand-mark { width: 32px; border-width: 6px; }
  .menu-toggle { display: block; justify-self: end; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: grid; gap: 0; padding: 1rem; border: 1px solid var(--border); border-radius: 16px; background: rgba(2, 17, 24, .98); backdrop-filter: blur(18px); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: .8rem 1rem; }
  .main-nav a::after { display: none; }
  .header-actions { display: none; }
  .mobile-donate { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:center; gap:.65rem; margin:.55rem 1rem .8rem; min-height:50px; padding:.6rem 1rem; overflow:hidden; border:1px solid rgba(243,202,85,.92); border-radius:999px; color:#f8fcfd; background:linear-gradient(145deg,rgba(7,91,107,.98),rgba(1,31,41,.96)); box-shadow:inset 0 0 0 2px rgba(2,25,34,.72),inset 0 0 0 3px rgba(243,202,85,.18); font-size:.92rem; font-weight:800; cursor:pointer; }
  .mobile-donate::after { content:""; position:absolute; right:1rem; bottom:.35rem; width:38px; height:5px; opacity:.34; background:repeating-linear-gradient(45deg,transparent 0 5px,rgba(243,202,85,.72) 5px 6px,transparent 6px 10px); }
  .mobile-donate > span:first-child { display:grid; place-items:center; width:32px; aspect-ratio:1; border-radius:50%; color:#063946; background:linear-gradient(145deg,#ffe697,#e7b934); }
  .mobile-languages { display: flex; gap: .45rem; padding: .8rem 1rem .2rem; border-top: 1px solid var(--border); }
  .mobile-languages button { flex: 1; padding: .6rem .35rem; border: 1px solid var(--border); border-radius: 9px; color: #dcecf0; background: transparent; cursor: pointer; }
  .mobile-languages button.active { border-color: var(--cyan); color: #001118; background: var(--cyan); }
  .hero { min-height: 850px; }
  .site-backdrop { background-position: 66% center; opacity: .72; }
  .hero-content { padding-top: 125px; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .hero-logo { width:100%; margin:.1rem 0 .35rem; }
  .hero-copy { font-size: 1rem; }
  .hero-buttons .button { width: 100%; }
  .stats { gap: 1.5rem; margin-top: 3.8rem; flex-wrap: wrap; }
  .stat { flex: 1 1 130px; }
  .location-pill { display: none; }
  .ornament { display: none; }
  .apps-section { padding-top: 75px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1.7rem; }
  .section-heading h2 { font-size: 2.7rem; }
  .app-card { min-height: 410px; padding: 1.5rem; }
  .phone-mock { right: -2.8rem; bottom: -4rem; width: 190px; }
  .laptop-mock { right: -7.5rem; bottom: 1rem; transform: rotate(3deg) scale(.88); }
  .kids-card .app-card-copy > p { max-width:165px; }
  .kids-laptop { right:-5.2rem; bottom:.65rem; transform:rotate(2deg) scale(.82); }
  .authors-section { padding:25px 0 75px; }
  .authors-panel { padding:1.35rem; border-radius:21px; }
  .authors-intro h2 { font-size:2.65rem; }
  .authors-fields { grid-template-columns:1fr; gap:0; }
  .authors-form { padding:1.25rem; }
  .authors-submit { align-items:flex-start; flex-direction:column; }
  .authors-submit small { text-align:left; }
  .about-card { display:block; min-height:0; align-items:initial; padding-bottom:.35rem; }
  .feedback-section { padding:10px 0 75px; }
  .feedback-heading,.feedback-layout { grid-template-columns:1fr; gap:1.4rem; }
  .feedback-heading > p { margin-top:.4rem; }
  .feedback-form,.feedback-feed { padding:1.3rem; border-radius:19px; }
  .feedback-fields { grid-template-columns:1fr; gap:0; }
  .feedback-submit { align-items:flex-start; flex-direction:column; }
  .about-bg { background: linear-gradient(180deg, rgba(2,18,25,.95), rgba(2,20,28,.55) 58%, rgba(2,17,23,.3)), url("assets/kazakhstan-mountains.webp") 62% center/cover no-repeat; }
  .about-copy { width:100%; padding:2rem 2rem 1rem; }
  .about-card blockquote { position:relative; left:auto; right:auto; bottom:auto; width:auto; max-width:none; margin:1.2rem 2rem 2rem; padding:1.15rem 1.25rem; border-left:2px solid var(--gold); border-radius:0 13px 13px 0; color:rgba(240,248,250,.82); background:rgba(2,17,23,.48); transform:rotate(-1deg); }
  .download-section { min-height: 380px; }
  .contact-section { padding:35px 0 65px; }
  .contact-panel { grid-template-columns:1fr; gap:1.5rem; padding:1.45rem; border-radius:20px; }
  .contact-grid { grid-template-columns:1fr; }
  .contact-card { min-height:0; }
  .footer-inner { display: block; }
  .footer-brand-logo { width:200px; }
  .footer-inner nav { margin: 2rem 0; flex-direction: column; gap: .7rem; }
  .copyright { text-align: left; }
  .download-dialog { padding: 1.6rem 1.2rem 1.2rem; border-radius: 21px; }
  .download-dialog h2 { padding-right: 2.5rem; }
  .donate-dialog { padding:1.55rem 1.2rem 1.35rem; border-radius:22px; }
  .donate-emblem-wrap { width:82px; height:82px; }
  .service-dialog { padding:1.6rem 1.2rem 1.25rem; border-radius:22px; }
  .service-password-row { grid-template-columns:1fr; }
  .service-password-row button { width:100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
