/* Дизайн код — dizaynkod.uz */

:root {
  --navy-950: #071427;
  --navy-900: #0b1d36;
  --navy-800: #102a4c;
  --navy-700: #173a66;
  --blue: #2563b8;
  --teal: #1aa69f;
  --teal-400: #2cc3b8;
  --red: #e0583c;
  --grad: linear-gradient(120deg, #2563b8 0%, #1aa69f 100%);

  --ink: #0e1c30;
  --text: #33445c;
  --muted: #64758c;
  --line: #dde5ef;
  --bg: #ffffff;
  --bg-soft: #f3f6fa;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(11, 29, 54, .35);
  --shadow-sm: 0 6px 20px -12px rgba(11, 29, 54, .3);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Unbounded", "Manrope", system-ui, sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15px/1 var(--font); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px rgba(26, 166, 159, .7); }
.btn--primary:hover { box-shadow: 0 16px 34px -12px rgba(26, 166, 159, .85); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  background: rgba(11, 29, 54, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 3px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 600 17px/1.1 var(--font-head); letter-spacing: .01em; }
.brand__tag { font-size: 12px; opacity: .65; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 10px; transition: color .2s, background-color .2s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__phone { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { color: #fff; font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--light { color: var(--teal-400); }
.h2 { font: 700 clamp(28px, 3.4vw, 42px)/1.15 var(--font-head); letter-spacing: -.01em; }
.muted { color: var(--muted); }
.hint {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 14px; font-weight: 700; color: var(--muted);
}
.hint::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231aa69f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 13V5a1.5 1.5 0 0 1 3 0v6m0-1.5a1.5 1.5 0 0 1 3 0V12m0-1a1.5 1.5 0 0 1 3 0v1.5m0-.5a1.5 1.5 0 0 1 3 0V16a6 6 0 0 1-6 6h-1a6 6 0 0 1-5-2.7L4.6 15a1.6 1.6 0 0 1 2.6-1.8L8 14'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1000px 560px at 85% 10%, rgba(26,166,159,.22), transparent 60%),
              radial-gradient(900px 600px at 0% 100%, rgba(37,99,184,.35), transparent 60%),
              var(--navy-900);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 120px;
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 78%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title {
  font: 700 clamp(34px, 5vw, 60px)/1.08 var(--font-head);
  color: #fff; letter-spacing: -.01em; margin-bottom: 22px;
}
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin: 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); max-width: 560px; }
.hero__stats dt { font: 700 30px/1 var(--font-head); background: linear-gradient(120deg, #7fb4ff, #3fe0d0); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.hero__stats dd { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.65); }

.hero__visual { position: relative; }
.facade { width: 100%; height: auto; display: block; }
.f-wall { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.f-line, .f-ground { stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.f-ground { stroke-dasharray: 2 6; }
.f-windows rect { fill: rgba(159,214,255,.07); stroke: rgba(255,255,255,.2); stroke-width: 1.2; }
.f-store { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.f-pane { stroke: rgba(255,255,255,.22); }
.f-door { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.28); }
.f-zone { fill: rgba(44,195,184,.07); stroke: var(--teal-400); stroke-width: 1.5; stroke-dasharray: 6 5; animation: dash 18s linear infinite; }
.f-sign { filter: drop-shadow(0 0 18px rgba(44,195,184,.55)); animation: glow 3.2s ease-in-out infinite; }
.f-sign-text { fill: #fff; font: 700 13px var(--font-head); letter-spacing: .18em; }
.f-dim path { stroke: rgba(255,255,255,.55); stroke-width: 1.2; }
.f-dim-text { fill: rgba(255,255,255,.7); font: 600 12px var(--font); letter-spacing: .04em; }

@keyframes dash { to { stroke-dashoffset: -220; } }
@keyframes glow { 50% { filter: drop-shadow(0 0 30px rgba(44,195,184,.85)); } }

.passport {
  position: absolute; left: -28px; bottom: -84px; width: 270px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 18px 18px 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  animation: float 6s ease-in-out infinite;
}
.passport__head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.passport__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex: none; }
.passport__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.passport__title { font-weight: 800; font-size: 14px; line-height: 1.25; }
.passport__sub { font-size: 12px; color: var(--muted); }
.passport__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.passport__list li {
  display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
  padding: 9px 12px; border-radius: 10px; background: var(--bg-soft);
  opacity: 0; transform: translateX(-8px);
  animation: tick .5s ease forwards; animation-delay: calc(.6s + var(--d) * .45s);
}
.passport__list li::before, .check-dot {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.stamp {
  position: absolute; right: -14px; top: -16px;
  font: 700 11px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); border: 2px solid var(--teal); border-radius: 8px;
  padding: 8px 10px; background: #fff; transform: rotate(8deg);
  opacity: 0; animation: stamp .45s cubic-bezier(.2,1.6,.4,1) 2.3s forwards;
}
@keyframes tick { to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: rotate(8deg) scale(1.8); } to { opacity: 1; transform: rotate(8deg) scale(1); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 110px 0; }
.section--light { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.75); overflow: hidden; }
.section--dark .h2, .section--dark h3 { color: #fff; }
.section--dark .container { position: relative; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }

/* ---------- before / after ---------- */
.ba {
  position: relative; max-width: 1000px; margin-inline: auto;
  aspect-ratio: 800 / 480; border-radius: 24px; overflow: hidden;
  background: var(--navy-900); box-shadow: var(--shadow);
  user-select: none; touch-action: pan-y;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer svg { width: 100%; height: 100%; display: block; }
.ba__before { z-index: 1; background: linear-gradient(180deg, #13243e, #0d1c33); }
.ba__after {
  z-index: 2;
  background: radial-gradient(600px 300px at 70% 20%, rgba(26,166,159,.18), transparent 70%), var(--navy-900);
  clip-path: inset(0 0 0 var(--pos));
}
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; z-index: 3; box-shadow: 0 0 20px rgba(44,195,184,.8); }
.ba__handle span {
  position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1d36' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E");
  background-size: 24px; background-position: center; background-repeat: no-repeat;
}
.ba__tag {
  position: absolute; top: 18px; z-index: 3; pointer-events: none;
  font: 700 12px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 99px; color: #fff;
}
.ba__tag--before { left: 18px; background: rgba(224,88,60,.9); }
.ba__tag--after { right: 18px; background: var(--grad); }
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 56px; height: 1000px; border: 0; cursor: ew-resize; }
.ba__range:focus-visible ~ .ba__handle span, .ba:focus-within .ba__handle span { outline: 3px solid var(--teal-400); outline-offset: 3px; }

.bp-wall { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.bp-line { stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.bp-ground { stroke: rgba(255,255,255,.3); stroke-width: 1.5; stroke-dasharray: 2 6; }
.bp-win rect { fill: rgba(159,214,255,.07); stroke: rgba(255,255,255,.22); stroke-width: 1.2; }
.bp-shops rect { stroke: rgba(255,255,255,.28); stroke-width: 1.4; fill: rgba(255,255,255,.03); }
.bad-text { fill: #fff; font: 700 15px var(--font-head); letter-spacing: .04em; }
.bad-text--lg { font-size: 22px; }
.bad-text--xl { font-size: 28px; }
.bad-text--dark { fill: #3a2a00; font-size: 14px; }
.bad-line { stroke: rgba(255,255,255,.5); stroke-width: 3; }
.bad-ring ellipse { stroke: #ff6b57; stroke-width: 2.5; stroke-dasharray: 8 6; }
.good-zone rect { stroke: var(--teal-400); stroke-width: 1.4; stroke-dasharray: 6 5; fill: rgba(44,195,184,.06); }
.good-sign rect { filter: drop-shadow(0 0 14px rgba(44,195,184,.6)); }
.good-text { fill: #fff; font: 700 13px var(--font-head); letter-spacing: .16em; }
.good-dim { stroke: rgba(255,255,255,.45); stroke-width: 1.2; }

.pin {
  position: absolute; transform: translate(-50%, -50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font: 700 13px/1 var(--font); padding: 8px 12px 8px 9px; border-radius: 99px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.6);
}
.pin::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; background-position: center; background-repeat: no-repeat; background-size: 10px; }
.pin--bad { background: #fff; color: #c0392b; }
.pin--bad::before { background-color: #e0583c; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }
.pin--good { background: #fff; color: #0f7f79; }
.pin--good::before { background-color: var(--teal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc__card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 12px 12px 24px; transition: transform .25s ease, box-shadow .25s ease; }
.svc__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc__art {
  position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 20px;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/24px 24px,
    radial-gradient(260px 140px at 70% 10%, rgba(26,166,159,.25), transparent 70%),
    var(--navy-900);
  aspect-ratio: 16 / 9;
}
.svc__art svg { width: 100%; height: 100%; display: block; }
.svc__card h3 { font-size: 19px; font-weight: 800; line-height: 1.3; padding: 0 12px; margin-bottom: 6px; }
.svc__card p { font-size: 15px; color: var(--muted); padding: 0 12px; }

.m-wall { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.26); stroke-width: 1.4; }
.m-line, .m-line rect { stroke: rgba(255,255,255,.3); stroke-width: 1.3; }
.m-line-strong { stroke: rgba(255,255,255,.5); stroke-width: 1.6; }
.m-zone { stroke: var(--teal-400); stroke-width: 1.4; stroke-dasharray: 5 4; fill: rgba(44,195,184,.07); animation: dash 18s linear infinite; }
.m-glow { filter: drop-shadow(0 0 10px rgba(44,195,184,.55)); }
.m-sign-text { fill: #fff; font: 700 11px var(--font-head); letter-spacing: .2em; }
.m-sign-text--lg { font-size: 17px; }
.m-chip { fill: #fff; }
.m-chip-text { fill: #0f7f79; font: 800 11px var(--font); }
.m-truss { stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-linecap: round; }
.m-dim { stroke: rgba(255,255,255,.5); stroke-width: 1.2; stroke-linecap: round; }
.m-dim-text { fill: rgba(255,255,255,.75); font: 700 11px var(--font); letter-spacing: .06em; }
.m-blue { stroke: var(--teal-400); stroke-width: 1.6; fill: rgba(44,195,184,.06); }
.m-letters rect { stroke: rgba(127,180,255,.9); stroke-width: 1.3; fill: rgba(127,180,255,.12); }
.m-sheet { fill: #fff; }
.m-sheet--back { fill: rgba(255,255,255,.35); }
.m-sheet--mid { fill: rgba(255,255,255,.6); }
.m-doc-lines path { stroke: #c9d4e2; stroke-width: 5; stroke-linecap: round; }
.m-ticks circle { fill: var(--teal); }
.m-ticks .m-tick-off { fill: none; stroke: #c9d4e2; stroke-width: 2; }
.m-tick-marks path { stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-clip { stroke: #9fb0c6; stroke-width: 2.4; stroke-linecap: round; }
.m-sign-path { stroke: var(--navy-700); stroke-width: 2.2; stroke-linecap: round; }
.m-stamp rect { stroke: var(--teal); stroke-width: 2.5; fill: rgba(26,166,159,.06); }
.m-stamp text { fill: var(--teal); font: 700 10.5px var(--font-head); letter-spacing: .1em; }
.m-hatch path { stroke: rgba(255,255,255,.18); stroke-width: 1.2; }
.m-box { stroke: rgba(255,255,255,.7); stroke-width: 1.6; fill: rgba(255,255,255,.04); stroke-dasharray: 4 0; }
.m-leds circle { fill: #3fe0d0; filter: drop-shadow(0 0 6px rgba(63,224,208,.9)); animation: led 2.4s ease-in-out infinite; }
.m-leds circle:nth-child(2n) { animation-delay: .4s; }
.m-leds circle:nth-child(3n) { animation-delay: .8s; }
.m-bracket { stroke: rgba(255,255,255,.7); stroke-width: 3; stroke-linecap: round; }
.m-bolt { fill: var(--navy-900); stroke: #fff; stroke-width: 2; }
@keyframes led { 50% { opacity: .35; } }

/* ---------- process ---------- */
.flow { position: relative; padding: 10px 0 0; }
.flow__track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 44px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.flow__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 16px rgba(44,195,184,.7); transition: width .9s cubic-bezier(.6,0,.3,1); }
.flow__token {
  position: absolute; top: 50%; left: 0; width: 34px; height: 42px; margin: -50px 0 0 -17px;
  display: grid; place-items: center; border-radius: 8px; background: #fff;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.6);
  transition: left .9s cubic-bezier(.6,0,.3,1);
}
.flow__token svg { width: 20px; height: 20px; fill: none; stroke: var(--navy-900); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; }
.flow__node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; cursor: pointer; }
.flow__stage { display: none; }
.flow__ico {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px;
  background: var(--navy-800); border: 2px solid rgba(255,255,255,.14);
  transition: background-color .4s, border-color .4s, box-shadow .4s, transform .4s;
}
.flow__ico svg { width: 30px; height: 30px; fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.flow__n { font: 600 12px var(--font-head); color: rgba(255,255,255,.4); letter-spacing: .1em; transition: color .4s; }
.flow__label { font-weight: 800; font-size: 16px; color: rgba(255,255,255,.75); transition: color .4s; }
.flow__node.is-on .flow__ico { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 8px rgba(44,195,184,.14), 0 12px 30px -10px rgba(44,195,184,.8); transform: scale(1.04); }
.flow__node.is-on .flow__ico svg { stroke: #fff; }
.flow__node.is-on .flow__n { color: var(--teal-400); }
.flow__node.is-on .flow__label { color: #fff; }

/* perks as an LED running-line sign */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ticker {
  margin-top: 72px; padding: 14px; border-radius: 16px;
  background:
    radial-gradient(circle at 8px 8px, #8a9bb4 2px, transparent 2.6px),
    radial-gradient(circle at calc(100% - 8px) 8px, #8a9bb4 2px, transparent 2.6px),
    radial-gradient(circle at 8px calc(100% - 8px), #8a9bb4 2px, transparent 2.6px),
    radial-gradient(circle at calc(100% - 8px) calc(100% - 8px), #8a9bb4 2px, transparent 2.6px),
    linear-gradient(180deg, #1b2e4b, #0f1f37);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
}
.ticker__screen {
  position: relative; overflow: hidden; border-radius: 8px; background: #030914; padding: 20px 0;
  box-shadow: inset 0 0 30px rgba(0,0,0,.9);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, transparent .9px, rgba(3,9,20,.82) 1.5px) 0 0 / 4px 4px;
}
.ticker__track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 30px; padding-left: 30px; white-space: nowrap;
  font: 700 28px/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  color: #6ff5e6; text-shadow: 0 0 6px rgba(63,224,208,.95), 0 0 20px rgba(44,195,184,.6);
}
.ticker__track span:nth-child(2n) { color: #fff; text-shadow: 0 0 6px rgba(255,255,255,.8), 0 0 18px rgba(127,180,255,.6); }
.ticker__track span::before {
  content: ""; width: 11px; height: 11px; flex: none; transform: rotate(45deg);
  background: #ffb547; box-shadow: 0 0 10px #ffb547, 0 0 20px rgba(255,181,71,.6);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- checklist ---------- */
.checklist { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: stretch; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.docs label { display: block; height: 100%; cursor: pointer; }
.docs input { position: absolute; opacity: 0; pointer-events: none; }
.doc {
  position: relative; height: 100%; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  padding: 20px 18px 18px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--ink);
  transition: border-color .25s, background-color .25s, transform .25s, box-shadow .25s;
  user-select: none;
}
.doc:hover { border-color: #b8c6d8; transform: translateY(-2px); }
.doc svg { width: 34px; height: 34px; fill: none; stroke: var(--navy-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.doc::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #c6d2e1; transition: background-color .25s, border-color .25s, transform .25s;
  background-position: center; background-repeat: no-repeat; background-size: 14px;
}
.docs input:checked + .doc { border-color: var(--teal); background: linear-gradient(160deg, rgba(26,166,159,.1), rgba(37,99,184,.06)); box-shadow: 0 10px 24px -16px rgba(26,166,159,.9); }
.docs input:checked + .doc svg { stroke: var(--teal); }
.docs input:checked + .doc::after {
  background-color: var(--teal); border-color: var(--teal); transform: scale(1.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
}
.docs input:focus-visible + .doc { outline: 3px solid rgba(26,166,159,.45); outline-offset: 2px; }

.folder {
  position: relative; overflow: hidden; border-radius: 24px; padding: 32px 28px 28px;
  background: radial-gradient(320px 220px at 100% 0%, rgba(26,166,159,.35), transparent 70%), var(--navy-900);
  color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.folder__ring { position: relative; width: 168px; height: 168px; margin-bottom: 22px; }
.folder__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 10; }
.ring-fg { fill: none; stroke: url(#dkSign); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .6s cubic-bezier(.4,0,.2,1); }
.folder__count { position: absolute; inset: 0; display: grid; place-content: center; }
.folder__count strong { font: 700 38px/1 var(--font-head); }
.folder__count span { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }
.folder__stamp {
  position: absolute; left: 50%; top: 50%; white-space: nowrap;
  font: 700 13px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-400); border: 2.5px solid var(--teal-400); border-radius: 10px; padding: 10px 12px;
  background: rgba(11,29,54,.92);
  transform: translate(-50%, -50%) rotate(-12deg) scale(1.8); opacity: 0;
  transition: opacity .2s, transform .45s cubic-bezier(.2,1.6,.4,1);
}
.folder.is-complete .folder__stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
.folder__title { font: 600 18px/1.35 var(--font-head); margin-bottom: 22px; }
.folder__cta { width: 100%; display: grid; gap: 14px; margin-top: auto; }
.folder__phone { color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; }

/* ---------- production ---------- */
.make { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.make__text .h2 { margin-bottom: 16px; }
.make__text a { color: var(--blue); font-weight: 800; }
.make__art {
  border-radius: 24px; padding: 28px 28px 24px; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/28px 28px,
    var(--navy-900);
}
.make__art svg { width: 100%; height: auto; display: block; }
.mk-ground { stroke: rgba(255,255,255,.3); stroke-width: 1.5; stroke-dasharray: 2 6; }
.mk-box { stroke: var(--teal-400); stroke-width: 2; stroke-dasharray: 10 6; fill: rgba(44,195,184,.05); }
.mk-fill { opacity: 0; }
.mk-text { font: 700 58px var(--font-head); letter-spacing: .12em; fill: transparent; stroke: #7fb4ff; stroke-width: 1.4; stroke-dasharray: 520; stroke-dashoffset: 520; }
.mk-dim { stroke: rgba(255,255,255,.45); stroke-width: 1.4; stroke-linecap: round; }
.make__art.is-play .mk-text { animation: mk-draw 7s ease-in-out infinite; }
.make__art.is-play .mk-fill { animation: mk-fill 7s ease-in-out infinite; }
.make__art.is-play .mk-box { animation: mk-box 7s ease-in-out infinite; }
@keyframes mk-draw {
  0% { stroke-dashoffset: 520; fill: transparent; }
  35% { stroke-dashoffset: 0; fill: transparent; stroke: #7fb4ff; }
  50%, 88% { stroke-dashoffset: 0; fill: #fff; stroke: #fff; filter: drop-shadow(0 0 12px rgba(255,255,255,.6)); }
  100% { stroke-dashoffset: 0; fill: transparent; stroke: #7fb4ff; }
}
@keyframes mk-fill { 0%, 38% { opacity: 0; } 52%, 88% { opacity: 1; filter: drop-shadow(0 0 28px rgba(44,195,184,.7)); } 100% { opacity: 0; } }
@keyframes mk-box { 0%, 38% { stroke-dasharray: 10 6; } 52%, 88% { stroke-dasharray: 10 0; stroke: transparent; } 100% { stroke-dasharray: 10 6; } }
.make__steps { list-style: none; margin: 18px 0 0; padding: 0; display: flex; justify-content: center; gap: 10px; counter-reset: mk; }
.make__steps li { counter-increment: mk; display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-weight: 700; font-size: 14px; }
.make__steps li::before { content: counter(mk); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 11px var(--font-head); }
.make__steps li + li::after { content: none; }
.make__steps li:not(:last-child)::after { content: "→"; margin-left: 8px; color: rgba(255,255,255,.35); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(26,166,159,.45); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 64px 22px 24px; font-weight: 800; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231aa69f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- contacts ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.contact__list li { display: grid; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 0; }
.contact__label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.contact__list a { color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; width: fit-content; }
.contact__list a:hover { color: var(--teal); }
.contact__list span:not(.contact__label) { color: var(--ink); font-size: 17px; }

.form { background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 18px; }
.form h3 { font: 600 22px/1.3 var(--font-head); }
.field { display: grid; gap: 8px; }
.field span { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select {
  width: 100%; font: 500 16px/1.4 var(--font); color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364758c' stroke-width='2' stroke-linecap='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; padding-right: 44px; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 4px rgba(26,166,159,.12); }
.field input.is-invalid { border-color: #e05a5a; box-shadow: 0 0 0 4px rgba(224,90,90,.1); }
.form__hint { font-size: 13px; color: var(--muted); text-align: center; }

.map { margin-top: 56px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 360px; background: #e7edf4; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 56px 0 28px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__nav a, .footer__contacts a { color: rgba(255,255,255,.75); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer__nav a:hover, .footer__contacts a:hover { color: #fff; }
.footer__contacts { display: grid; gap: 4px; text-align: right; }
.footer__contacts a { font-weight: 800; color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; font-size: 14px; }
.footer__bottom a { color: rgba(255,255,255,.85); }

/* ---------- mobile bar + toast ---------- */
.mobile-bar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px);
  max-width: min(440px, calc(100% - 32px));
  background: var(--navy-900); color: #fff; padding: 16px 20px; border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); font-size: 15px; line-height: 1.45;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .header__phone { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 72px; }
  .hero__visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .passport { left: 0; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: 1fr; }
  .docs { grid-template-columns: repeat(4, 1fr); }
  .folder { flex-direction: row; text-align: left; gap: 28px; flex-wrap: wrap; justify-content: center; }
  .folder__ring { margin: 0; width: 140px; height: 140px; }
  .folder__title { margin: 0; flex: 1 1 200px; }
  .folder__cta { flex: 1 1 240px; margin: 0; }
  .make, .contact { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .section { padding: 80px 0; }
  .section__head { margin-bottom: 36px; }
  .hero { padding: calc(var(--header-h) + 44px) 0 88px; }
  .hero__stats { gap: 24px; }
  .hero__stats dt { font-size: 24px; }

  .ba { border-radius: 16px; margin-inline: -4px; }
  .ba__tag { top: 10px; padding: 7px 10px; font-size: 10px; }
  .ba__tag--before { left: 10px; }
  .ba__tag--after { right: 10px; }
  .ba__handle span { width: 38px; height: 38px; margin: -19px 0 0 -19px; background-size: 20px; }
  .pin { font-size: 10.5px; padding: 5px 8px 5px 5px; gap: 4px; }
  .pin::before { width: 12px; height: 12px; background-size: 8px; }

  .flow { padding-top: 46px; }
  .flow__track { top: 66px; height: 3px; }
  .flow__token { width: 26px; height: 32px; margin: -58px 0 0 -13px; border-radius: 6px; }
  .flow__token svg { width: 15px; height: 15px; }
  .flow__steps { gap: 4px; }
  .flow__ico { width: 44px; height: 44px; margin-bottom: 4px; border-width: 1.5px; }
  .flow__ico svg { width: 20px; height: 20px; }
  .flow__node.is-on .flow__ico { box-shadow: 0 0 0 5px rgba(44,195,184,.14), 0 8px 20px -8px rgba(44,195,184,.8); }
  .flow__node.is-current .flow__ico { transform: scale(1.12); }
  .flow__n { font-size: 11px; }
  .flow__label { display: none; }
  .flow__stage {
    display: flex; align-items: center; gap: 16px; margin-top: 26px;
    padding: 18px 20px; border-radius: 18px;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  }
  .flow__stage-ico { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(44,195,184,.9); }
  .flow__stage-ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .flow__stage-n { display: block; font: 600 12px var(--font-head); letter-spacing: .1em; color: var(--teal-400); margin-bottom: 4px; }
  .flow__stage-label { display: block; font: 700 20px/1.2 var(--font-head); color: #fff; }
  .flow__stage.is-swap > * { animation: stage-in .45s ease both; }
  @keyframes stage-in { from { opacity: 0; transform: translateX(14px); } }
  .ticker { margin-top: 48px; padding: 11px; border-radius: 12px; }
  .ticker__screen { padding: 15px 0; }
  .ticker__track { animation-duration: 24s; }
  .ticker__track span { font-size: 19px; gap: 20px; padding-left: 20px; }
  .ticker__track span::before { width: 8px; height: 8px; }

  .docs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .doc { min-height: 128px; padding: 16px 14px 14px; font-size: 14px; }
  .doc svg { width: 30px; height: 30px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: grid; place-items: center; min-height: 48px; border-radius: 12px; font-weight: 800; text-decoration: none; font-size: 15px; }
  .mobile-bar__call { background: var(--grad); color: #fff; }
  .mobile-bar__tg { background: var(--navy-900); color: #fff; }
  .footer { padding-bottom: 96px; }
  .toast { bottom: 92px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .svc { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__stats dt { font-size: 21px; }
  .hero__stats dd { font-size: 12.5px; }
  .hero__inner { gap: 48px; }
  .passport { position: relative; left: auto; bottom: auto; width: min(290px, 100%); margin: -28px 0 0 auto; padding: 14px; }
  .passport__list li { font-size: 13px; padding: 7px 10px; }
  .stamp { right: -6px; }
  .folder { flex-direction: column; text-align: center; padding: 28px 22px; }
  .folder__title { flex: none; }
  .folder__cta { flex: none; }
  .make__art { padding: 18px 14px 18px; }
  .make__steps { flex-wrap: wrap; }
  .form { padding: 26px 20px; }
  .map { height: 300px; margin-top: 40px; }
  .footer__contacts { text-align: left; }
  .brand__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .passport__list li, .stamp { opacity: 1; transform: none; }
  .stamp { transform: rotate(8deg); }
  .mk-text { stroke-dashoffset: 0; fill: #fff; }
  .mk-fill { opacity: 1; }
}

/* =========================================================
   Многостраничная версия: меню, языки, внутренние страницы
   ========================================================= */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { overflow-wrap: break-word; }
.hero { padding-bottom: 150px; }

/* меню с выпадающими услугами */
.nav__group { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.82); font: 600 15px var(--font); padding: 8px 12px; border-radius: 10px;
}
.nav__toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav__toggle:hover, .nav__group:focus-within .nav__toggle, .nav__group.is-open .nav__toggle { color: #fff; background: rgba(255,255,255,.08); }
.nav__drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; display: grid; gap: 2px; padding: 8px;
  border-radius: 14px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__group:hover .nav__drop, .nav__group:focus-within .nav__drop, .nav__group.is-open .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { white-space: nowrap; }
.nav a[aria-current="page"] { color: #fff; background: rgba(44,195,184,.16); }

.lang { display: inline-flex; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); flex: none; }
.lang a { color: rgba(255,255,255,.7); text-decoration: none; font: 800 12px/1 var(--font); letter-spacing: .06em; padding: 8px 10px; border-radius: 99px; }
.lang a[aria-current] { background: #fff; color: var(--navy-900); }
.lang a:not([aria-current]):hover { color: #fff; }

@media (max-width: 1320px) { .header__phone { display: none; } }

@media (max-width: 1180px) {
  .burger { display: block; }
  .header__actions { margin-left: auto; gap: 12px; }
  .header { background: rgba(11, 29, 54, .92); backdrop-filter: blur(14px); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 24px; background: var(--navy-900);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 40px -20px rgba(0,0,0,.6);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 13px 12px; font-size: 17px; }
  .nav__toggle { pointer-events: none; color: var(--teal-400) !important; background: none !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 12px 12px 4px; }
  .nav__toggle::after { display: none; }
  .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 8px; min-width: 0; }
  .nav__drop::before { display: none; }
  .nav__drop a { white-space: normal; }
  .nav__phone { display: block; color: #fff !important; font-weight: 800 !important; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.08); border-radius: 0 !important; padding-top: 18px !important; }
}
@media (max-width: 600px) { .header .btn--sm { display: none; } }

/* плашка «Новое в законе» */
.update { position: relative; z-index: 2; margin-top: -44px; }
.update__card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 24px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s;
}
.update__card:hover { transform: translateY(-3px); }
.update__ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,181,71,.16); color: #c77c00; display: grid; place-items: center; }
.update__ico .ico { width: 28px; height: 28px; }
.update__body { display: grid; gap: 6px; }
.update__badge { display: inline-block; width: fit-content; font: 800 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #9a5a00; background: rgba(255,181,71,.22); padding: 6px 10px; border-radius: 99px; }
.update__body strong { font: 600 19px/1.3 var(--font-head); color: var(--ink); }
.update__body > span:last-child { font-size: 15px; color: var(--muted); }
.update__link { font-weight: 800; color: var(--teal); white-space: nowrap; }

/* шапка внутренних страниц */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 48px) 0 104px;
  background: radial-gradient(900px 500px at 85% 0%, rgba(26,166,159,.22), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(37,99,184,.32), transparent 60%),
              var(--navy-900);
}
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero__title { font: 700 clamp(30px, 4.2vw, 52px)/1.1 var(--font-head); color: #fff; margin-bottom: 20px; letter-spacing: -.01em; }
.page-hero .hero__cta { margin-bottom: 0; }
.page-hero__art {
  border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/24px 24px,
    radial-gradient(300px 160px at 70% 10%, rgba(26,166,159,.25), transparent 70%),
    rgba(255,255,255,.03);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.page-hero__art svg { width: 100%; height: 100%; display: block; }
.page-hero__art--wide { aspect-ratio: auto; padding: 14px; }
.page-hero__art--wide svg { height: auto; }
.page-hero__make { border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.page-hero--404 { min-height: 72vh; display: grid; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.m-seal { fill: var(--teal); }
.m-seal-mark { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m-scale { stroke: rgba(255,255,255,.75); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.m-live { fill: #ff6b57; filter: drop-shadow(0 0 8px rgba(255,107,87,.8)); animation: led 1.6s ease-in-out infinite; }

/* что входит */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__ico { width: 52px; height: 52px; border-radius: 15px; background: var(--navy-900); color: var(--teal-400); display: grid; place-items: center; margin-bottom: 18px; }
.feature__ico .ico { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; line-height: 1.3; }
.feature p { font-size: 15px; color: var(--muted); }

/* шаги */
.steps-lite { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; counter-reset: st; }
.steps-lite li {
  counter-increment: st; position: relative; padding: 22px 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: #fff; font-weight: 800; font-size: 16px; line-height: 1.3;
}
.steps-lite li::before { content: "0" counter(st); display: block; font: 600 13px var(--font-head); color: var(--teal-400); letter-spacing: .1em; margin-bottom: 14px; }
.steps-lite li:not(:last-child)::after {
  content: ""; position: absolute; right: -14px; top: 50%; width: 9px; height: 9px; z-index: 1;
  border-top: 2px solid rgba(44,195,184,.8); border-right: 2px solid rgba(44,195,184,.8); transform: translateY(-50%) rotate(45deg);
}

/* текст и вопросы */
.prose { margin-bottom: 56px; }
.prose p { font-size: 17px; color: var(--text); margin-top: 16px; }
.faq-title { margin-bottom: 22px; }

/* другие услуги и призыв */
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.related__card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.related__card:hover { transform: translateY(-2px); border-color: rgba(26,166,159,.5); box-shadow: var(--shadow-sm); }
.related__ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(26,166,159,.1); color: var(--teal); display: grid; place-items: center; }
.related__card strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; }
.related__card strong + span { display: block; font-size: 14px; color: var(--muted); }
.related__arrow { width: 20px; height: 20px; color: var(--teal); }
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: rgba(255,255,255,.75); padding: 72px 0; }
.cta-band__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band .h2 { color: #fff; margin-bottom: 8px; font-size: clamp(24px, 2.6vw, 34px); }
.cta-band .hero__cta { margin: 0; }

/* новости */
.news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news__item a {
  height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.news__item a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.news__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 700; }
.news__source { color: #0f7f79; background: rgba(26,166,159,.12); padding: 5px 9px; border-radius: 99px; }
.news__title { font-weight: 800; font-size: 17px; line-height: 1.4; flex: 1; }
.news__read { font-size: 14px; font-weight: 800; color: var(--blue); }
.more-link { margin-top: 26px; }
.more-link a { font-weight: 800; color: var(--teal); text-decoration: none; }

/* законодательство */
.changes { border-radius: 24px; padding: 36px; background: linear-gradient(160deg, rgba(255,181,71,.13), rgba(255,181,71,.04)); border: 1px solid rgba(255,181,71,.38); }
.changes .h2 { margin: 14px 0 22px; font-size: clamp(22px, 2.6vw, 32px); }
.changes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.changes li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 16.5px; color: var(--ink); }
.changes li .ico { color: var(--teal); width: 26px; height: 26px; }
.acts { display: grid; gap: 14px; }
.act { padding: 26px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; }
.act__num { font: 600 13px var(--font-head); color: var(--teal); letter-spacing: .04em; }
.act h3 { font-size: 18px; font-weight: 800; line-height: 1.35; }
.act p { color: var(--muted); font-size: 15.5px; }
.act__link { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 4px; font-weight: 800; color: var(--blue); text-decoration: none; }
.act__link .ico { width: 18px; height: 18px; }
.acts__note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* сертификат */
.cert { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cert__img { display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; padding: 12px; transition: transform .25s; }
.cert__img:hover { transform: translateY(-3px) rotate(-.5deg); }
.cert__img img { border-radius: 10px; width: 100%; }

/* карточки услуг стали ссылками */
.svc__card { display: block; text-decoration: none; color: inherit; }

/* подвал в колонки */
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__col a, .footer__col span { color: rgba(255,255,255,.72); text-decoration: none; font-size: 15px; }
.footer__col a:hover { color: #fff; }
.footer__title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.footer .footer__contacts { text-align: left; }

/* узбекские слова длиннее — заголовки чуть мельче */
html[lang="uz"] .hero__title { font-size: clamp(27px, 4.2vw, 50px); }
html[lang="uz"] .page-hero__title { font-size: clamp(25px, 3.6vw, 44px); }
html[lang="uz"] .h2 { font-size: clamp(23px, 3vw, 38px); }

@media (max-width: 1080px) {
  .page-hero__inner, .cert { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .update { margin-top: -30px; }
  .update__card { grid-template-columns: 1fr; padding: 20px; gap: 10px; }
  .update__ico { display: none; }
  .steps-lite { grid-auto-flow: row; grid-auto-columns: auto; gap: 16px; }
  .steps-lite li:not(:last-child)::after { right: 50%; top: auto; bottom: -13px; transform: translateX(50%) rotate(135deg); }
  .news { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: stretch; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero { padding-bottom: 110px; }
}
@media (max-width: 600px) {
  .changes { padding: 24px 20px; }
  .act { padding: 22px 20px; }
  .related { grid-template-columns: 1fr; }
  .page-hero { padding-bottom: 80px; }
  .cta-band .hero__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* узкие телефоны: шапка с переключателем языка помещается в 360px */
@media (max-width: 600px) {
  .header__inner { gap: 10px; }
  .header__actions { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .brand__name { font-size: 15px; }
  .lang a { padding: 7px 8px; font-size: 11px; }
}
@media (max-width: 600px) {
  .hero__content, .page-hero__text { min-width: 0; }
  html[lang="ru"] .hero__title { font-size: 30px; }
}

/* =========================================================
   Материалы из лендинга: форма в шапке, работы, команда, закон
   ========================================================= */
.hero-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; max-width: 620px; margin-bottom: 14px; }
.hero-form input {
  width: 100%; min-height: 52px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff;
  font: 600 15px var(--font); transition: border-color .2s, background-color .2s;
}
.hero-form input::placeholder { color: rgba(255,255,255,.55); }
.hero-form input:focus { outline: 0; border-color: var(--teal-400); background: rgba(255,255,255,.12); }
.hero-form input.is-invalid { border-color: #ff6b57; }
.hero__alt { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 40px; }
.hero__alt a { color: #fff; font-weight: 700; }

/* наши работы */
.works { display: grid; grid-template-columns: 1.1fr .9fr .9fr 1.1fr; gap: 16px; }
.work { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-900); }
.work:nth-child(2), .work:nth-child(4) { aspect-ratio: auto; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work:hover img { transform: scale(1.05); }
.work figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(11,29,54,.82); backdrop-filter: blur(8px); color: #fff; display: grid; gap: 2px;
}
.work figcaption strong { font-size: 15px; }
.work figcaption span { font-size: 13px; color: rgba(255,255,255,.7); }

/* о нас — тизер и цитата */
.about-teaser__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-teaser__photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.about-teaser__photo img { width: 100%; height: auto; }
.quote { margin: 0 0 18px; font: 600 clamp(22px, 2.6vw, 34px)/1.3 var(--font-head); color: #fff; }
.quote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--teal-400); margin-bottom: 10px; }
.quote--dark { color: var(--ink); }
.about-teaser__text { font-size: 18px; color: rgba(255,255,255,.75); }
.more-link--light a { color: var(--teal-400); }
.principle { text-align: center; }
.principle .eyebrow { justify-content: center; }
.principle .muted { font-size: 18px; max-width: 640px; margin-inline: auto; }
.page-hero__photo { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.page-hero__photo img { width: 100%; height: auto; }
.feature { position: relative; }
.feature__n { position: absolute; top: 24px; right: 24px; font: 600 13px var(--font-head); color: #b7c4d6; }

/* сертификат-фото */
.cert__img { margin: 0; }
.cert__img img { width: 100%; height: auto; }
.cert__img figcaption { padding: 12px 6px 2px; font-size: 14px; color: var(--muted); }

/* специалист в контактах */
.expert { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; margin-top: 26px; padding: 16px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
.expert img { width: 112px; height: 140px; object-fit: cover; object-position: top; border-radius: 14px; }
.expert p { font-size: 15px; color: var(--text); margin-bottom: 10px; }
.expert ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: ex; }
.expert li { counter-increment: ex; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14.5px; color: var(--ink); }
.expert li::before { content: counter(ex); width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--grad); color: #fff; font: 700 12px var(--font-head); }

/* примеры паспортов */
.passports { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.passports__docs { position: relative; display: flex; justify-content: center; gap: 0; padding: 20px 0; }
.passports__docs img { width: min(46%, 300px); height: auto; border-radius: 10px; box-shadow: 0 24px 50px -20px rgba(11,29,54,.5); border: 1px solid var(--line); background: #fff; }
.passports__docs img:first-child { transform: rotate(-5deg) translateX(14px); }
.passports__docs img:last-child { transform: rotate(4deg) translate(-14px, 20px); }

/* требования закона */
.req { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.req__card { position: relative; padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.req__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-900); color: var(--teal-400); display: grid; place-items: center; margin-bottom: 16px; }
.req__art { position: absolute; top: 24px; right: 22px; font: 600 12px var(--font-head); color: var(--teal); background: rgba(26,166,159,.1); padding: 6px 9px; border-radius: 99px; }
.req__card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.req__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.req__card li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text); line-height: 1.45; }
.req__card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

@media (max-width: 1080px) {
  .about-teaser__inner, .passports { grid-template-columns: 1fr; gap: 36px; }
  .works { grid-template-columns: 1fr 1fr; }
  .work:nth-child(2), .work:nth-child(4) { aspect-ratio: 3 / 4; }
}
@media (max-width: 860px) {
  .hero-form { grid-template-columns: 1fr; }
  .hero-form .btn { width: 100%; }
  .works { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .works::-webkit-scrollbar { display: none; }
  .work { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .expert { grid-template-columns: 88px 1fr; }
  .expert img { width: 88px; height: 112px; }
}
@media (max-width: 600px) {
  html[lang="ru"] .h2 { font-size: 25px; }
  .cert > *, .passports > *, .about-teaser__inner > *, .contact > *, .make > * { min-width: 0; }
}
