/* Dream Drive — mijozlar sayti. Uslub: toza, oq fon, katta fotosuratlar (kia.uz / leapmotor.uz yo'nalishida).
   Brend rangi logotip kelgach --accent orqali almashtiriladi. */
:root {
  --paper: #ffffff;
  --soft: #f2f4f6;
  --ink: #0b1720;
  --steel: #5b6570;
  --line: #e3e6ea;
  --accent: #0077b3;   /* logotipdagi ko'k (#008CCD), matn uchun biroz to'qroq */
  --signal: #ed3237;   /* logotipdagi qizil */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --r: 10px;
  --r-lg: 18px;
  --top: 68px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 64px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
select, input, textarea, button { font: inherit; color: inherit; }
.wrap { width: min(1320px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shapka */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; height: var(--top); gap: 32px; }
.logo { display: flex; color: var(--ink); }
.logo img { height: 46px; width: auto; }
.top__nav { display: flex; gap: 28px; flex: 1; }
.top__nav a, .top__tel { text-decoration: none; font-weight: 600; font-size: 15px; }
.top__nav a:hover, .top__tel:hover { color: var(--accent); }
.top__right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
/* Til tanlash va akkauntga kirish — menyu bandlari bilan bir xil uslubda */
.langs { display: flex; gap: 2px; }
.langs a { text-decoration: none; font-size: 13px; font-weight: 700; color: var(--steel); padding: 5px 8px; border-radius: 6px; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { color: var(--ink); background: var(--soft); }
.top__login { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 15px;
  padding-left: 18px; border-left: 1px solid var(--line); }
.top__login:hover { color: var(--accent); }
html[lang="zh-Hans"] .hero__model, html[lang="zh-Hans"] .h2 { letter-spacing: -.01em; }
@media (max-width: 760px) {
  :root { --top: 58px; }
  .top__in { gap: 14px; }
  .top__nav { display: none; }
  .top__tel { display: none; }
  .top__right { gap: 10px; }
  .langs a { padding: 5px 6px; }
  .top__login { padding-left: 10px; font-size: 14px; }
  .logo img { height: 38px; }
}

/* Tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px;
  border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #22303b; }
.btn--line { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--line:hover { background: var(--ink); color: #fff; }

/* Bosh ekran (slayder) */
.hero, .mhero { position: relative; height: min(82vh, 780px); min-height: 520px; background: var(--ink); color: #fff; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.hero__slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-on .hero__img { animation: zoom 9s ease-out both; }
@keyframes zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__slide::after, .mhero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 12, 18, .45) 0%, rgba(5, 12, 18, 0) 28%, rgba(5, 12, 18, 0) 45%, rgba(5, 12, 18, .78) 100%); }
.hero__body { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 2; }
.hero__brand { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.hero__model { margin: 0; font: 700 clamp(52px, 10vw, 128px)/.95 var(--font); letter-spacing: -.035em; }
.hero__price { margin: 14px 0 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.hero__avail { margin: 2px 0 0; opacity: .8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3; display: flex; gap: 8px; }
.dot { width: 56px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.dot span { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, .35); border-radius: 2px; overflow: hidden; position: relative; }
.dot.is-on span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: fill var(--dur, 6s) linear both; }
.hero.is-paused .dot.is-on span::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 640px) {
  .hero, .mhero { height: 78vh; min-height: 480px; }
  .hero__body { bottom: 70px; }
  .hero__cta .btn { flex: 1; padding: 0 16px; }
}

/* Model sahifasi bosh ekrani */
.mhero { height: min(78vh, 720px); }
.mhero--plain { height: auto; min-height: 0; padding: 120px 0 60px; }
.mhero--plain .hero__body { position: static; }
.mhero--plain::after { display: none; }
.mhero .hero__body { bottom: 64px; }
.crumb { display: inline-block; margin-bottom: 18px; text-decoration: none; font-weight: 600; font-size: 14px; opacity: .85; }
.crumb:hover { opacity: 1; }

/* Model sahifasi bo'limlar menyusi */
.subnav { position: sticky; top: var(--top); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; align-items: center; gap: 28px; height: 60px; }
.subnav__name { font-weight: 800; white-space: nowrap; }
.subnav__links { display: flex; gap: 24px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.subnav__links a { text-decoration: none; color: var(--steel); font-weight: 600; font-size: 15px; white-space: nowrap; padding: 18px 0; }
.subnav__links a:hover { color: var(--ink); }
@media (max-width: 760px) { .subnav__name, .subnav .btn { display: none; } .subnav__in { height: 50px; } }

/* Asosiy ko'rsatkichlar 01–04 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 48px;
  border-top: 1px solid var(--line); }
.stat { display: grid; gap: 2px; padding: 24px 24px 24px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__n { font-size: 13px; font-weight: 700; color: var(--accent); }
.stat__l { color: var(--steel); font-size: 15px; }
.stat__v { font: 700 clamp(30px, 3.4vw, 44px)/1.1 var(--font); letter-spacing: -.02em; }
.stat__v small { font-size: .45em; font-weight: 600; color: var(--steel); letter-spacing: 0; }
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 18px 12px 18px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
}

/* Bo'limlar */
.section { padding: 72px 0; }
.section + .section { padding-top: 24px; }
.h2 { font: 700 clamp(30px, 4vw, 48px)/1.08 var(--font); letter-spacing: -.03em; margin: 0 0 24px; }
.h3 { font-size: 15px; margin: 0 0 12px; color: var(--steel); font-weight: 700; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 12px; }
.section__head .h2 { margin: 0; }

/* Tablar */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: var(--soft); padding: 5px; border-radius: 999px; }
.tab { text-decoration: none; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--steel); }
.tab:hover { color: var(--ink); }
.tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 23, 32, .12); }
.subtabs { display: flex; gap: 22px; flex-wrap: wrap; margin: 10px 0 0; border-bottom: 1px solid var(--line); }
.subtab { text-decoration: none; padding: 12px 0; font-weight: 600; color: var(--steel); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subtab.is-on { color: var(--ink); border-color: var(--ink); }

/* Model kartochkalari */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
@media (max-width: 1040px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; gap: 18px; } }
.card { position: relative; background: var(--soft); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .3s; }
.card:hover { box-shadow: 0 18px 40px -22px rgba(11, 23, 32, .45); }
.card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e4e7eb; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__photo img { transform: scale(1.045); }
.nophoto { width: 100%; height: 100%; background: linear-gradient(160deg, #eceff2, #d9dde2); }
.badge { position: absolute; top: 16px; left: 16px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--signal); color: #fff; }
.card__body { padding: 22px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.card__brand { margin: 0; color: var(--steel); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card__model { margin: 2px 0 0; font: 700 30px/1.1 var(--font); letter-spacing: -.025em; }
.card__price { margin: 8px 0 0; font-weight: 600; font-size: 17px; }
.card__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; padding-top: 16px;
  border-top: 1px solid var(--line); }
.card__specs dt { color: var(--steel); font-size: 12px; line-height: 1.3; }
.card__specs dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.card__specs small { font-size: 12px; color: var(--steel); font-weight: 600; }
.card__foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.more { font-weight: 700; font-size: 15px; }
.more span { display: inline-block; transition: transform .25s; }
.card:hover .more span { transform: translateX(4px); }
.swatches { display: flex; }
.swatches i, .colors i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 2px solid var(--soft);
  box-shadow: 0 0 0 1px rgba(11, 23, 32, .15); display: inline-block; flex: none; }
.swatches i + i { margin-left: -5px; }
.empty { grid-column: 1 / -1; color: var(--steel); font-size: 18px; }

/* Umumiy ma'lumot */
.overview { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; gap: 32px; } }
.overview__text p { font-size: 18px; max-width: 64ch; margin: 0 0 14px; color: #2b3640; }
.overview__colors { background: var(--soft); border-radius: var(--r-lg); padding: 24px; align-self: start; }
.colors { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.colors li { display: flex; align-items: center; gap: 10px; }
.colors b { margin-left: auto; font-weight: 700; }
.msglinks { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; }
.msglinks a { color: var(--accent); text-decoration: none; }
.msglinks a:hover { text-decoration: underline; }

/* Galereya */
.gallery__main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: var(--r); overflow: hidden; cursor: pointer; background: none;
  aspect-ratio: 4 / 3; opacity: .7; transition: opacity .2s; }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--ink); opacity: 1; }

/* Xususiyatlar */
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--steel); }
.specs dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 700px) { .specs { grid-template-columns: 1fr; } }
.video { width: 100%; max-height: 80vh; border-radius: var(--r-lg); background: #000; }

/* Kalkulyator va ariza */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; } }
.calc, .lead { background: var(--soft); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; align-content: start; }
.calc .h2, .lead .h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.calc label, .lead label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--steel); }
.calc input[type=text], .calc select, .lead input, .lead textarea, .lead select { border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 14px; background: #fff; width: 100%; color: var(--ink); font-size: 16px; }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .lead__row { grid-template-columns: 1fr; } }
.calc input[type=range] { width: 100%; accent-color: var(--ink); }
.out { font-weight: 700; color: var(--ink); }
.calc__res { margin: 6px 0 0; color: var(--steel); font-weight: 600; }
.calc__res b { font: 700 34px/1.2 var(--font); display: block; color: var(--ink); letter-spacing: -.02em; }
.note { margin: 0; color: var(--steel); font-size: 14px; }
.lead__sub { margin: 0; color: var(--steel); }
.lead .btn { justify-self: start; }
.msg { padding: 12px 14px; border-radius: var(--r); font-weight: 700; margin: 0; }
.msg--ok { background: #e3f4e8; color: #17603a; }
.msg--err { background: #fbe4e4; color: #9c1c22; }
.hp { position: absolute; left: -9999px; }

/* Qora tasma: test-drayv / yakuniy chaqiriq */
.band { background: var(--ink); color: #fff; padding: 88px 0; }
.band__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.band__in--center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
.band__in--center .hero__cta { justify-content: center; }
@media (max-width: 900px) { .band { padding: 64px 0; } .band__in { grid-template-columns: 1fr; gap: 32px; } }
.band__sub { color: #b7c0c8; font-size: 18px; max-width: 46ch; margin: 0; }
.band__tel { margin: 22px 0 0; font: 700 clamp(24px, 3vw, 32px)/1.2 var(--font); }
.band__tel a { text-decoration: none; }
.lead--dark { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.lead--dark label { color: #b7c0c8; }
.lead--dark input, .lead--dark select { border-color: transparent; }

/* Salon */
.visit { border-top: 1px solid var(--line); }
.visit__sub { margin: -8px 0 28px; color: var(--steel); max-width: 60ch; font-size: 18px; }
.visit__info { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.visit__info div { padding-top: 18px; border-top: 2px solid var(--ink); }
.visit__info dt { color: var(--steel); font-size: 14px; }
.visit__info dd { margin: 4px 0 0; font-weight: 700; font-size: 20px; }
.visit__info a { text-decoration: none; }
.notfound { min-height: 50vh; }

/* Telefon uchun pastki tugmalar */
.stickybar { display: none; }
@media (max-width: 640px) {
  .stickybar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: sticky; bottom: 0; padding: 10px 16px;
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); z-index: 25; }
  .stickybar .btn { padding: 0 12px; min-height: 46px; }
  .section { padding: 52px 0; }
}

/* Pastki qism */
.foot { background: #050c12; color: #9aa4ad; padding: 64px 0 28px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
.foot__brand img { width: 150px; height: auto; }
.foot__brand p { max-width: 34ch; font-size: 14px; margin: 16px 0 0; }
.foot h2 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot a { text-decoration: none; color: #d7dde2; }
.foot a:hover { color: #fff; }
.foot__copy { margin: 48px 0 0; padding-top: 22px; border-top: 1px solid #1a252e; font-size: 13px; }
@media (max-width: 640px) {
  .section__head { display: grid; }
  .tabs, .subtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .tabs { justify-self: start; }
  .tab, .subtab { white-space: nowrap; flex: none; }
}

/* Narx: so'm + taxminiy dollar */
.usd { display: inline-block; margin-left: 10px; font-weight: 600; opacity: .7; white-space: nowrap; }
.card__price .usd { color: var(--steel); opacity: 1; font-size: 15px; }
.hero__price .usd { opacity: .8; }
.calc__usd { display: block; font-size: 16px; color: var(--steel); font-weight: 600; margin-top: 2px; }
.foot__rate { font-size: 13px !important; color: #6f7a84; }

/* Bosh ekran: o'z matni bilan slayd */
.hero picture { position: absolute; inset: 0; }
.hero__model--long { font-size: clamp(36px, 6vw, 84px); line-height: 1.02; max-width: 16ch; }
.hero__sub { margin: 12px 0 0; font-size: clamp(16px, 1.6vw, 20px); max-width: 52ch; opacity: .92; }
.hero__body { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero__body .btn { text-shadow: none; }

/* Salon: xarita va havolalar */
.visit__grid.has-map { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.visit__grid.has-map .visit__info { grid-template-columns: 1fr; gap: 18px; }
.visit__map { width: 100%; aspect-ratio: 4 / 3; min-height: 300px; border: 0; border-radius: 18px; background: var(--soft); }
.visit__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.visit__links .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 900px) { .visit__grid.has-map { grid-template-columns: 1fr; } }
.foot__social a { display: inline-flex; align-items: center; gap: 10px; }
.foot__social svg { width: 18px; height: 18px; flex: none; }
.colors__in { display: block; font-size: 13px; color: var(--muted, #6b7480); font-weight: 500; margin-top: 2px; }
.badge--new { background: var(--accent, #008ccd); }
.badge--stock { background: #1f9d55; }
.badge--order { background: #0b1720; }
.badge--sale { background: var(--signal); }
.badge--soon { background: #c47f00; }

/* ===== Yuqori qism (kia.uz uslubida) ===== */
.top__in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
.top__nav { flex: none; gap: 30px; }
.top__nav a { font-size: 16px; }
.logo { justify-self: center; position: relative; }
.logo__light { display: none; }
.top__right { justify-self: end; gap: 22px; margin: 0; }
.top__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.top__login { padding: 0; border: 0; display: inline-flex; }
.top__login svg, .top__tel svg { flex: none; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 16px; padding: 6px 2px; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 12px 36px rgba(0, 0, 0, .18); padding: 6px; display: grid; min-width: 92px; z-index: 40; }
.lang__menu a { text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: 15px; }
.lang__menu a:hover { background: var(--soft); }
.lang__menu a[aria-current] { color: var(--accent); }

/* Bosh sahifa: menyu rasm ustida, shaffof */
.is-home .top { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: #fff; transition: background .25s, color .25s, border-color .25s, box-shadow .25s; }
.is-home .top::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); pointer-events: none; z-index: -1; transition: opacity .25s; }
.is-home .top:not(.is-solid) a, .is-home .top:not(.is-solid) summary { color: #fff; }
.is-home .top:not(.is-solid) .logo__dark { display: none; }
.is-home .top:not(.is-solid) .logo__light { display: block; }
.is-home .top:not(.is-solid) .top__nav a:hover, .is-home .top:not(.is-solid) .top__tel:hover { color: #fff; opacity: .75; }
.is-home .top.is-solid { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); color: var(--ink); border-color: var(--line); box-shadow: 0 2px 16px rgba(0, 0, 0, .06); }
.is-home .top.is-solid::before { opacity: 0; }
.top { transition: background .25s; }

/* Bosh rasm — butun ekran */
.is-home .hero { height: 100vh; height: 100svh; min-height: 560px; max-height: none; }
.is-home .hero__slide::after { background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, 0) 70%),
  linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 40%); }
.is-home .hero__body { bottom: 108px; }
.is-home .hero__brand { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: 0; text-transform: none; opacity: 1; margin-bottom: 6px; }
.is-home .hero__model, .is-home .hero__model--long { font-size: clamp(34px, 3.4vw, 56px); line-height: 1.12; letter-spacing: -.015em; max-width: 20ch; font-weight: 800; }
.is-home .hero__sub { font-size: clamp(17px, 1.4vw, 22px); margin-top: 8px; }
.is-home .hero__price { font-size: clamp(17px, 1.4vw, 21px); }
.is-home .hero__cta { margin-top: 30px; }
.is-home .hero__cta .btn { border-radius: 0; min-height: 58px; padding: 0 40px; font-size: 17px; font-weight: 700; }
.is-home .hero__cta .btn--light { background: #fff; color: #111; }
.is-home .hero__cta .btn--light:hover { background: #e9ecef; }
.is-home .hero__cta .btn--ghost { border: 2px solid #fff; background: transparent; }
.hero__arrow { position: absolute; top: 50%; z-index: 4; width: 64px; height: 64px; margin-top: -32px; border-radius: 50%; border: 0;
  background: rgba(20, 24, 28, .38); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s; }
.hero__arrow:hover { background: rgba(20, 24, 28, .65); }
.hero__arrow--prev { left: max(24px, calc((100vw - 1760px) / 2)); }
.hero__arrow--next { right: max(24px, calc((100vw - 1760px) / 2)); }
.is-home .hero__dots { bottom: 40px; justify-content: center; gap: 4px; }
.is-home .dot { width: 28px; height: 28px; justify-content: center; }
.is-home .dot span { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; box-sizing: border-box; }
.is-home .dot.is-on span { background: #fff; }
.is-home .dot.is-on span::after { display: none; }

/* Qo'ng'iroq tugmasi (o'ng pastda) */
.fab { position: fixed; right: 28px; bottom: 28px; z-index: 50; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .2s; }
.fab:hover { transform: scale(1.06); }

@media (max-width: 1100px) { .top__tel span { display: none; } .top__nav { gap: 20px; } .top__nav a { font-size: 15px; } }
@media (max-width: 760px) {
  .top__in { grid-template-columns: auto 1fr; }
  .logo { justify-self: start; }
  .top__right { gap: 16px; }
  .top__tel { display: inline-flex; }
  .hero__arrow { display: none; }
  .is-home .hero { height: 88svh; min-height: 520px; }
  .is-home .hero__body { bottom: 84px; }
  .is-home .hero__cta .btn { min-height: 52px; padding: 0 28px; font-size: 16px; }
  .is-home .hero__dots { bottom: 26px; }
  .fab { right: 16px; bottom: 16px; width: 60px; height: 60px; }
  .fab svg { width: 24px; height: 24px; }
}
/* Til ro'yxati: shaffof menyuda ham to'q rangli yozuv */
.is-home .top .lang__menu a, .top .lang__menu a { color: var(--ink); opacity: 1; }
.is-home .top .lang__menu a[aria-current], .top .lang__menu a[aria-current] { color: var(--accent); background: var(--soft); }
.is-home .top .lang__menu a:hover { color: var(--ink); background: var(--soft); opacity: 1; }

/* ===== Qishki kayfiyat ===== */
.snow { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
/* yangi yil gulchambari — menyu ostida */
.garland { position: absolute; left: 0; right: 0; bottom: -9px; height: 16px; display: flex; justify-content: space-around; pointer-events: none; z-index: 2; }
.garland::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-bottom: 1.5px solid rgba(40, 60, 70, .55); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.garland i { position: relative; top: 4px; width: 7px; height: 11px; border-radius: 50% 50% 45% 45%; background: #ffd34d; box-shadow: 0 0 8px 2px rgba(255, 211, 77, .7);
  animation: glow 2.4s ease-in-out infinite; }
.garland i:nth-child(4n + 1) { background: #ed3237; box-shadow: 0 0 8px 2px rgba(237, 50, 55, .65); animation-delay: .6s; }
.garland i:nth-child(4n + 2) { background: #19a7f0; box-shadow: 0 0 8px 2px rgba(25, 167, 240, .7); animation-delay: 1.2s; }
.garland i:nth-child(4n + 3) { background: #3ccf7a; box-shadow: 0 0 8px 2px rgba(60, 207, 122, .65); animation-delay: 1.8s; }
.garland i::before { content: ""; position: absolute; left: 1px; right: 1px; top: -3px; height: 4px; border-radius: 2px; background: #59646e; }
@keyframes glow { 0%, 100% { opacity: 1; filter: brightness(1.15); } 50% { opacity: .35; filter: brightness(.8); box-shadow: none; } }
.is-home .top:not(.is-solid) .garland::before { border-color: rgba(255, 255, 255, .45); }
@media (max-width: 760px) { .garland i:nth-child(n + 15) { display: none; } }
/* bosh rasm pastida qor uyumi */
.hero__drift { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; z-index: 3; pointer-events: none; }
.is-winter.is-home .hero__dots { bottom: 64px; }
.is-winter.is-home .hero__body { bottom: 128px; }
.is-winter .hero__slide::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 60% at 50% -10%, rgba(200, 225, 245, .28), rgba(200, 225, 245, 0) 60%); }
/* pastki qism ustida qor */
.foot { position: relative; }
.foot__snow { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: 40px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.is-winter .foot { padding-top: 84px; }
/* qo'ng'iroq tugmasi — qor qalpoq */
.is-winter .fab::before { content: ""; position: absolute; top: -6px; left: 16px; right: 16px; height: 18px; border-radius: 50% 50% 35% 35% / 100% 100% 40% 40%;
  background: #fff; box-shadow: inset 0 -3px 4px rgba(150, 190, 220, .45); }
.is-winter .card:hover { box-shadow: 0 12px 34px rgba(25, 120, 180, .16); }
@media (prefers-reduced-motion: reduce) { .garland i { animation: none; } }
@media (max-width: 760px) { .hero__drift { height: 44px; } .is-winter.is-home .hero__body { bottom: 96px; } .is-winter.is-home .hero__dots { bottom: 40px; } }

/* maxfiylik siyosati */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 64px; line-height: 1.6; }
.legal h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 38px); }
.legal h2 { margin: 28px 0 8px; font-size: 20px; }
.legal__upd { margin: 0 0 18px; color: #6b7280; font-size: 14px; }
.legal ul { padding-left: 20px; }
.legal a { color: inherit; text-decoration: underline; }
.legal__en { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(0, 0, 0, .12); }
.foot__copy a { color: inherit; }
