/* MAKSIMUM — sherzodraxmon.uz */
:root {
  --bg: #07090d;
  --bg-2: #0c1017;
  --panel: #111722;
  --panel-2: #161d2a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3efe7;
  --muted: #98a1b0;
  --gold: #f6a623;
  --gold-2: #ffd36b;
  --gold-ink: #1a1203;
  --radius: 20px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.6 var(--body);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 15px/1 var(--body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(246,166,35,.6); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* ── nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7,9,13,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font: 800 17px/1 var(--display); letter-spacing: .06em; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .02em; margin-top: 4px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ── hero ── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 110px 0 28px; overflow: hidden; isolation: isolate; }
.hero::before { /* gold aurora */
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgba(246,166,35,.20), transparent 70%);
  filter: blur(10px);
}
.hero-bg { display: none; }
.hero-shade { display: none; }
.hero-inner { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; flex: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(246,166,35,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(246,166,35,.55); } 70% { box-shadow: 0 0 0 12px rgba(246,166,35,0); } 100% { box-shadow: 0 0 0 0 rgba(246,166,35,0); } }

.hero-title { margin: 22px 0 22px; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .98; letter-spacing: -.01em; font-size: clamp(34px, 4.4vw, 68px); }
.hero-title span { display: block; }
.hero-title .outline { color: #2a303b; }
.hero-title .gold { background: linear-gradient(100deg, var(--gold) 0%, var(--gold-2) 45%, var(--gold) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-sub { max-width: 34em; font-size: clamp(16px, 1.4vw, 19px); color: #c9cfd9; }

.meter { display: flex; align-items: center; gap: 14px; margin: 30px 0 30px; max-width: 460px; }
.meter-label { font: 700 12px/1 var(--display); letter-spacing: .14em; color: var(--muted); }
.meter-label.max { color: var(--gold-2); }
.meter-track { position: relative; flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(246,166,35,.25), var(--gold)); animation: fill 2.6s cubic-bezier(.2,.8,.2,1) .4s forwards; }
.meter-knob { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 22px 4px rgba(246,166,35,.6); animation: knob 2.6s cubic-bezier(.2,.8,.2,1) .4s forwards; }
@keyframes fill { to { width: 100%; } }
@keyframes knob { to { left: 100%; } }

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

.hero-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; height: min(70vh, 620px); }
.pillar { position: relative; border-radius: 999px 999px 26px 26px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.pillar video { width: 100%; height: 100%; object-fit: cover; }
.pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,9,13,.65)); }
.p1 { transform: translateY(5%); }
.p2 { transform: translateY(-4%); border-color: rgba(246,166,35,.45); }
.p3 { transform: translateY(8%); }

.stats { max-width: 1240px; width: 100%; margin: 72px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dd { font: 800 clamp(28px, 4vw, 52px)/1 var(--display); color: var(--text); }
.stats dt { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ── ticker ── */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font: 700 clamp(16px, 2vw, 22px)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ticker i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── sections ── */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; scroll-margin-top: 40px; }
.kicker { font: 700 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.h2 { font: 800 clamp(28px, 4.2vw, 56px)/1.06 var(--display); letter-spacing: -.01em; max-width: 18ch; }
.h2 em { font-style: normal; color: var(--gold); }
.lead { margin-top: 18px; max-width: 36em; font-size: clamp(16px, 1.3vw, 18px); color: #c2c8d2; }

/* results */
.results-grid { margin-top: 48px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); min-height: 260px; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: rgba(7,9,13,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tile-tall { grid-row: span 2; min-height: 560px; }
.record {
  grid-column: span 2; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px);
  background: radial-gradient(120% 140% at 100% 0%, rgba(246,166,35,.22), transparent 55%), var(--panel);
  border: 1px solid rgba(246,166,35,.35); display: flex; flex-direction: column; justify-content: center;
}
.record-tag { font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.record-score { margin-top: 14px; font: 900 clamp(64px, 9vw, 128px)/.9 var(--display); color: var(--text); }
.record-score small { font-size: .22em; margin-left: 10px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.record-place { margin-top: 10px; font: 800 22px/1 var(--display); color: var(--gold-2); }
.record-who { margin-top: 14px; font-weight: 700; }
.record-note { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* subjects */
.subject-list { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.subject { background: var(--bg); padding: clamp(22px, 3vw, 36px); min-height: 200px; display: flex; flex-direction: column; position: relative; transition: background-color .3s ease; }
.subject::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .5s ease; }
.subject:hover { background: var(--bg-2); }
.subject:hover::before { width: 100%; }
.subject .num { font: 700 13px/1 var(--display); color: var(--gold); letter-spacing: .1em; }
.subject h3 { margin-top: auto; padding-top: 36px; font: 800 clamp(20px, 2vw, 26px)/1.15 var(--display); }
.subject p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* method */
.method-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mcard { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.mcard img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 50% 35%; }
.mcard-body { padding: 20px 20px 24px; }
.mnum { font: 700 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mcard h3 { margin-top: 12px; font: 800 18px/1.2 var(--display); }
.mcard p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* founder */
.founder { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-photo { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.quote { margin: 34px 0 34px; padding-left: 22px; border-left: 3px solid var(--gold); font: 800 clamp(24px, 3vw, 38px)/1.15 var(--display); }

/* videos */
.reel-row { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reel { position: relative; padding: 0; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; cursor: pointer; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .3s; opacity: .85; }
.reel:hover img { transform: scale(1.04); opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,9,13,.85)); }
.reel-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: rgba(246,166,35,.92); }
.reel-play::after { content: ""; position: absolute; left: 28px; top: 22px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent var(--gold-ink); }
.reel-cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; text-align: left; font: 800 17px/1.2 var(--display); }
.more-link { display: inline-block; margin-top: 26px; color: var(--gold-2); font-weight: 700; text-decoration: none; }
.more-link:hover { text-decoration: underline; }

/* parents */
.parents { border-block: 1px solid var(--line); background: var(--bg-2); }
.parents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding: 20px 20px 20px 58px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); color: #c2c8d2; }
.checks li b { color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); }
.checks li::after { content: ""; position: absolute; left: 27px; top: 27px; width: 7px; height: 11px; border: solid var(--gold-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* signup */
.signup { overflow: hidden; }
.signup::before { content: ""; position: absolute; inset: auto auto -30% -10%; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(246,166,35,.16), transparent 70%); pointer-events: none; }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; }
.signup-alt { margin-top: 22px; color: var(--muted); }
.signup-alt a { color: var(--gold-2); font-weight: 700; text-decoration: none; white-space: nowrap; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span:first-child { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font: 600 16px/1 var(--body); outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { border-color: var(--gold); }
.field input::placeholder { color: #5d6573; }
.field.invalid input { border-color: #ef5350; }
.phone { display: flex; align-items: stretch; }
.phone em { display: flex; align-items: center; padding: 0 12px 0 16px; font-style: normal; font-weight: 700; background: var(--bg); border: 1px solid var(--line); border-right: 0; border-radius: 14px 0 0 14px; color: var(--muted); }
.phone input { border-radius: 0 14px 14px 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.4em; font-size: 14px; font-weight: 600; }
.form-msg.ok { color: #7bd88f; }
.form-msg.err { color: #ff8a80; }
.form-msg a { color: var(--gold-2); }
.form.done .field, .form.done .field-row, .form.done button { display: none; }
.form.done .form-msg { font: 800 20px/1.35 var(--display); color: var(--text); }

/* location */
.loc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.loc-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; }
.contacts { margin: 30px 0 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contacts li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contacts span { color: var(--muted); font-weight: 600; }
.contacts a { font: 700 18px/1.2 var(--display); text-decoration: none; }
.contacts a:hover { color: var(--gold-2); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 30px 0 34px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* mobile dock */
.dock { display: none; }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 460px); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox video { width: 100%; max-height: 86vh; border-radius: 18px; background: #000; }
.lb-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); font-size: 24px; line-height: 1; cursor: pointer; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav-cta { display: none; }
  .brand-text small { display: none; }

  .hero { padding-top: 96px; min-height: 100svh; }
  .hero-bg { display: block; position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  .hero-shade { display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,9,13,.55) 0%, rgba(7,9,13,.35) 30%, rgba(7,9,13,.85) 68%, var(--bg) 100%); }
  .hero::before { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); align-items: end; }
  .hero-reels { display: none; }
  .hero-title { font-size: clamp(26px, 8.4vw, 60px); }
  .hero-title .outline { color: rgba(243,239,231,.42); }
  .meter { margin: 22px 0; }
  .hero-ctas .btn { flex: 1; padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .stats { margin-top: 30px; }
  .stats > div + div { padding-left: 14px; }
  .stats dt { font-size: 12px; line-height: 1.3; }

  .results-grid { grid-template-columns: 1fr 1fr; }
  .record { grid-column: 1 / -1; order: -1; }
  .tile-tall { grid-row: auto; grid-column: 1 / -1; min-height: 420px; }
  .tile { min-height: 300px; }

  .subject-list { grid-template-columns: 1fr 1fr; }
  .subject { min-height: 170px; }

  .founder-grid, .parents-grid, .signup-grid, .loc-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }

  .reel-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .reel-row::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 68%; scroll-snap-align: start; }

  .dock {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7,9,13,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .dock .btn { min-height: 50px; }
}

@media (max-width: 520px) {
  .method-grid { grid-template-columns: 1fr; }
  .mcard { flex-direction: row; }
  .mcard img { width: 38%; aspect-ratio: auto; }
  .mcard-body { padding: 16px; }
  .subject-list { grid-template-columns: 1fr; }
  .subject { min-height: 0; }
  .subject h3 { padding-top: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .meter-fill { width: 100%; }
  .meter-knob { left: 100%; }
  .js .reveal { opacity: 1; transform: none; }
}
