/* Tez Hujjat — "chek va muhr" dizayni
   Qog'oz fon, siyoh-ko'k muhr, to'lov cheki uslubidagi narxlar. */

:root {
  --paper: #f3f5f8;
  --card: #ffffff;
  --ink: #172048;
  --ink-soft: #4a5372;
  --stamp: #2b3fbf;
  --stamp-dark: #1f2e91;
  --stamp-tint: #e8ebfa;
  --leaf: #11845b;
  --leaf-tint: #e3f4ec;
  --alert: #b4232c;
  --alert-tint: #fbeaea;
  --rule: #dce1ea;
  --max: 1160px;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --r-sm: 6px;
  --r: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--card);
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
h3 { font-size: 1.1875rem; letter-spacing: -0.005em; line-height: 1.3; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--leaf); box-shadow: 0 0 0 3px rgba(17, 132, 91, 0.2);
  flex-shrink: 0;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.78); font-size: 0.84rem; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__open { color: #fff; }
.topbar__open .dot { background: #3fd39a; box-shadow: 0 0 0 3px rgba(63, 211, 154, 0.25); }
.topbar__phones { margin-left: auto; gap: 18px; }
.topbar__phones a { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.topbar__phones a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar__lang { gap: 4px; }
.topbar__lang a { padding: 2px 8px; border-radius: 4px; color: rgba(255, 255, 255, 0.7); }
.topbar__lang a:hover { color: #fff; }
.topbar__lang a.is-active { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--stamp); }
.logo__mark { flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__title { font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.01em; }
.logo__sub { font-size: 0.8rem; color: var(--ink-soft); }

.nav { display: flex; gap: 4px; margin-left: auto; font-weight: 500; font-size: 0.95rem; }
.nav a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink); }
.nav a:hover { background: var(--paper); color: var(--stamp); }

.header__actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 44px; height: 44px; padding: 12px 10px;
  background: none; border: 1px solid var(--rule); border-radius: var(--r-sm); cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  border-radius: var(--r-sm); border: 2px solid transparent;
  cursor: pointer; text-align: center;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--stamp); color: #fff; }
.btn--primary:hover { background: var(--stamp-dark); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}
.hero__open {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px; padding: 6px 14px 6px 12px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 14px;
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 13ch;
  margin-bottom: 24px;
}
.hero__lead { font-size: 1.2rem; max-width: 34em; color: var(--ink-soft); margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__open time { font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__contacts { list-style: none; margin: 10px 0 0; padding: 0; max-width: 440px; border-top: 1px solid var(--rule); }
.hero__contacts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.hero__contacts span { color: var(--ink-soft); font-size: 0.95rem; }
.hero__contacts a { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero__contacts a:hover { color: var(--stamp); text-decoration: underline; text-underline-offset: 3px; }

/* Receipt (to'lov cheki) */
.receipt-wrap { position: relative; justify-self: center; width: 100%; max-width: 400px; filter: drop-shadow(0 18px 30px rgba(23, 32, 72, 0.13)) drop-shadow(0 2px 4px rgba(23, 32, 72, 0.08)); }
.receipt {
  position: relative;
  background: var(--card);
  padding: 30px 28px 44px;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--ink);
  transform: rotate(1.2deg);
  --zz: 12px;
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zz)) 100%;
          mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zz)) 100%;
}
.receipt__head {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-align: center; padding-bottom: 16px; margin-bottom: 14px;
  border-bottom: 2px dashed var(--rule);
  color: var(--ink-soft); font-size: 0.82rem;
}
.receipt__head strong { font-size: 1.15rem; color: var(--ink); letter-spacing: 0.12em; margin-bottom: 4px; }
.receipt__rows { list-style: none; margin: 0; padding: 0 0 14px; border-bottom: 2px dashed var(--rule); }
.receipt__rows a { display: flex; align-items: baseline; gap: 6px; padding: 7px 0; }
.receipt__rows a:hover .receipt__name { color: var(--stamp); text-decoration: underline; text-underline-offset: 3px; }
.receipt__name { flex-shrink: 1; min-width: 0; }
.receipt__dots { flex: 1 1 12px; border-bottom: 2px dotted #b9c0cf; transform: translateY(-4px); min-width: 12px; }
.receipt__price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt__foot { margin: 14px 0 0; padding-right: 120px; min-height: 64px; text-align: left; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.55; }

/* Muhr — sahifadagi yagona "bosilish" harakati */
.stamp {
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 172px;
  height: 172px;
  color: var(--stamp);
  opacity: 0.86;
  mix-blend-mode: multiply;
  font-family: var(--sans);
  transform: rotate(-14deg);
  pointer-events: none;
  animation: stamp-in 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) 0.45s both;
}
@keyframes stamp-in {
  0%   { opacity: 0; transform: rotate(-24deg) scale(1.7); }
  60%  { opacity: 0.95; }
  100% { opacity: 0.86; transform: rotate(-14deg) scale(1); }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head h2 { margin-bottom: 10px; }
.section__head p { font-size: 1.1rem; margin: 0; }

/* Narxlar ro'yxati (bosh sahifa) */
.price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 2px solid var(--ink);
}
.price-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--rule);
}
.price-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.price-item__title { font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.price-item__text { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.price-item__price {
  font-family: var(--mono); font-weight: 600; font-size: 0.92rem;
  white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums;
}
.price-item:hover .price-item__title { color: var(--stamp); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Guruh ranglari */
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: -14px 0 24px; padding: 0; font-size: 0.95rem; color: var(--ink-soft); }
.legend__item { display: inline-flex; align-items: center; gap: 8px; }
.legend__item::before { content: ''; width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.legend__item--avto, .price-item--avto { --c: #2b3fbf; }
.legend__item--tolov, .price-item--tolov { --c: #11845b; }
.legend__item--boshqa, .price-item--boshqa { --c: #7a3fb0; }
.legend__item--ref, .price-item--ref { --c: #b7791f; }
.price-item__cat { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--c); }
.price-item__cat::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.price-item--ref .price-item__cat { display: none; }

/* Qanday ishlaymiz — haqiqiy ketma-ketlik */
.steps {
  list-style: none; margin: 0 0 64px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 28px 26px 22px;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 18px;
  border: 2.5px solid var(--stamp); border-radius: 50%;
  color: var(--stamp); font-weight: 800; font-size: 1.2rem;
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute; top: 49px; right: -25px; width: 26px;
  border-top: 2px dashed #b9c0cf;
}
.steps p { margin: 0; }

.perks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.perks li { padding-left: 18px; border-left: 3px solid var(--stamp); }
.perks h3 { font-size: 1.05rem; margin-bottom: 8px; }
.perks p { font-size: 0.95rem; margin: 0; }

/* Fikrlar */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 26px; background: var(--paper); border-radius: var(--r); }
.review__stars { color: #d99a00; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.6; }
.review figcaption strong { display: block; }
.review figcaption span { font-size: 0.9rem; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 820px; border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; flex-shrink: 0;
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 1.5px solid var(--rule); border-radius: 50%;
  font-weight: 500; font-size: 1.3rem; line-height: 1; color: var(--stamp);
  transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--stamp); }
.faq__item p { max-width: 68ch; padding: 0 4px 22px; margin: 0; }
.faq__more { margin: 28px 0 0; }
.faq__more a { color: var(--stamp); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

#kalkulyator, #ariza, #savollar, #fikrlar, #xizmatlar, #qanday, #aloqa { scroll-margin-top: 90px; }

/* CTA polosa */
.cta-strip { background: var(--stamp); color: #fff; padding: 64px 0; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip__text h2 { color: #fff; margin-bottom: 8px; }
.cta-strip__text p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1.1rem; }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn--primary { background: #fff; color: var(--stamp); }
.cta-strip .btn--primary:hover { background: var(--stamp-tint); }

/* Aloqa */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}
.contact__list { margin: 0; border-top: 2px solid var(--ink); }
.contact__item { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact__item dt { font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }
.contact__item dd { margin: 0; }
.contact__item dd a { font-weight: 600; }
.contact__item dd a:hover { color: var(--stamp); }
.map-link { display: inline-block; margin-top: 6px; color: var(--stamp); text-decoration: underline; text-underline-offset: 3px; }
.contact__panel { display: flex; flex-direction: column; gap: 10px; }
.contact__panel .contact__or { margin: 14px 0 2px; font-size: 0.95rem; text-align: center; }
.contact__panel .btn--ghost-light { border-color: var(--ink); color: var(--ink); }
.contact__panel .btn--ghost-light:hover { background: var(--ink); color: #fff; }
.map-embed { grid-column: 1 / -1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); }
.map-embed iframe { display: block; }

/* ---------- Ariza formasi (rasmiy blanka) ---------- */
.ariza {
  background: var(--card);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--stamp);
  border-radius: var(--r);
  padding: 30px 28px;
  box-shadow: 0 10px 30px rgba(23, 32, 72, 0.06);
}
.ariza__title { font-size: 1.5rem; margin-bottom: 6px; }
.ariza .ariza__sub { margin-bottom: 22px; }
.ariza__form { display: flex; flex-direction: column; gap: 16px; }
.ariza__field { display: flex; flex-direction: column; gap: 6px; }
.ariza__field span { font-weight: 600; font-size: 0.95rem; }
.ariza__field em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.ariza__field input,
.ariza__field select,
.ariza__field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-sm);
  transition: border-color 0.15s, background-color 0.15s;
}
.ariza__field textarea { resize: vertical; min-height: 96px; }
.ariza__field input:focus,
.ariza__field select:focus,
.ariza__field textarea:focus { outline: none; border-color: var(--stamp); background: var(--card); box-shadow: 0 0 0 3px var(--stamp-tint); }
.ariza__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ariza__alert { padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 18px; line-height: 1.5; }
.ariza__alert--ok { background: var(--leaf-tint); color: #0b5d40; border-left: 4px solid var(--leaf); }
.ariza__alert--err { background: var(--alert-tint); color: #7d1a20; border-left: 4px solid var(--alert); }
.ariza__alert a { font-weight: 600; text-decoration: underline; }
.ariza__code { font-family: var(--mono); font-size: 1.1rem; }

/* ---------- Ichki sahifalar ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 0.92rem; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--stamp); text-decoration: underline; }
.breadcrumb span { color: #9aa2b6; }
.breadcrumb span:last-child { color: var(--ink); }

.service-detail { padding-top: 48px; }
.service-detail .section__head { margin-bottom: 20px; max-width: 760px; }
.service-detail .section__head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.service-detail__body { max-width: 760px; }
.service-detail__body:has(.price-groups) { max-width: 1000px; }
.service-detail__intro { font-size: 1.18rem; max-width: 40em; margin-bottom: 32px; }

/* Narx jadvali — chek uslubida */
.service-table {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 8px 24px;
  font-variant-numeric: tabular-nums;
}
.service-table__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--rule); }
.service-table__row:last-child { border-bottom: 0; }
.service-table__row span:last-child { font-family: var(--mono); font-weight: 600; white-space: nowrap; text-align: right; }
.service-table__row--head { font-size: 0.85rem; color: var(--ink-soft); border-bottom: 2px solid var(--ink); }
.service-table__row--head span:last-child { font-family: var(--sans); font-weight: 500; }
.service-table__note { margin: 12px 0 0; font-size: 0.92rem; }

.price-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.price-group-label { display: block; font-weight: 700; margin-bottom: 10px; }

.service-cta-note { background: var(--stamp-tint); border-radius: var(--r); padding: 22px 24px; }
.service-cta-note p { margin: 0; color: var(--ink); }

.docs-required { margin: 32px 0; padding: 24px 26px; background: var(--paper); border-radius: var(--r); }
.docs-required__label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.docs-required ul { list-style: none; margin: 0; padding: 0; }
.docs-required li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--rule); }
.docs-required li:last-child { border-bottom: 0; }
.docs-required li::before {
  content: ''; position: absolute; left: 6px; top: 17px;
  width: 8px; height: 8px; background: var(--stamp); border-radius: 50%;
}

.service-detail__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 40px; }
.service-detail .ariza { max-width: 620px; }
.back-link { display: inline-block; margin-top: 32px; color: var(--stamp); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.ref-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 8px; }
.ref-item { border-top: 2px solid var(--ink); padding-top: 24px; max-width: 820px; }
.ref-item__body h3 { font-size: 1.4rem; }
.ref-item__body .service-table { margin-top: 16px; }
.ref-item .docs-required { margin-bottom: 0; }

/* Sug'urta kalkulyatori */
.calc { margin: 32px 0; padding: 28px; border: 2px solid var(--stamp); border-radius: var(--r); background: var(--card); }
.calc__title { font-size: 1.35rem; }
.calc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.calc__field { display: flex; flex-direction: column; gap: 6px; }
.calc__field span { font-weight: 600; font-size: 0.92rem; }
.calc__field select {
  min-height: 50px; padding: 10px 12px; font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--r-sm);
}
.calc__field select:focus { outline: none; border-color: var(--stamp); box-shadow: 0 0 0 3px var(--stamp-tint); }
.calc__result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 18px 0; margin-bottom: 18px; border-top: 1px dashed var(--rule); border-bottom: 1px dashed var(--rule); }
.calc__result span { color: var(--ink-soft); }
.calc__result strong { font-family: var(--mono); font-size: 1.9rem; color: var(--stamp); font-variant-numeric: tabular-nums; }

/* Ariza holati */
.status { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: start; }
.status__card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; }
.status__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.status__head strong { font-family: var(--mono); font-size: 1.5rem; }
.status__badge { padding: 5px 12px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; }
.status__badge--yangi { background: var(--stamp-tint); color: var(--stamp-dark); }
.status__badge--jarayonda { background: #fff3d6; color: #8a5a00; }
.status__badge--tayyor { background: var(--leaf-tint); color: #0b5d40; }
.status__badge--bekor { background: var(--alert-tint); color: #7d1a20; }
.status__list { margin: 0 0 22px; }
.status__list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--rule); }
.status__list dt { color: var(--ink-soft); }
.status__list dd { margin: 0; font-weight: 600; text-align: right; }
.status__steps { list-style: none; display: flex; margin: 0 0 22px; padding: 0; counter-reset: s; }
.status__steps li {
  counter-increment: s; flex: 1; position: relative; padding-top: 40px;
  text-align: center; font-size: 0.9rem; color: var(--ink-soft);
}
.status__steps li::before {
  content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--rule); font-weight: 700; color: var(--ink-soft);
}
.status__steps li:not(:first-child)::after {
  content: ''; position: absolute; top: 15px; right: 50%; width: 100%; border-top: 2px solid var(--rule);
}
.status__steps li.is-done { color: var(--ink); font-weight: 600; }
.status__steps li.is-done::before { content: '✓'; background: var(--leaf); border-color: var(--leaf); color: #fff; }
.status__steps li.is-done::after { border-color: var(--leaf); }
.status__help { margin: 0; font-size: 0.95rem; }
.status__help a { color: var(--stamp); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding-top: 64px; font-size: 0.96rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px; padding-bottom: 48px; }
.footer__col h4 { margin: 0 0 14px; color: #fff; font-size: 1rem; font-weight: 600; }
.footer__col p { margin: 0 0 8px; color: inherit; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.logo--footer { margin-bottom: 18px; color: #8f9cf0; }
.logo--footer .logo__title { color: #fff; }
.logo--footer .logo__sub { color: rgba(255, 255, 255, 0.6); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0; font-size: 0.88rem; }

/* Qo'ng'iroq tugmasi (mobil) */
.float-call {
  display: none;
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  place-items: center;
  background: var(--leaf); color: #fff;
  box-shadow: 0 8px 20px rgba(17, 132, 91, 0.35);
}

/* ---------- AI yordamchi ---------- */
.ai { position: fixed; right: 18px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ai__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 20px;
  font: inherit; font-weight: 600; color: #fff;
  background: var(--ink); border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 32, 72, 0.28);
}
.ai__toggle:hover { background: var(--stamp); }
.ai.is-open .ai__toggle { background: var(--stamp); }
.ai__panel {
  order: -1;
  width: min(380px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 120px));
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(23, 32, 72, 0.22);
  overflow: hidden;
}
.ai__panel[hidden] { display: none; }
.ai__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: #fff; }
.ai__head strong { display: block; }
.ai__head small { color: rgba(255, 255, 255, 0.65); font-size: 0.8rem; }
.ai__close { width: 36px; height: 36px; font-size: 1.5rem; line-height: 1; color: #fff; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.ai__close:hover { background: rgba(255, 255, 255, 0.12); }
.ai__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.ai__msg { max-width: 88%; padding: 10px 14px; border-radius: 12px; font-size: 0.95rem; line-height: 1.5; white-space: pre-wrap; }
.ai__msg--bot { align-self: flex-start; background: var(--card); border: 1px solid var(--rule); border-bottom-left-radius: 4px; }
.ai__msg--user { align-self: flex-end; background: var(--stamp); color: #fff; border-bottom-right-radius: 4px; }
.ai__msg.is-wait { color: var(--ink-soft); font-style: italic; }
.ai__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rule); }
.ai__form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; font: inherit; font-size: 0.98rem; border: 1.5px solid var(--rule); border-radius: var(--r-sm); }
.ai__form input:focus { outline: none; border-color: var(--stamp); }
.ai__form .btn { min-height: 46px; padding: 0 16px; }
.ai__form .btn:disabled { opacity: 0.55; cursor: wait; }

/* ---------- Moslashuvchan ---------- */
@media (max-width: 1080px) {
  .topbar__addr { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .header__inner { height: 64px; }
  .burger { display: flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px 14px 16px;
    background: var(--card); border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 30px rgba(23, 32, 72, 0.1);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .header__actions { margin-left: auto; }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .hero h1 { max-width: 16ch; }
  .price-list { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .status { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner .footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .topbar__open, .topbar__phones a + a { display: none; }
  .topbar__phones { margin-left: 0; }
  .topbar__inner { justify-content: space-between; }
  .header__actions .btn--sm { display: none; }
  .section { padding: 64px 0; }
  .hero__lead { font-size: 1.08rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .receipt { padding: 26px 20px 40px; font-size: 0.84rem; }
  .stamp { width: 128px; height: 128px; right: -8px; bottom: -30px; }
  .receipt__foot { padding-right: 100px; }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .steps li:not(:last-child)::after { display: none; }
  .perks { grid-template-columns: 1fr; gap: 22px; }
  .price-item { flex-direction: column; gap: 8px; padding: 18px 2px; }
  .price-groups { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr; }
  .contact__item { grid-template-columns: 1fr; gap: 4px; }
  .ariza { padding: 24px 18px; }
  .cta-strip__actions { width: 100%; }
  .cta-strip__actions .btn { flex: 1 1 auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .float-call { display: grid; }
  .ai__toggle span { display: none; }
  .ai__toggle { width: 56px; padding: 0; justify-content: center; }
}
