/* =========================================================
   Yaxshi Niyat — sayt uslublari
   Brend: charcoal #2B0B08 · ember #D1380D · amber #FA871C · gold #FFC22E
   Shrift: Onest · Spacing: 8/16/24/32/48/64 · Radius: 16/32/48/full
   ========================================================= */

:root {
  --charcoal: #2B0B08;
  --ember: #D1380D;
  --amber: #FA871C;
  --gold: #FFC22E;

  /* Dark (asosiy) */
  --bg: #2B0B08;
  --fg: #FFFFFF;
  --fg-2: rgba(255, 255, 255, .70);
  --fg-3: rgba(255, 255, 255, .52);
  --s1: rgba(255, 255, 255, .04);
  --s2: rgba(255, 255, 255, .07);
  --s3: rgba(255, 255, 255, .12);
  --b1: rgba(255, 255, 255, .09);
  --b2: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .06);
  --raised: #3A120C;
  --map: #38120D;
  --glow-k: 1;
  --shadow-card: 0 30px 70px -24px rgba(10, 2, 0, .55);

  --grad: linear-gradient(90deg, var(--ember), var(--amber));
  --grad-photo: radial-gradient(60% 60% at 70% 85%, rgba(255, 194, 46, .45), transparent 70%),
                linear-gradient(160deg, #2B0B08 0%, #D1380D 55%, #FA871C 100%);

  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 16px;
  --r-md: 32px;
  --r-lg: 48px;
  --gutter: clamp(16px, 4.45vw, 64px);
  --container: 1440px;
  --header-h: 72px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #FFFFFF;
  --fg: #2B0B08;
  --fg-2: rgba(43, 11, 8, .70);
  --fg-3: rgba(43, 11, 8, .52);
  --s1: rgba(43, 11, 8, .04);
  --s2: rgba(43, 11, 8, .05);
  --s3: rgba(43, 11, 8, .10);
  --b1: rgba(43, 11, 8, .08);
  --b2: rgba(43, 11, 8, .12);
  --glass: rgba(255, 255, 255, .82);
  --raised: #FFFFFF;
  --map: #F6F0ED;
  --glow-k: .4;
  --shadow-card: 0 30px 70px -28px rgba(43, 11, 8, .28);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }

h1 { font-size: clamp(36px, 5.2vw, 72px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; }
h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.lead { font-size: clamp(16px, 1.4vw, 20px); color: var(--fg-2); max-width: 34em; line-height: 1.5; }
.cap { font-size: 14px; line-height: 1.45; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { position: relative; padding-block: clamp(48px, 6vw, 96px) 0; }
.section:last-of-type { padding-bottom: clamp(48px, 6vw, 96px); }
main { position: relative; overflow: hidden; }
main > .section > .container { position: relative; z-index: 1; }

/* ---------- Ambient light ---------- */
.glows { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
/* Yorug'lik: filtrsiz radial gradient — iOS Safari blur'ni kesib qo'ymasligi uchun */
.glow { position: absolute; border-radius: 50%; opacity: calc(var(--o, .3) * var(--glow-k));
  background: radial-gradient(closest-side, rgb(var(--c) / 1) 0%, rgb(var(--c) / .55) 35%, rgb(var(--c) / .18) 70%, rgb(var(--c) / 0) 100%); }
.glow--ember { --c: 209 56 13; }
.glow--amber { --c: 250 135 28; }
.glow--gold { --c: 255 194 46; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; background: none;
  font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--l { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -6px rgba(250, 135, 28, .45); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -6px rgba(250, 135, 28, .6); }
.btn--secondary { background: var(--s2); border-color: var(--b2); }
.btn--secondary:hover { background: var(--s3); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: var(--s2); border: 1px solid var(--b2);
}
.icon-btn:hover { background: var(--s3); }
.icon-btn svg { width: 20px; height: 20px; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link svg { width: 18px; height: 18px; transition: transform .2s; }
.link:hover svg { transform: translate(2px, -2px); }

.chips { display: flex; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--b2); background: var(--s1); color: var(--fg-2);
  font-weight: 500; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.chip:hover { background: var(--s2); color: var(--fg); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; }
/* sig'masa — chapdan o'ngga suriladi */
.chips--scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll .chip { scroll-snap-align: start; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--s2); border: 1px solid var(--b2); font-size: 14px; color: var(--fg-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }

.card { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-md); }
.photo { background: var(--grad-photo); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumbs { display: flex; gap: 8px; font-size: 14px; color: var(--fg-3); margin-bottom: 24px; }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs [aria-current] { color: var(--fg-2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--b1);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.logo .logo--light { display: none; }
:root[data-theme="light"] .logo .logo--dark { display: none; }
:root[data-theme="light"] .logo .logo--light { display: block; }
.nav__links { display: none; gap: 32px; font-weight: 500; color: var(--fg-2); }
.nav__links a { transition: color .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--fg); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__phone { display: none; align-items: center; gap: 8px; font-weight: 500; }
.nav__phone svg { width: 18px; height: 18px; }
.nav .btn--primary { display: none; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
@media (min-width: 1280px) {
  .nav__links, .nav__phone { display: flex; }
  .nav .btn--primary { display: inline-flex; }
  .nav .burger { display: none; }
}
@media (max-width: 480px) { .logo img { height: 28px; } .nav .phone-btn { display: inline-grid; } }
.nav .phone-btn { display: none; }
@media (max-width: 1279px) { .nav .phone-btn { display: inline-grid; } }

/* Mobil menyu */
.menu { position: fixed; inset: 0; z-index: 70; background: var(--bg); display: flex; flex-direction: column; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.menu[hidden] { display: none; }
.menu nav { display: grid; padding: 8px var(--gutter); }
.menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--b1); font-size: 22px; font-weight: 700; color: var(--fg-2); }
.menu nav a svg { width: 20px; height: 20px; }
.menu__bottom { margin-top: auto; padding: 24px var(--gutter); display: grid; gap: 16px; }
.menu__phone { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 18px; }
.menu__phone svg { width: 20px; height: 20px; }

/* ---------- Hero (bosh sahifa) ---------- */
.hero { padding-block: clamp(16px, 4vw, 48px) clamp(48px, 6vw, 96px); }
.hero__grid { display: grid; gap: 20px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero__ctas { display: none; flex-wrap: wrap; gap: 16px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trust__item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trust .trust__icon { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: var(--s2); border: 1px solid var(--b2); flex: none; }
.trust__icon svg { width: 20px; height: 20px; }
.trust b { display: block; font-size: 17px; line-height: 1.3; white-space: nowrap; }
.trust__item span:not(.trust__icon) { display: block; font-size: 12px; color: var(--fg-3); line-height: 1.35; }
.lead .d-only { display: none; }
@media (max-width: 1023px) {
  .trust { border-top: 1px solid var(--b2); padding-top: 12px; }
  .hero__grid { gap: 16px; }
  .hero__copy { gap: 10px; }
  .hero .calc { gap: 10px; }
}
@media (min-width: 1024px) {
  .lead .d-only { display: inline; }
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 520px; column-gap: 80px; row-gap: 0;
    grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: ". calc" "copy calc" "ctas calc" "trust calc" ". calc";
  }
  .hero__copy { grid-area: copy; gap: 24px; }
  .hero__ctas { grid-area: ctas; display: flex; margin-top: 40px; }
  .hero__grid > .calc { grid-area: calc; }
  .hero__grid > .trust { grid-area: trust; margin-top: 56px; gap: 28px; }
  .trust .trust__icon { display: grid; }
  .trust b { font-size: 20px; }
  .trust__item span:not(.trust__icon) { font-size: 13px; }
}

/* ---------- Calculator ---------- */
.calc {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--b2);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
@media (min-width: 768px) { .calc { padding: 32px; gap: 16px; } }
.calc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__head h3 { font-size: 20px; }
@media (min-width: 768px) { .calc__head h3 { font-size: 24px; } }
.calc__label { display: block; font-size: 14px; color: var(--fg-2); margin-bottom: 8px; }
.calc__type-label { display: none; }
@media (min-width: 768px) { .calc__type-label { display: block; } }
.calc .chips { margin-inline: 0; }
.field { min-width: 0; }
.input {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 18px; border-radius: var(--r-sm);
  background: var(--s2); border: 1px solid var(--b2);
  transition: border-color .15s;
}
@media (min-width: 768px) { .input { min-height: 60px; padding: 0 20px; } }
.input:focus-within { border-color: var(--amber); }
.input input, .input select {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  font-weight: 700; font-size: 18px; color: var(--fg);
  appearance: none; -webkit-appearance: none;
}
@media (min-width: 768px) { .input input, .input select { font-size: 20px; } }
.input select { cursor: pointer; }
.input select option { color: #2B0B08; background: #fff; }
.input__suffix { color: var(--fg-3); font-weight: 500; }
.input svg { width: 20px; height: 20px; flex: none; pointer-events: none; }
.range { width: 100%; margin: 14px 0 4px; accent-color: var(--amber); height: 22px; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-3); }
.calc__slider-wrap { display: none; }
@media (min-width: 768px) { .calc__slider-wrap { display: block; } }
.calc__result { border-top: 1px solid var(--b1); padding-top: 12px; display: grid; gap: 6px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc__monthly { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.calc__total { font-size: 16px; font-weight: 700; }
@media (min-width: 768px) { .calc__total { font-size: 20px; } .calc__result { padding-top: 20px; } }
.calc__note { font-size: 12px; color: var(--fg-3); display: none; }
@media (min-width: 768px) { .calc__note { display: block; font-size: 13px; } }
@media (max-width: 767px) { .calc__row--monthly { flex-direction: column; align-items: flex-start; gap: 4px; } }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 64px; margin-bottom: clamp(24px, 3vw, 48px); }
.section-head__text { display: grid; gap: 12px; max-width: 640px; }
.section-head > p { max-width: 30em; }

/* ---------- Carousel (mobilda suriladi) ---------- */
.track { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .track--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .track--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .track {
    display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 4px;
  }
  .track::-webkit-scrollbar { display: none; }
  .track > * { flex: 0 0 min(296px, 82%); scroll-snap-align: start; }
}
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.pager i { width: 6px; height: 6px; border-radius: 3px; background: var(--s3); transition: width .2s, background-color .2s; }
.pager i.is-on { width: 20px; background: var(--grad); }
@media (min-width: 900px) { .pager { display: none; } }

/* ---------- Product card ---------- */
.product { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.product .photo { aspect-ratio: 419 / 272; }
.product__body { display: flex; flex-direction: column; gap: 12px; padding: 28px; flex: 1; }
@media (max-width: 899px) { .product__body { padding: 20px; } }
.specs { border: 1px solid var(--b1); background: var(--s1); border-radius: var(--r-sm); overflow: hidden; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; }
.specs div + div { border-top: 1px solid var(--b1); }
.specs dt { color: var(--fg-3); }
.specs dd { margin: 0; font-weight: 500; text-align: right; }
.product__actions { display: flex; align-items: center; gap: 20px; margin-top: auto; padding-top: 16px; }

/* ---------- Steps ---------- */
.steps-box { display: grid; gap: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--b1); }
@media (min-width: 900px) { .steps-box { grid-template-columns: 1fr 480px; gap: 64px; padding: 64px; align-items: center; } }
.steps { display: grid; gap: 24px; margin: 28px 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--amber), transparent); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; position: relative; }
.steps__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 18px; }
.steps h3 { font-size: 20px; margin: 4px 0 6px; }
.steps-box .photo { border-radius: var(--r-md); aspect-ratio: 480 / 560; display: none; }
@media (min-width: 900px) { .steps-box .photo { display: block; } }

/* ---------- Docs ---------- */
.docs { display: grid; gap: 24px; padding: 24px; }
@media (min-width: 900px) { .docs { grid-template-columns: 420px 1fr; gap: 64px; padding: 56px; } }
.docs__intro { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.doc-list { display: grid; gap: 12px; align-content: start; }
.doc-item { display: flex; align-items: center; gap: 16px; padding: 14px 20px 14px 14px; border-radius: 18px; background: var(--s2); border: 1px solid var(--b1); font-weight: 500; }
.doc-item__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); flex: none; color: #fff; }
.doc-item__icon svg { width: 22px; height: 22px; }
a.doc-item { transition: background-color .15s; }
a.doc-item:hover { background: var(--s3); }
.doc-item__arrow { margin-left: auto; width: 20px; height: 20px; color: var(--fg-3); flex: none; }

/* ---------- Licenses ---------- */
.lic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) { .lic-grid { gap: 24px; } }
.lic { display: flex; flex-direction: column; gap: 12px; text-align: left; background: none; border: 0; padding: 0; color: inherit; }
@media (min-width: 900px) { .lic { flex-direction: row; align-items: center; gap: 32px; padding: 24px 32px 24px 24px; background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-md); } }
.lic .photo { border-radius: var(--r-sm); aspect-ratio: 1 / 1.08; width: 100%; background: var(--s2); }
@media (min-width: 900px) { .lic .photo { width: 240px; aspect-ratio: 1; flex: none; } }
.lic__text { display: grid; gap: 8px; }
.lic__title { font-size: 16px; font-weight: 500; }
@media (min-width: 900px) { .lic__text { gap: 12px; } .lic__title { font-size: 24px; font-weight: 700; letter-spacing: -.01em; } }
.lic-box { padding: 24px; }
@media (min-width: 900px) { .lic-box { padding: 0; background: none; border: 0; } }

/* ---------- Team ---------- */
.team { display: grid; gap: 16px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.person { display: flex; align-items: center; gap: 8px; padding: 16px 8px 16px 16px; min-width: 0; }
.person .photo { width: 120px; height: 120px; border-radius: var(--r-sm); flex: none; }
@media (min-width: 1024px) { .person .photo { width: 168px; height: 168px; } }
.person .photo img { object-fit: cover; object-position: center top; }
.person__text { padding: 8px 16px; min-width: 0; }
.person__text h3 { font-size: 17px; line-height: 1.3; }
@media (min-width: 1024px) { .person__text h3 { font-size: 18px; } }
.person__text p { font-size: 14px; color: var(--fg-2); margin-top: 6px; }
@media (max-width: 639px) {
  .team { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .team > .person:last-child { margin-right: var(--gutter); }
  .team::-webkit-scrollbar { display: none; }
  .team > .person { flex: 0 0 88%; scroll-snap-align: start; }
}
/* Biz haqimizda — katta kvadrat kartalar */
.team--tall .person { flex-direction: column; align-items: stretch; padding: 0; gap: 0; overflow: hidden; }
.team--tall .person .photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; }
.team--tall .person__text { padding: 20px 24px 24px; }
@media (max-width: 639px) { .team--tall > .person { flex-basis: 70%; } }

/* ---------- Blog ---------- */
.post { display: grid; overflow: hidden; }
@media (min-width: 900px) { .post { grid-template-columns: 560px 1fr; } }
.post .photo { aspect-ratio: 560 / 340; }
.post__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 24px; }
@media (min-width: 900px) { .post__body { padding: 48px 56px; } }
.post__body h3 { font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -.02em; line-height: 1.15; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .partners { gap: 24px; } }
.partner { display: grid; place-items: center; min-height: 88px; border-radius: 20px; font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); color: var(--fg-2); letter-spacing: -.01em; }
@media (min-width: 900px) { .partner { min-height: 104px; } }

/* ---------- Branches ---------- */
.city-chips { margin: 0 calc(var(--gutter) * -1) 20px; padding-inline: var(--gutter); }
@media (min-width: 1100px) { .city-chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.branches { display: grid; gap: 16px; }
@media (min-width: 900px) { .branches { grid-template-columns: 420px 1fr; gap: 24px; } }
.branch { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
@media (min-width: 900px) { .branch { padding: 32px; } }
.branch__info { display: grid; gap: 14px; color: var(--fg-2); }
.branch__info div { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.branch__info svg { width: 20px; height: 20px; margin-top: 2px; opacity: .75; }
.branch__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }
.map {
  position: relative; overflow: hidden; min-height: 240px; border-radius: var(--r-md);
  background-color: var(--map); border: 1px solid var(--b1);
  background-image: radial-gradient(var(--s3) 1.5px, transparent 1.6px); background-size: 26px 26px;
}
@media (min-width: 900px) { .map { min-height: 408px; } }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__label { fill: var(--fg-2); font: 500 12px var(--font); }
.map__label.is-on { fill: var(--fg); font-weight: 700; font-size: 14px; }
.map__pin { cursor: pointer; }
.map__pin:focus { outline: none; }
.map__pin:focus-visible circle:last-of-type { stroke: var(--gold); }
.map__legend { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 12px; background: var(--s2); border: 1px solid var(--b2); font-size: 13px; color: var(--fg-2); backdrop-filter: blur(8px); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq { grid-template-columns: 400px 1fr; gap: 80px; } }
.faq__intro { display: grid; gap: 16px; align-content: start; }
.faq__intro .btn { justify-self: start; }
.acc { display: grid; gap: 12px; }
.acc details { background: var(--s1); border: 1px solid var(--b1); border-radius: 24px; padding: 0 20px; transition: background-color .2s, border-color .2s; }
@media (min-width: 900px) { .acc details { padding: 0 24px; } }
.acc details[open] { background: var(--s2); border-color: var(--b2); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; cursor: pointer; font-weight: 700; font-size: 16px; }
@media (min-width: 900px) { .acc summary { min-height: 76px; font-size: 18px; } }
.acc summary::-webkit-details-marker { display: none; }
.acc__toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--s2); border: 1px solid var(--b2); transition: transform .25s, background-color .2s; }
.acc__toggle svg { width: 20px; height: 20px; }
.acc details[open] .acc__toggle { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(180deg); }
.acc details p { padding: 0 8px 22px 0; color: var(--fg-2); }
@media (min-width: 900px) { .acc details p { padding-right: 60px; } }
.acc--compact details:nth-child(n+6) { display: none; }
.acc--compact.is-all details { display: block; }

/* FAQ sahifasi */
.help-card { display: grid; gap: 16px; padding: 24px; align-content: start; }
@media (min-width: 900px) { .help-card { padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); } }
.help-card__list { display: grid; gap: 12px; color: var(--fg-2); }
.help-card__list a, .help-card__list span { display: flex; gap: 12px; align-items: center; }
.help-card__list svg { width: 20px; height: 20px; opacity: .75; }
.help-card__actions { display: grid; gap: 12px; margin-top: 8px; }

/* ---------- Tagline band (doim brend gradient) ---------- */
.band { display: grid; gap: 24px; align-items: center; padding: 28px 20px; border-radius: var(--r-lg); color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(120deg, #4D1208 0%, var(--ember) 55%, var(--amber) 100%); }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 440px; gap: 64px; padding: 64px; } }
.band h2 { font-size: clamp(32px, 4.2vw, 56px); }
.band p { color: rgba(255, 255, 255, .82); margin-top: 16px; max-width: 28em; }
.form { display: grid; gap: 16px; padding: 24px; border-radius: 28px; background: rgba(43, 11, 8, .72); backdrop-filter: blur(16px); }
@media (min-width: 900px) { .form { padding: 32px; } }
.form label { display: block; font-size: 13px; color: rgba(255, 255, 255, .72); margin-bottom: 8px; }
.form input { width: 100%; min-height: 56px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); color: #fff; font-weight: 700; font-size: 18px; outline: none; }
.form input::placeholder { color: rgba(255, 255, 255, .45); font-weight: 500; }
.form input:focus { border-color: var(--gold); }
.form__ok { display: grid; gap: 8px; text-align: center; padding: 16px 0; }
.form__ok p { color: rgba(255, 255, 255, .78); margin: 0; }
.form__error { font-size: 13px; color: var(--gold); }
.hp { display: none !important; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--b1); padding-block: 56px calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } .footer__grid > div:first-child { grid-column: auto; } }
.footer h4 { font-size: 14px; font-weight: 500; color: var(--fg-3); margin-bottom: 14px; letter-spacing: 0; }
.footer ul { display: grid; gap: 12px; color: var(--fg-2); font-weight: 500; }
.footer ul a:hover { color: var(--fg); }
.footer__about { margin-top: 16px; max-width: 26em; color: var(--fg-2); }
.social { display: flex; gap: 12px; margin-top: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--b1); font-size: 14px; color: var(--fg-3); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(15, 3, 2, .62); backdrop-filter: blur(10px); }
:root[data-theme="light"] .modal { background: rgba(43, 11, 8, .32); }
.modal[hidden] { display: none; }
.modal__dialog { position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow: auto; display: grid; gap: 20px; padding: 36px; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--b2); box-shadow: 0 32px 80px rgba(0, 0, 0, .4); animation: pop .22s ease; }
.modal__close { position: absolute; right: 20px; top: 20px; }
.modal__dialog h2 { font-size: clamp(28px, 3vw, 36px); padding-right: 56px; }
.modal__summary { min-height: 52px; justify-content: space-between; font-size: 14px; color: var(--fg-2); }
.modal__ok { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 8px 0; }
.modal__ok-icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.modal__ok-icon svg { width: 36px; height: 36px; }
@media (max-width: 600px) {
  .modal { place-items: end center; padding: 0; }
  .modal__dialog { border-radius: 28px 28px 0 0; padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px)); animation: up .25s ease; }
}
.lightbox .modal__dialog { width: min(760px, 100%); padding: 24px; }
.lightbox img { width: 100%; height: auto; border-radius: var(--r-sm); background: #fff; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* ---------- Product page ---------- */
.p-hero { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 96px); }
.p-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .p-hero__grid { grid-template-columns: 1fr 520px; gap: 80px; } }
.p-hero__copy { display: grid; gap: 20px; min-width: 0; }
.p-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--amber); letter-spacing: .02em; }
.p-hero .photo { border-radius: var(--r-md); aspect-ratio: 520 / 600; }
@media (max-width: 1023px) { .p-hero .photo { aspect-ratio: 16 / 10; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.facts div { border-top: 1px solid var(--b2); padding-top: 12px; }
.facts span { display: block; font-size: 13px; color: var(--fg-3); }
.facts b { display: block; font-size: clamp(15px, 1.3vw, 18px); margin-top: 4px; line-height: 1.3; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts div { display: flex; justify-content: space-between; gap: 12px; } .facts b { margin: 0; text-align: right; } }

.calc-wide { display: grid; gap: 24px; padding: 24px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--b2); box-shadow: var(--shadow-card); }
@media (min-width: 900px) { .calc-wide { grid-template-columns: 1fr 400px; gap: 48px; padding: 48px; } }
.calc-wide__inputs { display: grid; gap: 24px; min-width: 0; }
.calc-wide__result { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-md); background: var(--s2); border: 1px solid var(--b1); }
.calc-wide__result .calc__monthly { font-size: clamp(32px, 3.2vw, 44px); }
.calc-wide__result .btn { margin-top: auto; }
.calc-wide .range { display: block; }

.terms { overflow: hidden; }
.terms__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--b1); background: var(--s1); }
@media (min-width: 900px) { .terms__head { padding: 24px 32px; } }
.terms__row { display: grid; gap: 4px; padding: 18px 24px; }
.terms__row + .terms__row { border-top: 1px solid var(--b1); }
@media (min-width: 900px) { .terms__row { grid-template-columns: 360px 1fr; gap: 32px; padding: 22px 32px; } }
.terms__row dt { color: var(--fg-3); }
.terms__row dd { margin: 0; font-weight: 500; }
.terms__row dd small { display: block; font-weight: 400; color: var(--fg-3); font-size: 14px; margin-top: 4px; }

/* ---------- About page ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.stat { padding: 24px; }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.02em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; color: var(--fg-2); font-size: 15px; }
.features { display: grid; gap: 12px; margin-bottom: 24px; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.feature { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--fg-2); margin-top: 6px; font-size: 15px; }
.more-docs { display: grid; gap: 24px; padding: 24px; margin-top: 24px; }
@media (min-width: 900px) { .more-docs { grid-template-columns: 360px 1fr; gap: 48px; padding: 48px; } }
.more-docs .doc-list { grid-template-columns: 1fr; }
@media (min-width: 1100px) { .more-docs .doc-list { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ page hero ---------- */
.page-hero { padding-block: clamp(24px, 4vw, 56px) clamp(32px, 4vw, 64px); }
.page-hero h1 { margin-bottom: 16px; }

/* ---------- Mobile: hero calc birinchi ekranda ---------- */
@media (max-width: 1023px) {
  .hero h1 { font-size: clamp(32px, 8.6vw, 44px); line-height: 1.1; }
  .hero .lead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Mobil tuzatishlar ---------- */
.calc-wide { grid-template-columns: minmax(0, 1fr); }
.calc-wide > *, .calc-wide__inputs > * { min-width: 0; }
@media (min-width: 900px) { .calc-wide { grid-template-columns: minmax(0, 1fr) 400px; } }
@media (max-width: 1023px) { .p-hero .photo { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) {
  .p-hero__ctas .btn--l { min-height: 52px; padding: 0 20px; font-size: 16px; }
  .stat { padding: 20px; }
  .stat b { font-size: 26px; white-space: nowrap; }
}

/* ---------- Blog ---------- */
.post__body h2 { font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -.02em; line-height: 1.15; }
.post__body h2 a, .post__body h3 a { transition: color .15s; }
.post__body h2 a:hover, .post__body h3 a:hover { color: var(--amber); }
.post > .photo { display: block; }
.article { max-width: 880px; margin-inline: auto; display: grid; gap: 16px; justify-items: start; }
.article > * { width: 100%; }
.article > .link, .article > .breadcrumbs, .article > time { width: auto; }
.article h1 { font-size: clamp(32px, 4.4vw, 56px); }
.article__photo { border-radius: var(--r-md); aspect-ratio: 1120 / 751; }
.article__body { display: grid; gap: 20px; margin-top: 16px; font-size: 18px; line-height: 1.7; color: var(--fg-2); }
.article__lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; font-weight: 500; color: var(--fg); }
.article__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; margin-top: 24px; }
@media (min-width: 900px) { .article__cta { padding: 32px; } }

/* ---------- O‘zbekiston xaritasi ---------- */
:root { --land: rgba(250, 135, 28, .10); --land-stroke: rgba(250, 135, 28, .55); }
:root[data-theme="light"] { --land: rgba(209, 56, 13, .07); --land-stroke: rgba(209, 56, 13, .40); }
.map { aspect-ratio: 720 / 485; min-height: 0; }
@media (min-width: 900px) { .map { min-height: 0; } }
.map svg { padding: 4% 3% 12%; }
.map__country { fill: var(--land); stroke: var(--land-stroke); stroke-width: 1.2; stroke-linejoin: round; filter: drop-shadow(0 10px 30px rgba(250, 135, 28, .18)); }
@media (max-width: 899px) { .map { aspect-ratio: 720 / 500; } .map svg { padding: 3% 7% 3% 2%; } .map__legend { display: none; } .map__label { display: none; } .map__label.is-on { display: inline; font-size: 26px; } }
a.lic { transition: background-color .15s, border-color .15s; }
a.lic:hover .lic__title { color: var(--amber); }
a.lic:hover .link svg { transform: translate(2px, -2px); }
@media (min-width: 900px) { a.lic:hover { background: var(--s2); border-color: var(--b2); } }

/* ===== Mobil tuzatishlar (v3) ===== */
.calc__fields { display: grid; gap: 16px; }
.track { align-items: stretch; }
.specs dd { white-space: nowrap; }
@media (min-width: 640px) { .team-pager { display: none; } }

@media (max-width: 1023px) {
  /* Birinchi ekran: sarlavha + kalkulyator + ishonch qatori bitta ekranda */
  .hero { padding-block: 12px 40px; }
  .hero .badge { display: none; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .hero .lead { font-size: 15px; line-height: 1.45; }
  .hero__copy { gap: 8px; }
  .hero__grid { gap: 14px; }
  .hero .calc { padding: 16px; gap: 10px; border-radius: 28px; }
  .hero .calc__head h3 { font-size: 18px; }
  .hero .chip { min-height: 40px; padding: 0 16px; font-size: 15px; }
  .hero .calc__fields { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 10px; }
  .hero .calc__label { font-size: 13px; margin-bottom: 6px; }
  .hero .input { min-height: 48px; padding: 0 14px; gap: 8px; border-radius: 14px; }
  .hero .input input, .hero .input select { font-size: 17px; }
  .hero .input__suffix { font-size: 14px; }
  .hero .calc__result { padding-top: 10px; gap: 4px; }
  .hero .calc__row--monthly { flex-direction: row; align-items: baseline; }
  .hero .calc__monthly { font-size: 24px; }
  .hero .calc__total { font-size: 15px; }
  .hero .calc .btn--l { min-height: 48px; font-size: 16px; }
  .hero .trust { padding-top: 10px; }
  .hero .trust b { font-size: 16px; }
}

@media (max-width: 899px) {
  .product__body { gap: 10px; }
  .specs div { font-size: 13px; padding: 11px 14px; }
}

/* Mutaxassislar — mobilda Figma'dagidek vertikal kartalar karuseli */
@media (max-width: 639px) {
  .d-only-btn { display: none; }
  .team > .person { flex: 0 0 62%; flex-direction: column; align-items: stretch; padding: 0; gap: 0; overflow: hidden; }
  .team > .person .photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; }
  .team > .person .person__text { padding: 16px 18px 20px; }
  .team > .person .person__text h3 { font-size: 16px; }
  .team > .person .person__text p { font-size: 13px; margin-top: 4px; }
}

/* ===== Mobil kalkulyator — kattaroq (v4) ===== */
@media (max-width: 1023px) {
  .hero { padding-top: 16px; }
  .hero__grid { gap: 18px; }
  .hero .calc { padding: 20px; gap: 14px; }
  .hero .calc__head h3 { font-size: 20px; }
  .hero .chip { min-height: 46px; padding: 0 18px; font-size: 16px; }
  .hero .calc__label { margin-bottom: 8px; }
  .hero .input { min-height: 56px; padding: 0 16px; }
  .hero .input input, .hero .input select { font-size: 18px; }
  .hero .calc__result { padding-top: 14px; gap: 6px; }
  .hero .calc__monthly { font-size: 28px; }
  .hero .calc__total { font-size: 16px; }
  .hero .calc .btn--l { min-height: 56px; font-size: 17px; }
}
/* kartalar karuselining oxirida ham chekka bo'lsin */
@media (max-width: 899px) { .track > :last-child { margin-right: var(--gutter); } }
/* v5: mobilda Summa va Muddat ustma-ust — kalkulyator birinchi ekranni to'ldiradi, ishonch qatori pastga tushadi */
@media (max-width: 1023px) {
  .hero .calc__fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

@media (min-width: 1280px) and (max-width: 1559px) { .nav__links { gap: 24px; } .nav { gap: 16px; } }
.nav__links a, .nav__phone { white-space: nowrap; }
@media (min-width: 1280px) and (max-width: 1439px) { .nav .nav__phone { display: none; } .nav .phone-btn { display: inline-grid; } }

/* ---------- Muddat: brend uslubidagi ochiladigan ro'yxat ---------- */
.select { position: relative; }
.select__btn { width: 100%; justify-content: space-between; cursor: pointer; text-align: left; color: var(--fg); }
.select__value { font-weight: 700; font-size: 20px; }
.select__btn svg { transition: transform .2s ease; color: var(--fg-2); }
.select__btn[aria-expanded="true"] { border-color: var(--amber); }
.select__btn[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--amber); }
.select__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
  margin: 0; padding: 6px; list-style: none; max-height: 272px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--raised); border: 1px solid var(--b2); border-radius: var(--r-sm);
  box-shadow: 0 24px 60px -16px rgba(10, 2, 0, .55); animation: pop .16s ease;
  scrollbar-width: thin; scrollbar-color: var(--s3) transparent;
}
:root[data-theme="light"] .select__list { box-shadow: 0 24px 60px -16px rgba(43, 11, 8, .25); }
.select__list [role="option"] {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  font-weight: 500; font-size: 16px; color: var(--fg-2); font-variant-numeric: tabular-nums;
}
.select__list [role="option"] svg { width: 18px; height: 18px; opacity: 0; color: var(--amber); }
.select__list [role="option"]:hover, .select__list [role="option"].is-active { background: var(--s2); color: var(--fg); }
.select__list [role="option"][aria-selected="true"] { color: var(--amber); font-weight: 700; }
.select__list [role="option"][aria-selected="true"] svg { opacity: 1; }
.hero .calc { position: relative; z-index: 2; }
@media (max-width: 1023px) { .hero .select__value { font-size: 18px; } }

/* ===== v6: mobil kalkulyator — ~4% pastroq, toza kompozitsiya ===== */
.input input { padding: 0; }
@media (max-width: 1023px) {
  .hero .calc { padding: 18px; gap: 12px; }
  .hero .calc__head { align-items: center; }
  .hero .calc__head h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
  .hero .calc__head .cap { font-size: 13px; }
  /* garov turlari — 3 ta teng tugma, qirqilmaydi */
  .hero .calc .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .hero .calc .chip { min-height: 44px; padding: 0 6px; font-size: 15px; }
  .hero .calc__fields { gap: 12px; }
  .hero .calc__label { font-size: 13px; margin-bottom: 6px; color: var(--fg-2); }
  .hero .input { min-height: 54px; padding: 0 16px; }
  .hero .input input, .hero .select__value { font-size: 18px; letter-spacing: -.01em; }
  .hero .calc__result { padding-top: 12px; gap: 4px; }
  .hero .calc__row { align-items: baseline; }
  .hero .calc__row > .muted { font-size: 14px; }
  .hero .calc__monthly { font-size: 28px; letter-spacing: -.02em; }
  .hero .calc__total { font-size: 16px; }
  .hero .calc .btn--l { min-height: 52px; font-size: 17px; margin-top: 2px; }
}
@media (max-width: 1023px) { .hero .input { min-height: 56px; } .hero .calc .btn--l { min-height: 54px; } }

/* ===== Ariza bloki (band) — qayta dizayn =====
   Bitta yuza: ichma-ich quti yo'q. Radiuslar: blok 32/48, maydonlar 16, tugma — pill.
   Oq maydonlar + charcoal tugma — to'q-sariq fonda eng yuqori kontrast. */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 24px; align-items: center;
  padding: 28px 24px; border-radius: var(--r-md); color: #fff;
  background: linear-gradient(135deg, #5A1609 0%, var(--ember) 52%, var(--amber) 100%);
}
.band::before { /* yumshoq yorug'lik — filtrsiz */
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 194 46 / .45), rgb(255 194 46 / 0));
}
@media (min-width: 900px) { .band { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; padding: 56px 64px; border-radius: var(--r-lg); } }
.band__text { display: grid; gap: 12px; max-width: 34em; }
.band__text h2 { font-size: clamp(28px, 4vw, 52px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.band__text p { margin: 0; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.5; color: rgba(255, 255, 255, .86); max-width: 30em; }
.band__form { margin: 0; }
.band__fields { display: grid; gap: 14px; }
.band__field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.band__field input {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid transparent; background: #fff; color: var(--charcoal);
  font: 600 17px/1 var(--font); outline: none; -webkit-appearance: none; appearance: none;
  box-shadow: 0 1px 0 rgba(43, 11, 8, .06), 0 8px 20px -12px rgba(43, 11, 8, .45);
  transition: border-color .15s, box-shadow .15s;
}
.band__field input::placeholder { color: rgba(43, 11, 8, .42); font-weight: 500; }
.band__field input:focus { border-color: var(--charcoal); box-shadow: 0 0 0 3px rgba(43, 11, 8, .22); }
.btn--dark { background: var(--charcoal); color: #fff; box-shadow: 0 12px 28px -10px rgba(20, 3, 0, .6); }
.btn--dark:hover { transform: translateY(-1px); background: #3d120b; }
.band .btn--dark { margin-top: 4px; }
.band__alt { margin: 2px 0 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .82); }
.band__alt a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); white-space: nowrap; }
.band .form__error { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: #fff; background: rgba(43, 11, 8, .38); }
.band__ok { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 28px 20px; border-radius: var(--r-sm); background: rgba(43, 11, 8, .28); }
.band__ok-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ember); }
.band__ok-icon svg { width: 26px; height: 26px; }
.band__ok h3 { font-size: 20px; }
.band__ok p { margin: 0; color: rgba(255, 255, 255, .86); font-size: 15px; }
@media (max-width: 899px) { .band__text { gap: 10px; } }

/* ===== Biz haqimizda — rahbariyat: kartalar kichikroq, bo'lim bitta ekranga sig'adi ===== */
@media (min-width: 1024px) {
  #rahbariyat > .container { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 48px; align-items: start; }
  #rahbariyat .section-head { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
  #rahbariyat .section-head__text { gap: 16px; }
  #rahbariyat .team--tall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  #rahbariyat .team-pager { display: none; }
  .team--tall .person .photo { aspect-ratio: 1 / .88; }
  .team--tall .person .photo img { object-position: center 12%; }
  .team--tall .person__text { padding: 14px 18px 16px; }
  .team--tall .person__text h3 { font-size: 16px; }
  .team--tall .person__text p { font-size: 13px; margin-top: 4px; }
}

/* ===== Oq rejim: har bir bo'limda yumshoq to'q-sariq yorug'lik ===== */
:root[data-theme="light"] main > section::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: min(820px, 120vw); height: min(820px, 120vw);
  background: radial-gradient(closest-side, rgb(250 135 28 / .26), rgb(250 135 28 / .10) 55%, rgb(250 135 28 / 0));
}
:root[data-theme="light"] main > section:nth-of-type(odd)::before { right: -320px; top: 8%; }
:root[data-theme="light"] main > section:nth-of-type(even)::before { left: -360px; top: 28%;
  background: radial-gradient(closest-side, rgb(209 56 13 / .16), rgb(250 135 28 / .08) 55%, rgb(250 135 28 / 0)); }
:root[data-theme="light"] main > section:nth-of-type(3n)::before { right: auto; left: 30%; top: 40%; width: min(620px, 100vw); height: min(620px, 100vw);
  background: radial-gradient(closest-side, rgb(255 194 46 / .20), rgb(255 194 46 / 0)); }
:root[data-theme="light"] .footer { position: relative; overflow: hidden; }
:root[data-theme="light"] .footer::before { content: ""; position: absolute; z-index: 0; pointer-events: none; width: 900px; height: 600px; right: -300px; bottom: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(250 135 28 / .22), rgb(250 135 28 / 0)); }
.footer > .container { position: relative; z-index: 1; }
main > section > .container { position: relative; z-index: 1; }

/* ===== Biz haqimizda — rahbariyat: tepada matn, pastda 6 ta portret karta ===== */
#rahbariyat > .container { display: block; }
#rahbariyat .section-head { position: static; margin: 0 0 32px; }
#rahbariyat .section-head__text { gap: 12px; }
#rahbariyat .team--tall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 640px) { #rahbariyat .team--tall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { #rahbariyat .team--tall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
#rahbariyat .team--tall .person {
  position: relative; display: block; aspect-ratio: 3 / 4; padding: 0; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--b1); background: none;
}
#rahbariyat .team--tall .person .photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
#rahbariyat .team--tall .person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; transition: transform .4s ease; }
#rahbariyat .team--tall .person:hover .photo img { transform: scale(1.04); }
#rahbariyat .team--tall .person__text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 14px 14px;
  background: linear-gradient(to top, rgb(43 11 8 / .94) 0%, rgb(43 11 8 / .78) 42%, rgb(43 11 8 / 0) 100%);
  color: #fff;
}
#rahbariyat .team--tall .person__text h3 { font-size: 15px; line-height: 1.25; color: #fff; }
#rahbariyat .team--tall .person__text p { margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: rgb(255 255 255 / .78); }
#rahbariyat .team-pager { display: none; }
@media (max-width: 639px) {
  #rahbariyat .team--tall { display: flex; overflow-x: auto; gap: 12px; }
  #rahbariyat .team--tall > .person { flex: 0 0 58%; }
  #rahbariyat .team-pager { display: flex; }
}
main > section.is-raised { z-index: 5; }

/* ===== Filial kartasi: bo'sh joy o'rniga shahar tanlash ===== */
.branch { gap: 16px; }
.branch__actions { margin-top: 0; padding-top: 4px; }
.branch__cities { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--b1); }
.branch__cities-label { font-size: 13px; font-weight: 500; color: var(--fg-3); }
.branch .city-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; overflow: visible; }
.branch .city-chips .chip { min-height: 34px; padding: 0 12px; font-size: 14px; }
@media (max-width: 899px) {
  .branch .city-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
  .branch .city-chips::-webkit-scrollbar { display: none; }
  .branch .city-chips .chip { min-height: 40px; flex: none; }
}
/* Savol-javob: yordam kartasi kontent balandligida, cho'zilmaydi */
.faq > .help-card, .faq > .faq__intro { align-self: start; }
@media (max-width: 899px) { .branch__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .branch__actions .btn { padding: 0 12px; } }

/* Дополнения к стилям прототипа: переключатель языка, списки, таблицы, филиалы */
.lang-switch { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--b2); font-weight: 700; font-size: 14px; color: var(--fg-2); }
.lang-switch:hover { color: var(--fg); border-color: var(--fg-3); }
.nav__links { gap: 24px; font-size: 15px; }
.menu nav .menu__lang { color: var(--fg-2); }

.h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
@media (min-width: 768px) { .calc__head .h3 { font-size: 24px; } }
.acc summary h3, .acc summary .acc__q { font: inherit; margin: 0; padding: 0; letter-spacing: inherit; }
.breadcrumbs { flex-wrap: wrap; }
.section--tight { padding-top: 0; }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split h2 { margin-bottom: 20px; }
.split p + p { margin-top: 12px; }

.ticks { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--amber); margin-top: 1px; }
.nums { display: grid; gap: 12px; padding-left: 22px; margin: 0; line-height: 1.5; }

.prose { line-height: 1.65; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 32px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.prose a:not(.btn) { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

.note { padding: 32px; }
@media (min-width: 900px) { .note { padding: 48px; } }
.note h2 { margin-bottom: 16px; }
.note p { color: var(--fg-2); line-height: 1.6; }
.note a.link { display: inline; }

.terms dl { margin: 0; }
.terms__row dd small { display: block; color: var(--fg-3); font-size: 13px; margin-top: 4px; }

.kv { display: grid; gap: 14px; margin: 0; }
.kv > div { display: grid; gap: 4px; }
@media (min-width: 700px) { .kv > div { grid-template-columns: 220px 1fr; } }
.kv dt { color: var(--fg-3); }
.kv dd { margin: 0; }

.branch-list { display: grid; gap: 16px; }
@media (min-width: 640px) { .branch-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .branch-list { grid-template-columns: repeat(3, 1fr); } }
.bcard { display: grid; gap: 10px; padding: 24px; align-content: start; transition: border-color .15s; }
.bcard:hover { border-color: var(--b2); }
.bcard h3 { font-size: 20px; }
.bcard h3 small { font-weight: 500; color: var(--fg-3); font-size: 15px; }
.bcard p { font-size: 15px; line-height: 1.5; }
.bcard--soon { opacity: .75; }

.branch--page { margin-top: 24px; padding: 24px; }
.branch--page .branch__info small { display: block; color: var(--fg-3); margin-top: 4px; }
#branch-title a:hover { color: var(--amber); }

.features a.feature { transition: border-color .15s; }
.features a.feature:hover { border-color: var(--b2); }
.features a.feature .link { margin-top: 8px; }

.contact-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.contact > svg { flex: none; width: 24px; height: 24px; color: var(--amber); }
.contact b { display: block; font-size: 18px; }
.contact small { display: block; color: var(--fg-3); margin-top: 4px; line-height: 1.45; }

.footer__branches { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--b1); font-size: 14px; color: var(--fg-3); }
.footer__branches a:hover { color: var(--fg); }
.footer__branches b { color: var(--fg-2); width: 100%; font-weight: 600; }
.footer__legal { font-size: 13px; color: var(--fg-3); margin-top: 8px; }
.footer .h4 { font-size: 14px; font-weight: 500; color: var(--fg-3); margin-bottom: 14px; letter-spacing: 0; }
@media (max-width: 520px) { .nav__right .lang-switch { display: none; } }
.post-list { display: grid; gap: 24px; }

.form__consent { font-size: 12px; line-height: 1.45; color: var(--fg-3, var(--fg-2)); opacity: .85; margin: 0; }
.form__consent a { text-decoration: underline; color: inherit; }
.band .form__consent { color: inherit; }
.footer__bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Градиент от внешнего края: иначе под прозрачной рамкой повторяется хвост градиента (полоска слева) */
.btn, .chip, .acc__toggle, .icon-btn { background-origin: border-box; }

/* Пустая ячейка команды (место под будущего сотрудника) */
.person--empty .photo { display: grid; place-items: center; background: var(--s2, rgba(255,255,255,.04)); border: 1px dashed var(--b2, rgba(255,255,255,.14)); color: var(--fg-2); }
.person--empty .photo svg { width: 44px; height: 44px; opacity: .35; }
.team--tall .person--empty .photo { aspect-ratio: 1; }

/* ===================== Мобильная версия: удобство листания и нажатия ===================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* clip вместо hidden: не создаёт отдельную прокрутку и не ломает sticky-шапку */
@supports (overflow: clip) { body, main { overflow-x: clip; } }
a, button, summary, .chip { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:target, [id] { scroll-margin-top: 84px; }

@media (max-width: 1023px) {
  /* Калькулятор на страницах продуктов: 3 вида залога в одну строку, без обрезки */
  .calc-wide { padding: 18px; gap: 18px; }
  .calc-wide .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .calc-wide .chip { min-height: 44px; padding: 0 6px; font-size: 15px; justify-content: center; text-align: center; }
  .calc-wide__result { padding: 18px; gap: 12px; }
  .calc-wide__result .calc__monthly { font-size: 30px; white-space: nowrap; }
  .calc-wide__result .calc__total { white-space: nowrap; }
}

@media (max-width: 639px) {
  /* Пустые ячейки команды в карусели на телефоне не показываем */
  .team > .person--empty { display: none; }
  .team > .person { flex-basis: 72%; }

  /* «Kimlar uchun qulay» — 2 колонки компактных карточек вместо 4 высоких */
  .features:has(> a.feature) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .features:has(> a.feature) .feature { flex-direction: column; gap: 10px; padding: 16px; }
  .features:has(> a.feature) .feature h3 { font-size: 16px; line-height: 1.25; }
  .features:has(> a.feature) .feature__icon { width: 40px; height: 40px; border-radius: 12px; }

  /* Кнопки в первом экране — во всю ширину, удобно нажимать большим пальцем */
  .p-hero__ctas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .p-hero__ctas .btn { width: 100%; }

  /* Текстовые ссылки «Batafsil», «Barcha maqolalar» — зона нажатия не меньше 44px */
  a.link { min-height: 44px; }

  /* Подвал: контакты во всю ширину, телефон не переносится, ссылки выше */
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__grid ul a { display: inline-block; padding: 7px 0; }
  .footer__grid .num a, a[href^="tel:"] { white-space: nowrap; }
  .footer__branches a, .footer__branches span { display: inline-block; padding: 6px 0; }

  /* Аккордеон вопросов: крупнее зона нажатия */
  .acc summary { min-height: 56px; }
}
@media (max-width: 639px) { .features:has(> a.feature) .feature h3 { overflow-wrap: anywhere; hyphens: auto; } }
@media (max-width: 380px) { .calc-wide .chip, .hero .calc .chip { font-size: 14px; padding: 0 4px; } }
/* Пустая ячейка в компактной сетке «Rahbariyat» (6 портретов в ряд) */
#rahbariyat .team--tall .person--empty { border-style: dashed; }
#rahbariyat .team--tall .person--empty .photo { border: 0; }
#rahbariyat .team--tall .person--empty .person__text { display: none; }

/* Крупные цифры (2019, 17, 3, «1 soat»): обычные пропорциональные цифры — у табличных «1» выглядит с пробелами */
.stat b, .trust b { font-variant-numeric: proportional-nums; letter-spacing: -.03em; }

/* Активные состояния с градиентом: shorthand background сбрасывает origin — задаём явно с той же специфичностью */
.btn--primary, .chip[aria-pressed="true"], .chip[aria-selected="true"], .acc details[open] .acc__toggle { background-origin: border-box; background-repeat: no-repeat; }

/* ===== Команда: вариант 2 «Мягкий фирменный свет» — тёмная карточка, за головой приглушённое оранжевое свечение ===== */
:root { --team-base: #361410; --team-glow: rgb(209 56 13 / .55); --team-glow-2: rgb(209 56 13 / .12); }
:root[data-theme="light"] { --team-base: #F4E8E2; --team-glow: rgb(250 135 28 / .42); --team-glow-2: rgb(250 135 28 / .10); }
.team .person:not(.person--empty) .photo {
  background: radial-gradient(70% 58% at 50% 36%, var(--team-glow), var(--team-glow-2) 60%, transparent 82%), var(--team-base);
}
/* «О компании»: подпись поверх фото — тёмная подложка в тон карточке */
#rahbariyat .team--tall .person:not(.person--empty) { background: var(--team-base); }
:root[data-theme="light"] #rahbariyat .team--tall .person__text { background: linear-gradient(to top, rgb(43 11 8 / .9) 0%, rgb(43 11 8 / .6) 45%, rgb(43 11 8 / 0) 100%); }

/* ===== «Narx va shartlar» — стоимость и пример расчёта ===== */
.price-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .price-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .price-grid--1 .price { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; } .price-grid--1 .price h3 { grid-column: 1 / -1; } }
.price { padding: 22px; display: grid; gap: 16px; align-content: start; }
.price h3 { font-size: 20px; }
.price dl { margin: 0; display: grid; gap: 0; }
.price dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--b1); font-size: 15px; }
.price dl > div:last-child { border-bottom: 0; }
.price dt { color: var(--fg-2); } .price dd { margin: 0; font-weight: 600; text-align: right; }
.price__dl dd { max-width: 60%; }
.price__ex { padding: 16px; border-radius: var(--r-sm, 14px); background: var(--s2); border: 1px solid var(--b1); }
.price__ex > b { display: block; font-size: 15px; }
.price__ex > p { margin: 4px 0 6px; font-size: 14px; color: var(--fg-2); }
.price__foot { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--fg-2); display: grid; gap: 4px; }
@media (max-width: 639px) { .price { padding: 18px; } .price dl > div { font-size: 14px; } .price__dl dd { max-width: none; white-space: nowrap; } }

/* ===== Меню языков: UZ (lotin) · ÓZ (yangi alifbo) · RU ===== */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; cursor: pointer; user-select: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu[open] > summary { color: var(--fg); border-color: var(--fg-3, var(--b2)); }
.lang-menu__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; min-width: 270px; display: grid; padding: 6px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--b2); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .55); }
.lang-menu__item { display: flex; align-items: center; gap: 12px; white-space: nowrap; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--fg-2); }
.lang-menu__item b { min-width: 28px; font-size: 13px; color: var(--fg); }
.lang-menu__item:hover { background: var(--s2); color: var(--fg); }
.lang-menu__item[aria-current] { color: var(--fg); background: var(--s2); }
.menu__lang b { display: none; }
@media (max-width: 520px) { .nav__right .lang-menu { display: none; } }

/* ================= Блог: список и статья ================= */
.topic { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; padding: 5px 10px; border-radius: 99px; background: var(--s2); border: 1px solid var(--b1); color: var(--fg); white-space: nowrap; width: max-content; }
.topic::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tc, var(--amber)); }
.topic--avto { --tc: #3987e5; } .topic--uy { --tc: #1baf7a; } .topic--tilla { --tc: var(--gold); } .topic--guide { --tc: var(--amber); }
.bl-meta { font-size: 13.5px; color: var(--fg-3); }
.bl { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.bl-chips { margin: 0; }
[data-topic][hidden] { display: none !important; }

/* Карточка */
.bl-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.bl-card { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-md); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.bl-card:hover { transform: translateY(-3px); border-color: var(--b2); box-shadow: var(--shadow-card); }
.bl-card__img { display: block; aspect-ratio: 16 / 10; }
.bl-card__img img { transition: transform .5s; }
.bl-card:hover .bl-card__img img { transform: scale(1.04); }
.bl-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.bl-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.bl-card h3 a:hover { color: var(--amber); }
.bl-card p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.bl-card .bl-meta { margin-top: auto; padding-top: 4px; }

/* 1. Журнал: главная статья */
.bl-feature { display: grid; background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 960px) { .bl-feature { grid-template-columns: 1.15fr 1fr; } }
.bl-feature__img { display: block; aspect-ratio: 16 / 10; min-width: 0; }
@media (min-width: 960px) { .bl-feature__img { aspect-ratio: auto; min-height: 440px; } }
.bl-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(24px, 3.4vw, 56px); }
.bl-feature__top { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bl-new { font-size: 12.5px; font-weight: 600; color: var(--amber); }
.bl-feature h2 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.bl-feature h2 a:hover { color: var(--amber); }
.bl-feature .lead { margin: 0; }
.bl-feature .btn { width: max-content; margin-top: 4px; }

/* 2. Полоса условий */
.bl-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--b1); border-radius: var(--r-md); background: linear-gradient(120deg, rgba(209, 56, 13, .18), rgba(250, 135, 28, .06) 60%, transparent); overflow: hidden; }
.bl-facts > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.bl-facts > div + div { border-left: 1px solid var(--b1); }
.bl-facts b { font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.02em; }
.bl-facts span { font-size: 13.5px; color: var(--fg-2); }
.bl-grid--even { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }

/* 3. Мозаика */
.bl-bento { display: grid; gap: 20px; }
@media (min-width: 960px) { .bl-bento { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; min-height: 560px; } .bl-tile--xl { grid-row: span 2; } }
.bl-tile { position: relative; display: block; min-height: 260px; border-radius: var(--r-md); overflow: hidden; isolation: isolate; border: 1px solid var(--b1); }
.bl-tile__img, .bl-tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.bl-tile:hover .bl-tile__img img { transform: scale(1.05); }
.bl-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 5, 3, .05) 20%, rgba(20, 5, 3, .88) 100%); }
.bl-tile__body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 32px); color: #fff; }
.bl-tile__body b { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.01em; }
.bl-tile--xl .bl-tile__body b { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; }
.bl-tile__ex { color: rgba(255, 255, 255, .8); max-width: 36em; }
.bl-tile .bl-meta { color: rgba(255, 255, 255, .7); }
.bl-tile .topic { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(8px); }

/* 3–4. Лента */
.bl-rows { display: grid; gap: 4px; }
.bl-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; padding: 16px; border-radius: var(--r-sm); transition: background .2s; }
.bl-row:hover { background: var(--s1); }
.bl-row__img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; }
.bl-row__body { display: flex; flex-direction: column; gap: 8px; }
.bl-row h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; }
.bl-row h3 a:hover { color: var(--amber); }
.bl-row p { margin: 0; color: var(--fg-2); font-size: 15px; }
.bl-split { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .bl-split { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 40px; } .bl-split__side { position: sticky; top: calc(var(--header-h) + 20px); } }
.bl-split__main { display: grid; gap: 16px; align-content: start; }
.bl-split__side { display: grid; gap: 16px; }
.bl-side-card { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-md); padding: 22px; display: grid; gap: 12px; }
.bl-side-title { font-size: 17px; }
.bl-side-card dl { margin: 0; display: grid; gap: 0; }
.bl-side-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--b1); font-size: 14.5px; }
.bl-side-card dt { color: var(--fg-2); } .bl-side-card dd { margin: 0; font-weight: 600; text-align: right; }
.bl-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bl-topics button { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 8px 6px; border-radius: 10px; cursor: pointer; color: var(--fg-2); }
.bl-topics button:hover { background: var(--s2); }
.bl-side-call { background: var(--grad); border: 0; color: #fff; }
.bl-side-call p { margin: 0; color: rgba(255, 255, 255, .85); }
.bl-side-call a { font-size: 22px; font-weight: 700; }

/* ---------- Статья ---------- */
.art-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 32px) 0 clamp(28px, 3vw, 44px); }
.art-hero__copy { max-width: 900px; display: grid; gap: 18px; margin-top: 20px; }
.art-hero h1 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.025em; }
.art-hero .lead { max-width: 46em; margin: 0; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; font-size: 14px; color: var(--fg-3); }
.art-wrap { padding-top: 0; }
.art-cover { margin: 0 0 clamp(28px, 3.4vw, 48px); border-radius: var(--r-md); aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .art-cover { aspect-ratio: 16 / 10; } }
.art-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .art-grid { grid-template-columns: minmax(0, 760px) 320px; justify-content: space-between; gap: 64px; } }
.art-main { display: grid; gap: 32px; min-width: 0; }
.art-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1100px) { .art-side { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 1099px) { .art-side { order: -1; } .art-side .art-offer { display: none; } }
.art-key { padding: 26px 28px; border-radius: var(--r-md); background: linear-gradient(135deg, rgba(209, 56, 13, .2), rgba(250, 135, 28, .07)); border: 1px solid rgba(250, 135, 28, .28); }
.art-key h2 { margin-bottom: 14px; }
.art-key ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.art-key li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.5; }
.art-key li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--amber); }
.art-body { font-size: 17.5px; line-height: 1.75; color: var(--fg-2); }
.art-body h2 { color: var(--fg); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.015em; margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.art-body p { margin: 0 0 16px; }
.art-body b, .art-body strong { color: var(--fg); }
.art-body ul { padding-left: 0; list-style: none; gap: 10px; }
.art-body ul > li { position: relative; padding-left: 22px; }
.art-body ul > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.art-steps { counter-reset: s; list-style: none; padding: 0 !important; gap: 12px !important; }
.art-steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 62px; border-radius: var(--r-sm); background: var(--s1); border: 1px solid var(--b1); line-height: 1.5; }
.art-steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; }
.callout { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: var(--r-sm); margin: 22px 0; background: var(--s1); border: 1px solid var(--b1); }
.callout p { margin: 0 !important; font-size: 16px; color: var(--fg); }
.callout__i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: var(--s3); color: var(--fg); }
.callout__i svg { width: 18px; height: 18px; }
.callout--tip { background: rgba(27, 175, 122, .09); border-color: rgba(27, 175, 122, .28); }
.callout--tip .callout__i { background: #1baf7a; color: #fff; }
.art-table { margin: 22px 0; }
.art-table__scroll { overflow-x: auto; border: 1px solid var(--b1); border-radius: var(--r-sm); }
.art-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 480px; }
.art-table th, .art-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--b1); font-variant-numeric: tabular-nums; }
.art-table thead th { background: var(--s2); color: var(--fg); font-size: 13.5px; font-weight: 600; }
.art-table tbody th { color: var(--fg); font-weight: 600; }
.art-table td { color: var(--fg-2); }
.art-table tbody tr:last-child > * { border-bottom: 0; }
.art-table td:last-child { color: var(--fg); }
.art-table figcaption, .cmp figcaption { font-size: 13.5px; color: var(--fg-3); margin-top: 8px; line-height: 1.5; }
.calc-ex { margin: 26px 0; border-radius: var(--r-md); border: 1px solid var(--b2); background: var(--raised); box-shadow: var(--shadow-card); overflow: hidden; }
.calc-ex__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 16px 22px; background: var(--grad); color: #fff; }
.calc-ex__head span { opacity: .9; font-size: 14.5px; }
.calc-ex__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; margin: 0; }
.calc-ex__grid > div { padding: 20px 22px; display: grid; gap: 4px; }
.calc-ex__grid > div + div { border-left: 1px solid var(--b1); }
.calc-ex dt { font-size: 13.5px; color: var(--fg-2); }
.calc-ex dd { margin: 0; font-size: 21px; font-weight: 700; color: var(--fg); letter-spacing: -.01em; }
.calc-ex__main dd { font-size: 28px; }
.calc-ex dd small { font-size: 14px; font-weight: 500; color: var(--fg-3); }
.calc-ex__note { margin: 0 !important; padding: 12px 22px 16px; font-size: 14px !important; color: var(--fg-3); border-top: 1px solid var(--b1); line-height: 1.5; }
.calc-ex__note a { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.calc-ex__note a svg { width: 14px; height: 14px; }
.cmp { margin: 24px 0; }
.cmp figcaption { margin: 0 0 12px; color: var(--fg-2); font-size: 14.5px; }
.cmp__rows { display: grid; gap: 10px; }
.cmp__row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 150px 130px; gap: 14px; align-items: center; font-size: 15px; }
.cmp__n { color: var(--fg); font-weight: 600; }
.cmp__bar { height: 12px; border-radius: 99px; background: var(--s2); overflow: hidden; }
.cmp__bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.cmp__v { color: var(--fg-2); text-align: right; white-space: nowrap; }
.cmp__v b { color: var(--fg); }
.cmp__o { color: var(--fg-3); font-size: 13.5px; white-space: nowrap; }
.art-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 24px; border-top: 1px solid var(--b1); }
.btn--s { min-height: 38px; padding: 0 14px; font-size: 14px; }
.toc { padding: 22px 24px; border-radius: var(--r-md); background: var(--s1); border: 1px solid var(--b1); }
.toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin-bottom: 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 2px; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 24px 1fr; gap: 6px; padding: 7px 8px; border-radius: 10px; font-size: 15px; line-height: 1.35; color: var(--fg-2); }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--fg-3); font-size: 12.5px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.toc a:hover { background: var(--s2); color: var(--fg); }
.art-offer { padding: 24px; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--b2); box-shadow: var(--shadow-card); display: grid; gap: 14px; }
.art-offer dl { margin: 0; display: grid; }
.art-offer dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--b1); font-size: 14.5px; }
.art-offer dt { color: var(--fg-2); } .art-offer dd { margin: 0; font-weight: 600; text-align: right; }

@media (max-width: 960px) {
  .bl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-facts > div + div { border-left: 0; }
  .bl-facts > div { border-top: 1px solid var(--b1); }
  .bl-facts > div:first-child { grid-column: 1 / -1; border-top: 0; }
  .bl-facts > div:nth-child(odd):not(:first-child) { border-left: 1px solid var(--b1); }
}
@media (max-width: 700px) {
  .bl-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 12px 0; }
  .bl-row p { display: none; }
  .bl-row h3 { font-size: 17px; }
  .calc-ex__grid { grid-template-columns: 1fr 1fr; }
  .calc-ex__main { grid-column: 1 / -1; border-bottom: 1px solid var(--b1); }
  .calc-ex__grid > div:nth-child(2) { border-left: 0; }
  .cmp__row { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .cmp__o { grid-column: 2 / -1; margin-top: -6px; }
  .art-body { font-size: 16.5px; }
}
.calc-ex__head span { white-space: normal; }
.bl, .bl-split__main { min-width: 0; }
.art-main { grid-template-columns: minmax(0, 1fr); }
.art-body, .art-key, .calc-ex, .cmp { min-width: 0; }
.bl-row { align-items: start; }

/* ================= Страница «Филиалы» ================= */
.br-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 32px) 0 clamp(28px, 3vw, 48px); }
.br-hero__grid { display: grid; gap: 32px; margin-top: 20px; align-items: end; }
@media (min-width: 1100px) { .br-hero__grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; } }
.br-hero__copy { display: grid; gap: 18px; }
.br-hero h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.025em; }
.br-hero .lead { margin: 0; }
.br-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.br-hero__ctas .btn svg { width: 20px; height: 20px; }
.br-near-msg { margin: 0; padding: 12px 16px; border-radius: var(--r-sm); background: var(--s2); border: 1px solid var(--b1); font-size: 15px; color: var(--fg); max-width: 560px; }
.br-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-radius: var(--r-md); border: 1px solid var(--b1); background: var(--glass); backdrop-filter: blur(14px); overflow: hidden; }
.br-stats > div { padding: 20px 22px; display: flex; flex-direction: column-reverse; gap: 4px; }
.br-stats > div:nth-child(even) { border-left: 1px solid var(--b1); }
.br-stats > div:nth-child(n+3) { border-top: 1px solid var(--b1); }
.br-stats dt { font-size: 13.5px; color: var(--fg-2); }
.br-stats dd { margin: 0; font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.br-stats > div:nth-child(3) dd { font-size: clamp(17px, 1.5vw, 21px); }

.br { display: grid; gap: 20px; }
.br-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.br-search { position: relative; flex: 1 1 320px; max-width: 420px; }
.br-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: .6; pointer-events: none; }
.br-search input { width: 100%; min-height: 50px; padding: 0 18px 0 44px; border-radius: 99px; border: 1px solid var(--b2); background: var(--s1); color: var(--fg); font-size: 16px; outline: none; }
.br-search input:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(250, 135, 28, .15); }
.br-tools .chips { flex: 1 1 auto; min-width: 0; }
.br-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .br-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } .br-side { position: sticky; top: calc(var(--header-h) + 20px); } }
.br-list { display: grid; gap: 12px; align-content: start; }
@media (min-width: 640px) and (max-width: 1099px) { .br-list { grid-template-columns: 1fr 1fr; } }
.br-card { display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--r-md); background: var(--s1); border: 1px solid var(--b1); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; scroll-margin-top: calc(var(--header-h) + 20px); }
.br-card:hover { border-color: var(--b2); }
.br-card.is-on { border-color: rgba(250, 135, 28, .55); background: linear-gradient(135deg, rgba(209, 56, 13, .14), rgba(250, 135, 28, .04)); box-shadow: 0 0 0 1px rgba(250, 135, 28, .25); }
.br-card[hidden] { display: none; }
.br-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.br-card h3 { font-size: 21px; letter-spacing: -.01em; }
.br-card h3 a:hover { color: var(--amber); }
.br-card h3 small { font-size: 15px; font-weight: 500; color: var(--fg-3); }
.br-card__reg { font-size: 13.5px; color: var(--fg-3); }
.br-card__badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.br-badge, .br-dist { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.br-badge { background: var(--grad); color: #fff; }
.br-dist { background: var(--s3); color: var(--fg); }
.br-dist[hidden] { display: none; }
.br-card__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--fg-2); }
.br-card__info li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; line-height: 1.45; }
.br-card__info svg { width: 18px; height: 18px; margin-top: 2px; opacity: .7; }
.br-card__info small { display: block; color: var(--fg-3); font-size: 13.5px; margin-top: 2px; }
.br-card__info a { color: var(--fg); font-weight: 600; }
.br-card__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.br-card__act .link { margin-left: auto; font-size: 14.5px; }
.br-empty { margin: 0; padding: 28px; border-radius: var(--r-md); border: 1px dashed var(--b2); text-align: center; color: var(--fg-2); }
.br-empty a { color: var(--amber); font-weight: 600; }
.br-side { display: grid; gap: 12px; }
.br-map { min-height: 0 !important; aspect-ratio: 720 / 485; border-radius: var(--r-md); }
.br-sel { padding: 20px 22px; border-radius: var(--r-md); background: var(--raised); border: 1px solid var(--b2); box-shadow: var(--shadow-card); display: grid; gap: 8px; }
.br-sel__l { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); }
.br-sel h3 { font-size: 22px; }
.br-sel p { margin: 0; color: var(--fg-2); font-size: 15px; }
.br-sel__act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.br-sel__tel { margin-left: auto; font-weight: 700; }
@media (max-width: 1099px) { .br-side { order: -1; } .br-sel { display: none; } }

.br-docs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.br-doc { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: var(--s1); border: 1px solid var(--b1); transition: transform .2s, border-color .2s; }
.br-doc:hover { transform: translateY(-3px); border-color: var(--b2); }
.br-doc__img { aspect-ratio: 16 / 9; display: block; }
.br-doc__body { display: grid; gap: 12px; padding: 20px 22px 22px; }
.br-doc b { font-size: 20px; }
.br-doc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.br-doc li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--fg-2); font-size: 15px; line-height: 1.45; }
.br-doc li svg { width: 18px; height: 18px; color: var(--amber); margin-top: 2px; }
.br-steps { display: grid; gap: 24px; padding: clamp(24px, 3vw, 48px); border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--b1); }
.br-steps h2 { font-size: clamp(26px, 2.8vw, 40px); }
.br-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.br-steps li { display: grid; gap: 8px; padding: 20px; border-radius: var(--r-sm); background: var(--s1); border: 1px solid var(--b1); }
.br-steps__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; }
.br-steps b { font-size: 18px; }
.br-steps p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.br-steps .btn { width: max-content; }
@media (max-width: 640px) { .br-card__act .link { margin-left: 0; width: 100%; } .br-stats dd { font-size: 24px; } }
.br { grid-template-columns: minmax(0, 1fr); }
.br-tools, .br-side, .br-list, .br-grid > * { min-width: 0; }
.br-tools .chips { max-width: 100%; }
@media (max-width: 640px) { .br-search { flex-basis: 100%; max-width: none; } }

/* ================= Страница «Контакты» ================= */
.ct-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 32px) 0 clamp(32px, 3.4vw, 56px); }
.ct-hero__copy { display: grid; gap: 16px; margin: 20px 0 clamp(28px, 3vw, 44px); max-width: 860px; }
.ct-hero h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.025em; }
.ct-hero .lead { margin: 0; }
.ct-open { display: inline-flex; align-items: center; gap: 10px; width: max-content; padding: 7px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; background: var(--s2); border: 1px solid var(--b1); }
.ct-open i { width: 9px; height: 9px; border-radius: 50%; background: var(--fg-3); }
.ct-open.is-open i { background: #1baf7a; box-shadow: 0 0 0 4px rgba(27, 175, 122, .22); animation: ct-pulse 2s infinite; }
@keyframes ct-pulse { 50% { box-shadow: 0 0 0 7px rgba(27, 175, 122, .06); } }
@media (prefers-reduced-motion: reduce) { .ct-open.is-open i { animation: none; } }
.ct-ways { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ct-way { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--b1); backdrop-filter: blur(14px); transition: transform .2s, border-color .2s, box-shadow .2s; min-width: 0; }
.ct-way:hover { transform: translateY(-3px); border-color: var(--b2); box-shadow: var(--shadow-card); }
.ct-way__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--s3); margin-bottom: 10px; }
.ct-way__ic svg { width: 24px; height: 24px; }
.ct-way--phone { background: var(--grad); border-color: transparent; color: #fff; }
.ct-way--phone .ct-way__ic { background: rgba(255, 255, 255, .2); }
.ct-way--phone small, .ct-way--phone .ct-way__l { color: rgba(255, 255, 255, .85); }
.ct-way__l { font-size: 13.5px; color: var(--fg-3); font-weight: 500; }
.ct-way b { font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ct-way small { font-size: 14px; color: var(--fg-2); line-height: 1.45; }
.ct-way__act { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 14.5px; font-weight: 600; }
.ct-way__act svg { width: 16px; height: 16px; transition: transform .2s; }
.ct-way:hover .ct-way__act svg { transform: translate(2px, -2px); }

.ct-main { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .ct-main { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.ct-form { padding: clamp(24px, 3vw, 44px); border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--b1); display: grid; gap: 12px; }
.ct-form h2 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.02em; }
.ct-form > p { margin: 0 0 8px; }
.ct-fields { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.ct-fields > .form__error, .ct-fields > .btn, .ct-fields > .form__consent { grid-column: 1 / -1; }
.ct-field { display: grid; gap: 6px; min-width: 0; }
.ct-field span { font-size: 14px; color: var(--fg-2); font-weight: 500; }
.ct-field input, .ct-field select { width: 100%; min-height: 54px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--b2); background: var(--bg); color: var(--fg); font-size: 16px; outline: none; }
.ct-field input:focus, .ct-field select:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(250, 135, 28, .15); }
.ct-form .form__consent { font-size: 13px; color: var(--fg-3); margin: 0; }
.ct-form .form__consent a { text-decoration: underline; }
.ct-ok { display: grid; justify-items: start; gap: 8px; padding: 12px 0; }
.ct-ok__ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #1baf7a; color: #fff; }
.ct-ok__ic svg { width: 26px; height: 26px; }
.ct-side { display: grid; gap: 16px; }
.ct-card { padding: 24px; border-radius: var(--r-md); background: var(--s1); border: 1px solid var(--b1); display: grid; gap: 12px; }
.ct-hq { background: var(--raised); border-color: var(--b2); box-shadow: var(--shadow-card); }
.ct-card__l { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); }
.ct-card h3 { font-size: 24px; }
.ct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--fg-2); font-size: 15.5px; }
.ct-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; line-height: 1.45; }
.ct-list svg { width: 20px; height: 20px; margin-top: 1px; opacity: .7; }
.ct-list small { display: block; color: var(--fg-3); font-size: 13.5px; margin-top: 2px; }
.ct-list a { color: var(--fg); font-weight: 700; }
.ct-card__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ct-req { margin: 0; display: grid; }
.ct-req > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--b1); font-size: 15px; }
.ct-req dt { color: var(--fg-2); } .ct-req dd { margin: 0; font-weight: 600; }
.ct-docs { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-docs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--s2); font-size: 14.5px; font-weight: 500; }
.ct-docs a:hover { background: var(--s3); }
.ct-docs svg { width: 18px; height: 18px; color: var(--amber); }
.ct-social { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: var(--r-md); border: 1px solid var(--b1); }
.ct-social span { margin-right: auto; font-weight: 600; }
.ct-cities { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.ct-city { position: relative; display: grid; gap: 2px; padding: 16px 44px 16px 18px; border-radius: var(--r-sm); background: var(--s1); border: 1px solid var(--b1); transition: border-color .2s, background .2s; }
.ct-city:hover { border-color: rgba(250, 135, 28, .5); background: var(--s2); }
.ct-city b { font-size: 16.5px; }
.ct-city small { font-size: 13px; color: var(--fg-3); }
.ct-city svg { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); opacity: .5; }
@media (max-width: 640px) { .ct-fields { grid-template-columns: 1fr; } .ct-req > div { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 640px) {
  .ct-ways { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ct-way { padding: 16px; gap: 4px; }
  .ct-way--phone { grid-column: 1 / -1; }
  .ct-way__ic { width: 40px; height: 40px; margin-bottom: 6px; }
  .ct-way:not(.ct-way--phone) small, .ct-way:not(.ct-way--phone) .ct-way__act { display: none; }
  .ct-way:not(.ct-way--phone) b { font-size: 15px; }
}
@media (max-width: 640px) { .ct-way--ig { grid-column: 1 / -1; } }

/* ================= «Залог + город»: как добраться и соседние города ================= */
.cn { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .cn { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cn__how, .cn__near { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-md); background: var(--s1); border: 1px solid var(--b1); }
.cn h2 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.015em; }
.cn__how .btn { width: max-content; }
.cn__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cn__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; line-height: 1.45; }
.cn__list svg { width: 20px; height: 20px; margin-top: 2px; opacity: .7; }
.cn__list b { font-weight: 600; }
.cn__list small { display: block; color: var(--fg-3); font-size: 14px; margin-top: 2px; }
.cn__near > p { margin: -6px 0 0; }
.cn__cities { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: c; }
.cn__cities li { counter-increment: c; }
.cn__cities a { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: var(--s1); border: 1px solid var(--b1); transition: border-color .2s, background .2s; }
.cn__cities a::before { content: counter(c); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); font-size: 13px; font-weight: 700; }
.cn__cities a:hover { border-color: rgba(250, 135, 28, .5); background: var(--s2); }
.cn__cities span { color: var(--fg-3); font-size: 14px; font-variant-numeric: tabular-nums; }
