  :root {
    /* Premium mulk-brend palitrasi: iliq korall (ishonch/harakat) + issiq oltin (premium/TOP urg'u) */
    --brand: #FF3B5C; --brand-dark: #E01E45; --brand-light: #FFEBEF;
    --gold: #D6960B; --gold-light: #FDF3DE;
    --ink: #101826; --ink-soft: #47526B; --muted: #6B7690; --line: #ECEEF3;
    --bg: #ffffff; --bg-soft: #F6F8FA;
    --radius-sm: 10px; --radius: 14px; --radius-lg: 24px; --radius-pill: 999px;
    --shadow-xs: 0 1px 2px rgba(16,24,38,.05);
    --shadow-sm: 0 2px 8px rgba(16,24,38,.06);
    --shadow: 0 8px 22px rgba(16,24,38,.08);
    --shadow-lg: 0 24px 48px rgba(16,24,38,.12), 0 4px 12px rgba(16,24,38,.05);
    --shadow-hover: 0 16px 32px rgba(16,24,38,.14), 0 4px 10px rgba(16,24,38,.06);
    /* Ko'p qatlamli (layered) soya - yaqin/o'rta/uzoq uchta soya birga
       qo'yilib, haqiqiy chuqurlik hissi beradi (bitta tekis soyadan ko'ra
       ancha "premium" ko'rinadi) - muallaq kartalar/panellar uchun. */
    --shadow-float: 0 2px 5px rgba(16,24,38,.04), 0 14px 28px rgba(16,24,38,.09), 0 36px 64px rgba(16,24,38,.08);
    --ease: cubic-bezier(.16,1,.3,1);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  }

  /* Brauzerning o'zi qo'llab-quvvatlagan holatda (Chrome/Edge 126+) sahifalar
     orasida yumshoq o'tish (cross-fade) beradi - qo'shimcha JS/kutubxona
     SHART emas, qo'llamaydigan brauzerlarda esa shunchaki e'tiborga olinmaydi
     (hech narsa buzilmaydi). Bugungi eng zamonaviy, "bepul" motion texnikasi. */
  @view-transition { navigation: auto; }

  /* Juda past zichlikdagi "don" (grain) teksturasi - butun saytga nozik,
     bosma jurnal kabi hissi beradigan premium qatlam (qo'shimcha so'rov
     YO'Q - inline SVG, bir necha baytlik ma'lumot). */
  body::before {
    content: ""; position: fixed; inset: 0; z-index: 2147483647; pointer-events: none;
    opacity: .02; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--brand), var(--gold));
    z-index: 2147483647; pointer-events: none;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  h1, h2, h3, .brand, .footer-brand, .side-brand { font-family: var(--font-display); }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 15px;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  .ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; vertical-align: middle; }
  .ico svg { width: 100%; height: 100%; }
  button, input, select { font-family: inherit; }

  /* Harakat sezgirligini kamaytirgan foydalanuvchilar uchun - barcha
     animatsiya/o'tish effektlari darhol o'chadi (kirish/skroll animatsiyalari
     bundan tashqari - pastda alohida qoidalar bilan). */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  }

  /* MUHIM: faqat chap-o'ng (padding-left/right) - to'liq "padding"
     shorthand YOZILMAYDI, chunki bu ".wrap" ko'plab joyda <main>ning
     ichida ham ishlatiladi va shorthand "main { padding: 56px 0 60px; }"
     qoidasining tepa/pastini 0'ga tushirib, "O'xshash e'lonlar" kabi
     bo'limlarni footer'ga yopishtirib qo'yardi (klass elementdan ko'ra
     ko'proq aniq bo'lgani uchun ustun chiqadi). */
  .wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
  @media (max-width: 640px) { .wrap { padding-left: 16px; padding-right: 16px; } }

  /* ============ SKROLLDA PAYDO BO'LISH (scroll-reveal) ============
     Progressiv yaxshilanish: bu qoidalar FAQAT <html class="js"> bo'lganda
     ishlaydi (JS render_head()da darhol qo'shadi). JS ishlamasa/xato
     bersa - html.js klassi qo'shilmaydi va hamma narsa ODATDAGIDEK,
     DARHOL ko'rinadi (hech qachon "yashiringan" holda qolmaydi). */
  html.js .listing-card, html.js .why-item, html.js .district-chip, html.js .fact-box {
    opacity: 0; transform: translateY(20px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
  }
  html.js .listing-card.is-visible, html.js .why-item.is-visible,
  html.js .district-chip.is-visible, html.js .fact-box.is-visible {
    opacity: 1; transform: translateY(0);
  }

  /* ============ UMUMIY MIKRO-INTERAKTIVLIK (bosilganda "siqilish") ============
     Sayt bo'ylab asosiy tugmalar bosilganda sezilarli, "jonli" teginish
     hissi berish uchun - shu bitta qoida barcha asosiy CTA'larni qamrab
     oladi, har birida alohida yozish shart emas. */
  .btn-cta:active, .search-pill button:active, .hero-ai-cta:active,
  .sidebar-cta:active, .sidebar-cta-secondary:active, .form-submit-btn:active,
  .rt-tab:active, .district-chip:active, .why-item:active {
    transform: scale(.96); transition-duration: .1s;
  }

  /* ============ HEADER ============ */
  header.site-header {
    background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    position: sticky; top: 0; z-index: 500;
    border-bottom: 1px solid rgba(16,24,38,.06);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 24px; max-width: 1280px; margin: 0 auto; gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); flex-shrink: 0; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  nav.main-nav { display: flex; gap: 4px; align-items: center; }
  nav.main-nav a.nav-link {
    font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 10px 14px;
    border-radius: var(--radius-pill); transition: background .18s var(--ease), color .18s var(--ease);
  }
  nav.main-nav a.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
  .btn-cta {
    background: var(--brand); color: #fff !important; padding: 10px 20px; border-radius: var(--radius-pill);
    font-weight: 700; font-size: 14px; transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
    display: inline-flex; align-items: center; gap: 7px; border: none; cursor: pointer;
  }
  .btn-cta:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255,59,92,.28); }
  .btn-cta:active { transform: scale(0.97); }
  .nav-icon-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0 !important; color: var(--ink-soft); }
  nav.main-nav a.nav-link.nav-account-link { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); }
  nav.main-nav a.nav-link { display: inline-flex; align-items: center; gap: 6px; }
  .mobile-menu-btn {
    display: none; width: 38px; height: 38px; border-radius: var(--radius-pill); border: none;
    background: var(--bg-soft); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
    transition: background .15s var(--ease);
  }
  .mobile-menu-btn:hover { background: var(--line); }
  .mobile-menu {
    display: none; flex-direction: column; padding: 8px 16px 14px; border-top: 1px solid var(--line); background: #fff;
  }
  .mobile-menu.open { display: flex; animation: menuDropIn .22s var(--ease); }
  @keyframes menuDropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
  .mobile-menu a {
    display: flex; align-items: center; gap: 12px; padding: 12px 6px; font-size: 14.5px; font-weight: 600;
    color: var(--ink-soft); border-bottom: 1px solid var(--line); transition: color .15s var(--ease);
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--brand); }

  /* ============ TIL TANLAGICH (bayroqli, O'zbekchadan boshlanadi) ============ */
  .lang-switcher { position: relative; flex-shrink: 0; }
  .lang-current {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-soft);
    font-size: 17px; display: flex; align-items: center; justify-content: center; cursor: pointer; line-height: 1;
    transition: box-shadow .15s var(--ease), background .15s var(--ease);
  }
  .lang-current:hover { background: #fff; box-shadow: var(--shadow-sm); }
  .lang-menu {
    display: none; position: absolute; top: 46px; right: 0; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; min-width: 160px; z-index: 600;
  }
  .lang-switcher.open .lang-menu { display: block; animation: menuDropIn .18s var(--ease); }
  .lang-option { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: background .12s var(--ease); }
  .lang-option:hover { background: var(--bg-soft); }
  .lang-flag { font-size: 17px; }
  /* Mobil menyuda - shu iconli tugma o'zi yetarli, alohida kenglikka cho'zish shart emas */
  .mobile-menu .lang-switcher { margin: 10px 6px 4px; }
  .mobile-menu .lang-menu { left: 0; right: auto; top: 48px; }
  .mobile-lang-label { padding: 0 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin-top: 4px; }
  @media (max-width: 640px) {
    .header-inner { padding: 12px 16px; }
    .brand { font-size: 15px; }
    .brand img { width: 28px; height: 28px; }
    nav.main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
  }

  /* ============ HERO + SEARCH ============
     Assimetrik, ikki ustunli ("split") tarkib - oddiy markazlashgan matn
     o'rniga: chap tomonda matn/qidiruv, o'ng tomonda haqiqiy e'lonlardan
     "sochilgan" (overlapping) karta to'plami. To'q fon (--ink) saytning
     qolgan yumshoq qismidan ANIQ ajralib, pastga - oq kontentga - tekis
     o'tadi (Stripe/Linear uslubidagi "dark hero -> light content"). */
  .hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: linear-gradient(180deg, var(--ink) 0%, #182233 58%, #1f2a3d 82%, #fff 100%);
    padding: 68px 20px 150px; text-align: left; color: #fff;
  }
  .hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1;
    animation: heroBlobDrift 18s ease-in-out infinite alternate;
  }
  .hero::before {
    width: 620px; height: 620px; top: -260px; left: -160px;
    background: radial-gradient(circle, rgba(255,59,92,.38), transparent 70%);
  }
  .hero::after {
    width: 540px; height: 540px; top: 40px; right: -200px;
    background: radial-gradient(circle, rgba(214,150,11,.3), transparent 70%);
    animation-delay: -9s;
  }
  @keyframes heroBlobDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(50px, 36px) scale(1.1); } }
  @media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }

  .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
  .hero-grid.no-stack { grid-template-columns: minmax(0, 720px); justify-content: center; text-align: center; }
  .hero-grid.no-stack .hero-left { margin: 0 auto; }
  .hero-left { max-width: 560px; }

  .hero-kicker {
    display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800;
    color: #fff; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); padding: 7px 16px;
    border-radius: var(--radius-pill); margin-bottom: 20px; letter-spacing: .4px; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.18);
  }
  .hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -1.8px; line-height: 1.05; margin-bottom: 16px; color: #fff; }
  .hero p.sub { font-size: clamp(14.5px, 1.3vw, 17px); color: rgba(255,255,255,.66); max-width: 480px; margin: 0 0 32px; line-height: 1.6; }
  .hero-grid.no-stack p.sub { margin: 0 auto 32px; }
  @media (max-width: 640px) { .hero { padding: 36px 16px 90px; } .hero p.sub { margin-bottom: 24px; } }
  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-left { max-width: 100%; margin: 0 auto; }
    .hero-left p.sub { margin-left: auto; margin-right: auto; }
    .hero-left .search-pill, .hero-left .hero-ai-cta { margin-left: auto; margin-right: auto; }
    .hero-right { display: none; }
  }
  .hero-grid.no-stack .hero-ai-cta { margin-left: auto; margin-right: auto; }

  /* Chap ustundagi har bir element (kicker, sarlavha, matn, qidiruv,
     tab'lar, AI taklifi) sahifa ochilganda ketma-ket (stagger) ozgina
     pastdan chiqib, xiralikdan ravshanlashib kiradi. */
  .hero-left > * { animation: heroIn .7s var(--ease) both; }
  .hero-left > *:nth-child(1) { animation-delay: .02s; }
  .hero-left > *:nth-child(2) { animation-delay: .08s; }
  .hero-left > *:nth-child(3) { animation-delay: .15s; }
  .hero-left > *:nth-child(4) { animation-delay: .22s; }
  .hero-left > *:nth-child(5) { animation-delay: .29s; }
  .hero-left > *:nth-child(6) { animation-delay: .36s; }

  /* ---- O'ng ustun: haqiqiy e'lonlardan "sochilgan" karta to'plami ---- */
  .hero-stack { position: relative; height: 440px; }
  .hero-stack-card {
    position: absolute; width: 240px; background: #fff; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-float); opacity: 0;
    transition: box-shadow .3s var(--ease);
    animation: heroStackIn .6s var(--ease) both;
  }
  .hero-stack-card:nth-child(1) { top: 4px; left: 0; z-index: 1; --rot: -7deg; animation-delay: .32s; }
  .hero-stack-card:nth-child(2) { top: 92px; left: 160px; z-index: 3; --rot: 5deg; animation-delay: .46s; }
  .hero-stack-card:nth-child(3) { top: 232px; left: 48px; z-index: 2; --rot: -3deg; animation-delay: .6s; }
  @keyframes heroStackIn { from { opacity: 0; transform: translateY(28px) rotate(0deg) scale(.94); } to { opacity: 1; transform: translateY(0) rotate(var(--rot)) scale(1); } }
  /* MUHIM: animatsiya tugagach ham ("fill-mode: both") CSS "animation"
     qatlami oddiy ":hover" qoidasidan KUCHLIROQ turadi - shuning uchun
     hover'da aylanishni bekor qilish uchun shu yerda (asosli ravishda)
     !important ishlatilgan, aks holda hover umuman ko'rinmas edi. */
  .hero-stack:hover .hero-stack-card { transform: translateY(-10px) rotate(0deg) scale(1) !important; box-shadow: var(--shadow-float), 0 0 0 1px rgba(16,24,38,.06); z-index: 5 !important; }
  @media (prefers-reduced-motion: reduce) { .hero-stack-card { animation: none; opacity: 1; transform: translateY(0) rotate(var(--rot)); } }

  .hsc-photo { aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; }
  .hsc-photo img { width: 100%; height: 100%; object-fit: cover; }
  .hsc-photo .lc-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#FFEBEF,#FFF6F2); }
  .hsc-body { padding: 13px 15px; }
  .hsc-addr { font-size: 13px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hsc-price { font-size: 14.5px; font-weight: 800; color: var(--brand); margin-top: 2px; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

  .search-pill {
    /* MUHIM (qatlamlanish/z-index xatosi): ".hero-left > *" kirish
       animatsiyasi (heroIn) tugagandan keyin ham "transform: translateY(0)"
       qiymatini saqlab qoladi - CSS qoidasiga ko'ra, "none"dan boshqa
       HAR QANDAY transform qiymati (hatto vizual jihatdan 0 bo'lsa ham)
       elementni alohida "stacking context"ga aylantiradi. Natijada
       ".search-pill" o'zining DOM tartibida KEYIN keladigan birodarlari
       (.rt-tabs, .hero-ai-cta - ular ham xuddi shunday alohida qatlamga
       aylangan) bilan TENG z-index'da taqqoslanadi va ular KEYINROQ
       chizilgani uchun ustidan bosib chiqadi - ichidagi ochiq
       dropdown (.cs-menu, z-index:80) esa faqat shu ICHKI qatlam
       doirasida ishlaydi, tashqariga "chiqa olmaydi". Aniq, tashqi
       z-index bilan bu muammo butunlay bartaraf etiladi. */
    position: relative; z-index: 5;
    background: #fff; border-radius: var(--radius-pill); padding: 8px; max-width: 720px; margin: 0;
    box-shadow: var(--shadow-float); border: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr 1fr auto; align-items: stretch; gap: 0;
    transition: box-shadow .25s var(--ease);
  }
  .hero-grid.no-stack .search-pill { margin: 0 auto; }
  .search-pill:hover, .search-pill:focus-within { box-shadow: var(--shadow-float), 0 0 0 4px rgba(255,59,92,.09); }
  .search-pill .seg { padding: 10px 22px; border-right: 1px solid var(--line); text-align: left; }
  .search-pill .seg:last-of-type { border-right: none; }
  .search-pill label { display: block; font-size: 11px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
  .search-pill select {
    border: none; outline: none; font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
    background: transparent; width: 100%; cursor: pointer;
  }
  .search-pill button {
    background: var(--brand); color: #fff; border: none; border-radius: var(--radius-pill); padding: 0 26px;
    font-weight: 700; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 8px;
    transition: background .18s var(--ease), transform .18s var(--ease);
  }
  .search-pill button:hover { background: var(--brand-dark); transform: translateY(-1px); }
  @media (max-width: 640px) {
    .search-pill { grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); padding: 10px; gap: 8px; }
    .search-pill .seg { border-right: none; border-bottom: 1px solid var(--line); padding: 8px 12px; }
    .search-pill button { grid-column: 1 / -1; padding: 13px; border-radius: var(--radius); justify-content: center; margin-top: 4px; }
  }

  /* ============ MOSLASHUVCHAN SELECT (native <select> ochilganda brauzer
     standart "arzon" dropdown ro'yxatini emas, sayt dizaynidagi ro'yxatni
     ko'rsatish uchun - JS bilan progressiv yaxshilanadi, enhanceSelect()
     ga qarang) ============ */
  .cs-wrap { position: relative; }
  .cs-wrap.cs-enhanced select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
  /* MUHIM: bu yerda oddiy ".cs-trigger" emas, ".cs-wrap .cs-trigger" ishlatiladi -
     chunki trigger ham <button>, va masalan ".search-pill button" kabi joyning
     o'zidagi umumiy tugma qoidalari (qizil fon va h.k.) aynan shu elementga ham
     tegib, uni qidiruv tugmasidek qizil pillga aylantirib qo'yishi mumkin edi -
     bu yerdagi ikki klassli selektor ko'proq aniq (specificity) bo'lgani uchun ustun chiqadi. */
  .cs-wrap .cs-trigger {
    display: none; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
    background: none !important; color: var(--ink-soft) !important; border: none !important; outline: none;
    cursor: pointer; font: inherit; border-radius: 0 !important;
    font-size: 13.5px; font-weight: 500; padding: 0 !important; text-align: left;
  }
  .cs-wrap.cs-enhanced .cs-trigger { display: flex; }
  .cs-arrow {
    width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
    transform: rotate(45deg); flex-shrink: 0; transition: transform .18s var(--ease); margin-top: -3px;
  }
  .cs-wrap.open .cs-arrow { transform: rotate(-135deg); margin-top: 3px; }
  .cs-menu {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 180px; max-width: 260px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 6px; z-index: 80; max-height: 280px; overflow-y: auto;
  }
  .cs-wrap.open .cs-menu { display: block; animation: menuDropIn .16s var(--ease); }
  .cs-option { padding: 9px 12px; border-radius: var(--radius-sm); font-size: 13.5px; color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .12s var(--ease); }
  .cs-option:hover { background: var(--bg-soft); }
  .cs-option.selected { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }

  /* ============ IJARA TURI TABLARI (kunlik/uzoq muddat/dacha/mehmonxona) ============ */
  .rt-tabs { display: flex; gap: 8px; justify-content: flex-start; flex-wrap: wrap; margin-top: 20px; }
  .hero-grid.no-stack .rt-tabs { justify-content: center; }
  @media (max-width: 960px) { .rt-tabs { justify-content: center; } }
  .rt-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--radius-pill); background: #fff; font-size: 12.5px; font-weight: 700;
    color: var(--ink-soft); box-shadow: var(--shadow-sm); border: 1px solid transparent; white-space: nowrap;
    transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  }
  .rt-tab:hover { border-color: var(--line); transform: translateY(-1px); }
  .rt-tab.active { background: var(--ink); color: #fff; }
  @media (max-width: 640px) { .rt-tabs { gap: 6px; margin-top: 14px; } .rt-tab { padding: 7px 12px; font-size: 12px; } }

  .hero-ai-cta {
    display: flex; align-items: center; gap: 12px; margin: 24px 0 0; max-width: 520px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border: none;
    border-radius: var(--radius-lg); padding: 14px 20px; cursor: pointer; text-align: left;
    box-shadow: 0 8px 24px rgba(255,59,92,.28); transition: transform .18s var(--ease), box-shadow .18s var(--ease);
    animation: heroIn .7s var(--ease) both, heroAiPulse 2.6s ease-in-out .9s infinite;
  }
  .hero-ai-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255,59,92,.38); }
  .hero-ai-cta-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255,255,255,.2); border-radius: 50%; }
  .hero-ai-cta-title { display: block; font-size: 14.5px; font-weight: 800; }
  .hero-ai-cta-sub { display: block; font-size: 12px; font-weight: 500; opacity: .92; margin-top: 2px; }
  @keyframes heroAiPulse { 0%, 100% { box-shadow: 0 8px 24px rgba(255,59,92,.28); } 50% { box-shadow: 0 8px 28px rgba(255,59,92,.5); } }
  @media (max-width: 640px) {
    .hero-ai-cta { margin-top: 16px; padding: 12px 16px; }
    .hero-ai-cta-title { font-size: 13.5px; }
    .hero-ai-cta-sub { font-size: 11.5px; }
  }

  /* ============ STATS STRIP ============ */
  .stats-strip { margin-top: -60px; position: relative; z-index: 10; }
  .stats-strip .inner {
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); border: 1px solid var(--line);
    padding: 24px 32px; display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; max-width: 720px; margin: 0 auto;
    transition: box-shadow .3s var(--ease);
  }
  .stats-strip .inner:hover { box-shadow: var(--shadow-float), 0 0 0 4px rgba(255,59,92,.06); }
  .stat-item { text-align: center; }
  .stat-item .num {
    font-size: 27px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px;
  }
  @supports (-webkit-background-clip: text) or (background-clip: text) {
    .stat-item .num {
      background: linear-gradient(135deg, var(--ink), var(--ink-soft));
      -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
  }
  .stat-item .lbl { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
  @media (max-width: 640px) { .stats-strip .inner { padding: 16px 12px; gap: 8px; } .stat-item .num { font-size: 19px; } }

  /* ============ MAIN CONTENT ============ */
  main { padding: 64px 0 72px; }
  @media (max-width: 640px) { main { padding: 40px 0 48px; } }
  .section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
  .section-head-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; }
  .section-head .count { font-size: 13.5px; color: var(--muted); font-weight: 600; }
  .sort-select {
    display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 8px 14px; box-shadow: var(--shadow-sm); flex-shrink: 0;
  }
  .sort-select label { font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; }
  .sort-select select { border: none; outline: none; background: transparent; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
  @media (max-width: 640px) {
    .section-head { gap: 10px; }
    .section-head-title { width: 100%; justify-content: space-between; }
    .sort-select { width: 100%; justify-content: space-between; }
  }

  /* ============ LISTING CARDS ============ */
  .listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 34px 24px; }
  @media (max-width: 640px) { .listing-grid { grid-template-columns: 1fr; gap: 20px; } }
  .listing-card { cursor: pointer; transition: transform .35s var(--ease); }
  .listing-card:hover { transform: translateY(-7px); }
  html.js .listing-card.is-visible:hover { transform: translateY(-7px); }
  .lc-photo {
    position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius); margin-bottom: 12px;
    transition: box-shadow .35s var(--ease);
    /* Rasm yuklanayotganda "shimmer" effekti - rasm o'zi ustiga tushgach
       (opak bo'lgani uchun) bu fon ko'rinmay qoladi, shuning uchun qo'shimcha
       JS/holatga ehtiyoj yo'q. */
    background: linear-gradient(100deg, var(--bg-soft) 28%, #EEF0F4 50%, var(--bg-soft) 72%);
    background-size: 220% 100%; animation: lcShimmer 1.8s linear infinite;
  }
  .listing-card:hover .lc-photo { box-shadow: var(--shadow-float); }
  @keyframes lcShimmer { from { background-position: 220% 0; } to { background-position: -220% 0; } }
  .listing-card:hover .lc-photo img { transform: scale(1.06); }
  .lc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); position: relative; z-index: 1; }
  .lc-photo .lc-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 44px; background: linear-gradient(135deg,#FFEBEF,#FFF6F2); }
  .lc-badge {
    position: absolute; top: 10px; left: 10px; background: #fff; color: var(--ink);
    padding: 4px 11px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; box-shadow: var(--shadow-sm);
    display: inline-flex; align-items: center; gap: 4px;
  }
  .lc-badge-fire { background: var(--gold); color: #fff; }
  .lc-badge .ico, .badge .ico { width: 13px; height: 13px; }
  .lc-fav-btn {
    position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.92); border: none; display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft); cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s var(--ease);
  }
  .lc-fav-btn:hover { transform: scale(1.08); }
  .lc-fav-btn:active { transform: scale(0.9); }
  .lc-fav-btn .fav-icon-filled { display: none; color: var(--brand); }
  .lc-fav-btn.active .fav-icon-filled { display: flex; }
  .lc-fav-btn.active .fav-icon-outline { display: none; }
  .cat-verified { background: #E7F6EC; color: #1A7A3C; }
  .cat-subarenda { background: #EAF1FE; color: #1D4ED8; }
  .cat-premium { background: #FDF3E3; color: #B8860B; }
  .rt-kunlik { background: #FDF3E3; color: #B8860B; }
  .rt-uzoq { background: #EAF1FE; color: #1D4ED8; }
  .rt-dacha { background: #E7F6EC; color: #1A7A3C; }
  .rt-mehmon { background: #F3E8FE; color: #7E22CE; }
  .badge-quick { background: #FFF3CD; color: #92600B; }
  .lc-body { padding: 0 2px; }
  .lc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
  .lc-title { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
  .lc-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
  .lc-price { font-size: 15px; font-weight: 800; margin-top: 5px; letter-spacing: -0.2px; }
  .lc-price-approx { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
  @media (max-width: 640px) { .lc-title { font-size: 13px; } .lc-meta { font-size: 11.5px; } .lc-price { font-size: 13.5px; } .lc-price-approx { font-size: 11px; } }

  .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
  .pagination a, .pagination span {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 13.5px; font-weight: 700; transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
  }
  .pagination a { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .pagination a:hover { border-color: var(--ink); }
  .pagination .active { background: var(--ink); color: #fff; }

  /* ============ WHY SECTION ============ */
  .phone-check-section { margin-top: 8px; }
  .phone-check-box {
    max-width: 560px; margin: 0 auto; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px 30px; text-align: center; box-shadow: var(--shadow-sm);
  }
  .phone-check-box h3 { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; font-weight: 800; margin-bottom: 8px; }
  .phone-check-box p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-bottom: 18px; }
  .phone-check-form { display: flex; gap: 8px; }
  .phone-check-form input {
    flex: 1; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); font-size: 14px;
    transition: border-color .15s var(--ease);
  }
  .phone-check-form input:focus { outline: none; border-color: var(--brand); }
  .phone-check-form button {
    display: flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border: none;
    padding: 0 20px; border-radius: var(--radius-pill); font-weight: 700; font-size: 13.5px; cursor: pointer; flex-shrink: 0;
    transition: opacity .15s var(--ease);
  }
  .phone-check-form button:hover { opacity: .88; }
  @media (max-width: 480px) {
    .phone-check-form { flex-direction: column; }
    .phone-check-box { padding: 22px 18px; }
    /* Ustma-ust joylashuvda (column) flex "stretch" endi balandlikka emas,
       kengligiga ta'sir qiladi - shu sabab tugmaning o'zida vertikal
       padding YO'Q bo'lsa (yuqoridagi umumiy qoidada faqat chap-o'ng bor),
       u juda ingichka/cho'zilgan ko'rinardi. Shu yerda to'g'ridan-to'g'ri
       balandlik beriladi. */
    .phone-check-form button { padding: 13px 20px; justify-content: center; }
  }
  .pc-result { margin-top: 14px; font-size: 13.5px; font-weight: 700; padding: 10px 14px; border-radius: var(--radius-sm); display: none; }
  .pc-result:not(:empty) { display: block; }
  .pc-result.pc-blocked { background: var(--brand-light); color: var(--brand-dark); }
  .pc-result.pc-ok { background: #EAF7EE; color: #1A7A3C; }
  .pc-result.pc-error { background: var(--bg-soft); color: var(--muted); }

  .why-section { background: var(--bg-soft); padding: 80px 0; margin-top: 28px; }
  .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 36px; }
  .why-item {
    text-align: center; padding: 34px 22px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease-spring), box-shadow .35s var(--ease), border-color .35s var(--ease);
  }
  .why-item:hover { transform: translateY(-7px); box-shadow: var(--shadow-float); border-color: transparent; }
  /* MUHIM (CSS spetsifiklik): "html.js .why-item.is-visible" qoidasi
     (skroll-reveal) uchta klassga ega bo'lgani uchun oddiy ".why-item:hover"
     dan (ikkita klass) KUCHLIROQ - shu sabab hover'dagi transform shunchaki
     e'tiborga olinmay qolardi. Shuning uchun xuddi shu (yoki yuqoriroq)
     spetsifiklikdagi aniq qoida kerak. */
  html.js .why-item.is-visible:hover { transform: translateY(-7px); }
  .why-item .icon {
    width: 62px; height: 62px; border-radius: 18px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: flex;
    align-items: center; justify-content: center; margin: 0 auto 18px; color: #fff;
    box-shadow: 0 10px 20px rgba(255,59,92,.26);
    transition: transform .4s var(--ease-spring);
  }
  .why-item:hover .icon { transform: scale(1.1) rotate(-6deg); }
  .why-item .icon .ico { width: 26px; height: 26px; }
  .why-item h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 7px; letter-spacing: -0.2px; }
  .why-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

  /* ============ TUMANLAR BO'YICHA (SEO ichki havolalar) ============ */
  .districts-section { padding: 44px 0 60px; }
  .districts-grid { display: flex; flex-wrap: wrap; gap: 10px; }
  .district-chip {
    display: inline-flex; align-items: center; padding: 9px 18px; border-radius: var(--radius-pill);
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-size: 13.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap;
    transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
  }
  .district-chip:hover { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-float); }
  html.js .district-chip.is-visible:hover { transform: translateY(-2px); }

  /* ============ FOOTER ============ */
  footer.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 52px 0 26px; }
  .footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
  @media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-col-brand { grid-column: 1 / -1; } }
  @media (max-width: 460px) { .footer-inner { grid-template-columns: 1fr; gap: 26px; } }
  .footer-col { display: flex; flex-direction: column; gap: 11px; }
  .footer-col a { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: color .15s var(--ease), transform .15s var(--ease); }
  .footer-col a:hover { color: var(--brand); transform: translateX(2px); }
  .footer-col-title { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
  .footer-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; font-size: 17px; margin-bottom: 6px; }
  .footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
  .footer-tagline { font-size: 13.5px; color: var(--muted); max-width: 320px; line-height: 1.6; }
  .footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; font-size: 12.5px; text-align: center; color: var(--muted); }

  .empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
  .empty-state .icon { color: var(--muted); margin-bottom: 16px; display: flex; justify-content: center; }

  /* ============ BATAFSIL SAHIFA ============ */
  .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
  .breadcrumb a { transition: color .15s var(--ease); }
  .breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
  .detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
  @media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; gap: 24px; } }

  .gallery-wrap { position: relative; margin-bottom: 24px; }
  .gallery-scroll {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius-lg);
    aspect-ratio: 4/3; background: var(--bg-soft); scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .gallery-scroll::-webkit-scrollbar { display: none; }
  .gallery-scroll.gs-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--muted); }
  .gs-slide { flex: 0 0 100%; scroll-snap-align: start; width: 100%; height: 100%; }
  .gs-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
  .gs-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
  .gs-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.55); transition: all .2s var(--ease); }
  .gs-dot.active { background: #fff; width: 18px; border-radius: 3px; }
  .gs-counter { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,0.55); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); }
  .gs-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.9); border: none; cursor: pointer; display: none; align-items: center; justify-content: center;
    color: var(--ink); box-shadow: var(--shadow); transition: background .15s var(--ease), transform .15s var(--ease);
  }
  .gs-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
  .gs-arrow-left { left: 12px; }
  .gs-arrow-right { right: 12px; }
  .gs-expand {
    position: absolute; bottom: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,0.55); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff;
  }
  @media (min-width: 901px) { .gs-arrow { display: flex; } }

  .lightbox {
    display: none; position: fixed; inset: 0; background: rgba(10,10,10,0.96); z-index: 2000;
    align-items: center; justify-content: center;
  }
  .lightbox.open { display: flex; }
  .lb-track { display: flex; width: 100%; height: 100%; transition: transform .3s var(--ease); }
  .lb-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: 40px; }
  .lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
  .lb-close {
    position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: none; cursor: pointer; color: #fff; display: flex; align-items: center; justify-content: center;
    z-index: 2001; transition: background .15s var(--ease);
  }
  .lb-close:hover { background: rgba(255,255,255,0.22); }
  .lb-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: none; cursor: pointer; color: #fff; display: flex; align-items: center; justify-content: center;
    z-index: 2001; transition: background .15s var(--ease);
  }
  .lb-arrow:hover { background: rgba(255,255,255,0.22); }
  .lb-arrow-left { left: 16px; }
  .lb-arrow-right { right: 16px; }
  @media (max-width: 640px) { .lb-slide { padding: 12px; } .lb-arrow { width: 38px; height: 38px; } }

  .detail-title { font-size: 27px; font-weight: 800; letter-spacing: -0.7px; margin: 26px 0 8px; }
  .detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .detail-title-row .detail-title { flex: 1; }
  .detail-fav-btn {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-top: 26px;
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-pill);
    padding: 9px 16px; font-size: 13px; font-weight: 700; color: var(--ink-soft); cursor: pointer;
    transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
  }
  .detail-fav-btn:hover { border-color: var(--brand); color: var(--brand); }
  .detail-fav-btn.active { border-color: var(--brand); background: var(--brand-light); color: var(--brand); }
  .detail-fav-btn .fav-icon-filled, .detail-fav-btn .fav-label-filled { display: none; }
  .detail-fav-btn.active .fav-icon-filled { display: flex; color: var(--brand); }
  .detail-fav-btn.active .fav-icon-outline { display: none; }
  .detail-fav-btn.active .fav-label-filled { display: inline; }
  .detail-fav-btn.active .fav-label-outline { display: none; }
  @media (max-width: 480px) { .detail-fav-btn .fav-label-outline, .detail-fav-btn .fav-label-filled { display: none !important; } }
  .detail-addr { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
  .detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
  .badge { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 5px; }
  .badge.trust { background: #E7F6EC; color: #1A7A3C; }
  .badge.paid { background: var(--gold-light); color: var(--gold); }

  .detail-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
  .fact-box { background: var(--bg-soft); border-radius: var(--radius); padding: 17px; transition: background .2s var(--ease); }
  .fact-box:hover { background: #F0F2F6; }
  .fact-box .fl { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
  .fact-box .fv { font-size: 15px; font-weight: 700; }

  .desc-block { border-top: 1px solid var(--line); padding: 26px 0; margin: 8px 0; }
  .desc-block h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
  .desc-block p { font-size: 14.5px; color: var(--ink-soft); white-space: pre-line; }

  .price-history { border-top: 1px solid var(--line); padding: 22px 0; }
  .price-history h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
  .price-history-item { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; padding: 4px 0; }
  .price-history-item .ph-date { color: var(--muted); font-size: 12px; min-width: 66px; }
  .price-history-item .ph-old { text-decoration: line-through; color: var(--muted); }
  .price-history-item .ph-new { font-weight: 700; color: var(--ink); }

  .sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 90px; box-shadow: var(--shadow); }
  @media (max-width: 900px) { .sidebar-card { position: static; margin-top: 8px; } }
  @media (max-width: 400px) { .sidebar-card { padding: 18px; } .credit-card { padding: 16px; } }
  .sidebar-price { font-size: 31px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; }
  .sidebar-price-approx { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 2px; }
  .sidebar-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; background: var(--brand); color: #fff; padding: 16px;
    border-radius: var(--radius-pill); font-weight: 700; font-size: 15.5px; margin: 20px 0 10px;
    transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  }
  .sidebar-cta:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255,59,92,.28); }
  .sidebar-cta-secondary {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; text-align: center;
    background: #fff; color: var(--ink); border: 1.5px solid var(--line); padding: 14px;
    border-radius: var(--radius-pill); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: border-color .18s var(--ease), transform .18s var(--ease);
  }
  .sidebar-cta-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
  .sidebar-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }

  .phone-lock { display: none; margin: 16px 0 4px; }
  .phone-lock.open { display: block; animation: phoneLockIn .25s var(--ease); }
  @keyframes phoneLockIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
  .phone-lock-text { font-size: 13px; color: var(--ink-soft); text-align: center; margin-bottom: 14px; line-height: 1.5; }
  /* Diqqatni tortadigan "Limit kerak" ogohlantirish paneli - karta HALI
     ko'rsatilmaydi, foydalanuvchi "Limit sotib olish"ni bosgandan KEYIN
     (alohida sahifada) karta va chek yuklash oynasi ochiladi. */
  .paywall-alert {
    background: var(--brand-light); border: 1.5px solid var(--brand); border-radius: var(--radius-lg);
    padding: 20px 18px; text-align: center;
  }
  .paywall-alert .ico { color: var(--brand); margin-bottom: 8px; }
  .paywall-alert .phone-lock-text { color: var(--ink); font-weight: 600; margin-bottom: 16px; }
  .credit-card {
    background: linear-gradient(135deg, #1B2436 0%, #101826 60%, #2A2117 100%);
    border-radius: 16px; padding: 18px 20px; color: #fff; box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
  }
  .credit-card::after {
    content: ""; position: absolute; top: -40%; right: -20%; width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(214,150,11,0.28) 0%, transparent 70%);
  }
  .credit-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; position: relative; z-index: 1; }
  .credit-card-chip { width: 34px; height: 24px; border-radius: 5px; background: linear-gradient(135deg, #E8C766, #B8912E); display: block; }
  .credit-card-brand { font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; color: #C9CDD8; }
  .credit-card-number {
    font-family: 'Courier New', monospace; font-weight: 700;
    font-size: clamp(12.5px, 4vw, 18px); letter-spacing: clamp(0.3px, 0.5vw, 2.5px);
    margin-bottom: 20px; position: relative; z-index: 1;
    white-space: nowrap; overflow-wrap: normal; word-break: keep-all;
  }
  @media (max-width: 360px) { .credit-card { padding: 14px; } }
  .credit-card-bottom { display: flex; align-items: flex-end; justify-content: space-between; position: relative; z-index: 1; }
  .credit-card-label { font-size: 9px; font-weight: 700; letter-spacing: .8px; color: #8890A0; text-transform: uppercase; margin-bottom: 3px; }
  .credit-card-holder { font-size: 13px; font-weight: 700; letter-spacing: .4px; }
  .credit-card-amount { font-size: 15px; font-weight: 800; color: var(--gold); }
  .paywall-cta {
    display: block; text-align: center; margin-top: 14px; padding: 13px; border-radius: var(--radius-pill);
    background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; transition: background .18s var(--ease), transform .18s var(--ease);
  }
  .paywall-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
  .card-copy-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px;
    padding: 10px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
    font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .18s var(--ease);
  }
  .card-copy-btn:hover { border-color: var(--ink); }
  .sidebar-share { display: flex; gap: 8px; margin-top: 18px; }
  .sidebar-share button {
    flex: 1; padding: 11px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
    font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--ink); transition: border-color .18s var(--ease);
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  }
  .sidebar-share button:hover { border-color: var(--ink); }

  .inquiry-toggle {
    display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink);
    cursor: pointer; user-select: none; transition: color .15s var(--ease);
  }
  .inquiry-toggle:hover { color: var(--brand); }
  .inquiry-form { display: none; flex-direction: column; gap: 8px; margin-top: 12px; }
  .inquiry-form.open { display: flex; animation: phoneLockIn .2s var(--ease); }
  .inquiry-form input, .inquiry-form textarea {
    padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13.5px;
    font-family: inherit; resize: vertical; transition: border-color .15s var(--ease);
  }
  .inquiry-form input:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--brand); }
  .inquiry-submit {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--ink); color: #fff; border: none; padding: 11px; border-radius: 10px;
    font-weight: 700; font-size: 13.5px; cursor: pointer; transition: opacity .15s var(--ease);
  }
  .inquiry-submit:hover { opacity: 0.85; }
  .inquiry-submit:disabled { opacity: 0.5; cursor: default; }
  .inquiry-success {
    display: none; align-items: center; gap: 6px; color: #1A7A3C; font-size: 13.5px; font-weight: 700;
    justify-content: center; padding: 6px 0;
  }

  #detail-map { height: 270px; border-radius: var(--radius-lg); margin-top: 22px; }
  .related-strip { margin-top: 60px; }

  /* ============ SHAXSIY KABINET (/kabinet, /login) ============ */
  .kb-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
  .kb-card-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
  .kb-limit-active { display: flex; align-items: center; gap: 8px; color: #1A7A3C; font-weight: 700; font-size: 14.5px; background: #EAF7EE; border-radius: var(--radius); padding: 12px 14px; }
  .kb-table-wrap { overflow-x: auto; }
  .kb-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
  .kb-table th { text-align: left; color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .kb-table td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .kb-table td a { color: var(--brand); font-weight: 700; }
  .kb-status { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 700; }
  .kb-status.st-pending { background: var(--gold-light); color: var(--gold); }
  .kb-status.st-approved { background: #EAF7EE; color: #1A7A3C; }
  .kb-status.st-rejected { background: var(--brand-light); color: var(--brand-dark); }
  .kb-status.st-expired { background: var(--bg-soft); color: var(--muted); }
  .kb-empty { color: var(--muted); font-size: 13.5px; }
  .kb-actions { white-space: nowrap; display: flex; gap: 4px; }
  .kb-action-btn { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); width: 30px; height: 30px; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: border-color .15s var(--ease); }
  .kb-action-btn:hover { border-color: var(--ink); }
  .kb-action-btn.kb-danger { border-color: var(--brand-light); }
  .kb-edit-row td { white-space: normal; background: var(--bg-soft); }
  .kb-edit-form { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
  .kb-edit-form input, .kb-edit-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13.5px; font-family: inherit; }
  .kb-edit-actions { display: flex; gap: 8px; }
  .kb-edit-actions button[type="button"] { background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 14px; font-size: 13px; cursor: pointer; }
  .kb-notif-list { display: flex; flex-direction: column; gap: 10px; }
  .kb-notif { padding: 12px 14px; border-radius: var(--radius); background: var(--bg-soft); border-left: 3px solid var(--line); }
  .kb-notif.unread { border-left-color: var(--brand); background: var(--brand-light); }
  .kb-notif-title { font-weight: 800; font-size: 13.5px; margin-bottom: 3px; }
  .kb-notif-body { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
  .kb-notif-date { font-size: 11px; color: var(--muted); margin-top: 6px; }
  .kb-support-history { margin-top: 4px; }
  .kb-support-item { padding: 12px 0; border-top: 1px solid var(--line); }
  .kb-support-msg { font-size: 13.5px; margin-bottom: 6px; }
  .kb-support-meta { display: flex; align-items: center; gap: 8px; }
  .kb-support-date { font-size: 11.5px; color: var(--muted); }
  .kb-support-reply { margin-top: 8px; padding: 10px 12px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: 13px; line-height: 1.5; }
  .kb-pay-box { background: var(--bg-soft); border-radius: var(--radius); padding: 18px; text-align: center; margin-bottom: 18px; }
  .kb-pay-price { font-size: 22px; font-weight: 800; }
  .kb-pay-price span { font-size: 13px; font-weight: 600; color: var(--muted); }
  .kb-pay-card { margin-top: 10px; font-size: 15px; font-weight: 700; letter-spacing: .5px; display: flex; align-items: center; justify-content: center; gap: 6px; }
  .kb-pay-hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
  .kb-file-label { display: flex; align-items: center; gap: 8px; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink-soft); transition: border-color .15s var(--ease); }
  .kb-file-label:hover { border-color: var(--brand); }
  .kb-file-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .kb-limit-success { display: none; align-items: center; gap: 6px; color: #1A7A3C; font-size: 13.5px; font-weight: 700; justify-content: center; padding: 10px 0; }
  .kb-limit-error { display: none; color: var(--brand-dark); font-size: 13px; font-weight: 600; text-align: center; margin-top: 8px; }

  /* ============ E'LON JOYLASH FORMASI (/elon-joylash) ============ */
  .form-page-hero {
    background:
      radial-gradient(700px 380px at 15% -20%, rgba(255,59,92,.09), transparent 60%),
      #fff;
    padding: 44px 20px 64px; text-align: center;
  }
  .form-page-hero h1 { font-size: 31px; font-weight: 800; letter-spacing: -0.7px; margin-bottom: 8px; }
  .form-page-hero p { font-size: 15px; color: var(--ink-soft); max-width: 560px; margin: 0 auto; }
  @media (max-width: 640px) { .form-page-hero h1 { font-size: 22px; } .form-page-hero { padding: 28px 16px 44px; } }

  .form-shell { max-width: 720px; margin: -34px auto 0; position: relative; z-index: 5; }
  .form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; }
  @media (max-width: 640px) { .form-card { padding: 18px; border-radius: var(--radius); } }

  .fstep-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-light); padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }
  .form-section-title { font-size: 17px; font-weight: 800; margin: 26px 0 14px; display: flex; align-items: center; gap: 8px; }
  .form-section-title:first-child { margin-top: 0; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  @media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
  .form-group { margin-bottom: 14px; }
  .form-group label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
  .form-group .req { color: var(--brand); }
  .form-input, .form-textarea, .form-select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
    font-size: 14px; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  }
  .form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,59,92,.1); }
  .form-textarea { resize: vertical; min-height: 84px; }
  .form-hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
  .form-error-box { background: #FDEDEB; color: #C0362C; border: 1px solid #F6C6C0; border-radius: 10px; padding: 11px 14px; font-size: 13px; font-weight: 600; margin-bottom: 16px; display: none; }
  .form-error-box.show { display: block; }

  .type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
  .type-option { position: relative; border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease); }
  .type-option input { position: absolute; opacity: 0; }
  .type-option .to-title { font-weight: 800; font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
  .type-option .to-desc { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
  .type-option.active { border-color: var(--brand); background: var(--brand-light); }
  @media (max-width: 560px) { .type-toggle { grid-template-columns: 1fr; } }

  .pay-panel { display: none; margin-top: 14px; background: var(--bg-soft); border-radius: 14px; padding: 16px; }
  .pay-panel.show { display: block; }
  .card-box { background: #fff; border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
  .card-box .cb-num { font-family: 'Courier New', monospace; font-size: 16px; font-weight: 800; letter-spacing: 1px; }
  .card-box button { background: var(--ink); color: #fff; border: none; padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; flex-shrink: 0; }

  .photo-drop {
    border: 2px dashed var(--line); border-radius: 14px; padding: 26px 16px; text-align: center; cursor: pointer;
    transition: border-color .18s var(--ease), background .18s var(--ease); color: var(--muted);
  }
  .photo-drop:hover, .photo-drop.dragover { border-color: var(--brand); background: var(--brand-light); }
  .photo-drop .pd-title { font-weight: 700; color: var(--ink); font-size: 14px; margin-top: 8px; }
  .photo-drop .pd-sub { font-size: 12px; margin-top: 3px; }
  .photo-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 12px; }
  .photo-thumb { position: relative; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
  .photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .photo-thumb .pt-remove {
    position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,0.6);
    color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; line-height: 1;
  }

  #locationMap { height: 240px; border-radius: 14px; margin-top: 10px; display: none; }
  #locationMap.show { display: block; }
  .loc-toggle-row { display: flex; align-items: center; justify-content: space-between; background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
  .loc-toggle-row .lt-label { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
  .switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
  .switch input { opacity: 0; width: 0; height: 0; }
  .switch .slider { position: absolute; inset: 0; background: var(--line); border-radius: 24px; transition: .2s var(--ease); cursor: pointer; }
  .switch .slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
  .switch input:checked + .slider { background: var(--brand); }
  .switch input:checked + .slider::before { transform: translateX(18px); }

  .form-submit-btn {
    width: 100%; background: var(--brand); color: #fff; border: none; padding: 15px; border-radius: 14px;
    font-weight: 800; font-size: 15.5px; cursor: pointer; margin-top: 22px; display: flex; align-items: center;
    justify-content: center; gap: 8px; transition: background .18s var(--ease), opacity .18s var(--ease), transform .18s var(--ease);
  }
  .form-submit-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
  .form-submit-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

  .form-success-screen { text-align: center; padding: 50px 20px; }
  .form-success-screen .fs-icon { width: 74px; height: 74px; border-radius: 50%; background: #E7F6EC; color: #1A7A3C; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
  .form-success-screen h2 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
  .form-success-screen p { font-size: 14px; color: var(--muted); max-width: 400px; margin: 0 auto; }
