/* =========================================================
   ART JURIS — "The Art of Law"
   Tahririy (editorial) uslub: § bo‘limlar, Art. moddalar,
   klassik arka shakli, fil suyagi · siyoh · oltin palitrasi.
   ========================================================= */

:root {
  --brand: #012558;
  --ink-950: #020814;
  --ink-900: #051230;
  --ink-800: #0a1d45;
  --ink-700: #12295c;

  --ivory: #f4efe5;
  --ivory-2: #ebe3d3;
  --white: #fffdf8;
  --rule: #d6cab2;
  --rule-dark: rgba(255, 255, 255, .13);

  --gold: #c2a063;
  --gold-hi: #ecd49c;
  --gold-lo: #8f6d31;
  --oxblood: #8b3a32;

  --ink-text: #101a30;
  --body: #3b4357;
  --muted: #6c7184;

  --display: "Inter Tight", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand-font: "Cinzel", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: 32px;
  --section: clamp(72px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* butun sahifa bo‘ylab nozik "qog‘oz" donadorligi */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: var(--ink-950); }

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; color: var(--ink-text); }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.i {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink-950);
  font-weight: 700;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Tugmalar ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 19px 32px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .i { transition: transform .5s var(--ease-out); }
.btn:hover .i { transform: translateX(4px); }
.btn--gold {
  background: var(--gold);
  color: var(--ink-950);
}
.btn--gold::before { background: var(--ivory); }
.btn--ink { background: var(--ink-900); color: var(--ivory); }
.btn--ink::before { background: var(--gold); }
.btn--ink:hover { color: var(--ink-950); }
.btn--ink:hover .i { transform: translate(3px, -3px); }
.btn--sm { padding: 13px 20px; font-size: 11.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ivory);
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: color .4s, background-size .6s var(--ease-out);
}
.link-arrow .i { transition: transform .5s var(--ease-out); }
.link-arrow:hover { color: var(--gold-hi); background-size: 40% 1px; }
.link-arrow:hover .i { transform: rotate(45deg); }
.link-arrow--dark { color: var(--ink-text); }
.link-arrow--dark:hover { color: var(--gold-lo); }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold-lo);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Bo‘lim sarlavhalari: § belgisi ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--ivory { background: var(--ivory); }
/* bir xil rangli qo‘shni bo‘limlar orasida ikki barobar bo‘shliq qolmasin */
.section--ivory + .section--ivory { padding-top: calc(var(--section) * .35); }
.section--ink { background: var(--ink-900); color: rgba(255, 255, 255, .7); }
.section--ink h2, .section--ink h3 { color: var(--ivory); }

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.label::after { content: ""; flex: 0 0 60px; height: 1px; background: currentColor; opacity: .45; }
.label--center { justify-content: center; }
.label--center::before { content: ""; flex: 0 0 60px; height: 1px; background: currentColor; opacity: .45; }
.label__num { letter-spacing: .12em; color: var(--gold-lo); }
.section--ink .label { color: rgba(255, 255, 255, .55); }
.section--ink .label__num { color: var(--gold); }

.title {
  font-family: var(--display);
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink-text);
}
.title em { font-style: normal; color: var(--gold-lo); }
.section--ink .title em { color: var(--gold-hi); }
.title--xl { font-size: clamp(44px, 5.6vw, 84px); }

.head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(40px, 4.5vw, 64px);
}
.head .title { max-width: 16ch; }
.head__lead { justify-self: end; max-width: 440px; margin: 0; font-size: 18px; color: var(--muted); }
.section--ink .head__lead { color: rgba(255, 255, 255, .6); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--ivory);
  transition: background .5s var(--ease), backdrop-filter .5s;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 92px;
  transition: height .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(3, 10, 24, .95);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.header.is-scrolled .header__inner { height: 72px; }
.header__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity .4s;
}
.header.is-scrolled .header__progress { opacity: 1; }

.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--ivory); }
.logo__emblem {
  width: 34px;
  height: 39px;
  flex-shrink: 0;
  fill: currentColor;
  transition: color .4s, transform .6s var(--ease-out);
}
.logo:hover .logo__emblem { color: var(--gold-hi); transform: rotateY(180deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--brand-font);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.logo__text small {
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  transition: color .3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, 6px) scale(0);
  transition: transform .4s var(--ease-out);
}
.nav a:hover, .nav a.is-current { color: var(--ivory); }
.nav a:hover::after, .nav a.is-current::after { transform: translate(-50%, 6px) scale(1); }

.header__tools { display: flex; align-items: center; gap: 22px; }
.lang { display: flex; align-items: center; }
.lang button {
  position: relative;
  padding: 6px 8px;
  background: none;
  border: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .45);
  transition: color .3s;
}
.lang button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, .2);
  transform: translateY(-50%);
}
.lang button:hover { color: var(--ivory); }
.lang button[aria-pressed="true"] { color: var(--gold-hi); }

.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1px;
  background: var(--ivory);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* To‘liq ekranli mobil menyu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--ink-950);
  color: var(--ivory);
  clip-path: circle(0 at calc(100% - 50px) 46px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-out), visibility 0s .9s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 46px); visibility: visible; transition: clip-path .9s var(--ease-out); }
.menu-open { overflow: hidden; }
.menu-open .header { background: transparent; backdrop-filter: none; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 8px 0;
  font-family: var(--display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.1;
  border-bottom: 1px solid var(--rule-dark);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.menu__nav a i { width: 44px; font-family: var(--sans); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.menu__nav a:hover { color: var(--gold-hi); }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(7) { transition-delay: .3s; }
.menu__foot { display: grid; gap: 6px; font-size: 15px; color: rgba(255, 255, 255, .7); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ivory);
  background: var(--ink-950);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 10s linear;
}
.hero__video.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, .88) 0%, rgba(2, 8, 20, .55) 45%, rgba(2, 8, 20, .2) 100%),
    linear-gradient(180deg, rgba(2, 8, 20, .7) 0%, rgba(2, 8, 20, 0) 30%, rgba(2, 8, 20, 0) 55%, rgba(2, 8, 20, .92) 100%),
    linear-gradient(rgba(1, 37, 88, .3), rgba(1, 37, 88, .3));
}
.hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding-top: 140px;
  padding-bottom: 44px;
  padding-inline: var(--gutter);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.hero__top p { margin: 0; display: flex; align-items: center; gap: 14px; }
.hero__sect { font-size: 14px; letter-spacing: 0; color: var(--gold); }
.hero__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 7.2vw, 112px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.024em;
  color: var(--ivory);
}
.hero__title em { font-style: normal; color: var(--gold-hi); }

.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px 64px;
  flex-wrap: wrap;
}
.hero__lead {
  position: relative;
  max-width: 470px;
  margin: 0;
  padding-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
}
.hero__lead::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 1px; background: var(--gold); }
.hero__actions { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

.hero__reel {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter) 22px;
}
.reel__toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: var(--ivory);
  transition: border-color .3s, color .3s;
}
.reel__toggle:hover { border-color: var(--gold); color: var(--gold-hi); }
.reel__toggle .i { width: 14px; height: 14px; }
.reel__icon-play { display: none; }
.hero.is-paused .reel__icon-pause { display: none; }
.hero.is-paused .reel__icon-play { display: block; }
.reel__count { min-width: 64px; font-size: 13px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--gold-hi); }
.reel__dots { display: flex; gap: 6px; }
.reel__dots button { position: relative; width: 38px; height: 18px; padding: 0; background: none; border: 0; }
.reel__dots button::before,
.reel__dots button span { content: ""; position: absolute; left: 0; top: 8px; height: 1px; }
.reel__dots button::before { right: 0; background: rgba(255, 255, 255, .22); }
.reel__dots button span { width: 100%; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; }
.reel__caption {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.marquee {
  position: relative;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(2, 8, 20, .45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 42px; padding-right: 42px; }
.marquee span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, .78);
}
.marquee i { font-style: normal; font-size: 8px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- § I · Biz haqimizda: matn + "kartalar to‘plami" karuseli ---------- */
.about { overflow: hidden; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: stretch;
}
.about__intro { display: flex; flex-direction: column; }
.statement {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink-text);
}
.statement em { font-style: normal; color: var(--gold-lo); }
.about__lead { max-width: 46ch; margin: 0 0 36px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  border-top: 1px solid var(--ink-text);
}
.figure { padding: 22px 0 0 22px; border-left: 1px solid var(--rule); }
.figure:first-child { padding-left: 0; border-left: 0; }
.figure dt {
  font-family: var(--display);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -.024em;
  line-height: 1;
  color: var(--ink-text);
}
.figure sup { font-size: .45em; vertical-align: top; color: var(--gold); }
.figure dd {
  margin-top: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Karusel: oldingi karta to‘liq, keyingilari orqadan mo‘ralaydi */
.deck { display: flex; flex-direction: column; gap: 22px; outline-offset: 6px; }
.deck__stage {
  position: relative;
  height: 520px;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.deck.is-dragging .deck__stage { cursor: grabbing; }
.card {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 84%;
  margin: 0;
  overflow: hidden;
  background: var(--ink-950);
  box-shadow: 0 34px 60px -34px rgba(3, 10, 24, .6);
  transform-origin: right center;
  transition: transform .9s var(--ease-out), opacity .9s var(--ease-out), filter .9s var(--ease-out);
}
.card[data-pos="0"] { z-index: 4; transform: translateX(var(--drag, 0px)) rotate(calc(var(--drag, 0px) * .025deg)); }
.card[data-pos="1"] { z-index: 3; transform: translateX(9%) scale(.92); filter: brightness(.5) saturate(.7); }
.card[data-pos="2"] { z-index: 2; transform: translateX(17%) scale(.84); filter: brightness(.3) saturate(.5); }
.card[data-pos="3"] { z-index: 1; transform: translateX(17%) scale(.84); opacity: 0; }
.card.is-out { z-index: 5; transform: translateX(-118%) rotate(-9deg) !important; opacity: 0; }
.card.no-anim { transition: none !important; }
.deck.is-dragging .card[data-pos="0"] { transition: none; }

.card__media { position: absolute; inset: -16px; transition: transform .8s var(--ease-out); }
.card[data-pos="0"] .card__media { transform: translate(var(--mx, 0px), var(--my, 0px)); }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 8s linear;
}
.card[data-pos="0"] .card__media img { transform: scale(1.02); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 8, 20, .9) 0%, rgba(2, 8, 20, .3) 45%, rgba(2, 8, 20, 0) 70%);
  pointer-events: none;
}
.card__caption {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 3vw, 40px);
  right: clamp(24px, 3vw, 40px);
  bottom: clamp(24px, 3vw, 36px);
  color: var(--ivory);
}
.card__caption > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.card[data-pos="0"] .card__caption > * { opacity: 1; transform: none; transition-delay: .25s; }
.card[data-pos="0"] .card__caption > :nth-child(2) { transition-delay: .35s; }
.card[data-pos="0"] .card__caption > :nth-child(3) { transition-delay: .45s; }
.card__num { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--gold-hi); }
.card h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--ivory);
}
.card p { margin: 0; max-width: 40ch; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); }

.deck__bar { display: flex; align-items: center; gap: 12px; width: 84%; }
.deck__count { font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--muted); }
.deck__count b { font-weight: 700; color: var(--ink-text); }
.deck__progress { flex: 1; display: flex; gap: 6px; margin: 0 8px; }
.deck__progress span { flex: 1; height: 2px; background: var(--rule); overflow: hidden; }
.deck__progress i { display: block; height: 100%; background: var(--gold-lo); transform: scaleX(0); transform-origin: left; }
.deck__progress span.is-done i { transform: scaleX(1); }
.deck__progress span.is-active i { animation: bar-fill var(--dur, 6s) linear forwards; }
.deck.is-paused .deck__progress span.is-active i { animation-play-state: paused; }
@keyframes bar-fill { to { transform: scaleX(1); } }
.deck__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-text);
  transition: background .3s, border-color .3s, color .3s;
}
.deck__btn:hover { background: var(--ink-900); border-color: var(--ink-900); color: var(--ivory); }
.deck__btn .i { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .figures { margin-top: 0; }
  .deck__stage { height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .deck__stage { aspect-ratio: 4 / 5; }
  .card { width: 88%; }
  .deck__bar { width: 88%; }
  .card p { font-size: 14.5px; }
}

/* ---------- § II · Amaliyot (qonun moddalari ro‘yxati) ---------- */
.services { overflow: hidden; }
.watermark {
  position: absolute;
  top: 120px;
  right: -140px;
  width: 620px;
  height: 708px;
  fill: var(--gold);
  opacity: .035;
  pointer-events: none;
}
.practice { position: relative; border-top: 1px solid var(--rule-dark); }
.practice__link {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1.05fr) minmax(0, 1fr) 48px;
  gap: 32px;
  align-items: center;
  padding: 26px 12px;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--ivory);
  isolation: isolate;
  transition: padding .7s var(--ease-out);
}
.practice__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(194, 160, 99, .17), rgba(194, 160, 99, .02) 80%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .7s var(--ease-out);
}
.practice__link:hover { padding-left: 28px; }
.practice__link:hover::before { transform: scaleY(1); }
.practice__num { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.practice__title {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.1;
  transition: color .4s;
}
.practice__link:hover .practice__title { color: var(--gold-hi); }
.practice__desc { max-width: 440px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .58); }
.practice__go {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transition: background .5s var(--ease-out), color .5s, border-color .5s, transform .6s var(--ease-out);
}
.practice__go .i { width: 18px; height: 18px; }
.practice__link:hover .practice__go { background: var(--gold); border-color: var(--gold); color: var(--ink-950); transform: rotate(45deg); }

/* ---------- § III · Jarayon ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.steps.reveal { opacity: 1; transform: none; }
.steps::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s var(--ease-out);
}
.steps.is-in::before { transform: scaleX(1); }
.step {
  position: relative;
  padding: 30px 32px 4px 0;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.step + .step { padding-left: 32px; border-left: 1px solid var(--rule); }
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--ivory);
}
.step:first-child::before { left: 0; }
.steps.is-in .step { opacity: 1; transform: none; }
.steps.is-in .step:nth-child(2) { transition-delay: .25s; }
.steps.is-in .step:nth-child(3) { transition-delay: .5s; }
.steps.is-in .step:nth-child(4) { transition-delay: .75s; }
.step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1;
  color: var(--gold-lo);
}
.step h3 { margin-bottom: 10px; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-text); }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Falsafa: so‘zlar aylantirganda yonadi ---------- */
.manifesto {
  position: relative;
  padding: clamp(80px, 9vw, 136px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(194, 160, 99, .15), transparent 70%),
    var(--ink-950);
  overflow: hidden;
}
.manifesto::before, .manifesto::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: clamp(40px, 5vw, 64px);
  background: linear-gradient(var(--gold), transparent);
}
.manifesto::before { top: 0; }
.manifesto::after { bottom: 0; transform: rotate(180deg); }
.manifesto__mark { display: block; width: 36px; height: 36px; margin: 0 auto 28px; color: var(--gold); }
.manifesto__text {
  max-width: 1220px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 68px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--ivory);
}
.manifesto__text em { display: block; margin-top: .3em; font-style: normal; }
.manifesto__text em,
.manifesto__text em .mw {
  background: linear-gradient(100deg, #a8843e 0%, #f3e2b0 22%, #d4b06a 45%, #fff6de 55%, #c2a063 75%, #f3e2b0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
.manifesto__text.is-split em { background: none; animation: none; }
.mw { display: inline-block; opacity: .14; transition: opacity .6s var(--ease-out); }
.mw.is-lit { opacity: 1; }
.manifesto__sign {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
}
.manifesto__sign::before, .manifesto__sign::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }
@keyframes shine { to { background-position: -200% center; } }

/* ---------- § IV · Hamkorlar: Tartib-HR ----------
   Minimal va yorqin: muzey plaketidek oq panelda katta logo,
   ulkan nom va yirik oltin raqamli afzalliklar. */
.partners { overflow: hidden; }
.partners > .container > .label { margin-bottom: clamp(32px, 3.5vw, 48px); }

.partner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  margin-bottom: clamp(56px, 6vw, 88px);
}

.partner__plate {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 48px 40px 34px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(214, 202, 178, .7),
    0 40px 80px -48px rgba(3, 10, 24, .32);
  transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
}
/* ichki oltin ramka — pasport/sertifikat kabi */
.partner__plate::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(194, 160, 99, .5);
  pointer-events: none;
  transition: inset .8s var(--ease-out), border-color .6s;
}
.partner__plate img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: saturate(1.15) contrast(1.05);
  transition: transform 1.1s var(--ease-out);
}
.partner__url {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-text);
  transition: color .4s;
}
.partner__url .i { transition: transform .5s var(--ease-out); }
.partner__plate:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 0 1px var(--gold),
    0 56px 100px -52px rgba(3, 10, 24, .4);
}
.partner__plate:hover::before { inset: 11px; border-color: var(--gold); }
.partner__plate:hover img { transform: scale(1.03); }
.partner__plate:hover .partner__url { color: var(--gold-lo); }
.partner__plate:hover .partner__url .i { transform: rotate(45deg); }

.partner__alliance {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-text);
}
.partner__alliance span { padding: 0 .5em; color: var(--gold); }
.partner__name {
  margin-bottom: 20px;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -.026em;
}
.partner__tagline {
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.3;
  color: var(--ink-text);
}
.partner__tagline em { font-style: normal; color: var(--gold-lo); }
.partner__intro {
  max-width: 40ch;
  margin: 0 0 32px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--ink-text);
}
.partner__cta { padding: 22px 36px; font-size: 13px; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-text);
}
.benefit { position: relative; padding: 30px 32px 4px 0; }
.benefit + .benefit { padding-left: 32px; border-left: 1px solid var(--rule); }
.benefit::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold));
}
.benefit + .benefit::before { left: 32px; }
.benefit__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.024em;
  background: linear-gradient(150deg, #e9cd88 0%, #c9a257 45%, #9c7733 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform .7s var(--ease-out);
}
.benefit:hover .benefit__num { transform: translateY(-6px); }
.benefit h3 {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-text);
}
.benefit p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

@media (max-width: 1100px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { padding-left: 0; border-left: 0; }
  .benefit:nth-child(3)::before { left: 0; }
  .benefit:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--rule); }
}
@media (max-width: 960px) {
  .partner { grid-template-columns: 1fr; gap: 56px; }
  .partner__plate { width: 100%; max-width: 480px; }
}
@media (max-width: 640px) {
  .partner__plate { aspect-ratio: auto; padding: 48px 36px 36px; gap: 28px; }
  .partner__plate::before { inset: 12px; }
  .partner__plate img { max-width: 300px; }
  .partner__intro { margin-bottom: 36px; }
  .partner__cta { width: 100%; }
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 36px 0 28px; border-left: 0; }
  .benefit + .benefit::before, .benefit:nth-child(3)::before { left: 0; }
  .benefit:nth-child(n+2) { margin-top: 0; border-top: 1px solid var(--rule); }
  .benefit__num { margin-bottom: 18px; }
}

/* ---------- § V · Natijalar: asosiy keys + ikki ixcham keys ---------- */
.cases__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 1fr 1fr;
  gap: 0 clamp(32px, 4vw, 56px);
}
.case { display: flex; flex-direction: column; padding: 28px 0; border-top: 1px solid var(--ink-text); }
.case + .case + .case { border-top-color: var(--rule); }
.case--feature {
  grid-row: 1 / span 2;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(32px, 3.4vw, 48px);
  border-top: 0;
  background: var(--ink-900);
  color: rgba(255, 255, 255, .72);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.case--feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold-lo));
}
.case--feature::after {
  content: "§";
  position: absolute;
  z-index: -1;
  right: -.08em;
  bottom: -.32em;
  font-family: var(--display);
  font-size: 340px;
  line-height: 1;
  color: rgba(194, 160, 99, .07);
  pointer-events: none;
}
.case__quote {
  margin: 0;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.18;
  color: var(--ivory);
}
.case__quote::before { content: ""; display: block; width: 40px; height: 2px; margin-bottom: 26px; background: var(--gold); }
.case__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.case__no { flex-shrink: 0; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold-lo); }
.case__tag {
  padding: 6px 11px;
  border: 1px solid var(--rule);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
  color: var(--muted);
}
.case__result {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.15;
  color: var(--ink-text);
  transition: color .4s;
}
.case:not(.case--feature):hover .case__result { color: var(--gold-lo); }
.case__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.case--feature .case__no { color: var(--gold); }
.case--feature .case__tag { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .7); }
.case--feature .case__result { color: var(--gold-hi); }
.case--feature .case__text { max-width: 52ch; color: rgba(255, 255, 255, .68); }
.case__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 0 0 6px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: color .3s;
}
.case__more .i { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.case__more:hover { color: var(--gold-hi); }
.case__more:hover .i { transform: rotate(45deg); }

/* Keys tafsilotlari oynasi */
.modal--case { width: min(720px, calc(100% - 32px)); padding: 52px clamp(24px, 5vw, 56px) 44px; }
.modal--case .case__tag { display: inline-block; margin-bottom: 18px; }
.modal--case h3 { margin-bottom: 20px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.modal--case h4 { margin: 28px 0 10px; font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--ink-text); }
.modal--case p { font-size: 15.5px; line-height: 1.7; }
.modal__lead { font-size: 18px !important; color: var(--ink-text); }
.modal__list { display: grid; gap: 14px; margin: 16px 0 28px; }
.modal__list li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.7; }
.modal__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--gold); }
.modal__quote {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-size: 20px !important;
  font-weight: 500;
  line-height: 1.4 !important;
  color: var(--gold-lo);
}

/* ---------- § VI · Mijozlar fikri ---------- */
.reviews__inner { max-width: 1080px; text-align: center; }
.quotes { display: grid; margin: 8px auto 36px; }
.quote {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), visibility 0s .9s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote blockquote {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.35;
  color: var(--ivory);
}
.quote blockquote::before {
  content: "“";
  display: block;
  height: .5em;
  margin-bottom: .25em;
  font-size: 2em;
  font-style: normal;
  line-height: 1;
  color: var(--gold);
}
.quote figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.quote strong { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); }
.quote figcaption span { font-size: 14px; color: rgba(255, 255, 255, .55); }
.quotes__nav { display: flex; justify-content: center; align-items: center; gap: 26px; }
.quotes__count { min-width: 70px; font-size: 13px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--gold-hi); }
.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--ivory);
  transition: background .4s, border-color .4s, color .4s;
}
.round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-950); }

/* ---------- § VII · Savollar ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: start;
}
.faq__intro { position: sticky; top: 120px; }
.faq__intro > p { max-width: 380px; margin: 20px 0 26px; font-size: 17px; color: var(--muted); }
.accordion { border-top: 1px solid var(--ink-text); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  display: grid;
  grid-template-columns: 60px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold-lo); }
.qa__q {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--ink-text);
  transition: color .3s;
}
.qa summary:hover .qa__q { color: var(--gold-lo); }
.qa__icon { position: relative; width: 22px; height: 22px; }
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink-text);
  transition: transform .5s var(--ease-out);
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa p { margin: 0; padding: 0 40px 24px 72px; max-width: 680px; font-size: 15.5px; color: var(--body); }
.qa[open] p { animation: qa-in .6s var(--ease-out); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- § VIII · Aloqa ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: start;
}
.contact__lead { max-width: 460px; margin: 20px 0 36px; font-size: 18px; color: rgba(255, 255, 255, .64); }
.contact__phone {
  margin-bottom: 30px;
  padding: 24px 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.contact__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.contact__live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  animation: live 2s infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); }
  70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.contact__phone a {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ivory);
  transition: color .3s;
}
.contact__phone a:hover { color: var(--gold-hi); }
.contact__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; margin-bottom: 32px; }
.contact__meta dt { margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.contact__meta dd { font-size: 16px; line-height: 1.6; color: var(--ivory); }
.contact__meta a:hover { color: var(--gold-hi); }
.contact__address { grid-column: 1 / -1; }
.contact__map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-hi);
  white-space: nowrap;
}
.contact__map .i { width: 14px; height: 14px; }

/* asl rangli logolar */
.bi { display: block; width: 32px; height: 32px; flex-shrink: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 22px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ivory);
  transition: background .3s, border-color .3s, transform .4s var(--ease-out);
}
.social:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); transform: translateY(-2px); }

.form {
  display: grid;
  gap: 24px;
  padding: clamp(32px, 3.6vw, 48px);
  background: var(--white);
  color: var(--ink-text);
}
.form .form__title {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.2;
  color: var(--ink-text);
}
.field { position: relative; display: block; }
.field input {
  width: 100%;
  padding: 24px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-text);
  outline: none;
}
.field span {
  position: absolute;
  left: 0;
  top: 23px;
  font-size: 16px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left;
  transition: transform .4s var(--ease-out), color .3s;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span { transform: translateY(-22px) scale(.76); color: var(--gold-lo); }
.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid input { border-bottom-color: #b23a2e; }
.field.is-invalid span { color: #b23a2e; }
.form .btn--gold { margin-top: 8px; }
.form .btn--gold::before { background: var(--ink-900); }
.form .btn--gold:hover { color: var(--ivory); }
.form button[type="submit"][disabled] { opacity: .6; cursor: progress; }
.form__note { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.form__status { margin: 0; font-size: 14.5px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #2d7a4f; }
.form__status.is-error { color: #b23a2e; }
.form__status a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: rgba(255, 255, 255, .58); padding-top: clamp(56px, 6vw, 88px); overflow: hidden; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 48px;
  padding-bottom: 40px;
}
.footer__brand p { max-width: 340px; margin: 26px 0 0; font-size: 15px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; align-content: start; }
.footer__nav a { font-size: 15px; font-weight: 500; color: var(--ivory); transition: color .3s; }
.footer__nav a:hover { color: var(--gold-hi); }
.footer__contact { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__contact a { color: var(--ivory); }
.footer__contact a:hover { color: var(--gold-hi); }
.footer__social { display: flex; gap: 10px; margin-top: 12px; }
.footer__social a { transition: transform .3s var(--ease-out); }
.footer__social a:hover { transform: translateY(-2px); }
.footer__social .bi { width: 30px; height: 30px; }
.footer__word {
  margin: 20px 0 -1.4vw;
  font-family: var(--display);
  font-size: 15vw;
  font-weight: 600;
  line-height: .8;
  letter-spacing: -.03em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(194, 160, 99, .55) 10%, rgba(194, 160, 99, 0) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 26px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tezkor aloqa ---------- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility 0s .6s;
}
.fab.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fab__btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .55);
  transition: transform .4s var(--ease-out);
}
.fab__btn:hover { transform: translateY(-3px); }
.fab__btn .bi { width: 100%; height: 100%; }
.fab__btn--call { background: var(--gold); color: var(--ink-950); }
.fab__btn--call .i { width: 21px; height: 21px; }

/* ---------- Modal ---------- */
.modal {
  width: min(560px, calc(100% - 32px));
  padding: 48px 42px 38px;
  background: var(--ivory);
  border: 0;
  border-top: 3px solid var(--gold);
  color: var(--body);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6);
}
.modal::backdrop { background: rgba(2, 8, 20, .75); backdrop-filter: blur(4px); }
.modal h3 { margin-bottom: 16px; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.012em; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 50%;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: radial-gradient(ellipse at center, var(--ink-800) 0%, var(--ink-950) 70%);
  transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
  animation: preloader-failsafe 0s 6s forwards;
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader.is-skip, .no-js .preloader { display: none; }
.preloader__emblem {
  width: 84px;
  height: 96px;
  fill: url(#gold-grad);
  opacity: 0;
  transform: translateY(-14px) scale(.9);
  animation: emblem-in 1s .1s var(--ease) forwards;
}
.preloader__name {
  padding-left: .4em;
  font-family: var(--brand-font);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  animation: name-spread 1.2s .4s var(--ease-out) forwards;
}
.preloader__line {
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  animation: line-grow 1s .7s var(--ease) forwards;
}
@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; } }
@keyframes emblem-in { to { opacity: 1; transform: none; } }
@keyframes name-spread {
  from { opacity: 0; letter-spacing: -.25em; filter: blur(6px); }
  to { opacity: 1; letter-spacing: .4em; filter: blur(0); }
}
@keyframes line-grow { to { transform: scaleX(1); } }

/* ---------- Hero kirish animatsiyasi ----------
   Sarlavha harflari yuqoridan pastga birma-bir "yoziladi",
   so‘ng oltin qatordan har necha soniyada nur o‘tib turadi. */
.ht-word, .ht-char, .ht-w { display: inline-block; }
.ht-word { white-space: nowrap; }

.hero--intro .hero__top,
.hero--intro .ht-char,
.hero--intro .ht-w,
.hero--intro .hero__actions,
.hero--intro .hero__reel,
.hero--intro .marquee { opacity: 0; }
.hero--intro .hero__lead::before { transform: scaleX(0); }

.hero--play .hero__top { animation: fade-in 1s .15s var(--ease) forwards; }
.hero--play .ht-char { animation: drop .8s calc(.3s + var(--i) * 38ms) cubic-bezier(.2, .9, .3, 1.2) forwards; }
.hero--play .hero__title em .ht-char {
  animation:
    drop .8s calc(.3s + var(--i) * 38ms) cubic-bezier(.2, .9, .3, 1.2) forwards,
    glint 7s calc(3.2s + var(--i) * 60ms) ease-in-out infinite;
}
.hero--play .hero__lead::before { transform: scaleX(1); transform-origin: left; transition: transform 1s 1.1s var(--ease-out); }
.hero--play .ht-w { animation: word-in .7s calc(1.15s + var(--i) * 22ms) var(--ease-out) forwards; }
.hero--play .hero__actions { animation: rise-in .9s 1.55s var(--ease-out) forwards; }
.hero--play .hero__reel { animation: fade-in 1s 1.8s var(--ease) forwards; }
.hero--play .marquee { animation: fade-in 1.2s 1.9s var(--ease) forwards; }

.hero--text-only .hero__top,
.hero--text-only .hero__actions,
.hero--text-only .hero__reel,
.hero--text-only .marquee { animation: none; opacity: 1; transform: none; }

@keyframes fade-in { to { opacity: 1; } }
@keyframes drop {
  from { opacity: 0; transform: translateY(-.6em) rotate(-5deg); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes glint {
  0%, 9%, 100% { color: var(--gold-hi); text-shadow: none; }
  4% { color: #fffaf0; text-shadow: 0 0 26px rgba(243, 226, 176, .7); }
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(-12px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Scroll animatsiyalari ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
/* sarlavhalar "niqob" ostidan ko‘tariladi */
.title.reveal {
  opacity: 1;
  transform: translateY(40px);
  clip-path: polygon(-5% -20%, 105% -20%, 105% -20%, -5% -20%);
  transition: clip-path 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}
.title.reveal.is-in { transform: none; clip-path: polygon(-5% -20%, 105% -20%, 105% 125%, -5% 125%); }
.no-js .reveal, .no-js .title.reveal { opacity: 1; transform: none; clip-path: none; }
.no-js .step { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .title.reveal, .step { opacity: 1; transform: none; clip-path: none; }
  .mw { opacity: 1; }
  .hero__video { transform: none; }
}

/* ---------- Moslashuvchan (responsive) ---------- */
@media (max-width: 1240px) {
  .nav { gap: 22px; }
  .header__cta { display: none; }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__tools { margin-left: auto; }
  .header__cta { display: inline-flex; }
  .practice__link { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr) 52px; gap: 24px; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .hero__inner { padding-inline: var(--gutter); }
  .head { grid-template-columns: 1fr; gap: 24px; }
  .head__lead { justify-self: start; }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .practice__link {
    grid-template-columns: minmax(0, 1fr) 52px;
    grid-template-areas: "num go" "title go" "desc desc";
    gap: 10px 20px;
    padding: 30px 4px;
  }
  .practice__link:hover { padding-left: 16px; }
  .practice__num { grid-area: num; }
  .practice__title { grid-area: title; }
  .practice__desc { grid-area: desc; max-width: none; margin-top: 8px; }
  .practice__go { grid-area: go; width: 52px; height: 52px; }
  .cases__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .case--feature { grid-row: auto; margin-bottom: 8px; }
  .case--feature::after { font-size: 240px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .header__inner { height: 76px; gap: 16px; }
  .header__cta { display: none; }
  .logo { gap: 11px; }
  .logo__emblem { width: 28px; height: 32px; }
  .logo__name { font-size: 16px; letter-spacing: .12em; }
  .logo__text small { font-size: 8px; letter-spacing: .24em; }
  .header__tools { gap: 10px; }
  .lang button { padding: 6px 5px; font-size: 11px; }

  .hero__inner { padding-top: 110px; gap: 36px; }
  .hero__top { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 10.5px; }
  .hero__title { font-size: clamp(40px, 11vw, 60px); }
  .hero__actions { gap: 22px; }
  .hero__actions .btn { width: 100%; }
  .reel__caption, .reel__dots { display: none; }
  .marquee span { font-size: 12px; }

  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 36px 0 28px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--rule); }
  .step::before, .step:nth-child(3)::before { left: 0; }
  .qa summary { grid-template-columns: 40px 1fr 22px; }
  .qa p { padding: 0 0 28px 52px; }
  .contact__meta { grid-template-columns: 1fr; gap: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab { right: 14px; bottom: 14px; }
  .fab__btn { width: 46px; height: 46px; }
  .modal { padding: 44px 24px 30px; }
}
