/* MARAKA rasmiy sayti — "Oy nuridagi Samarqand" (Claude 2026-11-19). Logotip: Ko'k Bo'ri, yarim oy, 8 qirrali yulduz. */
@font-face { font-family: "Cinzel"; src: url("/site/fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cinzel"; src: url("/site/fonts/cinzel-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; src: url("/site/fonts/cormorant-cyrillic.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url("/site/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Inter"; src: url("/site/fonts/inter-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --night: #070a14; --night2: #0c1222; --panel: rgba(16, 22, 40, .72); --panel-solid: #111829;
  --ivory: #f1ead8; --ivory2: #d9cfb6; --muted: #9aa3b5; --moon: #e8ecf5;
  --gold: #d4ae62; --gold2: #f4dc9a; --gold-deep: #9b7432; --turq: #3fb6c9; --lapis: #2a5cff; --ember: #ff9a4d;
  --line: rgba(232, 220, 190, .16); --line-strong: rgba(212, 174, 98, .55);
  --serif: "Cinzel", "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23d4ae62' stroke-opacity='.10' stroke-width='1'%3E%3Cpath d='M48 8l11 29 29 11-29 11-11 29-11-29L8 48l29-11z'/%3E%3Cpath d='M48 26l7 15 15 7-15 7-7 15-7-15-15-7 15-7z'/%3E%3Cpath d='M0 0l20 20M96 0L76 20M0 96l20-20M96 96L76 76'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--night); color: var(--ivory); font: 16px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html, main, .foot { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }
::selection { background: rgba(212, 174, 98, .35); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; z-index: 300; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Kirish pardasi ---------- */
.curtain { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: radial-gradient(circle at 50% 46%, #142040, var(--night) 60%); transition: opacity .9s var(--ease), visibility .9s; }
.curtain img { width: 180px; height: auto; filter: drop-shadow(0 0 30px rgba(200, 220, 255, .35)); animation: emblemIn 1.1s var(--ease) both; }
body:not(.intro) .curtain { opacity: 0; visibility: hidden; }
@keyframes emblemIn { from { opacity: 0; transform: scale(.86); filter: blur(6px); } to { opacity: 1; transform: none; filter: drop-shadow(0 0 30px rgba(200, 220, 255, .35)); } }

/* ---------- Navigatsiya ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 28px; padding: 16px clamp(16px, 3vw, 40px); transition: background .5s, padding .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7, 10, 20, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-emblem { width: 44px; height: auto; filter: drop-shadow(0 0 8px rgba(220, 230, 255, .25)); transition: transform .6s var(--ease); }
.brand:hover .brand-emblem { transform: rotate(-6deg) scale(1.06); }
.brand-word { width: 140px; height: auto; }
.menu { display: flex; gap: clamp(14px, 1.6vw, 26px); list-style: none; }
.menu a { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory2); padding: 10px 0; position: relative; transition: color .3s; white-space: nowrap; }
.menu a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; background: var(--gold); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .35s var(--ease); }
.menu a:hover, .menu a.on { color: var(--gold2); }
.menu a:hover::after, .menu a.on::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-cta { white-space: nowrap; }
/* Header har qanday til/kenglikda sig'adi (site.js fitNav): tight -> CTA yashirin -> burger. */
.nav.tight { gap: 18px; }
.nav.tight .menu { gap: clamp(10px, 1.1vw, 18px); }
.nav.tight .menu a { letter-spacing: .1em; font-size: 11.5px; }
.nav.nocta .nav-cta { display: none; }
.nav.collapsed .menu { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 2px; padding: 18px 24px 26px; background: rgba(7, 10, 20, .97);
  border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .45s var(--ease); }
.nav.collapsed .menu.open { transform: none; }
.nav.collapsed .menu a { display: block; padding: 14px 0; font-size: 13px; letter-spacing: .16em; }
.nav.collapsed .burger { display: flex; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(7, 10, 20, .4); }
.lang button { padding: 5px 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); border-radius: 999px; transition: background .3s, color .3s; }
.lang button.on { color: #1a1206; background: linear-gradient(180deg, var(--gold2), var(--gold)); }
.burger { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 6px; padding: 9px; }
.burger span { height: 2px; background: var(--gold2); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Tugmalar ---------- */
.btn { --c: var(--gold2); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 34px; min-height: 52px;
  font: 700 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--c); border: 1px solid var(--line-strong);
  background: rgba(7, 10, 20, .35); clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  transition: transform .35s var(--ease), color .3s, background .3s, box-shadow .35s; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 244, 210, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #1a1206; border-color: transparent; background: linear-gradient(180deg, #ffe9b0, var(--gold) 55%, var(--gold-deep)); box-shadow: 0 10px 40px rgba(212, 174, 98, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { box-shadow: 0 16px 50px rgba(212, 174, 98, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn .ico { width: 18px; height: 18px; }
.btn.sm { padding: 11px 22px; min-height: 40px; font-size: 11px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.play { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, transform .3s; }
.btn:hover .play { background: rgba(212, 174, 98, .15); transform: scale(1.06); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; background: var(--night); }
.hero-bg { position: absolute; inset: -4%; z-index: -4; background: url("/site/img/bg_samarkand.webp") center 40% / cover no-repeat; transform: scale(1.06) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 1.2s var(--ease); will-change: transform; }
@media (max-width: 899px) { .hero-bg { background-image: url("/site/img/bg_samarkand_m.webp"); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; animation: breathe 14s ease-in-out infinite alternate; background: radial-gradient(ellipse 60% 50% at 50% 38%, rgba(110, 150, 255, .10), transparent 70%); }
.hero-shade { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(ellipse 55% 48% at 50% 40%, rgba(7, 10, 20, .25), rgba(7, 10, 20, .78) 70%),
  linear-gradient(180deg, rgba(7, 10, 20, .65), rgba(7, 10, 20, .15) 26%, rgba(7, 10, 20, .35) 62%, var(--night) 97%),
  linear-gradient(90deg, rgba(10, 20, 60, .35), transparent 40%, transparent 60%, rgba(10, 20, 60, .35)); }
#sky { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; }
.moon { position: absolute; z-index: -1; left: 50%; top: 42%; width: min(720px, 92vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 235, 255, .16), rgba(160, 190, 255, .06) 38%, transparent 66%); animation: moonPulse 8s ease-in-out infinite; pointer-events: none; }
.moon::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(232, 236, 245, .10); animation: spin 120s linear infinite; border-top-color: rgba(244, 220, 154, .35); }
.hero-in { position: relative; padding: 110px 20px 90px; width: min(980px, 100%); display: flex; flex-direction: column; align-items: center; }
.hero-logo { position: relative; width: min(560px, 82vw); filter: drop-shadow(0 18px 50px rgba(0, 0, 0, .7)) drop-shadow(0 0 40px rgba(200, 215, 255, .18)); }
.hero-logo img { width: 100%; height: auto; }
.hero-logo .shine { position: absolute; inset: 0; -webkit-mask: url("/site/img/logo_full.webp") center / contain no-repeat; mask: url("/site/img/logo_full.webp") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 214, .95) 50%, transparent 62%); background-size: 260% 100%; animation: shine 6s ease-in-out 1.6s infinite; mix-blend-mode: screen; }
.hero .tagline { margin-top: 8px; font: 600 clamp(15px, 2.1vw, 22px)/1.4 var(--serif); letter-spacing: .34em; color: var(--gold2); text-shadow: 0 2px 20px rgba(0, 0, 0, .8); }
.hero .sub { margin: 16px auto 36px; max-width: 620px; font-size: clamp(15px, 1.4vw, 18px); color: #dcd3bf; text-shadow: 0 2px 16px rgba(0, 0, 0, .9); }
.hero .ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero .meta { margin-top: 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero .meta b { color: var(--ivory2); font-weight: 600; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .4em; color: var(--muted); text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(180deg, transparent, var(--gold)); animation: drip 2.2s ease-in-out infinite; }
.hero .enter > * { opacity: 0; transform: translateY(26px); animation: rise 1.2s var(--ease) forwards; }
.hero .enter > :nth-child(1) { animation-delay: .5s; } .hero .enter > :nth-child(2) { animation-delay: .8s; } .hero .enter > :nth-child(3) { animation-delay: 1s; }
.hero .enter > :nth-child(4) { animation-delay: 1.2s; } .hero .enter > :nth-child(5) { animation-delay: 1.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes shine { 0%, 100% { background-position: 130% 0; } 50% { background-position: -30% 0; } }
@keyframes moonPulse { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { from { opacity: .5; } to { opacity: 1; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Bo'limlar ---------- */
section { position: relative; padding: clamp(80px, 11vw, 140px) clamp(16px, 4vw, 40px); }
.wrap { max-width: 1240px; margin: 0 auto; position: relative; }
.pattern { background-image: var(--girih), radial-gradient(ellipse at top, rgba(63, 120, 220, .08), transparent 60%); background-color: var(--night2); }
.pattern::before, .pattern::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.pattern::before { top: 0; } .pattern::after { bottom: 0; }
.sec-head { text-align: center; margin-bottom: clamp(44px, 6vw, 70px); }
.eyebrow { font: 700 11px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.sec-head h2 { margin-top: 16px; font: 700 clamp(30px, 4.6vw, 58px)/1.08 var(--serif); letter-spacing: .06em; color: var(--ivory);
  background: linear-gradient(180deg, #fffaf0, var(--ivory2) 55%, #a99b7b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-head p { margin: 16px auto 0; max-width: 640px; color: var(--muted); }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.divider::before, .divider::after { content: ""; height: 1px; width: min(160px, 26vw); background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { transform: scaleX(-1); }
.divider svg { width: 22px; height: 22px; color: var(--gold2); filter: drop-shadow(0 0 8px rgba(244, 220, 154, .6)); }
.page-top { padding-top: 150px; }
.page-banner { position: relative; padding: 170px clamp(16px, 4vw, 40px) 70px; text-align: center; overflow: hidden; isolation: isolate; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/site/img/bg_samarkand_m.webp") center 35% / cover; opacity: .35; filter: saturate(.9); }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 10, 20, .6), var(--night) 92%); }

/* Xususiyatlar */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feature { position: relative; padding: 34px 28px 30px; background: linear-gradient(180deg, rgba(212, 174, 98, .07), rgba(16, 22, 40, .6)); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .5s; }
.feature::after { content: ""; position: absolute; top: -40%; right: -30%; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(212, 174, 98, .14), transparent 70%); transition: transform .8s var(--ease); }
.feature:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.feature:hover::after { transform: scale(1.4); }
.feature .num { font: 700 13px/1 var(--serif); color: var(--gold); letter-spacing: .2em; }
.feature h3 { margin: 14px 0 10px; font: 700 20px/1.25 var(--serif); color: var(--ivory); letter-spacing: .04em; }

/* Xaritalar: Temuriy peshtoq (ravoq) shaklidagi kartalar */
.arches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.arch { position: relative; display: block; aspect-ratio: 314 / 470; border-radius: 50% 50% 10px 10px / 32% 32% 10px 10px; overflow: hidden; isolation: isolate; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55); transition: transform .7s var(--ease), box-shadow .7s, border-color .5s; background: #000; }
.arch .pic { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.95) brightness(.88); }
.arch::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 38%, rgba(7, 10, 20, .55) 62%, rgba(7, 10, 20, .96)); }
.arch::after { content: ""; position: absolute; inset: 8px; z-index: 2; border-radius: inherit; border: 1px solid rgba(244, 220, 154, .22); pointer-events: none; }
.arch .txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px 18px 24px; text-align: center; }
.arch h3 { font: 700 clamp(18px, 1.7vw, 23px)/1.15 var(--serif); letter-spacing: .08em; color: var(--ivory); }
.arch p { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #c9c1ad; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .6s; }
.arch .tag { display: inline-block; margin-bottom: 10px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold2); border: 1px solid var(--line-strong); padding: 4px 9px; background: rgba(7, 10, 20, .6); }
.arch:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 40px 80px rgba(0, 0, 0, .65), 0 0 40px rgba(212, 174, 98, .18); }
.arch:hover .pic { transform: scale(1.12); filter: saturate(1.1) brightness(1); }
.arch:hover p, .arch:focus-within p { max-height: 160px; opacity: 1; }

/* Qahramonlar */
.heroes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.halo { position: relative; width: min(460px, 86vw); aspect-ratio: 1; margin: 0 auto; }
.halo::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(200, 220, 255, .22), rgba(80, 120, 220, .08) 45%, transparent 70%); }
.halo .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(244, 220, 154, .35); animation: spin 60s linear infinite; }
.halo .ring::before, .halo .ring::after { content: ""; position: absolute; width: 12px; height: 12px; background: var(--gold2); transform: rotate(45deg); box-shadow: 0 0 14px var(--gold2); }
.halo .ring::before { top: -6px; left: calc(50% - 6px); } .halo .ring::after { bottom: -6px; left: calc(50% - 6px); }
.halo .portrait { position: absolute; inset: 7%; border-radius: 50%; background: center / cover no-repeat; border: 2px solid rgba(244, 220, 154, .5); box-shadow: inset 0 0 60px rgba(0, 0, 0, .6), 0 30px 80px rgba(0, 0, 0, .6); }
.hero-info .name { font: 700 clamp(34px, 4.4vw, 56px)/1.05 var(--serif); letter-spacing: .04em; color: var(--ivory); }
.hero-info .title { margin-top: 10px; }
.hero-info .story { margin-top: 18px; color: #cfc7b4; white-space: pre-line; max-width: 560px; }
.hero-info ul { margin-top: 14px; list-style: none; display: grid; gap: 8px; }
.hero-info li { position: relative; padding-left: 24px; color: var(--ivory2); }
.hero-info li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.hero-pick { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-pick button { width: 68px; height: 68px; border-radius: 50%; padding: 3px; border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.hero-pick button img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(.6) brightness(.8); transition: filter .4s; }
.hero-pick button.on, .hero-pick button:hover { border-color: var(--gold2); transform: translateY(-3px); }
.hero-pick button.on img, .hero-pick button:hover img { filter: none; }
.swap { animation: swapIn .8s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* Kartalar (yangiliklar) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .5s, box-shadow .5s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.card .pic { aspect-ratio: 16 / 9; background: #0b0f1c center / cover no-repeat; transition: transform 1s var(--ease); }
.card:hover .pic { transform: scale(1.06); }
.card .body { padding: 20px 22px 24px; position: relative; background: linear-gradient(180deg, rgba(16, 22, 40, .2), rgba(16, 22, 40, .9)); }
.card h3 { font: 700 20px/1.3 var(--serif); color: var(--ivory); letter-spacing: .02em; margin: 8px 0; }
.meta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 6px 12px; color: var(--gold2); }

/* Yangiliklar ro'yxati */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.inp { background: rgba(16, 22, 40, .8); border: 1px solid var(--line); color: var(--ivory); padding: 14px 16px; min-width: 0; transition: border-color .3s, box-shadow .3s; }
.inp:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 174, 98, .15); }
select.inp { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager button { min-width: 42px; height: 42px; border: 1px solid var(--line); }
.pager button.on { background: var(--gold); color: #1a1206; border-color: var(--gold); }
.article { max-width: 820px; margin: 0 auto; }
.article h1 { font: 700 clamp(30px, 4vw, 48px)/1.15 var(--serif); color: var(--ivory); margin: 14px 0 24px; }
.article .cover { aspect-ratio: 16 / 9; background: center / cover; margin-bottom: 28px; border: 1px solid var(--line); }
.article .text { white-space: pre-line; font-size: 17px; color: #d8d0bd; }

/* Yuklab olish */
.dl { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.free-price { font: 800 clamp(48px, 7vw, 84px)/1 var(--serif); background: linear-gradient(180deg, #fff5d6, var(--gold) 70%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.panel { position: relative; background: var(--panel); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); }
.panel::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(244, 220, 154, .08); pointer-events: none; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 18px 0; }
.kv dt { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.kv dd { color: var(--ivory); }
.mono { font: 12px/1.5 ui-monospace, Consolas, monospace; white-space: pre-wrap; word-break: break-all; color: #cfd6e6; background: rgba(0, 0, 0, .3); padding: 12px; border: 1px solid var(--line); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(63, 182, 201, .35); background: rgba(63, 182, 201, .07); color: #d6e6ea; }
.ver { position: relative; border: 1px solid var(--line); background: var(--panel); padding: clamp(22px, 3vw, 32px); margin-bottom: 22px; }
.ver h3 { font: 700 28px/1.2 var(--serif); color: var(--ivory); margin-top: 10px; }
.ver .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 20px; }
.ver h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ver ul { list-style: none; display: grid; gap: 6px; }
.ver li { position: relative; padding-left: 18px; color: #d3cbb8; }
.ver li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.ver pre { white-space: pre-wrap; color: #cfc7b4; font: inherit; }

/* Media */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery button { position: relative; aspect-ratio: 16 / 10; background: #0b0f1c center / cover; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.gallery button::after { content: attr(data-label); position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; text-align: left; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory2);
  background: linear-gradient(180deg, transparent, rgba(7, 10, 20, .9)); opacity: 0; transition: opacity .4s; }
.gallery button:hover { transform: scale(1.02); border-color: var(--line-strong); }
.gallery button:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(4, 6, 12, .95); display: grid; place-items: center; padding: 40px; animation: fadeIn .4s; }
.lightbox[hidden] { display: none; }
.lb-body img, .lb-body video { max-width: 92vw; max-height: 84vh; width: auto; border: 1px solid var(--line); }
.lb-body iframe { width: min(1100px, 90vw); aspect-ratio: 16 / 9; height: auto; border: 1px solid var(--line); }
.lb-close { position: absolute; top: 16px; right: 24px; font-size: 44px; line-height: 1; color: var(--gold2); }
@keyframes fadeIn { from { opacity: 0; } }

/* FAQ va forma */
details { border: 1px solid var(--line); background: var(--panel); margin-bottom: 12px; transition: border-color .3s; }
details[open] { border-color: var(--line-strong); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 600 18px/1.35 var(--serif); color: var(--ivory); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--gold); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: #cfc7b4; white-space: pre-line; }
.forms { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 60px; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form textarea { min-height: 150px; resize: vertical; }
.form h3 { font: 700 22px/1.2 var(--serif); color: var(--ivory); margin-bottom: 4px; }
.hp { position: absolute; left: -5000px; }
.empty { text-align: center; color: var(--muted); padding: 50px 20px; border: 1px dashed var(--line); }

/* Footer */
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, #080b16, #05070e); padding: 70px clamp(16px, 4vw, 40px) 30px; }
.foot-glow { position: absolute; left: 50%; top: -260px; width: 700px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(140, 170, 255, .12), transparent 70%); pointer-events: none; }
.foot-in { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 40px; align-items: start; }
.foot-brand img { width: 200px; height: auto; margin-bottom: 12px; opacity: .92; }
.foot-links { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.foot-links a { color: var(--ivory2); font-size: 14px; transition: color .3s; }
.foot-links a:hover { color: var(--gold2); }
.foot-free { display: grid; gap: 12px; justify-items: start; }
.foot-free .free-price { font-size: 44px; }
.copy { max-width: 1240px; margin: 46px auto 0; padding-top: 22px; border-top: 1px solid var(--line); }

/* Kirish animatsiyasi */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.arches .reveal:nth-child(2), .features .reveal:nth-child(2) { transition-delay: .08s; }
.arches .reveal:nth-child(3), .features .reveal:nth-child(3) { transition-delay: .16s; }
.arches .reveal:nth-child(4), .features .reveal:nth-child(4) { transition-delay: .24s; }
.arches .reveal:nth-child(5) { transition-delay: .32s; }

/* Moslashuvchanlik */
@media (max-width: 1200px) { .arches { grid-template-columns: repeat(3, minmax(0, 1fr)); } .menu { gap: 14px; } .menu a { letter-spacing: .1em; } }
@media (max-width: 1080px) {
  .menu { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 2px; padding: 18px 24px 26px; background: rgba(7, 10, 20, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .45s var(--ease); }
  .menu.open { transform: none; }
  .menu a { display: block; padding: 14px 0; font-size: 13px; }
  .burger { display: flex; }
  .nav { gap: 12px; }
}
@media (max-width: 860px) {
  .heroes, .dl, .forms, .foot-in { grid-template-columns: 1fr; }
  .arches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .arch p { max-height: 160px; opacity: 1; }
  .nav-cta { display: none; }
  .brand-word { width: 110px; }
  .form .row { grid-template-columns: 1fr; }
  .hero .ctas .btn { width: min(320px, 100%); }
}
@media (max-width: 420px) { .lang button { padding: 5px 7px; } .brand-emblem { width: 36px; } .brand-word { width: 92px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .hero .enter > * { opacity: 1; transform: none; }
  .curtain { display: none; }
}

/* ---------- Lightbox Video Player & Switcher ---------- */
.lb-video-container { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 90vw; }
.lb-video-switch { display: inline-flex; gap: 8px; background: rgba(10,14,24,0.9); padding: 5px; border-radius: 24px; border: 1px solid rgba(241,196,15,0.35); box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.lb-video-switch .btn-tab { background: transparent; border: none; color: #8C9BAE; padding: 7px 18px; border-radius: 20px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.25s var(--ease); }
.lb-video-switch .btn-tab:hover { color: #fff; }
.lb-video-switch .btn-tab.active { background: #F1C40F; color: #080A0F; box-shadow: 0 0 16px rgba(241,196,15,0.45); }
