/* ════════════════════════════════════════════════════════════════
   Maqsad IT — uslublar
   Mobile-first. Ranglar :root da token sifatida.
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #0b0f1a;
  --bg-alt:    #0f1524;
  --surface:   #141b2d;
  --surface-2: #1b2438;
  --line:      #243150;
  --txt:       #e8edf7;
  --txt-dim:   #9aa8c4;
  --txt-mute:  #6b7a99;

  --brand:     #4f7cff;
  --brand-2:   #7c5cff;
  --brand-3:   #22d3ee;
  --ok:        #34d399;
  --warn:      #fbbf24;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --shadow:    0 10px 40px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 24px 70px -20px rgb(0 0 0 / .75);

  --wrap: 1180px;
  --pad: 20px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Yorug' rejim — tizim sozlamasiga qarab, lekin data-theme ustun turadi */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #ffffff; --bg-alt: #f6f8fc; --surface: #ffffff; --surface-2: #f2f5fb;
    --line: #e2e8f4; --txt: #0d1526; --txt-dim: #4a5878; --txt-mute: #78869f;
    --shadow: 0 10px 40px -16px rgb(15 25 50 / .18);
    --shadow-lg: 0 24px 70px -24px rgb(15 25 50 / .22);
  }
}
:root[data-theme="light"] {
  --bg: #ffffff; --bg-alt: #f6f8fc; --surface: #ffffff; --surface-2: #f2f5fb;
  --line: #e2e8f4; --txt: #0d1526; --txt-dim: #4a5878; --txt-mute: #78869f;
}

*, *::before, *::after { 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-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 400 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-3);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 820px; }

/* ─── Scroll progress ─────────────────────────────────────── */
.progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
  z-index: 120; transition: width .1s linear;
}

/* ─── Referral banner ─────────────────────────────────────── */
.ref-banner {
  position: sticky; top: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; font-size: 14px; font-weight: 500;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
}
.ref-banner[hidden] { display: none; }

/* ─── Header ──────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.hdr.stuck { border-bottom-color: var(--line); }

.hdr-in { display: flex; align-items: center; gap: 16px; height: 64px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.logo-mark {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border-radius: 9px; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 4px 14px -4px var(--brand);
}
.logo-txt { font-size: 18px; }
.logo-txt b { color: var(--brand-3); font-weight: 800; }

.nav { display: none; margin-inline: auto; gap: 4px; }
.nav a {
  padding: 8px 13px; border-radius: 9px; font-size: 15px; font-weight: 500;
  color: var(--txt-dim); transition: color .2s, background .2s;
}
.nav a:hover, .nav a.active { color: var(--txt); background: var(--surface-2); }

.hdr-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Til tanlagich */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.lang-btn:hover { border-color: var(--brand); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 10;
  min-width: 152px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); box-shadow: var(--shadow);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border: 0; border-radius: 8px; background: none;
  cursor: pointer; font-size: 14px; text-align: left;
}
.lang-menu button:hover { background: var(--surface-2); }
.lang-menu button[aria-selected="true"] { color: var(--brand-3); font-weight: 600; }

.burger { display: grid; gap: 5px; width: 40px; height: 40px; place-content: center;
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--txt); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Tugmalar ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
  box-shadow: 0 8px 24px -10px var(--brand);
  transition: transform .18s var(--ease), box-shadow .25s, filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--brand); filter: brightness(1.07); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 13px; }
.btn-ghost {
  background: var(--surface); color: var(--txt);
  border: 1px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--brand); box-shadow: none; filter: none; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.orb1 { width: 420px; height: 420px; top: -140px; left: -110px;
  background: radial-gradient(circle, var(--brand), transparent 68%); animation: float 20s ease-in-out infinite; }
.orb2 { width: 380px; height: 380px; top: 40px; right: -120px;
  background: radial-gradient(circle, var(--brand-2), transparent 68%); animation: float 26s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(28px,-28px) scale(1.08); }
}
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 78%);
  opacity: .5;
}
.hero-in { position: relative; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--txt-dim);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 8vw, 66px); line-height: 1.07;
  font-weight: 800; letter-spacing: -.035em;
}
.grad {
  background: linear-gradient(120deg, var(--brand-3), var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 620px; margin: 0 auto 30px;
  font-size: clamp(16px, 2.4vw, 19px); color: var(--txt-dim);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin: 16px 0 0; font-size: 13.5px; color: var(--txt-mute); }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 760px; margin: 52px auto 0; padding: 0; list-style: none;
}
.stats li {
  padding: 20px 12px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); text-align: center;
}
.stats b { display: block; font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--brand-3), var(--brand)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.stats span { font-size: 13.5px; color: var(--txt-dim); }

/* ─── Bo'limlar ───────────────────────────────────────────── */
.sec { padding: 72px 0; }
.sec-alt { background: var(--bg-alt); }

.kicker {
  margin: 0 0 10px; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-3);
}
.sec-title {
  margin: 0 0 14px; font-size: clamp(27px, 5.2vw, 42px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
}
.sec-sub { max-width: 620px; margin: 0 0 40px; color: var(--txt-dim); font-size: 17px; }

/* ─── Kurs kartalari ──────────────────────────────────────── */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--accent, var(--brand)); opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-ico {
  width: 50px; height: 50px; flex: none; display: grid; place-items: center;
  font-size: 25px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}
.card-level {
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  white-space: nowrap;
}
.card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.card-desc { margin: 0 0 18px; color: var(--txt-dim); font-size: 15px; }

.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  padding: 6px 11px; border-radius: 8px; font-size: 13px;
  background: var(--surface-2); color: var(--txt-dim); border: 1px solid var(--line);
}

.card-topics { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; }
.card-topics li { display: flex; gap: 9px; font-size: 14.5px; color: var(--txt-dim); }
.card-topics svg { flex: none; margin-top: 4px; color: var(--accent); }

.card-btm { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto;
  padding-top: 18px; border-top: 1px solid var(--line); }
.price { font-size: 21px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.price i { font-size: 13px; font-weight: 500; font-style: normal; color: var(--txt-mute); }

/* ─── Afzalliklar ─────────────────────────────────────────── */
.feats { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
.feat { padding: 24px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.feat:hover { border-color: var(--brand); transform: translateY(-3px); }
.feat-ico { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 14px;
  font-size: 21px; border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent),
                                       color-mix(in srgb, var(--brand-2) 18%, transparent)); }
.feat h3 { margin: 0 0 7px; font-size: 17.5px; font-weight: 700; }
.feat p { margin: 0; font-size: 14.5px; color: var(--txt-dim); }

/* ─── Referral qadamlari ──────────────────────────────────── */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: s; }
.step { position: relative; padding: 24px 24px 24px 66px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--surface); counter-increment: s; }
.step::before {
  content: counter(s); position: absolute; left: 22px; top: 24px;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; font-size: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.step p { margin: 0; font-size: 14.5px; color: var(--txt-dim); }

/* ─── Kalkulyator ─────────────────────────────────────────── */
.calc {
  display: grid; gap: 28px; grid-template-columns: 1fr;
  padding: 30px; margin-bottom: 30px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow);
}
.calc h3 { margin: 0 0 20px; font-size: 21px; font-weight: 700; }
.calc-lbl { display: block; margin-bottom: 14px; font-size: 14.5px; color: var(--txt-dim); }

input[type="range"] {
  width: 100%; height: 6px; margin: 0; border-radius: 999px; appearance: none; -webkit-appearance: none;
  background: linear-gradient(90deg, var(--brand) var(--pct, 15%), var(--surface-2) var(--pct, 15%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand); cursor: grab;
  box-shadow: 0 3px 10px rgb(0 0 0 / .35); transition: transform .15s;
}
input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  border: 4px solid var(--brand); cursor: grab;
}
.calc-scale { display: flex; justify-content: space-between; margin-top: 9px; font-size: 12px; color: var(--txt-mute); }
.calc-friends { margin-top: 14px; font-size: 15px; color: var(--txt-dim); }
.calc-friends output { font-size: 30px; font-weight: 800; color: var(--txt); letter-spacing: -.02em; }

.calc-r { display: flex; flex-direction: column; justify-content: center;
  padding: 26px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.calc-cap { margin: 0 0 6px; font-size: 13.5px; color: var(--txt-dim); }
.calc-sum { margin: 0 0 14px; font-size: clamp(32px, 8vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1;
  background: linear-gradient(120deg, var(--ok), var(--brand-3)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.calc-sum i { font-size: 18px; font-style: normal; }
.calc-next { margin: 0 0 20px; font-size: 14px; color: var(--txt-dim); }
.calc-next b { color: var(--txt); }

/* ─── Bosqichlar ──────────────────────────────────────────── */
.tiers { margin-bottom: 22px; }
.tiers-cap { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--txt-mute); }
.tier-rows { display: grid; gap: 10px; grid-template-columns: 1fr; }
.tier {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); transition: border-color .25s;
}
.tier:hover { border-color: var(--brand); }
.tier-l { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.tier-n { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px;
  font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.tier-v { font-weight: 800; font-size: 17px; color: var(--ok); white-space: nowrap; }

.note { margin: 0; font-size: 13.5px; color: var(--txt-mute); }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  overflow: hidden; transition: border-color .25s;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 8px; background: var(--surface-2); font-size: 19px; font-weight: 400;
  color: var(--txt-dim); transition: transform .25s var(--ease), background .25s, color .25s;
}
.faq details[open] summary::after { content: '−'; transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--txt-dim); font-size: 15px; }

/* ─── Aloqa ───────────────────────────────────────────────── */
.contact { display: grid; gap: 22px; grid-template-columns: 1fr; }
.contact-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; align-content: start; }
.contact-item {
  display: flex; gap: 15px; padding: 19px 21px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: border-color .25s, transform .25s var(--ease);
}
.contact-item:hover { border-color: var(--brand); transform: translateX(3px); }
.contact-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  font-size: 19px; border-radius: 11px; background: var(--surface-2); }
.contact-k { margin: 0 0 3px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--txt-mute); }
.contact-v { margin: 0; font-weight: 600; font-size: 15.5px; }
.contact-map { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 300px; background: var(--surface); }
.contact-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ─── Yakuniy CTA ─────────────────────────────────────────── */
.cta { padding: 72px 0; }
.cta-in {
  position: relative; padding: 52px 32px; text-align: center;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-lg);
}
.cta-in::after {
  content: ''; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(circle at 20% 20%, #fff 0, transparent 45%),
                    radial-gradient(circle at 80% 70%, #fff 0, transparent 45%);
}
.cta-in > * { position: relative; }
.cta-in h2 { margin: 0 0 12px; font-size: clamp(25px, 5vw, 38px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.cta-in p { margin: 0 0 26px; color: rgb(255 255 255 / .9); font-size: 17px; }
.cta-in .btn { background: #fff; color: var(--brand); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .4); }
.cta-in .btn:hover { filter: none; background: #fff; }

/* ─── Footer ──────────────────────────────────────────────── */
.ftr { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 52px 0 0; }
.ftr-in { display: grid; gap: 34px; grid-template-columns: 1fr; padding-bottom: 38px; }
.ftr-about { margin: 14px 0 0; font-size: 14.5px; color: var(--txt-dim); max-width: 340px; }
.ftr-col h4 { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--txt-mute); }
.ftr-nav { display: grid; gap: 9px; }
.ftr-nav a { font-size: 15px; color: var(--txt-dim); transition: color .2s; width: fit-content; }
.ftr-nav a:hover { color: var(--brand-3); }
.ftr-btm { padding: 20px 0 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--txt-mute); }

/* ─── Reveal animatsiyasi ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ─── Mobil menyu ─────────────────────────────────────────── */
@media (max-width: 899px) {
  .nav {
    position: fixed; inset: 64px 0 auto; display: grid; gap: 4px; padding: 16px var(--pad) 22px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s var(--ease); z-index: 99;
  }
  .nav.open { transform: none; }
  .nav a { padding: 13px 14px; font-size: 16px; }
  #navCta { display: none; }
}

/* ─── Kattaroq ekranlar ───────────────────────────────────── */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .tier-rows { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  :root { --pad: 28px; }
  .hero { padding: 96px 0 104px; }
  .sec { padding: 104px 0; }
  .nav { display: flex; }
  .burger { display: none; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .feats { grid-template-columns: repeat(3, 1fr); }
  .calc { grid-template-columns: 1.25fr 1fr; padding: 40px; }
  .contact { grid-template-columns: 1fr 1.1fr; }
  .ftr-in { grid-template-columns: 2fr 1fr 1fr; }
  .cta-in { padding: 68px 48px; }
}
