/* ==========================================================================
   AYS Apps — aysapps.uz
   Dizayn tizimi: ranglar, tipografika, komponentlar, sahifa bloklari
   Hech qanday tashqi CDN yo'q — sayt to'liq lokal ishlaydi.
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body,
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }

ul[class], ol[class] { list-style: none; }

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

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

a { color: inherit; text-decoration: none; }

/* --------------------------------------------------------------- Tokenlar */
:root {
  /* Brend ranglari — logotipdan olingan */
  --navy-950: #050c1c;
  --navy-900: #08122a;
  --navy-800: #0b1938;
  --navy-700: #12224c;
  --blue-700: #1e40af;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --sky-400:  #38bdf8;

  --ink:        #0b1938;
  --ink-soft:   #33405f;
  --muted:      #5c6a8c;
  --muted-2:    #8a95ad;
  --line:       #e5e9f2;
  --line-soft:  #eef1f7;
  --bg:         #ffffff;
  --bg-soft:    #f6f8fc;
  --bg-tint:    #eff4ff;

  --grad-brand: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 55%, #0b1938 100%);
  --grad-blue:  linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  --grad-dark:  linear-gradient(160deg, #0b1938 0%, #050c1c 100%);

  --shadow-xs: 0 1px 2px rgba(11, 25, 56, .06);
  --shadow-sm: 0 2px 8px rgba(11, 25, 56, .06);
  --shadow-md: 0 12px 28px -12px rgba(11, 25, 56, .18);
  --shadow-lg: 0 32px 64px -32px rgba(11, 25, 56, .35);
  --shadow-blue: 0 18px 40px -18px rgba(37, 99, 235, .55);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --container: 1180px;
  --header-h: 72px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------- Base */
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.2vw, 3.75rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 1.02rem + 0.6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { color: var(--ink-soft); }

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

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

/* ------------------------------------------------------------- Yordamchi */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%); }
.section--dark { background: var(--grad-dark); color: #c3cee4; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #a9b7d4; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.06rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-blue);
}
.section--dark .eyebrow { color: var(--blue-300); }

.lead { font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem); color: var(--ink-soft); }

.text-grad {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

/* --------------------------------------------------------------- Tugmalar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease,
              border-color .22s ease, color .22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { box-shadow: 0 22px 46px -18px rgba(37, 99, 235, .7); }

.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--blue-300); color: var(--blue-600); }

.btn--outline-light {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); }

.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.btn-row--center { justify-content: center; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--blue-600);
}
.arrow-link span { transition: transform .2s ease; }
.arrow-link:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------------ Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
  border: 1px solid #dbe6ff;
  color: var(--blue-700);
  font-size: .84rem;
  font-weight: 700;
}
.badge--dark {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  color: #cfe0ff;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}
.badge__dot--blue { background: var(--blue-500); box-shadow: 0 0 0 4px rgba(37, 99, 235, .18); }
.badge__dot--amber { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
  color: var(--blue-700);
  font-size: .8rem;
  font-weight: 700;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ----------------------------------------------------------------- Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(11, 25, 56, .5);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand__text { display: none; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .18s ease, background .18s ease;
}
.nav__link:hover { color: var(--blue-600); background: var(--bg-tint); }
.nav__link[aria-current="page"] { color: var(--blue-700); background: var(--bg-tint); }

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

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.burger span {
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.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); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 0 22px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list { display: grid; gap: 2px; }
.mobile-nav__link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--ink);
}
.mobile-nav__link:hover,
.mobile-nav__link[aria-current="page"] { background: var(--bg-tint); color: var(--blue-700); }
.mobile-nav .btn { width: 100%; margin-top: 14px; }

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(59, 130, 246, .16), transparent 62%),
    radial-gradient(760px 420px at 8% 8%, rgba(37, 99, 235, .10), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 62%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 25, 56, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 25, 56, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(720px 420px at 50% 20%, #000 20%, transparent 78%);
  mask-image: radial-gradient(720px 420px at 50% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  gap: clamp(40px, 5vw, 56px);
  align-items: center;
}
.hero h1 { margin: 18px 0 20px; }
.hero__sub { font-size: clamp(1.03rem, .96rem + .45vw, 1.22rem); max-width: 620px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero__meta-item svg { width: 17px; height: 17px; color: var(--blue-500); flex-shrink: 0; }

/* Hero visual — telefon maketlari */
.hero__visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 216px;
  border-radius: 34px;
  padding: 9px;
  background: linear-gradient(155deg, #1b2a4d, #060f24);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 25, 56, .1);
}
.phone__screen {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 9 / 18.6;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------- Haqiqiy skrinshotlar (telefon) */
.phone--shot .phone__screen { aspect-ratio: auto; background: #0b1938; }
.phone__screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* Brauzer oynasidagi skrinshot (MarketPOS boshqaruv paneli) */
.browser-shot {
  width: 100%;
  max-width: 560px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 25, 56, .1);
}
.browser-shot img { display: block; width: 100%; height: auto; }
.section--dark .browser-shot,
.project__media .browser-shot { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); }

/* Hero: brauzer oynasi + telefon.
   Tor ekranda telefon oqimda (matn ustiga chiqmasin), kengda — ustma-ust. */
.showcase {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.showcase .browser-shot { max-width: 100%; }
.showcase .phone {
  width: 178px;
  margin: -46px auto 0;
  z-index: 2;
}

@media (min-width: 900px) {
  .showcase .phone {
    position: absolute;
    right: -4px;
    bottom: -60px;
    width: 168px;
    margin: 0;
  }
}

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  z-index: 4;
}
.hero__float b { color: var(--blue-600); }
.hero__float--a { top: 4%; left: -4%; }
.hero__float--b { bottom: 6%; right: -3%; }
.hero__float i {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--bg-tint);
  font-style: normal;
  font-size: 15px;
}

/* ------------------------------------------------------------- Statistika */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stats__item { background: #fff; padding: 26px 22px; text-align: center; }
.stats__num {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1.05;
}
.stats__num span { color: var(--blue-500); }
.stats__label { font-size: .88rem; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* ------------------------------------------------------------------ Karta */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d7e2f7;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; }

.card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg-tint);
  color: var(--blue-600);
  margin-bottom: 18px;
}
.card__icon svg { width: 23px; height: 23px; }
.card--accent .card__icon { background: var(--grad-blue); color: #fff; }

.card--dark {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .1);
}
.card--dark:hover { border-color: rgba(96, 165, 250, .4); background: rgba(255, 255, 255, .07); }
.card--dark .card__icon { background: rgba(96, 165, 250, .16); color: #93c5fd; }
.card--dark p { color: #a9b7d4; }

.card__num {
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: .08em;
  margin-bottom: 12px;
  display: block;
}

/* ------------------------------------------------------- Loyiha kartalari */
.project {
  position: relative;
  display: grid;
  gap: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 44px);
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.project:hover { box-shadow: var(--shadow-lg); border-color: #d7e2f7; }
.project::before {
  content: "";
  position: absolute;
  top: -140px; right: -140px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .14), transparent 68%);
  pointer-events: none;
}
.project > * { position: relative; }

.project__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.project__logo {
  width: 62px; height: 62px;
  border-radius: 17px;
  background: var(--bg-tint);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  object-fit: cover;
}
.project__name { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); margin-bottom: 2px; }
.project__url { font-family: var(--mono); font-size: .84rem; color: var(--muted); }

.project__list { display: grid; gap: 11px; margin: 22px 0 26px; }
.project__list li {
  display: flex;
  gap: 11px;
  font-size: .97rem;
  color: var(--ink-soft);
}
.project__list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.project__media {
  border-radius: var(--r-lg);
  padding: 26px;
  background: var(--grad-dark);
  display: grid;
  place-items: center;
  min-height: 260px;
}

/* ------------------------------------------------------- Imkoniyat mini-list */
.feature-list { display: grid; gap: 14px; }
.feature-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: .98rem;
}
.feature-list li strong { color: var(--ink); display: block; }
.feature-list__ic {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--blue-600);
}
.feature-list__ic svg { width: 17px; height: 17px; }

/* ----------------------------------------------------------------- Qadamlar */
.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  position: relative;
  padding: 26px 26px 26px 78px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .22s ease, transform .22s ease;
}
.step:hover { border-color: #cddcf8; transform: translateY(-3px); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 26px; top: 24px;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--grad-blue);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .96rem; }

/* -------------------------------------------------------------- Narx kartalari */
.pricing { display: grid; gap: 22px; align-items: start; }
.price {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px 26px;
  transition: transform .24s ease, box-shadow .24s ease;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price--featured {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-blue);
}
.price--featured:hover { box-shadow: 0 26px 54px -22px rgba(37, 99, 235, .6); }
.price__flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 15px;
  border-radius: var(--r-pill);
  background: var(--grad-blue);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}
.price__name { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.price__for { font-size: .9rem; color: var(--muted); margin-top: 2px; }
.price__amount {
  margin: 18px 0 4px;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
}
.price__amount small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price__list { display: grid; gap: 10px; margin: 22px 0 26px; }
.price__list li {
  display: flex; gap: 10px;
  font-size: .94rem;
  color: var(--ink-soft);
}
.price__list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.price .btn { width: 100%; }

/* -------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open] { border-color: #cddcf8; box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .25s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 21px; font-size: .97rem; color: var(--ink-soft); }
.faq__a p + p { margin-top: 10px; }

/* ------------------------------------------------------------------- CTA */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 68px);
  background: var(--grad-dark);
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, .35), transparent 66%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin: 16px 0 14px; }
.cta p { color: #a9b7d4; max-width: 560px; margin-inline: auto; font-size: 1.05rem; }

/* -------------------------------------------------------------- Aloqa */
.contact-grid { display: grid; gap: 18px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cddcf8; }
.contact-card__ic {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad-blue);
  color: #fff;
}
.contact-card__ic svg { width: 21px; height: 21px; }
.contact-card__label {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-card__value {
  display: block;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  margin: 3px 0 4px;
  word-break: break-word;
}
.contact-card:hover .contact-card__value { color: var(--blue-600); }
.contact-card__note { font-size: .87rem; color: var(--muted); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  font-size: .97rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .14);
}
.form__note { font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------- Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--muted);
  padding: 18px 0 0;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-600); }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: #c3cbdb; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------ Loyiha sahifa hero */
.phero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(900px 460px at 88% 0%, rgba(59, 130, 246, .15), transparent 62%),
    linear-gradient(180deg, #fbfcff, #ffffff);
}
.phero__grid { display: grid; gap: clamp(34px, 5vw, 52px); align-items: center; }
.phero h1 { margin: 18px 0 18px; }
.phero__logo {
  width: 74px; height: 74px;
  border-radius: 20px;
  background: var(--bg-tint);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

/* -------------------------------------------------------- Ma'lumot jadval */
.spec {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: .95rem;
}
.spec th, .spec td { padding: 15px 20px; text-align: left; vertical-align: top; }
.spec tr + tr { border-top: 1px solid var(--line-soft); }
.spec th {
  width: 40%;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  white-space: nowrap;
}
.spec td { color: var(--ink-soft); }

/* Ustunli (taqqoslash) jadval — birinchi ustun keng bo'lib ketmasin */
.spec--cols th { width: auto; white-space: normal; }
.spec--cols thead th {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-soft);
}
.spec--cols tbody th { background: #fff; }
.spec--cols tbody th a { color: var(--ink); }
.spec--cols tbody th a:hover { color: var(--blue-600); }
.spec--cols thead + tbody tr:first-child { border-top: 1px solid var(--line); }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* --------------------------------------------------------------- Toifalar */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat {
  text-align: center;
  padding: 22px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .2s ease, border-color .2s ease;
}
.cat:hover { transform: translateY(-3px); border-color: var(--blue-300); }
.cat b {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: var(--grad-blue);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}
.cat span { font-size: .9rem; font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------------------ Footer */
.footer {
  background: var(--grad-dark);
  color: #97a5c4;
  padding: clamp(48px, 6vw, 76px) 0 30px;
}
.footer__grid { display: grid; gap: 36px; }

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer__logo img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 20px -10px rgba(59, 130, 246, .8);
}
.footer__logo span {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.15;
}
.footer__logo span small {
  display: block;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.footer__about { font-size: .95rem; color: #97a5c4; max-width: 380px; }
.footer h4 {
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: .95rem; color: #97a5c4; transition: color .18s ease; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: .87rem;
}
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #cfd9ee;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.footer__social a:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- 404 */
.error-page {
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}
.error-page__code {
  font-size: clamp(4.5rem, 3rem + 9vw, 9rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------- Animatsiya */
/* Yashirish faqat JS ishlayotgan bo'lsa qo'llanadi — aks holda kontent
   har doim ko'rinadi (foydalanuvchi ham, qidiruv boti ham yo'qotmaydi). */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .8, .3, 1),
              transform .7s cubic-bezier(.22, .8, .3, 1);
  will-change: opacity, transform;
}
.js-anim .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------- Responsivlik */
@media (min-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .brand__text { display: block; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
}

@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(5, 1fr); }
  .project { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .project--rev .project__media { order: -1; }
  .hero__grid { grid-template-columns: 1.02fr .98fr; }
  .phero__grid { grid-template-columns: 1.05fr .95fr; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .nav { display: block; }
  .burger { display: none; }
  .header__cta { display: inline-flex; }
  .mobile-nav { display: none !important; }
}

@media (max-width: 859px) {
  .hero__float--a { left: 0; }
  .hero__float--b { right: 0; }
}

@media (max-width: 420px) {
  .phone { width: 190px; }
    .hero__float { font-size: .76rem; padding: 8px 11px; }
}

@media print {
  .header, .footer, .burger, .btn-row, .mobile-nav { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .js-anim .reveal { opacity: 1; transform: none; }
}
