/* Ovoza — sayt uslublari */

/* Layout: cobalt hero band with a ripple diagram of reach, then left-aligned sections on blue-tinted paper; saffron is the single accent. */
:root {
  --paper: #F3F5FB;
  --surface: #FFFFFF;
  --surface-2: #E8ECF8;
  --ink: #0C1430;
  --muted: #55607F;
  --line: #D6DCEC;
  --cobalt: #1E3CCB;
  --cobalt-hover: #1631AD;
  --on-cobalt: #FFFFFF;
  --cobalt-soft: #E2E7FC;
  --band: #1A34B5;
  --on-band: #FFFFFF;
  --on-band-muted: #C9D2FF;
  --band-line: rgba(255, 255, 255, 0.24);
  --saffron: #FFC233;
  --saffron-hover: #FFB30F;
  --on-saffron: #221700;
  --saffron-track: rgba(34, 23, 0, 0.14);
  --bar-paid: #221700;
  --bar-barter: #1A34B5;
  --ok: #0C7F61;
  --ok-soft: #DCF3EA;
  --danger: #C02626;
  --focus: #1E3CCB;
  --footer: #0C1430;
  --on-footer: #E7EBF8;
  --on-footer-muted: #98A2C3;
  --footer-line: rgba(255, 255, 255, 0.12);
  --scrim: rgba(6, 10, 30, 0.6);
  --shadow: 0 1px 2px rgba(12, 20, 48, 0.06), 0 10px 30px rgba(12, 20, 48, 0.08);
  --shadow-lg: 0 24px 60px rgba(8, 16, 60, 0.28);

  --font-display: "Unbounded", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem);
  --step-3: clamp(1.6rem, 1.25rem + 1.6vw, 2.5rem);
  --step-4: clamp(2rem, 1.2rem + 3vw, 3.4rem);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #070C1E;
    --surface: #0F1736;
    --surface-2: #0B1230;
    --ink: #E7EBF8;
    --muted: #9AA5C7;
    --line: #22315C;
    --cobalt: #7189FF;
    --cobalt-hover: #8B9FFF;
    --on-cobalt: #06103D;
    --cobalt-soft: #18245A;
    --band: #101B5C;
    --on-band: #FFFFFF;
    --on-band-muted: #B6C2FF;
    --band-line: rgba(255, 255, 255, 0.18);
    --saffron: #FFC94D;
    --saffron-hover: #FFD671;
    --ok: #41CC9F;
    --ok-soft: #0E3A30;
    --danger: #FF7676;
    --focus: #8B9FFF;
    --footer: #040817;
    --on-footer-muted: #8D98BC;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #070C1E;
  --surface: #0F1736;
  --surface-2: #0B1230;
  --ink: #E7EBF8;
  --muted: #9AA5C7;
  --line: #22315C;
  --cobalt: #7189FF;
  --cobalt-hover: #8B9FFF;
  --on-cobalt: #06103D;
  --cobalt-soft: #18245A;
  --band: #101B5C;
  --on-band: #FFFFFF;
  --on-band-muted: #B6C2FF;
  --band-line: rgba(255, 255, 255, 0.18);
  --saffron: #FFC94D;
  --saffron-hover: #FFD671;
  --ok: #41CC9F;
  --ok-soft: #0E3A30;
  --danger: #FF7676;
  --focus: #8B9FFF;
  --footer: #040817;
  --on-footer-muted: #8D98BC;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ---------- Asos ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Telefonning yuqori tizim qatori ostini bo'yaydi */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

img,
svg { max-width: 100%; }

a { color: var(--cobalt); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p { margin: 0; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.i {
  width: 20px;
  height: 20px;
  flex: none;
}

.i-lg {
  width: 28px;
  height: 28px;
}

.eyebrow {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
}

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.92rem;
}

.btn-block { width: 100%; }

.btn-primary {
  background: var(--cobalt);
  color: var(--on-cobalt);
}

.btn-primary:hover { background: var(--cobalt-hover); }

.btn-accent {
  background: var(--saffron);
  color: var(--on-saffron);
}

.btn-accent:hover { background: var(--saffron-hover); }

.btn-ghost-band {
  background: transparent;
  border-color: var(--band-line);
  color: var(--on-band);
}

.btn-ghost-band:hover { border-color: var(--on-band); }

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover { border-color: var(--ink); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Sarlavha (header) ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open { border-bottom-color: var(--line); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.lm-bg { fill: var(--cobalt); }
.lm-dot { fill: var(--on-cobalt); }
.lm-wave { stroke: var(--saffron); }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="true"] {
  background: var(--surface-2);
  color: var(--ink);
}

.nav a.nav-cta { display: none; }

/* Tor kompyuter ekranida menyu bir qatorga sig'sin */
@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; font-size: 0.9rem; }
  .header-cta { white-space: nowrap; }
}

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

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang button {
  min-width: 38px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.burger { display: none; }

@media (max-width: 960px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding-block: 8px 20px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav { display: flex; }

  .nav a {
    padding: 12px 14px;
    border-radius: var(--r-s);
    color: var(--ink);
    font-size: 1.05rem;
  }

  .nav a.nav-cta {
    display: flex;
    margin-top: 10px;
    background: var(--cobalt);
    color: var(--on-cobalt);
    border-radius: 999px;
  }

  .header-actions { margin-left: auto; }
  .burger { display: inline-grid; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
}

/* ---------- Bosh blok (hero) ---------- */
.hero {
  position: relative;
  overflow: clip;
  background: var(--band);
  color: var(--on-band);
  --focus: var(--saffron);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(44px, 7vw, 96px);
}

.hero .eyebrow { color: var(--on-band-muted); }

.hero h1 {
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero h1 mark {
  background: none;
  color: var(--saffron);
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--saffron);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
}

.hero-lead {
  max-width: 54ch;
  margin-top: 22px;
  font-size: var(--step-1);
  color: var(--on-band-muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-facts .i {
  width: 18px;
  height: 18px;
  color: var(--saffron);
}

/* Ovoza tarqalishi: markazdagi kampaniya va atrofdagi blogerlar */
.ripple {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  max-width: 100%;
  aspect-ratio: 1;
}

.ring,
.pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring { border: 1px solid var(--band-line); }
.r1 { width: 46%; height: 46%; }
.r2 { width: 72%; height: 72%; }
.r3 { width: 98%; height: 98%; border-style: dashed; }

.pulse {
  width: 46%;
  height: 46%;
  border: 2px solid var(--on-band);
  opacity: 0;
  animation: ripple 4.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}

.pulse-2 { animation-delay: 2.4s; }

@keyframes ripple {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(2.1); opacity: 0; }
}

.deal {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  gap: 4px;
  width: 50%;
  padding: clamp(12px, 3.2%, 20px);
  border-radius: var(--r-m);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
}

.deal-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.deal-title {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 0.68rem + 0.6vw, 1.1rem);
  font-weight: 600;
  line-height: 1.2;
}

.deal-price {
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.25rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.deal-swap {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}

.chip-b {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 48%;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  line-height: 1.2;
}

.chip-b b {
  display: block;
  font-weight: 600;
}

.chip-b small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.ava {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--on-saffron);
  font-weight: 700;
}

.c1 { top: 0; left: 0; }
.c2 { top: 9%; right: 0; }
.c3 { bottom: 9%; left: 0; }
.c4 { bottom: 0; right: 0; }

.c2 .ava,
.c3 .ava {
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .ripple { width: min(100%, 440px); }
}

/* ---------- Platformalar qatori ---------- */
.strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 3fr);
  align-items: center;
  gap: 20px 32px;
  padding-block: 24px;
}

.strip-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.strip-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strip-list li {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.strip-list strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.strip-list span {
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .strip-inner { grid-template-columns: minmax(0, 1fr); }
  .strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Bo'limlar ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--surface-2); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head h2 { font-size: var(--step-3); }

.lead {
  max-width: 60ch;
  margin-top: 16px;
  font-size: var(--step-1);
  color: var(--muted);
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  max-width: none;
}

/* Segment tugmalar (tablar) */
.seg {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  margin-bottom: 32px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.seg [role="tab"] {
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.seg [role="tab"][aria-selected="true"] {
  background: var(--cobalt);
  color: var(--on-cobalt);
}

/* Qadamlar */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.step-n {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}

.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); }

@media (max-width: 1000px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

/* Foydalar */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.benefit-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}

.benefit-panel h3 {
  margin-bottom: 28px;
  font-size: var(--step-2);
}

.benefit-panel-blogger {
  border-color: transparent;
  background: var(--cobalt);
  color: var(--on-cobalt);
}

.benefit-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.b-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.benefit-panel-blogger .b-icon {
  background: var(--saffron);
  color: var(--on-saffron);
}

.benefit-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 600;
}

.benefit-list p { color: var(--muted); }
.benefit-panel-blogger .benefit-list p { color: var(--on-cobalt); opacity: 0.86; }

@media (max-width: 860px) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Kampaniyalar katalogi ---------- */
.note {
  max-width: 46ch;
  font-size: 0.92rem;
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--saffron);
  color: var(--on-saffron);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.filters {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.chips {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover { border-color: var(--ink); }

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip-n {
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.chip[aria-pressed="true"] .chip-n {
  color: inherit;
  opacity: 0.7;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search {
  position: relative;
  flex: 1 1 280px;
}

.search .i {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search input { padding-left: 42px; }

.filter-select { flex: 1 1 200px; max-width: 320px; }

@media (max-width: 560px) {
  .filter-select { max-width: none; }
}

.results-count {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.camp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.camp {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.camp:hover {
  border-color: var(--cobalt);
  box-shadow: var(--shadow);
}

.camp-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-size: 0.78rem;
  font-weight: 600;
}

.slots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ok);
}

.slots::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.camp-title { font-size: 1.08rem; line-height: 1.25; }

.camp-seller {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: -6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.camp-seller .i {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.camp-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
  padding: 12px 14px;
  border-radius: var(--r-s);
  background: var(--paper);
}

.camp-value span {
  font-size: 0.82rem;
  color: var(--muted);
}

.camp-value strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.camp-meta {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 0.9rem;
}

.camp-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.camp-meta dt { color: var(--muted); }

.camp-meta dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.camp-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.camp-platforms li {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
}

.camp .btn { margin-top: auto; }

.empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r-m);
  text-align: center;
  color: var(--muted);
}

/* ---------- Kalkulyator ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.calc .section-head { margin-bottom: 28px; }

.calc-form {
  display: grid;
  gap: 22px;
}

.calc-result {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-l);
  background: var(--saffron);
  color: var(--on-saffron);
  --focus: var(--on-saffron);
}

.bars {
  display: grid;
  gap: 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 12px;
  font-size: 0.92rem;
}

.bar-row b {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.bar {
  grid-column: 1 / -1;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--saffron-track);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--bar-paid);
  transition: width 0.35s ease;
}

.bar-barter i { background: var(--bar-barter); }

.saving-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.saving {
  margin-top: -14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.saving-note { font-weight: 600; }

.calc-foot {
  padding-top: 16px;
  border-top: 1px solid var(--saffron-track);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Kalkulyator maydonlari ---------- */
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.control,
.search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.control::placeholder,
.search input::placeholder { color: var(--muted); opacity: 0.8; }

.control:focus,
.search input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--cobalt-soft);
}

.hint {
  font-size: 0.85rem;
  color: var(--muted);
}

.calc-result .hint { color: inherit; }

input[type="range"] {
  width: 100%;
  min-height: 28px;
  accent-color: var(--cobalt);
}

output {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}

/* ---------- Brendlar uchun xizmatlar va tarif ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}

.service .b-icon { margin-bottom: 4px; }
.service h3 { font-size: 1.1rem; }
.service p { color: var(--muted); }

/* Yagona tarif: chapda narx va tugma, o'ngda nimalar kiradi */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px 56px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(24px, 4vw, 44px);
  border: 2px solid var(--cobalt);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.offer-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.offer-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--on-saffron);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.offer h3 { font-size: var(--step-2); }

.price { color: var(--muted); }

.price span {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.offer-desc {
  max-width: 46ch;
  color: var(--muted);
}

.offer-main .btn { margin-top: 6px; }

.offer-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 clamp(0px, 4vw, 48px);
  border-left: 1px solid var(--line);
  list-style: none;
}

.offer-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
}

.offer-list .i {
  margin-top: 3px;
  color: var(--ok);
}

.plans-note {
  margin-top: 24px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .offer { grid-template-columns: minmax(0, 1fr); }

  .offer-list {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .offer-main .btn { width: 100%; }
}

/* ---------- Savollar ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}

.faq .section-head {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px);
  margin-bottom: 0;
}

.faq-list { border-top: 1px solid var(--line); }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-size: 1.05rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cobalt);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  max-width: 62ch;
  padding-bottom: 22px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .section-head { position: static; }
}

/* ---------- Ro'yxatdan o'tish ---------- */
.signup-band {
  background: var(--band);
  color: var(--on-band);
  --focus: var(--saffron);
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.signup .eyebrow { color: var(--on-band-muted); }
.signup h2 { font-size: var(--step-3); }
.signup .lead { color: var(--on-band-muted); }

.contact-list {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.ci {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--band-line);
  border-radius: 50%;
  color: var(--saffron);
}

.contact-list small {
  display: block;
  font-size: 0.8rem;
  color: var(--on-band-muted);
}

.contact-list a {
  color: var(--on-band);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover { text-decoration: underline; }

.signup-card {
  padding: clamp(20px, 4vw, 36px);
  border-radius: var(--r-l);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  --focus: var(--cobalt);
}

@media (max-width: 900px) {
  .signup { grid-template-columns: minmax(0, 1fr); }
}

/* Telegram bot kartasi */
.bot-card {
  display: grid;
  gap: 22px;
}

.bot-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bot-avatar {
  width: 52px;
  height: 52px;
}

.bot-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.bot-head span {
  font-size: 0.9rem;
  color: var(--muted);
}

.bot-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.bot-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  counter-increment: step;
}

.bot-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.bot-steps span { padding-top: 4px; }

.bot-actions {
  display: grid;
  gap: 10px;
}

.bot-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* QR-kod har ikki mavzuda ham oq fonda qoladi, aks holda kamera o'qimaydi */
.qr-box {
  flex: none;
  width: 120px;
  height: 120px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
}

.qr-box svg {
  display: block;
  width: 100%;
  height: 100%;
}

.bot-qr p {
  font-size: 0.9rem;
  color: var(--muted);
}

.bot-note {
  margin-top: -8px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Telefonda QR-kod kerak emas: bot havolasi shu telefonning o'zida ochiladi */
@media (max-width: 560px) {
  .bot-qr { display: none; }
}

/* ---------- Pastki qism (footer) ---------- */
.site-footer {
  background: var(--footer);
  color: var(--on-footer);
  --focus: var(--saffron);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-block: 56px 36px;
}

.site-footer .logo { color: var(--on-footer); }

.footer-brand p {
  max-width: 36ch;
  margin-top: 14px;
  color: var(--on-footer-muted);
}

.footer-col h3 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-footer-muted);
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: var(--on-footer);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-col a:hover { text-decoration: underline; }

.footer-col li span { color: var(--on-footer-muted); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--footer-line);
  font-size: 0.85rem;
  color: var(--on-footer-muted);
}

.footer-bottom a { color: var(--on-footer); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* ---------- Maxfiylik siyosati sahifasi ---------- */
.header-actions-end { margin-left: auto; }

.legal {
  max-width: 760px;
}

.legal h1 { font-size: var(--step-3); }

.legal h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  font-size: var(--step-2);
}

.legal p,
.legal li { color: var(--ink); }

.legal p { margin-bottom: 12px; }

.legal ul {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 22px;
}

.legal-date {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 0.9em;
}

.legal .btn { margin-top: 24px; }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Harakatni kamaytirish ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
