/* Elmurod Estate — asosiy stillar */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --navy: #002478;
  --blue: #0c48d2;
  --blue-bright: #2f6bff;
  --red: #e0262d;
  --night: #050b1f;
  --night-2: #0a1433;
  --ease: cubic-bezier(.2,.75,.15,1);
  --grad: linear-gradient(135deg, #3b74ff 0%, #0c48d2 50%, #002478 100%);

  --bg: #f4f5f7;
  --bg-2: #eceef2;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --ink: #0b1020;
  --ink-2: #4b5466;
  --ink-3: #737b8c;
  --line: #e3e6ec;
  --line-strong: #c9cfd8;
  --accent: #1d4ed8;
  --focus: #2f6bff;
  --header-bg: rgba(244,245,247,.82);
  --card-shadow: 0 1px 2px rgba(11,16,32,.04), 0 24px 48px -28px rgba(0,36,120,.28);
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --hh: 76px;
}
:root[data-theme="dark"] {
  --bg: #070b16;
  --bg-2: #0b1120;
  --surface: #10172a;
  --surface-2: #151d33;
  --ink: #f1f4fa;
  --ink-2: #a8b2c6;
  --ink-3: #8790a5;
  --line: #1e2840;
  --line-strong: #33405e;
  --accent: #7aa2ff;
  --focus: #7aa2ff;
  --header-bg: rgba(7,11,22,.8);
  --card-shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 48px -24px rgba(0,0,0,.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070b16; --bg-2: #0b1120; --surface: #10172a; --surface-2: #151d33; --ink: #f1f4fa; --ink-2: #a8b2c6; --ink-3: #8790a5;
    --line: #1e2840; --line-strong: #33405e; --accent: #7aa2ff; --focus: #7aa2ff; --header-bg: rgba(7,11,22,.8);
  }
}
.dark-zone {
  --ink: #f1f4fa; --ink-2: rgba(241,244,250,.74); --ink-3: rgba(241,244,250,.56);
  --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.28); --accent: #8fb0ff; --focus: #8fb0ff;
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  transition: background-color .4s ease, color .4s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }
::selection { background: #2f6bff; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* Grain + ambient light used on dark surfaces */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .08; mix-blend-mode: overlay;
  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");
}
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.blob.b1 { width: 46vmax; height: 46vmax; left: -12vmax; top: -18vmax; background: #0c48d2; animation: drift1 22s ease-in-out infinite alternate; }
.blob.b2 { width: 36vmax; height: 36vmax; right: -10vmax; top: 10%; background: #002478; opacity: .8; animation: drift2 26s ease-in-out infinite alternate; }
.blob.b3 { width: 22vmax; height: 22vmax; right: 18%; bottom: -12vmax; background: #e0262d; opacity: .22; animation: drift3 18s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-6vmax, 8vmax) scale(.92); } }
@keyframes drift3 { to { transform: translate(-10vmax, -6vmax) scale(1.15); } }
.grid-lines { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 40%, #000 20%, transparent 75%);
}

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, #2f6bff, #8fb0ff 60%, #e0262d); pointer-events: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 14px;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: box-shadow .4s var(--ease), border-color .3s, background-color .3s, color .3s, translate .45s var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -14px rgba(47,107,255,.75), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover { box-shadow: 0 18px 44px -12px rgba(47,107,255,.9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary.shine::after { animation: shine 4.5s 2.2s ease-in-out infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-glass { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; border-radius: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, transform .5s var(--ease);
  animation: headerIn .9s .1s var(--ease) both;
}
@keyframes headerIn { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.site-header.is-solid { background: var(--header-bg); color: var(--ink); border-bottom-color: var(--line); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
.header-row { display: flex; align-items: center; gap: 20px; height: var(--hh); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 6px 16px -6px rgba(47,107,255,.7); }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 14.5px; color: inherit; opacity: .74; padding: 8px 12px; border-radius: 10px; transition: opacity .25s; }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn, .lang-btn {
  height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: inherit; cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.icon-btn { width: 44px; }
.icon-btn:hover, .lang-btn:hover { background: rgba(255,255,255,.14); }
.is-solid .icon-btn, .is-solid .lang-btn { border-color: var(--line); background: var(--surface); }
.is-solid .icon-btn:hover, .is-solid .lang-btn:hover { border-color: var(--line-strong); }
.icon-btn svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .i-moon, :root:not([data-theme="dark"]) .i-sun { display: none; }
.lang { position: relative; }
.lang-btn { padding: 0 10px 0 12px; font-weight: 700; font-size: 14px; }
.lang-btn svg { width: 18px; height: 18px; }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; color: var(--ink);
  list-style: none; margin: 0; padding: 6px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transform-origin: top right; animation: menuIn .25s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.lang-menu[hidden] { display: none; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px; border: 0; background: transparent; border-radius: 9px; cursor: pointer;
  font-weight: 600; font-size: 14.5px; text-align: left; color: var(--ink);
}
.lang-menu button:hover { background: var(--surface-2); }
.lang-menu .code { font-weight: 700; font-size: 12px; color: var(--ink-3); }
.lang-menu button[aria-current="true"], .lang-menu button[aria-current="true"] .code { color: var(--accent); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 70% 0%, #0d1d52 0%, var(--night) 60%); color: var(--ink); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; min-height: min(100svh, 940px); padding-top: calc(var(--hh) + 40px); padding-bottom: 96px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-bottom: 26px;
}
.kicker svg { width: 20px; height: 20px; color: #3ea6ff; }
.hero h1 {
  font-weight: 900; font-style: italic;
  font-size: clamp(2.6rem, 5.7vw, 5.2rem);
  line-height: 1; letter-spacing: -.03em; max-width: 13ch;
  color: #fff;
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .14em .1em .02em; margin: -.06em -.14em -.1em -.02em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 75ms + .35s); }
.hero h1.is-done .w { overflow: visible; }
@keyframes wordUp { to { transform: none; } }
.hero-sub { margin-top: 26px; font-size: clamp(16px, 1.45vw, 18.5px); color: rgba(255,255,255,.72); max-width: 46ch; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px 0 0; padding-top: 24px; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); max-width: 560px; }
.stat { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dd { margin: 0; }
.stat-v { display: block; font-weight: 900; font-style: italic; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.1; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.stat-l { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.58); line-height: 1.35; margin-top: 6px; }
.hero-copy > .kicker, .hero-sub, .hero-actions, .stats { animation: rise 1s var(--ease) both; }
.hero-copy > .kicker { animation-delay: .25s; }
.hero-sub { animation-delay: .75s; }
.hero-actions { animation-delay: .9s; }
.stats { animation-delay: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Hero visual */
.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 5 / 6; justify-self: end; --mx: 0; --my: 0; }
.hv-layer { position: absolute; inset: 0; pointer-events: none; transform: translate3d(calc(var(--mx) * var(--depth) * 1px), calc(var(--my) * var(--depth) * 1px), 0); transition: transform .9s var(--ease); }
.hv-layer > * { pointer-events: auto; }
.hv-person { overflow: hidden; border-radius: 0 0 30px 30px; }
.arch-glow { position: absolute; left: 10%; right: 10%; bottom: 4%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,107,255,.6), transparent); filter: blur(40px); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .6; transform: scale(.94); } }
.arch {
  position: absolute; left: 5%; right: 5%; bottom: 0; height: 80%;
  border-radius: 999px 999px 30px 30px; padding: 1.5px;
  background: conic-gradient(from var(--a), rgba(255,255,255,.1) 0deg, #8fb0ff 50deg, rgba(255,255,255,.1) 110deg, rgba(255,255,255,.1) 190deg, #e0262d 240deg, rgba(255,255,255,.1) 290deg);
  transform-origin: bottom center;
  animation: archIn 1.2s .35s var(--ease) both, spin 9s linear infinite;
}
@keyframes archIn { from { opacity: 0; transform: scaleY(.6) scaleX(.9); } to { opacity: 1; transform: none; } }
@keyframes spin { to { --a: 360deg; } }
.arch-inner {
  width: 100%; height: 100%; border-radius: inherit; overflow: hidden; position: relative;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(90% 70% at 50% 25%, #2f6bff 0%, #0c3aa8 45%, #001a5c 100%);
}
.arch-inner::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.14) 50%, transparent 58%); animation: sweep 7s 2s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(-40%); } 60%, 100% { transform: translateX(40%); } }
.person { position: absolute; bottom: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); animation: personIn 1.3s .6s var(--ease) both; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
@keyframes personIn { from { opacity: 0; transform: translate(-50%, 40px) scale(.97); } to { opacity: 1; transform: translate(-50%, 0); } }
.glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); color: #fff; }
.profile-chip {
  position: absolute; left: -8%; top: 46%;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  animation: pop .9s 1.4s var(--ease) both, bob 6s 2.4s ease-in-out infinite;
}
.ring { position: relative; display: inline-block; width: fit-content; justify-self: start; border-radius: 50%; padding: 3px; isolation: isolate; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1; background: conic-gradient(from var(--a), #e0262d, #ff8a3d, #2f6bff, #002478, #e0262d); animation: spin 5s linear infinite; }
.ring img { border-radius: 50%; border: 3px solid var(--ring-gap, #0a1433); background: #d6d8d7; }
.profile-chip .ring img { width: 50px; height: 50px; }
.chip-name { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.chip-name svg { width: 16px; height: 16px; color: #3ea6ff; }
.chip-sub { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }
.chip-sub b { color: #fff; font-weight: 800; }
.cta-card {
  position: absolute; right: -6%; bottom: 8%; width: min(310px, 66%);
  padding: 20px; border-radius: 20px; background: #fff; color: #0b1020;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.5);
  animation: pop .9s 1.6s var(--ease) both, bob 7s 2.6s ease-in-out infinite reverse;
}
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -10px; } }
.cta-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cta-card-t { font-weight: 800; font-size: 17px; line-height: 1.25; }
.mini-tag { flex-shrink: 0; background: var(--navy); color: #fff; font-weight: 900; font-style: italic; font-size: 13px; line-height: 1; padding: 7px 9px; outline: 1.5px solid #fff; outline-offset: -4px; }
.cta-card-s { margin-top: 6px; font-size: 13.5px; color: #4b5466; line-height: 1.45; font-weight: 500; }
.cta-card .btn { margin-top: 14px; width: 100%; min-height: 48px; font-size: 14px; padding: 0 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: #4b5466; font-weight: 600; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35); display: block; animation: rise 1s 2s var(--ease) both; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-group { display: flex; align-items: center; }
.m-item { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-weight: 800; font-style: italic; font-size: clamp(22px, 3.1vw, 40px); letter-spacing: -.02em; white-space: nowrap; line-height: 1.2; }
.m-item:nth-child(even) .m-txt { color: transparent; -webkit-text-stroke: 1.2px var(--ink-3); }
.m-sep { width: .62em; height: .62em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.section-sub { margin-top: 16px; color: var(--ink-2); font-size: 17.5px; font-weight: 500; max-width: 54ch; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { transform: none; clip-path: inset(22% 0 0 0 round 30px); transition: clip-path 1.4s var(--ease), opacity .8s var(--ease); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 30px); }

/* About */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 50px 90px -50px rgba(0,20,70,.6); background: #ccc; }
.about-photo img { position: absolute; left: 0; right: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; transform: translateY(var(--py, 0px)); scale: 1.18; transition: scale 1.8s var(--ease); will-change: transform; }
.about-photo.is-in img { scale: 1; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,11,31,0) 50%, rgba(5,11,31,.82) 100%); pointer-events: none; }
.photo-badge { position: absolute; left: 20px; top: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; }
.photo-badge svg { width: 16px; height: 16px; }
.photo-cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: #fff; }
.photo-cap b { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.photo-cap span { display: block; font-size: 14px; color: rgba(255,255,255,.76); font-weight: 500; margin-top: 4px; }
.about-lead { margin-top: 24px; font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.5; max-width: 42ch; }
.about-text { margin-top: 18px; color: var(--ink-2); max-width: 58ch; }
.principles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.principles li { position: relative; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); transition: transform .5s var(--ease), border-color .3s; }
.principles li:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.p-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.p-icon svg { width: 22px; height: 22px; }
.principles h3 { margin-top: 16px; font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.principles p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* Services */
.services { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px 30px;
  box-shadow: var(--card-shadow);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--x, 50%) var(--y, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%); }
.service:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 40px 70px -36px rgba(0,36,120,.45); }
.service:hover::before { opacity: 1; }
.s-icon { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 14px 28px -12px rgba(47,107,255,.75), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .6s var(--ease); }
.s-icon svg { width: 28px; height: 28px; }
.service:hover .s-icon { transform: rotate(-8deg) scale(1.08); }
.service h3 { margin-top: 24px; font-size: 19.5px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.service p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* Process */
.process { background: var(--surface); }
.steps-wrap { position: relative; --p: 0; }
.steps-track { position: absolute; top: 31px; left: 32px; right: calc((100% - 72px) / 4 - 32px); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps-fill { position: absolute; inset: 0; background: linear-gradient(90deg, #2f6bff, #8fb0ff 60%, #e0262d); transform-origin: left center; transform: scaleX(var(--p)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; counter-increment: step; }
.step-num {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--line-strong); color: var(--ink-3);
  font-weight: 900; font-style: italic; font-size: 24px;
  transition: background .6s var(--ease), color .4s, border-color .4s, box-shadow .6s var(--ease), transform .6s var(--ease);
}
.step-num::after { content: counter(step); }
.step.is-active .step-num { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.06); box-shadow: 0 0 0 7px color-mix(in srgb, #2f6bff 16%, transparent), 0 16px 34px -10px rgba(47,107,255,.8); }
.step h3 { margin-top: 24px; font-size: 18.5px; font-weight: 800; line-height: 1.25; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: 15px; max-width: 28ch; }

/* Social */
.social { background: var(--bg); padding-bottom: 0; }
.social-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  border-radius: 34px; padding: clamp(28px, 5.5vw, 72px);
  background: radial-gradient(120% 120% at 0% 0%, #0d1d52 0%, var(--night) 60%);
  box-shadow: 0 60px 100px -60px rgba(0,20,70,.8);
}
.social-card > *:not(.blobs) { position: relative; z-index: 1; }
.social-card .ring { padding: 5px; --ring-gap: #071233; }
.social-card .ring img { width: clamp(130px, 15vw, 190px); height: clamp(130px, 15vw, 190px); border-width: 5px; }
.handle { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-style: italic; font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; color: #fff; }
.handle svg { width: .66em; height: .66em; color: #3ea6ff; }
.social-card .h3 { margin-top: 14px; font-weight: 800; font-size: 20px; color: #fff; }
.social-card p.txt { margin-top: 8px; color: rgba(255,255,255,.72); max-width: 58ch; }
.social-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* FAQ */
.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--hh) + 32px); }
.faq-aside a { color: var(--accent); font-weight: 700; text-underline-offset: 4px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .5s var(--ease); }
.faq-list details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--card-shadow); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; font-weight: 700; font-size: 17px; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .pm { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, border-color .3s, color .3s; }
.faq-list .pm svg { width: 16px; height: 16px; }
.faq-list details[open] .pm { transform: rotate(135deg); background: var(--grad); border-color: transparent; color: #fff; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 72px 24px 24px; color: var(--ink-2); max-width: 66ch; }

/* Booking */
.book { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 100% at 100% 0%, #0b2a7a 0%, #001a5c 45%, var(--night) 100%); color: #fff; }
.book .wrap { position: relative; z-index: 1; }
.book .blob.b3 { bottom: auto; top: 35%; right: 30%; }
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.book .h2 { color: #fff; }
.book-text { margin-top: 16px; color: rgba(255,255,255,.76); font-size: 17.5px; font-weight: 500; max-width: 44ch; }
.free-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; color: rgba(255,255,255,.76); font-weight: 600; font-size: 15px; }
.free-tag { display: inline-block; background: #fff; color: var(--navy); font-weight: 900; font-style: italic; font-size: clamp(22px, 2.6vw, 32px); line-height: 1; padding: .3em .45em; outline: 2px solid var(--navy); outline-offset: -6px; }
.contacts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; }
.contacts a, .contacts .row { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 16px; text-decoration: none; color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.contacts a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); transform: translateX(6px); }
.contacts .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.contacts .ci svg { width: 20px; height: 20px; }
.contacts small { display: block; font-size: 12.5px; color: rgba(255,255,255,.66); font-weight: 500; line-height: 1.3; }
.contacts strong { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; }

.form-card { position: relative; background: var(--surface); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.label { font-weight: 700; font-size: 14px; }
.label .opt { font-weight: 500; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface-2);
  font-size: 16px; font-weight: 500; transition: border-color .3s, background-color .3s, box-shadow .4s var(--ease);
}
.textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7380' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent); }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); font-weight: 400; }
.field.has-error .input { border-color: var(--red); animation: shake .4s; }
@keyframes shake { 25% { translate: -5px 0; } 50% { translate: 4px 0; } 75% { translate: -2px 0; } }
.err { font-size: 13px; font-weight: 600; color: var(--red); }
.err:empty { display: none; }
:root[data-theme="dark"] .err { color: #ff6b70; }
.chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: 14.5px; transition: background .35s var(--ease), border-color .3s, color .3s, transform .35s var(--ease); pointer-events: none; }
.chip:hover span { border-color: var(--line-strong); }
.chip input:checked + span { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.03); box-shadow: 0 10px 22px -12px rgba(47,107,255,.9); }
.chip input:focus-visible + span { outline: 2.5px solid var(--focus); outline-offset: 2px; }
.chips.has-error .chip span { border-color: color-mix(in srgb, var(--red) 60%, var(--line)); }
.form-submit { grid-column: 1 / -1; margin-top: 6px; }
.form-submit .btn { width: 100%; min-height: 58px; font-size: 16px; }
.form-submit .btn[disabled] { opacity: .75; cursor: progress; }
.legal { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: -4px; }
.form-alert { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--ink); font-size: 14px; font-weight: 600; border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.form-alert[hidden] { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.success { text-align: center; padding: 30px 8px; }
.success[hidden] { display: none; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 0 0 10px color-mix(in srgb, #2f6bff 14%, transparent), 0 20px 40px -14px rgba(47,107,255,.9); animation: popIn .7s cubic-bezier(.2,1.5,.4,1) both; }
.success-icon svg { width: 40px; height: 40px; }
.success-icon path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s ease forwards; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { margin-top: 24px; font-size: 25px; font-weight: 800; }
.success p { margin: 10px auto 0; color: var(--ink-2); max-width: 40ch; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--night); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; }
.footer-mission { margin-top: 12px; color: var(--ink-3); font-size: 14px; font-weight: 500; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; transition: color .3s; }
.footer-nav a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); text-decoration: none; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-giant { margin-top: 48px; font-weight: 900; font-style: italic; font-size: min(10.6vw, 152px); line-height: .95; letter-spacing: -.045em; white-space: nowrap; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.footer-bottom a { text-decoration: none; font-weight: 700; color: var(--ink-2); }

/* Honeypot (spam himoya) */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Floating contact button */
.fab { position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 55; }
.fab-btn {
  position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 18px 40px -12px rgba(47,107,255,.85), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -6px 14px rgba(0,20,80,.35);
  transition: scale .45s var(--ease), box-shadow .4s;
  animation: fabIn 1s 2.2s var(--ease) both;
}
.fab-btn:hover { scale: 1.07; box-shadow: 0 22px 46px -10px rgba(47,107,255,.95), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -6px 14px rgba(0,20,80,.35); }
@keyframes fabIn { from { opacity: 0; transform: scale(0) rotate(-200deg); } to { opacity: 1; transform: none; } }
.fab-btn::before, .fab-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: rgba(47,107,255,.5); animation: fabWave 2.8s 3s ease-out infinite both; }
.fab-btn::after { animation-delay: 4.4s; }
@keyframes fabWave { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(2); opacity: 0; } }
.fab-ring {
  position: absolute; inset: -5px; border-radius: 50%; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0deg 190deg, rgba(143,176,255,.9) 270deg, #fff 310deg, #e0262d 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 2.6s linear infinite;
}
.fab-icons { position: relative; width: 28px; height: 28px; }
.fi { position: absolute; inset: 0; width: 28px; height: 28px; opacity: 0; transition: opacity .35s, transform .5s var(--ease); }
.fi-1 { opacity: 1; animation: fabCycle 7.5s 0s infinite both; }
.fi-2 { animation: fabCycle 7.5s 2.5s infinite both; }
.fi-3 { animation: fabCycle 7.5s 5s infinite both; }
@keyframes fabCycle {
  0% { opacity: 0; transform: rotate(-120deg) scale(.3); }
  5%, 28% { opacity: 1; transform: none; }
  30% { transform: rotate(-12deg); }
  31% { transform: rotate(12deg); }
  32% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: rotate(120deg) scale(.3); }
}
.fi-x { transform: rotate(-90deg) scale(.4); }
.fab.is-open .fab-icons .fi:not(.fi-x) { animation: none; opacity: 0; transform: rotate(90deg) scale(.4); }
.fab.is-open .fi-x { opacity: 1; transform: none; }
.fab.is-open .fab-btn::before, .fab.is-open .fab-btn::after { animation: none; opacity: 0; }
.fab-menu {
  position: absolute; right: 0; bottom: calc(100% + 16px); margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px;
  visibility: hidden; pointer-events: none; transition: visibility 0s .5s;
}
.fab.is-open .fab-menu { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.fab-menu li { opacity: 0; transform: translateY(18px) scale(.85); transform-origin: right center; transition: opacity .25s ease, transform .4s var(--ease); }
.fab.is-open .fab-menu li { opacity: 1; transform: none; transition-delay: calc(var(--k) * 70ms); }
.fab-item {
  display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 24px 0 20px; border-radius: 999px;
  background: rgba(9,16,40,.94); border: 1px solid rgba(143,176,255,.3); color: #fff; text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: 16px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .3s, background-color .3s, translate .45s var(--ease);
}
.fab-item svg { width: 22px; height: 22px; color: #8fb0ff; }
.fab-item:hover { border-color: rgba(143,176,255,.75); background: rgba(16,30,72,.97); translate: -5px 0; }

/* Mobile sticky bar */
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 8px; font-size: 14px; }
  .main-nav a::after { left: 8px; right: 8px; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--hh) 0 auto 0; z-index: 59; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 22px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--card-shadow);
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-header .main-nav a { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); opacity: 1; }
  .main-nav a::after { display: none; }
  .header-tools { margin-left: auto; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 88px; }
  .hero-visual { justify-self: center; max-width: 470px; margin-top: 8px; }
  .profile-chip { left: 0; }
  .cta-card { right: 0; }
  .about-grid, .faq-grid, .book-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; }
  .faq-aside { position: static; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps-track { display: none; }
}
@media (max-width: 640px) {
  :root { --hh: 66px; }
  body { font-size: 15.5px; }
  .header-row { gap: 10px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .lang-btn .lang-globe { display: none; }
  .icon-btn, .lang-btn { height: 42px; }
  .icon-btn { width: 42px; }
  .hero-inner { padding-top: calc(var(--hh) + 28px); padding-bottom: 72px; }
  .kicker { font-size: 13px; }
  .stats { gap: 12px; margin-top: 38px; }
  .stat { padding-left: 12px; }
  .stat-v { font-size: 22px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { max-width: 100%; }
  .profile-chip { top: 38%; padding: 7px 14px 7px 7px; }
  .profile-chip .ring img { width: 40px; height: 40px; }
  .chip-name { font-size: 13.5px; }
  .cta-card { width: 68%; padding: 14px; bottom: 4%; border-radius: 16px; }
  .cta-card-t { font-size: 15px; }
  .cta-card-s { font-size: 12.5px; }
  .cta-card .btn { margin-top: 10px; min-height: 42px; font-size: 13.5px; }
  .cta-card .live { display: none; }
  .scroll-cue { display: none; }
  .marquee { padding: 18px 0; }
  .principles { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps-track { display: block; top: 32px; bottom: auto; left: 31px; right: auto; width: 2px; height: var(--last, 0px); }
  .steps-fill { transform-origin: center top; transform: scaleY(var(--p)); background: linear-gradient(180deg, #2f6bff, #8fb0ff 60%, #e0262d); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding-bottom: 30px; }
  .step-num { grid-row: span 2; }
  .step h3 { margin-top: 6px; }
  .social-card { grid-template-columns: 1fr; border-radius: 26px; }
  .social-actions .btn { flex: 1 1 200px; }
  .form-grid { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 16px; padding: 18px; }
  .faq-a p { padding: 0 18px 20px; }
  .sticky-cta {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 8px; border-radius: 18px; background: var(--header-bg); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px -12px rgba(0,0,0,.35);
    transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { min-height: 50px; }
  .sticky-cta .btn-primary { flex: 1; }
  .sticky-cta { right: calc(12px + 58px + 10px); }
  .fab { right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .fab-btn { width: 58px; height: 58px; }
  .fab-icons, .fi { width: 26px; height: 26px; }
  .fab-item { min-height: 52px; font-size: 15px; padding: 0 20px 0 18px; }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (min-width: 641px) and (max-width: 1400px) { .footer-bottom { padding-right: 92px; } }
@media (max-width: 380px) { .brand-text { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .w > span { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .about-photo img { scale: 1; }
}

/* ============ INTRO (kirish animatsiyasi) ============ */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .intro, .intro.is-out { display: block; }
.intro {
  position: fixed; inset: 0; z-index: 9999; color: #fff; overflow: hidden;
  font-family: 'Montserrat', system-ui, sans-serif; cursor: pointer;
}
.intro-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #050b1f; transition: transform 1s var(--ease); will-change: transform; z-index: 0; }
.intro-top { top: 0; background: linear-gradient(#050b1f, #07123a); }
.intro-bot { bottom: 0; background: linear-gradient(#07123a, #050b1f); }
.intro.is-out { pointer-events: none; }
.intro.is-out .intro-top { transform: translateY(-101%); }
.intro.is-out .intro-bot { transform: translateY(101%); }
.intro-glow {
  position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1.2s ease;
  background:
    radial-gradient(48vmax 48vmax at 50% 46%, rgba(47,107,255,.34), transparent 62%),
    radial-gradient(30vmax 30vmax at 82% 88%, rgba(224,38,45,.16), transparent 65%),
    radial-gradient(34vmax 34vmax at 10% 8%, rgba(12,72,210,.35), transparent 65%);
}
.intro-grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1.6s ease .2s;
  background-image: linear-gradient(rgba(143,176,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143,176,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 20%, transparent 100%);
          mask-image: radial-gradient(closest-side at 50% 46%, #000 20%, transparent 100%);
}
.intro.is-play .intro-glow, .intro.is-play .intro-grid { opacity: 1; }
.intro.is-out .intro-glow, .intro.is-out .intro-grid { opacity: 0; transition-duration: .5s; }

.intro-center {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  padding: 24px; text-align: center; transition: opacity .35s ease, transform .5s var(--ease), filter .5s ease;
}
.intro.is-leave .intro-center { opacity: 0; transform: scale(1.06); filter: blur(6px); }

/* logo */
.intro-logo { position: relative; width: 112px; height: 112px; margin-bottom: 26px; }
.intro-logo svg { position: relative; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 40px rgba(47,107,255,.5)); }
.il-bg { transform-box: fill-box; transform-origin: center; transform: scale(.4); opacity: 0; }
.il-house { fill-opacity: 0; stroke-dasharray: 100; stroke-dashoffset: 100; }
.il-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.intro-ring {
  position: absolute; inset: -22px; border-radius: 50%; opacity: 0; transform: scale(.7);
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(143,176,255,.9) 80%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
.intro.is-play .il-bg { animation: ilBg .8s var(--ease) .1s forwards; }
.intro.is-play .il-house { animation: ilDraw 1s cubic-bezier(.6,.05,.2,1) .55s forwards, ilFill .5s ease 1.4s forwards; }
.intro.is-play .il-dot { animation: ilDot .6s cubic-bezier(.3,1.7,.5,1) 1.5s forwards; }
.intro.is-play .intro-ring { animation: ilRing 2.6s linear .3s forwards, ilRingIn .8s var(--ease) .3s forwards; }
@keyframes ilBg { to { transform: scale(1); opacity: 1; } }
@keyframes ilDraw { to { stroke-dashoffset: 0; } }
@keyframes ilFill { to { fill-opacity: 1; } }
@keyframes ilDot { to { transform: scale(1); } }
@keyframes ilRingIn { to { opacity: 1; transform: scale(1); } }
@keyframes ilRing { to { rotate: 360deg; } }

/* name */
.intro-name { font-size: clamp(34px, 8.4vw, 76px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; }
.iw { display: inline-block; }
.ic { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .02em .14em; margin: -.08em -.02em -.14em; }
.ic > span { display: inline-block; transform: translateY(115%) rotate(6deg); transform-origin: left bottom; opacity: 0; }
.iw-b { font-weight: 500; color: #8fb0ff; }
.intro.is-play .ic > span { animation: icUp .85s var(--ease) forwards; animation-delay: calc(1.25s + var(--i) * 55ms); }
@keyframes icUp { to { transform: none; opacity: 1; } }

.intro-line { width: 0; height: 2px; margin: 20px 0 14px; border-radius: 2px; background: linear-gradient(90deg, transparent, #2f6bff 30%, #e0262d 70%, transparent); }
.intro.is-play .intro-line { animation: ilLine 1s var(--ease) 2s forwards; }
@keyframes ilLine { to { width: min(260px, 56vw); } }
.intro-sub { font-size: 12px; font-weight: 600; letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; color: rgba(241,244,250,.62); opacity: 0; transform: translateY(8px); }
.intro.is-play .intro-sub { animation: icFade .8s ease 2.15s forwards; }
@keyframes icFade { to { opacity: 1; transform: none; } }

.intro-skip {
  position: absolute; z-index: 3; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.8);
  padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em; cursor: pointer;
  opacity: 0; transition: opacity .6s ease 1s, background .2s;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.intro.is-play .intro-skip { opacity: 1; }
.intro-skip:hover { background: rgba(255,255,255,.16); }

/* sayt animatsiyalari intro tugaguncha kutadi */
html.intro-on .hero, html.intro-on .hero * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } html.intro-on { overflow: auto; } }
