:root {
  --blue-dark: #0a1f6b;
  --blue: #12308f;
  --white: #ffffff;
  --amber: #f5a300;

  --font-title: "Unbounded", Arial, sans-serif;
  --font-text: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--blue-dark);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
}

.container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

/* ===== Tugmalar ===== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid var(--amber);
  background: var(--amber);
  color: var(--blue-dark);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}

.round-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition:
    background 0.2s,
    color 0.2s;
}
.round-btn:hover {
  background: var(--amber);
  color: var(--blue-dark);
}
.round-btn--sm {
  width: 44px;
  height: 44px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.3s;
}
.header.scrolled {
  background: rgba(10, 31, 107, 0.85);
  backdrop-filter: blur(12px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 28px);
  color: var(--white);
}
.logo { flex-shrink: 0; white-space: nowrap; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(3, 10, 46, 0.35);
}
.logo__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 640px) {
  .logo { gap: 8px; font-size: 15px; }
  .logo__mark { width: 38px; height: 38px; padding: 6px; }
}

.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}
.nav {
  display: flex;
  gap: 2px;
  padding-left: 8px;
}
.nav a {
  padding: 10px clamp(8px, 0.9vw, 14px);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--amber);
}
.pill__btn {
  padding: 12px clamp(16px, 1.6vw, 24px);
  font-size: 14px;
  white-space: nowrap;
}

.phone {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
/* telefon raqam keng ekranda ko'rinadi, o'rtacha ekranda yashirinadi */
@media (max-width: 1320px) {
  .phone { display: none; }
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  min-height: 720px;
  min-height: max(100svh, 720px);
  padding: 110px 0 44px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-dark) 0%, #0d2a85 100%);
  color: var(--white);
}

/* ===== Hero: ko'k diagonal oqim + grain ===== */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #030a2e;
}
.hero__bg i { position: absolute; will-change: transform; }

/* Faqat 2 ta qatlam ishlatiladi */
.hero__bg i:nth-child(n+3) { display: none; }

/* 1. Asosiy diagonal gradient list: sekin aylanadi va siljiydi */
.hero__bg i:nth-child(1) {
  inset: -50%;                                   /* 200% o'lcham: aylanganda chekka ko'rinmaydi */
  background: linear-gradient(45deg,
    #030a2e 0%,
    #030a2e 24%,
    #08195e 38%,
    #12308f 52%,
    #2457e6 66%,
    #6fa0ff 82%,
    #d6e6ff 100%);
  animation: hero-flow 28s ease-in-out infinite alternate;
}

/* 2. Yumshoq nur: o'ng tomonda, qarama-qarshi yo'nalishda siljiydi */
.hero__bg i:nth-child(2) {
  width: 80vmax; height: 80vmax;
  top: -10%; right: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 140, 255, .55) 0%, rgba(80, 140, 255, 0) 62%);
  animation: hero-glow 22s ease-in-out infinite alternate;
}

@keyframes hero-flow {
  from { transform: rotate(-7deg) translate3d(-4%, 3%, 0) scale(1); }
  to   { transform: rotate(7deg)  translate3d(4%, -3%, 0) scale(1.08); }
}
@keyframes hero-glow {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .9; }
  to   { transform: translate3d(-14vw, 14vh, 0) scale(1.2); opacity: .6; }
}

/* Grain: statik, shuning uchun yengil */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* hero ko'rinmay qolganda animatsiya to'xtaydi */
.hero.is-paused .hero__bg i { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg i { animation: none; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 11, 44, .45) 0%, rgba(5, 11, 44, 0) 55%),
    linear-gradient(180deg, rgba(5, 11, 44, 0) 70%, rgba(5, 11, 44, .55) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 107, 0.55) 0%,
    rgba(10, 31, 107, 0.15) 45%,
    rgba(10, 31, 107, 0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  pointer-events: none;
}
.hero__content .btn,
.hero__content .round-btn,
.hero__content .badge {
  pointer-events: auto;
}

/* Sarlavha */
.title {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(28px, 6.2vw, 76px);
  line-height: 1.08;
  text-transform: uppercase;
}
.title__line {
  display: block;
}
.title__line--end {
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.title__rule {
  flex: 1;
  height: 2px;
  min-width: 24px;
  background: var(--white);
}
.title em {
  font-style: normal;
  color: var(--amber);
}

@media (min-width: 701px) {
  .title__line:first-child {
    white-space: nowrap;
  }
}

/* Pastki qator */
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__left p:first-child {
  max-width: 42ch;
  font-size: 16px;
  opacity: 0.92;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.meta {
  margin-top: 32px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Skroll yozuvi */
.scroll {
  position: absolute;
  left: 18px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}
.scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: var(--amber);
}
.scroll:hover {
  color: var(--amber);
  opacity: 1;
}

/* ===== Statistika ===== */
.stats {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}
.badge > svg {
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.badge text {
  font-family: var(--font-text);
  font-size: 7.4px;
  font-weight: 400;
  fill: var(--white);
}
.badge__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: var(--blue-dark);
  transition: transform 0.25s;
}
.badge:hover .badge__core {
  transform: scale(1.12);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.stat {
  position: relative;
  min-width: 176px;
  padding: 18px 24px 16px;
  border-radius: 20px;
  background: var(--white);
  color: var(--blue-dark);
}
.stat::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--amber);
}
.stat b {
  display: block;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}
.stat--accent {
  background: var(--amber);
}
.stat--accent::after {
  background: var(--white);
}
.stat--accent span {
  opacity: 0.8;
}

/* ===== Header: burger menyu (<=1100px) ===== */
@media (max-width: 1100px) {
  .burger { display: block; }
  .pill {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    margin-top: 8px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 24px;
    background: rgba(10, 31, 107, 0.96);
  }
  .pill.open { display: flex; }
  .nav { flex-direction: column; padding: 0; }
  .nav a { padding: 12px 14px; }
  .pill .round-btn { display: none; }
  .pill__btn { text-align: center; }
}

/* ===== Mobil ===== */
@media (max-width: 900px) {
  
  .scroll {
    display: none;
  }
  .badge {
    width: 90px;
    height: 90px;
  }
  .badge__core {
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
  }
  .stat {
    min-width: 0;
    flex: 1 1 140px;
    padding: 16px 20px;
  }
}

@media (max-width: 700px) {
  .title {
    font-size: 9vw;
  }
  .hero {
    padding-top: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge > svg {
    animation: none;
  }
}

/* ================= Yugurma qator ================= */
:root {
  --blue-deep: #071753;
}

.marquee {
  overflow: hidden;
  padding: 22px 0;
  background: var(--blue-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marq 45s linear infinite;
}
.marquee__group {
  display: flex;
  flex-shrink: 0;
}
.marquee__group span {
  display: flex;
  align-items: center;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 24px);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__group span::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: 0 clamp(28px, 5vw, 64px);
  border-radius: 50%;
  background: var(--amber);
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}

/* ================= Точка А ================= */
.problem {
  position: relative;
  height: 600vh; /* skroll uzunligi: kattaroq = sekinroq */
  background: var(--blue-deep);
  color: var(--white);
}
.problem__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.problem__sticky::before {
  /* nozik katak fon */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
}
.problem__bg {
  /* katta "ТОЧКА А" yozuvi */
  position: absolute;
  left: -4vw;
  bottom: -5vw;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 34vw;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.045);
  transform: translateX(calc(var(--p, 0) * -12vw));
  pointer-events: none;
  user-select: none;
}
.problem .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--amber);
}

.problem__list {
  list-style: none;
  display: grid;
  gap: 0.3em;
  margin: 40px 0;
}
.problem__list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  color: rgba(255, 255, 255, 0.14);
  filter: blur(1.5px);
  transition:
    color 0.5s,
    filter 0.5s;
}
.problem__list .num {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 13px;
  color: var(--amber);
  opacity: 0.45;
  transition: opacity 0.5s;
}
.problem__list .txt {
  position: relative;
  justify-self: start;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(18px, 3.5vw, 46px);
  line-height: 1.25;
  text-transform: uppercase;
}
.problem__list .txt::after {
  /* o'chiruvchi chiziq */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 3px;
  background: var(--amber);
  transform: scaleX(var(--strike, 0));
  transform-origin: left;
}
.problem__list li.is-active {
  color: var(--white);
  filter: none;
}
.problem__list li.is-active .num {
  opacity: 1;
}
.problem__list li.is-done {
  color: rgba(255, 255, 255, 0.6);
  filter: none;
}
.problem__list li.is-done .num {
  opacity: 1;
}

.problem__lead {
  max-width: 36ch;
  font-size: 18px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.problem__lead.is-shown {
  opacity: 1;
  transform: none;
}
.problem__lead em {
  font-style: normal;
  color: var(--amber);
}

/* Harakat kerak bo'lmasa: oddiy statik ko'rinish */
.problem--static {
  height: auto;
}
.problem--static .problem__sticky {
  position: static;
  height: auto;
  padding: 110px 0;
}
.problem--static .problem__lead {
  opacity: 1;
  transform: none;
}

/* ================= O'ngdagi navigatsiya ================= */
.tracker {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.tracker a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tracker a[hidden] {
  display: none;
}
.tracker span {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.tracker i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition:
    background 0.25s,
    transform 0.25s;
}
.tracker a:hover span,
.tracker a.active span {
  opacity: 1;
  transform: none;
}
.tracker a.active i {
  background: var(--amber);
  transform: scale(1.35);
}

.tracker.on-light span {
  color: var(--blue-dark);
}
.tracker.on-light i {
  background: rgba(10, 31, 107, 0.3);
}
.tracker.on-light a.active i {
  background: var(--amber);
}

@media (max-width: 900px) {
  .tracker {
    display: none;
  }
}
@media (max-width: 700px) {
  .problem__list li {
    grid-template-columns: 34px 1fr;
  }
  .problem__list .txt {
    font-size: 5vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Services (horizontal scroll pinned) ---------- */
.services {
  position: relative; /* height set in JS */
  height: 400vh;
}
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.intro {
  padding: clamp(32px, 7vh, 80px) clamp(16px, 8vw, 230px) clamp(16px, 4vh, 40px);
  flex: none;
  max-height: 800px;
  overflow: hidden;
  transition:
    max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.4s ease;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--amber);
}
.intro h1 {
  font-family: var(--font-title);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(30px, 5.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 24px;
  max-width: 460px;
  font-size: 14px;
  color: var(--muted);
}

/* intro collapses as the user starts scrolling */
.services.started .intro {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.track {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  width: max-content;
  will-change: transform;
  border-top: 1px solid var(--line);
  padding-left: clamp(0px, 4vw, 100px);
}
.card {
  position: relative;
  flex: none;
  width: clamp(300px, 38vw, 560px);
  padding: clamp(24px, 6vh, 64px) clamp(24px, 3vw, 56px) 64px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card:last-child {
  border-right: 1px solid var(--line);
  margin-right: 20vw;
}
.num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 24px;
}
.card h2 {
  font-family: var(--font-title);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(26px, min(4.3vw, 8vh), 62px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.card p {
  max-width: 380px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 460px;
}
.tags li {
  font-size: 10px;
  font-weight: 700;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.card:hover .tags li {
  border-color: rgba(245, 163, 0, 0.5);
}
.more {
  margin-top: auto;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.more span {
  display: inline-block;
  transition: transform 0.2s;
}
.more:hover span {
  transform: translateX(5px);
}

.hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hint i {
  width: 22px;
  height: 1px;
  background: var(--muted);
}
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--line);
}
.progress b {
  display: block;
  height: 100%;
  width: 0;
  background: var(--amber);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card {
    width: 78vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .intro,
  .more span {
    transition: none;
  }
}

/* ================= О нас ================= */
.about {
  --a-line: rgba(255, 255, 255, 0.16);
  --a-muted: rgba(255, 255, 255, 0.68);

  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(64px, 9vw, 110px);
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
}
.about::before {
  /* katak fon, Точка А bilan bir xil */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.about .container {
  position: relative;
  z-index: 1;
}
.about .eyebrow {
  margin-bottom: 32px;
}

.about__title {
  max-width: 14em;
  margin-bottom: clamp(40px, 6vw, 72px);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(28px, 5.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* Statistika */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--a-line);
  background: rgba(7, 23, 83, 0.55);
}
.about-stat {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 28px;
}
.about-stat + .about-stat {
  border-left: 1px solid var(--a-line);
}
.about-stat svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-stat__value {
  display: block;
  margin-top: auto;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
  color: var(--amber);
}
.about-stat__value small {
  font-size: 0.6em;
}
.about-stat__value--text {
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.1;
}
.about-stat__label {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--a-muted);
}

/* Kartalar */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.about-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  background: rgba(18, 48, 143, 0.35);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.about-card:hover {
  border-color: var(--amber);
  background: rgba(18, 48, 143, 0.6);
}
.about-card__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(245, 163, 0, 0.14);
}
.about-card__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}
.about-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--a-muted);
}

@media (max-width: 900px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stat:nth-child(3) {
    border-left: 0;
  }
  .about-stat:nth-child(n + 3) {
    border-top: 1px solid var(--a-line);
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .about-stat {
    min-height: 160px;
    padding: 20px 18px;
  }
}

/* ================= Yutuqlar ================= */
.portfolio {
  --p-line: rgba(255, 255, 255, 0.14);
  --p-panel: rgba(18, 48, 143, 0.35);
  --p-muted: rgba(255, 255, 255, 0.78);

  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--blue-deep);
  color: var(--white);
}
.portfolio .eyebrow {
  margin-bottom: 20px;
}

.portfolio__title {
  margin-bottom: clamp(32px, 5vw, 56px);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
}

/* Rasm */
.portfolio-photo {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(
    160deg,
    var(--blue),
    var(--amber)
  ); /* rasm yuklanmasa */
  transform: rotate(-1deg);
  box-shadow: 0 18px 40px rgba(245, 163, 0, 0.18);
}
.portfolio-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.portfolio-photo::after {
  /* matn o'qilishi uchun pastki qatlam */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 23, 83, 0.92) 0%,
    rgba(7, 23, 83, 0.45) 35%,
    transparent 65%
  );
}
.portfolio-photo figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Raqamli kartalar */
.portfolio-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--p-line);
  border-radius: 16px;
  background: var(--p-panel);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.portfolio-tile:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}
.portfolio-tile b {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1;
}
.portfolio-tile > span {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--p-muted);
}
.portfolio-tile--wide {
  grid-column: 2 / 4;
  grid-row: 1;
}
.portfolio-tile--accent {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--blue-dark);
}
.portfolio-tile--accent > span {
  color: var(--blue-dark);
  opacity: 0.8;
}

/* CTA */
.portfolio-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 28px;
  border: 1px solid var(--p-line);
  border-radius: 16px;
  background: var(--p-panel);
}
.portfolio-cta p {
  font-size: 16px;
  font-weight: 500;
}
.portfolio-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Planshet */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-photo {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
    transform: none;
  }
  .portfolio-tile--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
/* Telefon */
@media (max-width: 520px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-tile {
    min-height: 120px;
  }
  .portfolio-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .portfolio-cta .btn {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-tile {
    transition: none;
  }
  .portfolio-tile:hover {
    transform: none;
  }
}

/* ================= Кейсы / Галерея ================= */
.gallery {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
}
.gallery__head {
  margin-bottom: clamp(32px, 5vw, 52px);
}
.gallery .eyebrow {
  margin-bottom: 20px;
}
.gallery__title {
  margin-bottom: 18px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
}
.gallery__lead {
  max-width: 52ch;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

/* Lentalar */
.gallery-row {
  overflow: hidden;
  padding: 18px 0;
}
.gallery-row + .gallery-row {
  margin-top: 4px;
}
.gallery-row__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: gallery-slide 55s linear infinite;
}
.gallery-row--rev .gallery-row__track {
  animation-direction: reverse;
  animation-duration: 65s;
}
.gallery-row:hover .gallery-row__track,
.gallery-row:focus-within .gallery-row__track {
  animation-play-state: paused;
}
@keyframes gallery-slide {
  to {
    transform: translateX(-50%);
  }
}

/* Kartalar (margin: sikl uzluksiz bo'lishi uchun) */
.gallery-shot {
  position: relative;
  flex: none;
  width: 270px;
  height: 300px;
  margin-right: 22px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: inherit;
  font: inherit;
  text-align: left;
  transform: rotate(var(--tilt, 0deg));
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s;
}
.gallery-shot.is-tall {
  height: 360px;
}
.gallery-shot.is-short {
  height: 240px;
}
.gallery-shot.is-wide {
  width: 340px;
}
.gallery-shot:nth-child(3n + 1) {
  --tilt: -2deg;
}
.gallery-shot:nth-child(3n + 2) {
  --tilt: 1.5deg;
  background: linear-gradient(135deg, var(--blue), #1a45c4);
}
.gallery-shot:nth-child(3n) {
  --tilt: -0.5deg;
}

.gallery-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 23, 83, 0.92),
    rgba(7, 23, 83, 0) 58%
  );
}
.gallery-shot__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(14px);
  opacity: 0;
  transition:
    transform 0.4s,
    opacity 0.4s;
}
.gallery-shot__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.gallery-shot__name {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}
.gallery-shot:hover,
.gallery-shot:focus-visible {
  transform: rotate(0) scale(1.07);
  z-index: 2;
  box-shadow: 0 24px 50px rgba(245, 163, 0, 0.25);
}
.gallery-shot:hover img,
.gallery-shot:focus-visible img {
  transform: scale(1.1);
}
.gallery-shot:hover .gallery-shot__cap,
.gallery-shot:focus-visible .gallery-shot__cap {
  transform: none;
  opacity: 1;
}

/* Lightbox */
.gallery-lb {
  position: fixed;
  inset: 0;
  margin: auto; /* dialogni markazga qo'yadi */
  width: min(920px, 92vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: var(--blue-deep);
  color: var(--white);
  overflow: hidden;
  font-family: var(--font-text);
}
.gallery-lb::backdrop {
  background: rgba(4, 12, 48, 0.85);
  backdrop-filter: blur(6px);
}
.gallery-lb[open] {
  animation: gallery-pop 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-lb[open]::backdrop {
  animation: gallery-fade 0.4s;
}
@keyframes gallery-pop {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
  }
}
@keyframes gallery-fade {
  from {
    opacity: 0;
  }
}

.gallery-lb__img {
  display: block;
  width: 100%;
  max-height: 66vh;
  object-fit: cover;
  background: var(--blue);
}
.gallery-lb__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 24px;
}
.gallery-lb__tag {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.gallery-lb__name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}
.gallery-lb__nav {
  display: flex;
  gap: 8px;
  flex: none;
}
.gallery-lb__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.gallery-lb__btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--blue-dark);
}
.gallery-lb__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(7, 23, 83, 0.75);
}

@media (max-width: 640px) {
  .gallery-shot {
    width: 220px;
    height: 260px;
  }
  .gallery-shot.is-tall {
    height: 300px;
  }
  .gallery-shot.is-short {
    height: 210px;
  }
  .gallery-shot.is-wide {
    width: 280px;
  }
  .gallery-shot__cap {
    opacity: 1;
    transform: none;
  } /* telefonda hover yo'q */
  .gallery-lb__info {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-row {
    overflow-x: auto;
  }
  .gallery-row__track {
    animation: none;
  }
  .gallery-shot,
  .gallery-shot img,
  .gallery-shot__cap {
    transition: none;
  }
  .gallery-lb[open],
  .gallery-lb[open]::backdrop {
    animation: none;
  }
}

/* ================= SMM / Xizmatlar ro'yxati ================= */
.offer {
  --o-line: rgba(255, 255, 255, 0.14);
  --o-panel: rgba(18, 48, 143, 0.35);
  --o-muted: rgba(255, 255, 255, 0.75);

  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--blue-deep);
  color: var(--white);
}
.offer__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.offer__side {
  position: sticky;
  top: 100px;
}
.offer .eyebrow {
  margin-bottom: 20px;
}
.offer__title {
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
}
.offer__lead {
  max-width: 40ch;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--o-muted);
}
.offer__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Ochiladigan ro'yxat */
.offer-acc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offer-item {
  border: 1px solid var(--o-line);
  border-radius: 16px;
  background: var(--o-panel);
  transition:
    border-color 0.3s,
    background 0.3s;
}
.offer-item.is-open {
  border-color: var(--amber);
  background: rgba(18, 48, 143, 0.6);
}

.offer-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  border-radius: 16px;
  background: none;
  color: inherit;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}
.offer-q:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.offer-icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.35s;
}
.offer-icon::before,
.offer-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.offer-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.35s;
}
.offer-item.is-open .offer-icon {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--blue-dark);
  transform: rotate(180deg);
}
.offer-item.is-open .offer-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Balandlik animatsiyasi: grid qatori 0fr → 1fr */
.offer-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.offer-item.is-open .offer-a {
  grid-template-rows: 1fr;
}
.offer-body {
  overflow: hidden;
}
.offer-body > div {
  padding: 0 24px 24px;
}
.offer-body p {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--o-muted);
}

.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.offer-tags li {
  padding: 6px 12px;
  border: 1px solid var(--o-line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 800px) {
  .offer__inner {
    grid-template-columns: 1fr;
  }
  .offer__side {
    position: static;
  }
}
@media (prefers-reduced-motion: reduce) {
  .offer-a,
  .offer-icon,
  .offer-icon::after,
  .offer-item {
    transition: none;
  }
}

/* ================= Отзывы (yorug' fon) ================= */
.reviews {
  --r-line: rgba(10, 31, 107, 0.12);

  padding: clamp(72px, 9vw, 110px) 0;
  background: var(--white);
  color: var(--blue-dark);
  overflow: hidden;
}
.reviews__head {
  width: min(1160px, 100% - 40px);
  margin: 0 auto clamp(32px, 5vw, 52px);
  text-align: center;
}
.reviews .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}
.reviews__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.05;
  text-transform: uppercase;
}

/* Lentalar: chetlari yumshoq so'nadi */
.rv-row {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.rv-row + .rv-row {
  margin-top: 8px;
}
.rv-track {
  display: flex;
  width: max-content;
  animation: rv-slide 70s linear infinite;
}
.rv-row--rev .rv-track {
  animation-direction: reverse;
  animation-duration: 80s;
}
.rv-row:hover .rv-track {
  animation-play-state: paused;
}
@keyframes rv-slide {
  to {
    transform: translateX(-50%);
  }
}

.rv-card {
  flex: none;
  width: 340px;
  margin-right: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--r-line);
  border-radius: 18px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.rv-card:hover {
  border-color: var(--amber);
  box-shadow: 0 14px 34px rgba(245, 163, 0, 0.18);
}
.rv-text {
  font-size: 13px;
  line-height: 1.7;
}

.rv-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rv-ava {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 500;
}
.rv-card:nth-child(4n + 1) .rv-ava {
  background: var(--amber);
  color: var(--blue-dark);
}
.rv-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.rv-role {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: rgba(10, 31, 107, 0.6);
}

@media (max-width: 640px) {
  .rv-card {
    width: 290px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rv-row {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .rv-track {
    animation: none;
  }
  .rv-card {
    transition: none;
  }
}

/* ================= FAQ ================= */
.faq {
  --f-line: rgba(255, 255, 255, 0.14);
  --f-panel: rgba(18, 48, 143, 0.35);
  --f-muted: rgba(255, 255, 255, 0.75);

  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--blue-dark);
  color: var(--white);
}
.faq__inner {
  max-width: 820px;
}

.faq__head {
  margin-bottom: clamp(32px, 5vw, 52px);
  text-align: center;
}
.faq .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}
.faq__title {
  margin-bottom: 16px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.05;
  text-transform: uppercase;
}
.faq__lead {
  max-width: 46ch;
  margin: 0 auto;
  font-size: 14px;
  color: var(--f-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--f-line);
  border-radius: 16px;
  background: var(--f-panel);
  transition:
    border-color 0.3s,
    background 0.3s;
}
.faq-item.is-open {
  border-color: var(--amber);
  background: rgba(18, 48, 143, 0.6);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  border-radius: 16px;
  background: none;
  color: inherit;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}
.faq-q:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.35s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.35s;
}
.faq-item.is-open .faq-icon {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--blue-dark);
  transform: rotate(180deg);
}
.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Balandlik animatsiyasi: grid qatori 0fr → 1fr */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a__clip {
  overflow: hidden;
}
.faq-a__text {
  max-width: 64ch;
  padding: 0 22px 22px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--f-muted);
}

/* Pastki chaqiruv */
.faq-cta {
  margin-top: 28px;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 16px;
}
.faq-cta p {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
}
.faq-cta small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 300;
  color: var(--f-muted);
}
.faq-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .faq-q {
    padding: 18px;
    font-size: 12px;
  }
  .faq-a__text {
    padding: 0 18px 18px;
  }
  .faq-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .faq-cta__btn {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-a,
  .faq-icon,
  .faq-icon::after,
  .faq-item {
    transition: none;
  }
}

/* ================= Контакты (forma) ================= */
.cf,
.ft {
  --c-line: rgba(255, 255, 255, 0.14);
  --c-field: rgba(7, 23, 83, 0.7);
  --c-muted: rgba(255, 255, 255, 0.7);
  --c-ok: #2ecc71;
  --c-err: #ff8a8a;

  color: var(--white);
  background-color: var(--blue-deep);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.cf {
  padding: clamp(72px, 10vw, 120px) 0;
}
.cf__card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--c-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 6%, rgba(245, 163, 0, 0.22), transparent 40%),
    rgba(18, 48, 143, 0.35);
}
.cf .eyebrow {
  margin-bottom: 20px;
}
.cf__title {
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.04;
  text-transform: uppercase;
}
.cf__lead {
  max-width: 38ch;
  margin-bottom: 26px;
  font-size: 14px;
  color: var(--c-muted);
}

.cf-checks {
  display: grid;
  gap: 12px;
}
.cf-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.cf-checks svg {
  flex: none;
  color: var(--c-ok);
}

/* Forma */
.cf-form {
  display: grid;
  gap: 12px;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 16px 18px;
  background: var(--c-field);
  color: var(--white);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.cf-field textarea {
  min-height: 96px;
  resize: vertical;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 163, 0, 0.2);
}
.cf-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4.5l4 4 4-4' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.cf-field select option {
  background: var(--blue-deep);
  color: var(--white);
}
.cf-field.is-invalid input {
  border-color: var(--c-err);
}
.cf-field__err {
  display: none;
  margin: 6px 4px 0;
  font-size: 12px;
  color: var(--c-err);
}
.cf-field.is-invalid .cf-field__err {
  display: block;
}

.cf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.cf-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.cf-form__note {
  margin-top: 6px;
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
.cf-form__note a {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.8);
}
.cf-form__error {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--c-err);
}
.cf-form__error.is-on {
  display: block;
}

/* Muvaffaqiyat holati */
.cf-done {
  display: none;
  padding: 24px 8px;
  text-align: center;
}
.cf-done.is-on {
  display: block;
  animation: cf-rise 0.5s ease;
}
.cf-done__ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  color: var(--c-ok);
}
.cf-done b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 500;
}
.cf-done span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
}
@keyframes cf-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ================= Footer ================= */
.ft {
  padding: clamp(56px, 8vw, 88px) 0 32px;
  border-top: 1px solid var(--c-line);
}
.ft__big {
  margin-bottom: clamp(40px, 6vw, 64px);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(36px, 8vw, 92px);
  line-height: 0.98;
  text-transform: uppercase;
}
.ft__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 44px;
}
.ft .logo {
  display: inline-block;
}
.ft__about {
  max-width: 32ch;
  margin-top: 16px;
  font-size: 13px;
  color: var(--c-muted);
}

.ft-col h3 {
  margin-bottom: 18px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.ft-col ul {
  display: grid;
  gap: 14px;
}
.ft-col li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.ft-col li a:hover {
  color: var(--amber);
}

.ft-contact {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.ft-contact:hover {
  color: var(--amber);
}
.ft-addr {
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--c-muted);
}
.ft-social {
  display: flex;
  gap: 10px;
}
.ft-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.ft-social a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--blue-dark);
}

.ft__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Moslashuvchanlik */
@media (max-width: 860px) {
  .cf__card {
    grid-template-columns: 1fr;
  }
  .ft__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ft__grid > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .ft__grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cf-field input,
  .cf-field select,
  .cf-field textarea,
  .ft-col li a,
  .ft-contact,
  .ft-social a {
    transition: none;
  }
  .cf-done.is-on {
    animation: none;
  }
}

/* ===== President speech: ikki tomonli bo'lim ===== */
.speech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: var(--blue-dark);
}
 
/* chap: rasm */
.speech__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--blue);
}
.speech__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.speech__caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  font: 400 11px/1.5 var(--font-text);
  color: var(--white);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(10, 31, 107, 0.7);
}
 
/* o'ng: nutq matni */
.speech__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 72px);
  color: var(--white);
}
.speech__meta {
  font: 400 11px/1.6 var(--font-text);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}
.speech__meta strong {
  display: block;
  color: var(--white);
  font-weight: 400;
}
 
.speech__quote {
  margin: 0;
  max-width: 34ch;
}
.speech__quote::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--amber);
}
.speech__quote p {
  margin: 0;
  font: 300 clamp(20px, 2.3vw, 32px)/1.45 var(--font-title);
  letter-spacing: -0.01em;
}
 
.speech__sign {
  font: 400 12px/1.6 var(--font-text);
  color: rgba(255, 255, 255, 0.85);
}
.speech__sign span {
  color: var(--amber);
}
 
/* mobil */
@media (max-width: 760px) {
  .speech {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .speech__photo {
    height: 120vw;          /* aniq balandlik: rasm doim ko'rinadi */
    max-height: 640px;
    min-height: 320px;
  }
  .speech__body { gap: 40px; }
}



/* ===== Scrollda kattalashadigan video ===== */
.zoomvid {
  position: relative;
  height: 300vh;              /* scroll uzunligi: kattaroq = sekinroq */
  background: var(--blue-dark);
}
.zoomvid__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
 
/* video to'liq ekran o'lchamda turadi, ko'rinadigan qismi clip-path bilan kesiladi */
.zoomvid__frame {
  position: absolute;
  inset: 0;
  will-change: clip-path, transform;
}
.zoomvid__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
.zoomvid__title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  color: var(--white);
  font: 600 clamp(40px, 8vw, 112px)/1.05 var(--font-title);
  letter-spacing: -0.03em;
  pointer-events: none;
  will-change: opacity, transform;
}
.zoomvid__title em {
  font: italic 400 1.05em/1 var(--font-accent);
  letter-spacing: 0;
  color: var(--amber);
}
 
/* harakatni kamaytirish yoqilgan bo'lsa: oddiy, statik ko'rinish */
@media (prefers-reduced-motion: reduce) {
  .zoomvid { height: auto; }
  .zoomvid__stage { position: relative; height: 80vh; }
}

.bookfx {
  --bk-line: rgba(10, 31, 107, .1);
  --bk-cols: 7;
  --bk-amber-text: #b87400; /* oq fonda o'qiladigan to'q amber */
  position: relative;
  height: 400vh;
  background: var(--white);
  color: var(--blue-dark);
}
.bookfx__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(var(--bk-cols), 1fr);
  grid-template-rows: minmax(0, 1fr);
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--bk-line) 1px, transparent 1px);
  background-size: calc(100% / var(--bk-cols)) 100%;
}
 
/* ===== Yon ustunlar ===== */
.bk-col { grid-row: 1; min-height: 0; will-change: transform; }
.bk-col:nth-child(1) { grid-column: 1; }
.bk-col:nth-child(2) { grid-column: 2; margin-top: -100px; }
.bk-col:nth-child(3) { grid-column: 6; margin-top: -100px; }
.bk-col:nth-child(4) { grid-column: 7; }
 
.bk-item {
  height: 200px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 8px; padding: 0 14px;
}
.bk-item b {
  font-family: var(--font-title); font-weight: 500;
  font-size: clamp(1rem, 1.7vw, 1.6rem); letter-spacing: -.02em;
  color: var(--blue-dark);
}
.bk-item span {
  font-size: clamp(.68rem, .85vw, .8rem); line-height: 1.5;
  color: var(--blue); max-width: 17ch;
}
.bk-item:nth-child(3n) b { color: var(--bk-amber-text); }
 
/* ===== 3D sahna ===== */
.bk-center {
  grid-row: 1; grid-column: 3 / 6;
  display: grid; place-items: center;
  position: relative; z-index: 2; pointer-events: none;
}
.bk-scene {
  --k0: 1;   /* asosiy masshtab (mobilda kichikroq) */
  --kh: 1;   /* ekran o'lchamiga moslash (JS qo'yadi) */
  width: 0; height: 0; position: relative;
  perspective: 1500px;
  transform: scale(calc(var(--k0) * var(--kh)));
}
.bk-world, .bk-book, .bk-box {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  transform-style: preserve-3d;
}
.bk-face {
  position: absolute; left: 50%; top: 50%; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.bk-face::after { /* dinamik yorug'lik/soya */
  content: ""; position: absolute; inset: 0;
  background: #020a33; opacity: var(--s, 0); pointer-events: none;
}
 
/* Muqova */
.bk-cover {
  background:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px) 0 0 / 4px 4px,
    linear-gradient(145deg, #1a3aa6 0%, var(--blue-dark) 100%);
}
.bk-cover-front { border-radius: 0 8px 8px 0; box-shadow: inset 9px 0 10px -8px rgba(0,0,0,.55); }
.bk-cover-back { border-radius: 8px 0 0 8px; }
 
.bk-cv {
  position: absolute; inset: 0;
  padding: 24px 20px 20px 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center; color: var(--white);
}
.bk-cv__frame {
  position: absolute; inset: 10px 10px 10px 16px;
  border: 1px solid rgba(245,163,0,.75); border-radius: 3px; pointer-events: none;
}
.bk-cv__frame::after {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgba(245,163,0,.3); border-radius: 2px;
}
.bk-cv svg { width: 56px; height: 56px; }
.bk-cv h3 {
  font-family: var(--font-title); font-weight: 500;
  font-size: 19px; line-height: 1.15; letter-spacing: -.03em;
  text-shadow: 0 1px 0 rgba(255,255,255,.28), 0 -1px 0 rgba(0,0,0,.45);
}
.bk-cv p { font-size: 9.5px; letter-spacing: .06em; opacity: .85; }
.bk-cv small { font-family: var(--font-title); font-size: 10px; color: var(--amber); }
.bk-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.3) 50%, transparent 65%);
  background-size: 300% 100%;
}
 
/* Jild */
.bk-spine-art { position: absolute; inset: 0; display: grid; place-items: center; }
.bk-spine-art::before, .bk-spine-art::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px;
  border-top: 2px solid var(--amber); border-bottom: 1px solid rgba(245,163,0,.5);
}
.bk-spine-art::before { top: 26px; }
.bk-spine-art::after { bottom: 26px; }
.bk-spine-art span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-title); font-weight: 500; font-size: 15px;
  letter-spacing: .12em; color: var(--amber); white-space: nowrap;
}
 
/* Orqa muqova */
.bk-back-art {
  position: absolute; inset: 0; padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  color: rgba(255,255,255,.8); font-size: 9px; line-height: 1.5;
}
.bk-back-art i { display: block; width: 36px; height: 2px; background: var(--amber); }
 
/* Sahifalar */
.bk-pg-side { background: repeating-linear-gradient(to right, #f8f4e8 0 2px, #d9d1bb 2px 3px); box-shadow: inset 0 0 14px rgba(120,100,50,.35); }
.bk-pg-edge { background: repeating-linear-gradient(to bottom, #f8f4e8 0 2px, #d9d1bb 2px 3px); box-shadow: inset 0 0 14px rgba(120,100,50,.35); }
.bk-pg-flat { background: #efe9d6; }
 
/* Xatcho'p lenta */
.bk-rib { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.bk-sw { position: absolute; transform-style: preserve-3d; transform-origin: 50% 0; animation: bk-sw 3.2s ease-in-out infinite alternate; }
.bk-sw i {
  position: absolute; left: -6px; top: 0; width: 12px; height: 64px;
  background: linear-gradient(90deg, #d98f00, var(--amber), #d98f00);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
}
.bk-sw i:nth-child(2) { transform: rotateY(90deg); }
@keyframes bk-sw {
  from { transform: rotateX(-6deg) rotateZ(-3deg); }
  to   { transform: rotateX(7deg) rotateZ(3deg); }
}
 
/* Atrofda aylanuvchi belgilar (hero dagi .badge bilan to'qnashmaslik uchun bk-badge) */
.bk-badge {
  position: absolute; left: 0; top: 0;
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--blue-dark);
  border: 1.5px solid var(--blue-dark);
  font-family: var(--font-title); font-weight: 500; font-size: 15px;
  box-shadow: 0 12px 22px -10px rgba(10,31,107,.5);
}
.bk-badge--amber { background: var(--amber); border-color: var(--amber); }
.bk-badge--blue { background: var(--blue-dark); color: var(--white); }
.bk-badge svg { width: 28px; height: 28px; }
 
.bk-ring, .bk-floor { position: absolute; left: 0; top: 0; border-radius: 50%; }
.bk-ring { border: 1.5px dashed rgba(10,31,107,.28); }
.bk-floor { background: radial-gradient(closest-side, rgba(10,31,107,.28), transparent); filter: blur(4px); }
 
/* ===== Mobil ===== */
@media (max-width: 760px) {
  .bookfx { --bk-cols: 3; }
  .bk-col:nth-child(1), .bk-col:nth-child(4) { display: none; }
  .bk-col:nth-child(2) { grid-column: 1; margin-top: 0; }
  .bk-col:nth-child(3) { grid-column: 3; margin-top: -100px; }
  .bk-center { grid-column: 2; }
  .bk-scene { --k0: .5; }
  .bk-item { padding: 0 6px; }
  .bk-item span { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { .bk-sw { animation: none; } }