@import url("/static/fonts/fonts.css");

/* =====================================================================
   Beshbola Buildings — dizayn topshirig'i (design_handoff, 24.09.2026) asosida.
   Barcha qiymatlar README.md → "Dizayn tokenlari" dan. Archivo kirillni qo'llamaydi —
   kirill harflari fonts.css da Roboto Flex orqali ("Archivo" nomi ostida) chiqadi.
   ===================================================================== */
:root {
  --ink: #15120F; --ink-2: #221E1A; --ink-3: #2A2520; --lb: #0E0C0A; --photo: #1B1814;
  --paper: #F6F3EF; --card: #FFFFFF; --admin-bg: #EFEAE4;
  --line: #E2DCD5; --line-soft: #F0EBE5; --outline: #D8D1C9;
  --body: #4A443E; --muted: #6B645D;
  --ph: #DCD5CD; --ph-2: #EFE9E2;
  --accent: #E8400D; --accent-h: #C93508; --accent-dis: #F19A78; --tint: #FFF1EB;
  --on-dark: #FF8A5C; --eyebrow-photo: #FFB08F;
  --ok: #2F8A4E; --ok-bg: #E4F3E8; --ok-fg: #1F6B39;
  --warn-bg: #FFF2CC; --warn-fg: #7A5A00;
  --err-bd: #C4300F; --err-fg: #B02A0C; --err-bg: #FFF4F1;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --e: cubic-bezier(.2,.7,.1,1);
  --eio: cubic-bezier(.7,0,.2,1);
  --gutter: clamp(20px, 4.4vw, 64px);
  --hdr: 84px;
  --shadow-hover: 0 20px 50px rgba(20,16,12,.1);
  --shadow-aside: 0 20px 50px rgba(20,16,12,.08);
  --shadow-float: 0 12px 30px rgba(20,16,12,.25);
  --shadow-modal: 0 40px 100px rgba(0,0,0,.35);
}
@media (max-width: 1079px) { :root { --hdr: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); font-family: var(--f); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
select { appearance: none; -webkit-appearance: none; }
input[type=range] { accent-color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 8px; color: #fff; }

/* Global transition (README → Motion) */
a, button, input, select, textarea {
  transition: background-color .42s var(--e), color .42s var(--e), border-color .42s var(--e),
              box-shadow .6s var(--e), transform .6s var(--e), opacity .42s ease, padding .6s var(--e);
}
a:active:not(.no-press), button:active:not(.no-press) { transform: scale(.97); }

@keyframes bbSpin { to { transform: rotate(360deg); } }
@keyframes bbReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bbBar { from { width: 0; } to { width: 100%; } }
@keyframes bbFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bbLift { to { transform: translateY(-100%); } }
@keyframes bbRoute { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes bbPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes bbShow { to { opacity: 1; } }

/* JS ishlamay qolsa ham kontent ko'rinsin: 2.5 s dan keyin majburan ochiladi */
.js [data-reveal], .js [data-hero] > *, .js [data-hero]:not(:has(> *)) { opacity: 0; animation: bbShow .01s 2.5s forwards; }
.js [data-reveal="stagger"] { opacity: 1; animation: none; }
.js [data-reveal="stagger"] > * { opacity: 0; animation: bbShow .01s 2.5s forwards; }
.motion-done, .motion-done > * { opacity: 1 !important; animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-hero] > *, .js [data-reveal="stagger"] > * { opacity: 1 !important; }
}

/* ============================================================ tipografika */
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0; }
.eyebrow--photo { color: var(--eyebrow-photo); }
.eyebrow--plain { color: inherit; }
.dsp { font-weight: 800; font-stretch: 125%; text-transform: uppercase; margin: 0; overflow-wrap: break-word; }
.h-hero { font-size: clamp(48px, 8vw, 112px); line-height: .92; letter-spacing: -0.035em; }
/* past ekranlar (noutbuk 720–800px): sarlavha balandlikka ham bog'liq — eyebrow header ostiga kirmasin */
@media (min-width: 561px) and (max-height: 820px) { .h-hero { font-size: clamp(48px, min(8vw, 11.5vh), 112px); } }
.h-page { font-size: clamp(52px, 9vw, 120px); line-height: .9; letter-spacing: -0.04em; }
.h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.03em; }
@media (max-width: 560px) { .h2 { font-size: clamp(26px, 7.7vw, 36px); } .h-page { font-size: clamp(38px, 11vw, 52px); } .h-hero { font-size: clamp(38px, 11.5vw, 48px); } }
.h2-sec { font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.05; }
.h-card { font-size: 26px; letter-spacing: -0.02em; line-height: 1.05; }
.lead-xl { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; margin: 0; }
.p18 { font-size: 18px; line-height: 1.6; color: var(--body); margin: 0; text-wrap: pretty; }
.p17 { font-size: 17px; line-height: 1.55; color: var(--body); margin: 0; }
.p16 { font-size: 16px; line-height: 1.55; color: var(--body); margin: 0; }
.p15 { font-size: 15px; line-height: 1.5; color: var(--body); margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.fn { font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--muted); margin: 0; }
.balance { text-wrap: balance; }
:lang(ru) .dsp, :lang(uz-Cyrl) .dsp { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ============================================================ tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap; height: 56px; padding: 0 26px; cursor: pointer; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-h); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--accent); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--outline { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 46px; padding: 0 20px; font-size: 15px; font-weight: 600; }
.btn--md { height: 52px; padding: 0 24px; font-size: 15px; }
.btn--lg { height: 58px; font-size: 16px; }
.btn--xl { height: 64px; padding: 0 32px; font-size: 17px; }
.btn--block { width: 100%; }
.pill-link { font-size: 16px; font-weight: 600; padding: 16px 26px; border: 1px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.pill-link:hover { background: var(--ink); color: #fff; }
.chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; background: #fff; color: var(--ink); line-height: 1.2; }
.chip--ink { background: var(--ink); color: #fff; padding: 9px 16px; font-size: 14px; }
.chip--line { background: #fff; border: 1px solid var(--line); padding: 9px 16px; font-size: 14px; }
.chip--accent { background: var(--accent); color: #fff; padding: 9px 16px; font-size: 14px; font-weight: 700; }
.chip--dark { background: var(--ink); color: #fff; padding: 6px 12px; font-size: 12px; font-weight: 700; }

/* segment / tanlov tugmalari */
.seg { display: flex; gap: 4px; background: #fff; padding: 4px; border-radius: 999px; flex-wrap: wrap; width: max-content; max-width: 100%; }
.seg button { border: 0; background: transparent; color: var(--ink); border-radius: 999px; height: 40px; padding: 0 16px; font-size: 14px; font-weight: 600; }
.seg--lg button { height: 44px; padding: 0 18px; font-size: 15px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.chips--sq button { border-radius: 12px; padding: 0 14px; font-variant-numeric: tabular-nums; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.citychips { display: flex; gap: 8px; flex-wrap: wrap; }
.citychips button { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; height: 46px; padding: 0 20px; font-size: 15px; font-weight: 600; }
.citychips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================ rasm maydonlari */
.img { position: relative; overflow: hidden; background: var(--ph); }
.img picture, .img img { width: 100%; height: 100%; object-fit: cover; }
.img--contain img { object-fit: contain; }
.img__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #8C847B; text-align: center; padding: 16px; }
.img__ph::before { content: ""; width: 22px; height: 18px; border: 2px solid currentColor; border-radius: 3px; opacity: .6; }
[data-zoom] .img img, [data-zoom] .img picture { transition: transform 1.43s var(--e); }
@media (hover: hover) { [data-zoom]:hover .img img { transform: scale(1.045); } }

/* ============================================================ header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(246,243,239,.9); color: var(--ink);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .5s var(--e), background-color .4s, color .4s, border-color .4s; }
.hdr.is-over { background: rgba(246,243,239,0); color: #fff; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { max-width: 1440px; margin: 0 auto; height: var(--hdr); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__logo { position: relative; display: flex; flex: 0 0 auto; }
.hdr__logo img { height: 36px; width: auto; transition: opacity .4s; }
.hdr__logo .l-white { position: absolute; left: 0; top: 0; opacity: 0; }
.hdr.is-over .l-orange { opacity: 0; }
.hdr.is-over .l-white { opacity: 1; }
.hdr__nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.hdr__nav a { padding: 8px 0; white-space: nowrap; }
.hdr__nav a.is-cur { color: var(--accent); }
.hdr__right { display: flex; gap: 10px; align-items: center; }
.hdr__phone { font-size: 15px; font-weight: 600; padding: 12px 18px; white-space: nowrap; border: 1px solid var(--outline); border-radius: 999px; }
.hdr.is-over .hdr__phone { border-color: rgba(255,255,255,.4); }
.hdr__phone:hover { border-color: var(--accent); }
.hdr__cta { height: 46px; padding: 0 22px; font-size: 15px; font-weight: 600; }
.hdr__mob { display: none; gap: 8px; }
.rbtn { width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: inherit; flex-direction: column; gap: 5px; }
.hdr.is-over .rbtn { background: rgba(255,255,255,.14); }
.rbtn i { width: 18px; height: 2px; background: currentColor; display: block; }
.hdr .lang { display: flex; }
@media (max-width: 1259px) { .hdr__phone { display: none; } }
@media (max-width: 1079px) {
  .hdr__nav, .hdr__right { display: none; }
  .hdr__mob { display: flex; }
  .hdr__logo img { height: 28px; }
}
.hdr--landing .hdr__right { display: flex; }
.hdr--landing .hdr__phone { display: inline-flex; }
@media (max-width: 1079px) { .hdr--landing .hdr__phone, .hdr--landing .hdr__cta { display: none; } }

.lang { gap: 4px; background: var(--ink-2); padding: 4px; border-radius: 999px; }
.lang a { border-radius: 999px; height: 34px; padding: 0 14px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; color: rgba(255,255,255,.75); }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); }
.lang--light { background: #fff; border: 1px solid var(--line); }
.lang--light a { color: var(--muted); height: 30px; padding: 0 10px; }
.lang--light a[aria-current="true"] { background: var(--ink); color: #fff; }
.hdr.is-over .lang--light { background: rgba(255,255,255,.12); border-color: transparent; }
.hdr.is-over .lang--light a { color: rgba(255,255,255,.8); }
.hdr.is-over .lang--light a[aria-current="true"] { background: #fff; color: var(--ink); }

.routebar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; background: var(--accent); transform-origin: left; animation: bbRoute 1.2s var(--e) both; pointer-events: none; }

/* loader — sessiyada bir marta, landinglarda yo'q (qisqartirilgan: ~1.2 s) */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; animation: bbLift .6s var(--eio) .85s forwards; }
.loader img { height: 60px; width: auto; animation: bbReveal .6s var(--e) .05s both; }
.loader__bar { width: 220px; height: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--accent); animation: bbBar .7s cubic-bezier(.4,0,.2,1) .2s both; }
@media (max-width: 1079px) { .loader img { height: 44px; } .loader__bar { width: 160px; } }

/* view transition — sahifalar orasida yengil almashuv */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .22s ease both vtOut; }
::view-transition-new(root) { animation: .32s var(--e) both vtIn; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

/* ============================================================ mobil menyu */
.menu { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.menu__top { height: 64px; flex: 0 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.menu__top img { height: 28px; width: auto; }
.menu__close { width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; }
.menu__nav { padding: 32px 20px 0; display: flex; flex-direction: column; }
.menu__nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.menu__nav a span:first-child { font-size: 34px; line-height: 1; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; }
.menu__nav a:hover { color: var(--on-dark); }
.menu__lbl { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.menu .lang { display: grid; grid-template-columns: repeat(3, 1fr); }
.menu .lang a { height: 44px; justify-content: center; font-size: 14px; }
.menu__foot { margin-top: auto; padding: 32px 20px 28px; display: flex; flex-direction: column; gap: 10px; }
.menu__phone { font-size: 20px; font-weight: 700; color: #fff; }

/* ============================================================ mobil pastki panel */
.mbar { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: none; grid-template-columns: 52px 1fr; gap: 8px; padding: 8px; background: rgba(21,18,15,.92); border-radius: 999px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .5s var(--e), opacity .4s; }
.mbar a, .mbar button { height: 52px; border: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mbar__tel { background: var(--ink-3); color: #fff; font-size: 13px; }
.mbar__cta { background: var(--accent); color: #fff; font-size: 15px; }
.mbar.is-hidden { transform: translateY(160%); opacity: 0; }
@media (max-width: 1079px) { .mbar { display: grid; } body { padding-bottom: 84px; } }

/* ============================================================ hero (bosh sahifa) */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 980px; background: var(--photo); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img .img { position: absolute; inset: 0; background: var(--photo); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(15,12,10,.55) 0%, rgba(15,12,10,.05) 32%, rgba(15,12,10,.15) 55%, rgba(15,12,10,.86) 100%), linear-gradient(90deg, rgba(15,12,10,.42) 0%, rgba(15,12,10,0) 62%); }
.hero .eyebrow--photo, .hero__lead { text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; }
.hero__in { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) clamp(20px, 3.4vw, 48px); display: flex; flex-direction: column; gap: clamp(24px, 4vw, 56px); }
.hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }
.hero__txt { display: flex; flex-direction: column; gap: 20px; max-width: 920px; }
.hero__lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; max-width: 380px; color: rgba(255,255,255,.86); margin: 0; }

.search { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 4px; background: #fff; color: var(--ink); border-radius: 28px; padding: 8px; }
.search label { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px 20px; border-radius: 20px; cursor: pointer; transition: background-color .42s var(--e); }
.search label:hover { background: var(--paper); }
.search label > span { font-size: 12px; color: var(--muted); font-weight: 500; }
.search select { border: 0; background: none; font-size: 16px; font-weight: 600; padding: 0 20px 0 0; outline: none; color: var(--ink); cursor: pointer; }
.search label::after { content: "▾"; position: absolute; right: 20px; bottom: 15px; pointer-events: none; font-size: 12px; transition: transform .42s var(--e); }
.search label.is-open { background: var(--paper); }
.search label.is-open::after { transform: rotate(180deg); }
.search label.is-disabled { cursor: default; opacity: .55; }
.search label.is-disabled:hover { background: none; }

/* dropdown — native select o'rniga (site.js: enhanceSelect) */
.dd__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dd__btn { all: unset; box-sizing: border-box; display: block; width: 100%; padding-right: 20px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd__btn:disabled { cursor: default; }
.dd:has(.dd__btn:focus-visible) { box-shadow: 0 0 0 2px var(--ink) inset; }
.dd__list { position: fixed; z-index: 90; margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 24px 60px rgba(20,16,12,.22), 0 0 0 1px rgba(20,16,12,.05); max-height: min(340px, 60vh); overflow-y: auto; outline: none; animation: ddIn .32s var(--e); transform-origin: top center; }
.dd__list.is-up { transform-origin: bottom center; animation-name: ddUp; }
.dd__list li { position: relative; padding: 13px 44px 13px 16px; border-radius: 14px; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--e); }
.dd__list li.is-active { background: var(--paper); }
.dd__list li[aria-selected="true"] { font-weight: 700; }
.dd__list li[aria-selected="true"]::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }
.dd__list li[aria-disabled="true"] { color: var(--muted); cursor: default; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes ddUp { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .dd__list { animation: none; } }
.search .btn { border-radius: 20px; min-height: 64px; height: auto; padding: 0 28px; }

/* ============================================================ bo'limlar */
.sec { max-width: 1440px; margin: 0 auto; padding: clamp(80px, 9vw, 128px) var(--gutter) 0; }
.sec--lg { padding-top: clamp(96px, 11vw, 160px); }
.sec--md { padding-top: clamp(96px, 11vw, 140px); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.stack { display: flex; flex-direction: column; }
.g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g18 { gap: 18px; } .g20 { gap: 20px; } .g22 { gap: 22px; } .g24 { gap: 24px; } .g28 { gap: 28px; } .g32 { gap: 32px; } .g40 { gap: 40px; } .g48 { gap: 48px; } .g56 { gap: 56px; }
.row { display: flex; flex-wrap: wrap; align-items: center; }

/* loyiha kartochkalari */
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.pcard { display: flex; flex-direction: column; gap: 20px; }
.pcard:hover { color: var(--ink); }
.pcard .img { aspect-ratio: 4 / 5; border-radius: 24px; }
.pcard__badge { position: absolute; top: 18px; left: 18px; z-index: 1; }
.pcard__go { position: absolute; right: 18px; bottom: 18px; z-index: 1; width: 52px; height: 52px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink); transition: background-color .42s var(--e), color .42s var(--e); }
.pcard:hover .pcard__go { background: var(--accent); color: #fff; }
.pcard__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pcard__loc { font-size: 15px; color: var(--muted); }
.pcard__price { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.pcard__price b { font-size: 18px; font-weight: 700; }
.pcard__price span { font-size: 13px; color: var(--muted); }

/* kompaniya */
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 5vw, 72px); align-items: start; }
.tl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tl > div { padding: 22px 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.tl b { font-size: clamp(28px, 3vw, 40px); font-weight: 800; font-stretch: 125%; }
.tl span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.cluster { display: flex; flex-direction: column; background: #fff; border-radius: 24px; padding: 8px 24px; }
.cluster > div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cluster > div:last-child { border-bottom: 0; }
.cluster .n { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.cluster b { font-size: 17px; font-weight: 700; display: block; margin-bottom: 6px; }
.cluster p { font-size: 15px; line-height: 1.5; color: var(--body); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border-top: 1px solid var(--ink); }
.stats > div { padding: 24px 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stats b { font-size: clamp(48px, 5.4vw, 76px); line-height: .95; font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 15px; color: var(--body); }

/* afzalliklar */
.dark { background: var(--ink); color: #fff; }
.adv-wrap { margin-top: clamp(96px, 11vw, 140px); }
.adv-in { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gutter); display: flex; flex-direction: column; gap: 56px; }
.adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.adv > div { border-radius: 24px; background: var(--ink-2); padding: 32px; display: flex; flex-direction: column; gap: 56px; min-height: 300px; transition: background-color .65s var(--e); }
.adv > div:hover { background: var(--accent); }
.adv .n { font-family: var(--mono); font-size: 14px; color: rgba(255,255,255,.6); }
.adv h3 { font-size: 22px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 14px; }
.adv p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.8); margin: 0; }
.dark .fn { color: rgba(255,255,255,.5); }

/* maxsus taklif */
.offer { border-radius: 32px; background: #fff; padding: clamp(28px, 4.4vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 4vw, 64px); }
.otab__h, .otab__r { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.otab__h { padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 13px; color: var(--muted); font-weight: 600; }
.otab__r { align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.otab__r b { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; font-stretch: 125%; }
.otab__r .d { font-size: 18px; font-weight: 700; color: var(--accent); }
.otab__r .s { font-size: 18px; font-weight: 700; text-align: right; }
.otab__h span:last-child { text-align: right; }

/* topshirilgan */
.past { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.past a, .past div.pr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.past a:hover { padding-left: 16px; color: var(--accent); }
.past .nm { font-size: clamp(24px, 3vw, 40px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.past .mt { font-size: 15px; line-height: 1.5; color: var(--body); }
.past .ar { font-size: 22px; text-align: right; }
@media (max-width: 700px) { .past a, .past div.pr { grid-template-columns: 1fr 28px; } .past .mt { grid-column: 1; grid-row: 2; } .past .ar { grid-row: 1; grid-column: 2; } }

/* bepul materiallar */
.mgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.mcard { text-align: left; border: 0; background: #fff; border-radius: 24px; padding: 12px; display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.mcard:hover { box-shadow: var(--shadow-hover); }
.mcard .img { aspect-ratio: 4 / 3; border-radius: 16px; background: var(--ph-2); }
.mcard .chip--dark { position: absolute; top: 12px; left: 12px; z-index: 1; }
.mcard__b { padding: 0 10px 10px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mcard__t { font-size: 20px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1.1; }
.mcard__go { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--accent); }

/* forma bo'limi */
.fsec { margin-top: clamp(96px, 11vw, 140px); background: var(--accent); color: #fff; }
.fsec__in { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.fsec h2 { font-size: clamp(36px, 5vw, 64px); }
.fsec__lead { color: #fff; font-size: 18px; line-height: 1.55; max-width: 480px; margin: 0; }
.fsec__links { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; }
.fsec__links a:hover { color: var(--ink); }

/* ============================================================ LeadForma */
.lf { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px; min-height: 460px; box-shadow: 0 20px 50px rgba(20,16,12,.06); }
.lf__top { display: flex; flex-direction: column; gap: 12px; }
.lf__meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); min-height: 30px; }
.lf__back { border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 0; }
.lf__back:hover { color: var(--ink); }
.lf__bar { height: 4px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.lf__bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .8s var(--e); }
.lf__pre { display: flex; align-items: center; gap: 10px; background: var(--tint); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.lf__pre b { color: #B23206; }
.lf__pre button { margin-left: auto; border: 0; background: none; font-size: 18px; color: var(--muted); line-height: 1; padding: 0 4px; }
.lf__q { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.lf__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.lf__opt { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 20px 18px; font-size: 16px; font-weight: 600; min-height: 72px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lf__opt::after { content: "→"; color: var(--accent); font-size: 18px; }
.lf__opt:hover, .lf__opt[aria-pressed="true"] { border-color: var(--accent); background: var(--tint); }
.lf__fields { display: flex; flex-direction: column; gap: 12px; }
.lf__field { display: flex; flex-direction: column; gap: 6px; }
.lf input { height: 60px; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 0 20px; font-size: 17px; outline: none; color: var(--ink); width: 100%; }
.lf input:focus { border-color: var(--ink); background: #fff; }
.lf input[aria-invalid="true"] { border: 2px solid var(--err-bd); background: var(--err-bg); }
.lf__err { font-size: 13px; font-weight: 600; color: var(--err-fg); }
.lf__alert { border-radius: 14px; background: var(--err-bg); color: var(--err-fg); padding: 12px 14px; font-size: 14px; font-weight: 600; }
.lf__submit { height: 60px; font-size: 17px; }
.lf__submit.is-sending { background: var(--accent-dis); pointer-events: none; }
.spin { width: 20px; height: 20px; border-radius: 999px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: bbSpin .8s linear infinite; }
.lf__note { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.lf__note a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ============================================================ katalog */
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.crumbs b { color: var(--ink); font-weight: 600; }
.page-top { padding-top: calc(var(--hdr) + clamp(28px, 4vw, 72px)); }
.hcard { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); background: #fff; border-radius: 28px; overflow: hidden; }
.hcard > a.img { min-height: 340px; }
.hcard .chip { position: absolute; top: 18px; left: 18px; z-index: 1; }
.hcard__b { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.hcard__name { font-size: clamp(30px, 3vw, 40px); line-height: 1; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.03em; }
.mix { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.mix > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.mix span { color: var(--muted); }
.mix b { font-weight: 700; text-align: right; }
.hcard__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: auto; gap: 16px; }
.hcard__price { font-size: 22px; font-weight: 800; font-stretch: 125%; }
.empty { padding: 64px 24px; text-align: center; border: 1px dashed var(--outline); border-radius: 24px; color: var(--muted); font-size: 16px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.pastgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.pastgrid > * { background: #fff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pastgrid b { font-size: 18px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.pastgrid span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ============================================================ loyiha sahifasi */
.gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: clamp(220px, 21vw, 300px) clamp(220px, 21vw, 300px); gap: 16px; }
.gal button { position: relative; border: 0; padding: 0; border-radius: 24px; overflow: hidden; cursor: zoom-in; background: var(--ph); }
.gal button .img { position: absolute; inset: 0; }
.gal button:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.gal button:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.gal button:nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
.gal__more { position: absolute; right: 16px; bottom: 16px; z-index: 1; background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--ink); pointer-events: none; }
@media (max-width: 1079px) {
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(220px, 60vw, 320px) 120px; }
  .gal button:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
  .gal button:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
  .gal button:nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
}
.gal-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 10px 0 0; }
.ptabs { position: sticky; top: var(--hdr); z-index: 40; margin-top: 40px; background: rgba(246,243,239,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: top .5s var(--e); }
body.hdr-hidden .ptabs { top: 0; }
.ptabs__in { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: clamp(20px, 2.6vw, 36px); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.ptabs__in::-webkit-scrollbar { display: none; }
.ptabs a { flex: 0 0 auto; padding: 18px 0; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.ptabs a:hover { color: var(--ink); }
.ptabs a.is-cur { color: var(--ink); border-color: var(--accent); }
.pbody { max-width: 1440px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.pbody__main { display: flex; flex-direction: column; gap: clamp(72px, 8vw, 112px); min-width: 0; }
.pbody__main > section { scroll-margin-top: calc(var(--hdr) + 72px); }
@media (max-width: 1079px) { .pbody { grid-template-columns: minmax(0, 1fr); } .aside { display: none !important; } .pbody__main > section { scroll-margin-top: 72px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.facts span { font-size: 13px; color: var(--muted); }
.facts b { font-size: 19px; font-weight: 700; }
.loc--full { grid-template-columns: 1fr; }
.loc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.loc__map { min-height: 360px; border-radius: 24px; overflow: hidden; background: var(--ph); position: relative; }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.amen { display: flex; flex-direction: column; background: #fff; border-radius: 24px; padding: 10px 24px; }
.amen__lbl { padding: 14px 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.amen__r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.badge { flex: 0 0 auto; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; background: var(--line-soft); color: var(--body); }
.badge--warn { background: var(--warn-bg); color: var(--warn-fg); }
.badge--ok { background: var(--ok-bg); color: var(--ok-fg); }
.amen__note { padding: 14px 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.prog { background: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.prog__nums { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.prog__nums b { font-size: clamp(56px, 6vw, 88px); line-height: .9; font-weight: 800; font-stretch: 125%; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.prog__nums em { font-style: normal; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; font-stretch: 125%; }
.prog__bar { height: 8px; background: var(--line-soft); border-radius: 8px; overflow: hidden; }
.prog__bar i { display: block; height: 100%; background: var(--accent); border-radius: 8px; }
.prog__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.tgbox { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--ink); color: #fff; border-radius: 24px; padding: 24px 28px; }
.tgbox span { font-size: 16px; line-height: 1.5; max-width: 520px; }
.tgbox a { height: 48px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; display: flex; align-items: center; }
.tgbox a:hover { background: var(--accent); color: #fff; }

/* xonadonlar */
.upick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; background: #fff; border-radius: 28px; padding: 16px; }
.upick__plan { min-height: 420px; border-radius: 18px; background: var(--paper); position: relative; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; }
.upick__plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.upick__plan .img__ph { color: var(--muted); }
.upick__b { padding: clamp(8px, 1.6vw, 20px); display: flex; flex-direction: column; gap: 22px; }
.lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.kv { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.kv > div > span:first-child { color: var(--muted); }
.kv b { font-weight: 700; text-align: right; }
.kv .note { font-size: 13px; color: #B23206; font-weight: 600; }
.upick__price { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; font-stretch: 125%; color: var(--accent); font-variant-numeric: tabular-nums; }
.upick__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.upick__btns .btn { flex: 1 1 200px; height: 54px; font-size: 15px; }
.nounits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; background: #fff; border-radius: 28px; padding: 16px; }
.nounits .img { min-height: 320px; border-radius: 18px; background: var(--paper); }
.nounits__b { padding: clamp(8px, 2vw, 24px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.nounits__t { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1.1; }

/* kalkulyator */
.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.calc__in { background: #fff; border-radius: 24px; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 26px; }
.offersw { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper); padding: 4px; border-radius: 16px; }
.offersw button { border: 0; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; background: transparent; color: var(--ink); text-align: left; }
.offersw b { font-size: 14px; font-weight: 700; }
.offersw span { font-size: 12px; opacity: .75; }
.offersw button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.tiers button { text-align: left; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.tiers b { font-size: 16px; font-weight: 800; }
.tiers span { font-size: 11px; font-weight: 600; opacity: .8; }
.tiers button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tiers button.is-applied { background: var(--tint); border-color: var(--accent); }
.custom { display: flex; align-items: center; gap: 10px; height: 54px; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 0 16px; cursor: text; }
.custom.is-on { border: 1.5px solid var(--ink); background: #fff; }
.custom span { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.custom input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.range-lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hint { font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--body); }
.hint.is-ok { color: var(--ok-fg); }
.terms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.terms button { height: 44px; border-radius: 12px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0; }
.terms button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.calc__out { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.calc__out .sub { font-size: 14px; color: rgba(255,255,255,.65); }
.calc__rows { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.14); }
.calc__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.calc__rows span { color: rgba(255,255,255,.65); }
.calc__rows b { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.calc__rows .c-ok { color: #7FD39A; }
.calc__rows .c-acc { color: var(--on-dark); }
.calc__monthly { font-size: clamp(34px, 3.4vw, 44px); font-weight: 800; font-stretch: 125%; font-variant-numeric: tabular-nums; line-height: 1.05; }
.calc__warn { font-size: 13px; font-weight: 600; color: var(--on-dark); }
.calc__out .btn:hover { background: #fff; color: var(--ink); }
.calc__out .fn { color: rgba(255,255,255,.5); }

/* media */
.mediag { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.video { position: relative; grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--photo); border: 0; padding: 0; }
.video .img { position: absolute; inset: 0; background: var(--photo); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 999px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; padding-left: 6px; pointer-events: none; box-shadow: 0 0 0 12px rgba(232,64,13,.25); z-index: 1; }
.mediag > button:not(.video) { aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--ph); position: relative; }
.mediag > button .img { position: absolute; inset: 0; }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq__i { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 24px 0; display: flex; flex-direction: column; color: var(--ink); width: 100%; }
.faq__i:hover { padding-left: 6px; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 18px; font-weight: 700; }
.faq__q > span:first-child { transition: color .6s var(--e); }
.faq__ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; line-height: 1;
  transition: transform .8s cubic-bezier(.34,1.3,.5,1), background-color .6s, color .6s, border-color .6s; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--e); }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { padding: 14px 60px 2px 0; font-size: 16px; line-height: 1.6; color: var(--body); max-width: 760px; margin: 0; opacity: 0; transform: translateY(-10px); filter: blur(4px); transition: opacity .7s ease, transform .9s var(--e), filter .7s ease; }
.faq__i[aria-expanded="true"] .faq__q > span:first-child { color: var(--accent); }
.faq__i[aria-expanded="true"] .faq__ic { transform: rotate(135deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq__i[aria-expanded="true"] .faq__a { grid-template-rows: 1fr; }
.faq__i[aria-expanded="true"] .faq__a p { opacity: 1; transform: none; filter: blur(0); transition-delay: .12s; }
@media (max-width: 700px) { .faq__a p { padding-right: 0; } }

/* aside */
.aside { position: sticky; top: calc(var(--hdr) + 80px); background: #fff; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--shadow-aside); transition: top .5s var(--e); }
body.hdr-hidden .aside { top: 84px; }
.aside__price { font-size: 30px; font-weight: 800; font-stretch: 125%; line-height: 1.05; }

/* ============================================================ landing */
.lhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 600px); min-height: 100svh; }
.lhero__img { position: relative; min-height: 100svh; background: var(--photo); color: #fff; overflow: hidden; }
.lhero__img > .img { position: absolute; inset: 0; background: var(--photo); }
.lhero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(15,12,10,.55) 0%, rgba(15,12,10,.1) 38%, rgba(15,12,10,.88) 100%); }
.lhero__txt { position: absolute; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.lhero__txt h1 { font-size: clamp(34px, 4.6vw, 66px); line-height: .98; letter-spacing: -0.03em; text-wrap: balance; }
.lhero__facts { display: flex; gap: clamp(18px, 3vw, 32px); padding-top: 8px; flex-wrap: wrap; }
.lhero__facts b { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 800; font-stretch: 125%; }
.lhero__facts span { font-size: 13px; color: rgba(255,255,255,.75); }
.lhero__form { padding: clamp(24px, 4vw, 56px); padding-top: 120px; display: flex; flex-direction: column; gap: 24px; justify-content: center; scroll-margin-top: 72px; }
.trust { display: flex; gap: 10px 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
@media (max-width: 1079px) {
  .lhero { grid-template-columns: 1fr; min-height: 0; }
  .lhero__img { min-height: 560px; }
  .lhero__form { padding-top: 28px; }
}
.vsl { background: var(--ink); color: #fff; }
.vsl__in { max-width: 1200px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.vsl .video { border-radius: 28px; width: 100%; background: var(--ink-2); }
.vsl .play { width: clamp(80px, 9vw, 120px); height: clamp(80px, 9vw, 120px); font-size: clamp(26px, 3vw, 40px); padding-left: 8px; box-shadow: 0 0 0 14px rgba(232,64,13,.25); }
.vsl__cta { position: absolute; top: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px); z-index: 2; max-width: 300px; background: #fff; color: var(--ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.vsl__cta b { font-size: 16px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1.15; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.plan { text-align: left; border: 0; background: #fff; border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.plan:hover { box-shadow: var(--shadow-hover); }
.plan .img { aspect-ratio: 1 / 1; border-radius: 16px; background: var(--paper); width: 100%; }
.plan .img img { object-fit: contain; }
.plan__b { padding: 0 8px 8px; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.plan__b > div { display: flex; justify-content: space-between; align-items: baseline; }
.plan__a { font-size: 22px; font-weight: 800; font-stretch: 125%; }
.plan__p { font-size: 17px; font-weight: 700; color: var(--accent); }
.list-lines { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.list-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.list-lines span { font-size: 13px; color: var(--muted); }
.final { border-radius: 32px; background: var(--accent); color: #fff; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.final__h { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.02; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.03em; max-width: 760px; text-wrap: balance; }
.lfoot { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }

/* ============================================================ rahmat / 404 */
.thanks { max-width: 880px; margin: 0 auto; padding: clamp(120px, 13vw, 160px) var(--gutter) 96px; display: flex; flex-direction: column; gap: 28px; }
.check { width: 76px; height: 76px; border-radius: 999px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; animation: bbPop .8s var(--e) .2s both; }
.steps { display: flex; flex-direction: column; background: #fff; border-radius: 24px; padding: 6px 24px; }
.steps > div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.steps > div:last-child { border-bottom: 0; }
.steps i { width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; font-style: normal; background: var(--line-soft); color: var(--ink); }
.steps > div:first-child i { background: var(--accent); color: #fff; }
.steps b { font-size: 16px; font-weight: 700; display: block; margin-bottom: 4px; }
.steps span { font-size: 14px; color: var(--muted); }
.nf { max-width: 1440px; margin: 0 auto; min-height: 100svh; padding: clamp(120px, 13vw, 160px) var(--gutter) 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.nf .img { aspect-ratio: 4 / 5; max-height: 640px; border-radius: 28px; }

/* ============================================================ footer */
.ftr { background: var(--ink); color: #fff; }
.ftr__in { max-width: 1440px; margin: 0 auto; padding: clamp(64px, 7vw, 88px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 56px; }
.ftr__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.ftr__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: rgba(255,255,255,.75); }
.ftr__col b { color: #fff; font-weight: 700; }
.ftr__col a:hover { color: var(--on-dark); }
.ftr__brand img { height: 42px; width: auto; align-self: flex-start; }
.ftr__brand span { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.6); max-width: 260px; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }
.ftr__bot a:hover { color: #fff; }

/* ============================================================ overlaylar */
.ovl-bg { position: fixed; inset: 0; z-index: 85; background: rgba(15,12,10,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lm { position: fixed; z-index: 86; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 32px)); background: #fff; border-radius: 32px; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-modal); max-height: calc(100svh - 32px); overflow-y: auto; }
@media (max-width: 1079px) { .lm { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: auto; border-radius: 28px 28px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); } }
.lm__top { display: flex; justify-content: space-between; align-items: center; }
.xbtn { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--line-soft); font-size: 18px; color: var(--ink); }
.lm__t { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.05; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; }
.lm input { height: 58px; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 0 20px; font-size: 17px; outline: none; font-variant-numeric: tabular-nums; width: 100%; }
.lm input:focus { border-color: var(--ink); background: #fff; }
.lm input[aria-invalid="true"] { border: 2px solid var(--err-bd); }
.lm__ch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lm__ch button { height: 50px; border-radius: 14px; font-size: 15px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.lm__ch button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.lm__load { min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; font-size: 16px; font-weight: 600; }
.lm__load .spin { width: 44px; height: 44px; border: 4px solid var(--line-soft); border-top-color: var(--accent); }
.okc { width: 60px; height: 60px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-fg); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }

.lb { position: fixed; inset: 0; z-index: 90; background: var(--lb); color: #fff; display: flex; flex-direction: column; }
.lb__top { height: 72px; flex: 0 0 auto; padding: 0 clamp(16px, 3vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 700; }
.lb__top span span { color: rgba(255,255,255,.55); font-weight: 500; }
.lb__close { width: 44px; height: 44px; border: 0; border-radius: 999px; background: #1C1916; color: #fff; font-size: 22px; }
.lb__stage { flex: 1; min-height: 0; display: grid; grid-template-columns: clamp(56px, 7vw, 96px) minmax(0, 1fr) clamp(56px, 7vw, 96px); align-items: center; }
.lb__nav { justify-self: center; width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; font-size: 20px; }
.lb__nav:hover { background: #fff; color: var(--lb); }
.lb__img { height: 100%; padding: 6px 0; min-height: 0; }
.lb__img > div { height: 100%; border-radius: 18px; overflow: hidden; background: #1C1916; display: flex; align-items: center; justify-content: center; }
.lb__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb__thumbs { flex: 0 0 auto; padding: 16px clamp(16px, 3vw, 40px) 20px; display: flex; gap: 8px; justify-content: center; overflow-x: auto; }
.lb__thumbs button { flex: 0 0 auto; width: clamp(64px, 8vw, 110px); aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; padding: 0; background: #1C1916; border: 2px solid transparent; opacity: .55; }
.lb__thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .lb__stage { grid-template-columns: 1fr; } .lb__nav { display: none; } }

.toast { position: fixed; z-index: 95; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-float); max-width: calc(100vw - 32px); font-size: 15px; font-weight: 600; }
.toast i { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 999px; background: var(--ok); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; font-style: normal; }
@media (max-width: 1079px) { .toast { bottom: 96px; } }

/* maxfiylik va oddiy matn sahifalari */
.prose { max-width: 760px; }
.prose h2 { font-size: 20px; font-weight: 800; font-stretch: 125%; text-transform: uppercase; margin: 32px 0 10px; }
.prose p { font-size: 17px; line-height: 1.6; color: var(--body); }
