/* ==========================================================================
   Юристы Москвы — основная таблица стилей темы
   Тёмная тема: ночная Москва, стекло, синее свечение
   ========================================================================== */

:root {
  --bg: #050B1E;
  --bg-2: #081232;
  --bg-3: #030816;
  --text: #F2F6FF;
  --text-2: #A9B8D9;
  --text-3: #7486AD;
  --blue: #2F80FF;
  --blue-2: #1A5CFF;
  --blue-light: #5AA2FF;
  --glow: rgba(47, 128, 255, 0.55);
  --line: rgba(120, 170, 255, 0.22);
  --line-strong: rgba(140, 190, 255, 0.55);
  --glass: linear-gradient(160deg, rgba(64, 124, 255, 0.14), rgba(22, 48, 120, 0.10));
  --red: #F0383B;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 88px;
}

/* --- База ---------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue-light); text-underline-offset: 0.18em; }
a:hover { color: #fff; }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

.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-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 24px; height: 24px; flex: none; }

/* --- Кнопки -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  font: 700 1rem/1 var(--font); color: #fff;
  background: linear-gradient(180deg, #3A8DFF 0%, var(--blue-2) 100%);
  border: 0; border-radius: 999px;
  box-shadow: 0 10px 30px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(47, 128, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3); filter: brightness(1.08); }
.btn .icon { width: 20px; height: 20px; }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 1.0625rem; }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: rgba(47, 128, 255, 0.18); box-shadow: 0 10px 30px -12px var(--glow); }
.btn--block { width: 100%; }

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-light);
}

/* --- Шапка ---------------------------------------------------------------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 11, 30, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; flex: none; }
.brand:hover { color: #fff; }
.brand__mark { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(60, 140, 255, 0.55)); }
.brand__name { font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.brand__name span { display: block; font-weight: 500; font-size: 0.875rem; color: var(--text-2); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; color: var(--text); text-decoration: none; font-weight: 500; font-size: 1rem; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--blue); box-shadow: 0 0 10px var(--blue); transform: scaleX(0); transition: transform .25s ease; }
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { transform: scaleX(1); }

.header-phone { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-phone .icon { width: 26px; height: 26px; color: #fff; }
.header-phone a { display: block; color: #fff; font-weight: 700; font-size: 1.1875rem; text-decoration: none; white-space: nowrap; }
.header-phone span { display: block; font-size: 0.8125rem; color: var(--text-2); }
.site-nav + .header-phone { margin-left: 24px; }

.nav-toggle, .header-call-icon { display: none; }

/* --- Первый экран -------------------------------------------------------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 1000px);
  padding: calc(var(--header-h) + clamp(32px, 6vh, 80px)) 0 clamp(48px, 8vh, 96px);
  display: flex; align-items: center;
}

.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img {
  position: absolute; top: 0; right: 0; width: 82%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  filter: blur(2px) brightness(0.9) saturate(1.3);
  transform: scale(1.04);
}
.hero__bg::after { /* затемнение слева и снизу, синий тон */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 18%, rgba(5, 11, 30, 0.84) 36%, rgba(5, 11, 30, 0.22) 62%, rgba(5, 11, 30, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 11, 30, 0.55) 0%, transparent 22%, transparent 60%, var(--bg) 100%),
    radial-gradient(60% 50% at 70% 60%, rgba(30, 90, 255, 0.22), transparent 70%);
}
.hero__desk { /* глянцевый стол под телефоном */
  position: absolute; left: 0; right: 0; bottom: 0; height: 15%; z-index: -2;
  background: linear-gradient(180deg, rgba(120, 170, 255, 0.10) 0, rgba(8, 16, 40, 0.75) 2px, rgba(5, 11, 30, 0.96) 60%);
}

.hero__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }

.hero h1 { font-size: clamp(2.5rem, 1rem + 3.7vw, 4.375rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; }
.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #3D8BFF, #2F6BFF 60%, #4FA0FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(47, 128, 255, 0.35));
}
.hero__lead { margin-top: 24px; max-width: 28em; font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.55; color: #D9E2F7; }

.hero__features { display: flex; flex-wrap: wrap; row-gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.hero__features li { display: flex; align-items: center; gap: 12px; padding-right: 20px; margin-right: 20px; font-size: 0.875rem; line-height: 1.35; color: #DCE5F8; }
.hero__features li:not(:last-child) { border-right: 1px solid var(--line); }
.hero__features .icon { width: 28px; height: 28px; color: var(--blue-light); filter: drop-shadow(0 0 8px rgba(60, 140, 255, 0.7)); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 44px; }
.play-link { display: inline-flex; align-items: center; gap: 16px; color: #fff; font-weight: 500; text-decoration: none; }
.play-link__icon {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--blue); box-shadow: 0 0 18px rgba(47, 128, 255, 0.45), inset 0 0 12px rgba(47, 128, 255, 0.25);
}
.play-link__icon .icon { width: 18px; height: 18px; margin-left: 3px; color: var(--blue-light); fill: var(--blue-light); }
.play-link:hover { color: #fff; }
.play-link:hover .play-link__icon { background: rgba(47, 128, 255, 0.2); }

/* --- Сцена: телефон и карточки ------------------------------------------- */

.scene { position: relative; container-type: inline-size; width: 100%; }
.scene__inner { position: relative; width: 100%; aspect-ratio: 1 / 0.86; --px: 0; --py: 0; }

/* слой с параллаксом: глубина задаётся переменной --depth */
.layer {
  position: absolute;
  transform: translate3d(calc(var(--px) * var(--depth, 10) * 1px), calc(var(--py) * var(--depth, 10) * 1px), 0);
}

/* орбита */
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.orbit ellipse, .orbit path { fill: none; }

/* площадка-голограмма */
.pad { left: 50%; top: 77%; width: 64cqw; height: 15cqw; margin-left: -32cqw; z-index: 1; pointer-events: none; }
.pad__core {
  position: absolute; inset: 18% 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 180, 255, 0.95), rgba(47, 128, 255, 0.55) 45%, transparent 100%);
  filter: blur(6px);
}
.pad__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(110, 175, 255, 0.85);
  box-shadow: 0 0 14px rgba(60, 140, 255, 0.9), inset 0 0 14px rgba(60, 140, 255, 0.6);
}
.pad__ring--static-1 { inset: 12% 14%; opacity: .9; }
.pad__ring--static-2 { inset: 26% 30%; opacity: .7; }
.pad__ring--wave { opacity: 0; animation: pad-wave 3.6s ease-out infinite; }
.pad__ring--wave:nth-of-type(4) { animation-delay: 1.2s; }
.pad__ring--wave:nth-of-type(5) { animation-delay: 2.4s; }
.pad__beam { position: absolute; left: 30%; right: 30%; bottom: 50%; height: 90cqw; background: linear-gradient(0deg, rgba(60, 140, 255, 0.22), transparent 70%); filter: blur(10px); }

@keyframes pad-wave {
  0%   { transform: scale(0.35); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* телефон */
.phone-wrap { left: 32%; top: 2%; width: 36cqw; z-index: 3; --depth: 8; }
.phone-float { animation: float 7s ease-in-out infinite; --amp: -1.4cqw; }
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 18.6; padding: 1.15cqw;
  border-radius: 5.8cqw;
  background: linear-gradient(145deg, #1D2D55, #070C1C 40%, #0B1430);
  box-shadow:
    0 0 0 0.35cqw #16244A,
    0 0 0 0.6cqw rgba(110, 170, 255, 0.75),
    0 0 7cqw rgba(40, 120, 255, 0.6),
    4cqw 6cqw 9cqw rgba(0, 0, 0, 0.65);
  transform: perspective(1400px) rotateY(calc(-16deg + var(--px) * 7deg)) rotateX(calc(7deg - var(--py) * 6deg)) rotateZ(5deg);
  transition: transform .4s ease-out;
}
.phone::after { /* блик на стекле */
  content: ""; position: absolute; inset: 1.15cqw; border-radius: 4.7cqw; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 42%, transparent 75%, rgba(120, 180, 255, 0.08) 100%);
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  border-radius: 4.7cqw; color: #fff; text-align: center;
  background:
    radial-gradient(90% 45% at 50% 40%, rgba(40, 110, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #0B1840 0%, #081130 55%, #050A1F 100%);
}
.phone__island { position: absolute; top: 1.3cqw; left: 50%; width: 10.5cqw; height: 2.8cqw; margin-left: -5.25cqw; border-radius: 2cqw; background: #000; }
.phone__status { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.5cqw 3.4cqw 0; font-size: 1.7cqw; font-weight: 700; }
.phone__status-icons { display: flex; align-items: center; gap: 0.7cqw; }
.phone__status-icons svg { width: 2.2cqw; height: 1.5cqw; }
.phone__title { margin-top: 8.5cqw; padding: 0 2cqw; font-size: 3.15cqw; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.phone__timer { margin-top: 1.2cqw; font-size: 2.3cqw; font-weight: 500; color: #CFE0FF; font-variant-numeric: tabular-nums; }

.phone__avatar { position: relative; margin-top: 6cqw; width: 13.5cqw; height: 13.5cqw; }
.phone__avatar-core {
  position: relative; z-index: 2; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4B95FF, #1748C9 72%);
  border: 0.3cqw solid rgba(170, 205, 255, 0.75);
  box-shadow: 0 0 4.5cqw rgba(60, 140, 255, 0.85), inset 0 0 1.8cqw rgba(255, 255, 255, 0.3);
}
.phone__avatar-core svg { width: 6.6cqw; height: 6.6cqw; color: #fff; }
.phone__wave { position: absolute; inset: 0; border-radius: 50%; border: 0.25cqw solid rgba(110, 175, 255, 0.7); animation: voice 2.4s ease-out infinite; }
.phone__wave:nth-child(2) { animation-delay: .8s; }
.phone__wave:nth-child(3) { animation-delay: 1.6s; }
@keyframes voice {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.phone__controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; width: 100%; margin-top: auto; padding: 0 3.2cqw; }
.phone__control { display: flex; flex-direction: column; align-items: center; gap: 0.9cqw; font-size: 1.45cqw; font-weight: 600; color: #DCE6FF; }
.phone__control span { display: grid; place-items: center; width: 7.4cqw; height: 7.4cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.phone__control svg { width: 3.1cqw; height: 3.1cqw; }
.phone__control.is-on span { background: rgba(255, 255, 255, 0.85); color: #0B1840; }
.phone__hangup {
  display: grid; place-items: center; width: 8.2cqw; height: 8.2cqw; margin: 4.4cqw 0 5.2cqw; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 3.5cqw rgba(240, 56, 59, 0.55);
}
.phone__hangup svg { width: 3.8cqw; height: 3.8cqw; color: #fff; transform: rotate(135deg); }

/* карточки направлений */
.hcard { z-index: 4; width: 35cqw; color: #fff; text-decoration: none; }
.hcard:hover { color: #fff; }
.hcard__float { animation: float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite; }
.hcard__body {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 0.4cqw 1.8cqw; align-items: start;
  padding: 2.3cqw 2cqw 2.4cqw 2.3cqw; border-radius: 2cqw;
  background: linear-gradient(140deg, rgba(75, 145, 255, 0.58), rgba(32, 92, 235, 0.32) 60%, rgba(25, 72, 215, 0.42));
  border: 1px solid rgba(150, 195, 255, 0.6);
  box-shadow: 0 0 3.6cqw rgba(47, 128, 255, 0.45), inset 0 0 2.4cqw rgba(140, 190, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px) saturate(1.3);
  transform: perspective(900px) rotateY(var(--ry, 18deg)) rotateZ(var(--rz, -2deg));
  transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease, scale .3s ease;
}
.hcard__icon { grid-row: span 2; width: 4.2cqw; height: 4.2cqw; margin-top: 0.2cqw; color: #fff; }
.hcard__title { font-size: 2.15cqw; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.hcard__desc { grid-column: 2; font-size: 1.6cqw; line-height: 1.4; color: #DCE7FF; }
.hcard__chev { grid-row: 1 / span 2; grid-column: 3; align-self: center; width: 2.4cqw; height: 2.4cqw; color: #CFE0FF; transition: transform .25s ease; }
.hcard:hover .hcard__body, .hcard:focus-visible .hcard__body {
  scale: 1.04;
  border-color: rgba(190, 220, 255, 0.95);
  box-shadow: 0 0 5.5cqw rgba(60, 140, 255, 0.8), inset 0 0 3cqw rgba(160, 205, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hcard:hover .hcard__chev { transform: translateX(0.6cqw); }

.hcard--1 { left: 0%; top: 12%; --depth: 22; --dur: 6.2s; --amp: -1.8cqw; --rot: -1deg; --fx: 14cqw; --fy: 6cqw; }
.hcard--2 { left: -1%; top: 48%; --depth: 30; --dur: 7.4s; --delay: -2s; --amp: -1.5cqw; --rot: 1deg; --fx: 16cqw; --fy: -4cqw; }
.hcard--3 { right: -2%; top: 26%; --depth: 26; --dur: 6.8s; --delay: -1s; --amp: -2cqw; --rot: 1deg; --ry: -18deg; --rz: 2deg; --fx: -14cqw; --fy: 4cqw; }
.hcard--4 { right: 0%; top: 58%; --depth: 18; --dur: 5.8s; --delay: -3s; --amp: -1.6cqw; --rot: -1deg; --ry: -18deg; --rz: 2deg; --fx: -16cqw; --fy: -6cqw; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(0, var(--amp, -1.5cqw), 0) rotate(var(--rot, 0deg)); }
}

/* появление при загрузке: одна последовательность */
.scene.is-ready .phone-wrap { animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.scene.is-ready .pad { animation: fade-in 1.2s ease both; }
.scene.is-ready .orbit { animation: fade-in 1.6s ease .4s both; }
.scene.is-ready .hcard { animation: pop .85s cubic-bezier(.2, .9, .25, 1.15) both; }
.scene.is-ready .hcard--1 { animation-delay: .55s; }
.scene.is-ready .hcard--3 { animation-delay: .7s; }
.scene.is-ready .hcard--2 { animation-delay: .85s; }
.scene.is-ready .hcard--4 { animation-delay: 1s; }
.scene:not(.is-ready) .phone-wrap, .scene:not(.is-ready) .hcard, .scene:not(.is-ready) .orbit { opacity: 0; }
.scene.is-still .phone-wrap, .scene.is-still .hcard, .scene.is-still .pad, .scene.is-still .orbit { animation: none !important; opacity: 1 !important; }

@keyframes rise {
  from { opacity: 0; translate: 0 8cqw; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes pop {
  from { opacity: 0; translate: var(--fx) var(--fy); scale: 0.55; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* пауза, когда первый экран вне видимости */
.hero.is-paused *, .hero.is-paused *::before, .hero.is-paused *::after { animation-play-state: paused !important; }

/* --- Секции -------------------------------------------------------------- */

.section { position: relative; padding-block: var(--section); }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.section--glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(32% 34% at 85% 45%, rgba(30, 90, 255, 0.13), transparent 100%), radial-gradient(28% 30% at 8% 62%, rgba(30, 90, 255, 0.09), transparent 100%);
}
.section > .container { position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); letter-spacing: -0.025em; }
.section-head p { margin-top: 18px; font-size: 1.125rem; color: var(--text-2); }
.section-head .eyebrow { margin: 0 0 18px; font-size: 0.8125rem; color: var(--blue-light); }
.section-head--center { margin-inline: auto; text-align: center; }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px -36px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.icon-badge {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; flex: none;
  background: linear-gradient(145deg, rgba(70, 140, 255, 0.55), rgba(26, 92, 255, 0.25));
  border: 1px solid rgba(150, 195, 255, 0.45);
  box-shadow: 0 0 24px rgba(47, 128, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.icon-badge .icon { width: 28px; height: 28px; color: #fff; }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex; flex-direction: column; padding: 28px 26px 26px;
  color: var(--text); text-decoration: none;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service:hover { color: var(--text); transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 0 40px -10px rgba(47, 128, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.service h3 { margin-top: 22px; font-size: 1.25rem; letter-spacing: -0.01em; }
.service p { margin-top: 10px; font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); }
.service__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; font-size: 0.9375rem; font-weight: 700; color: var(--blue-light); }
.service__more .icon { width: 18px; height: 18px; transition: transform .25s ease; }
.service:hover .service__more .icon { transform: translateX(4px); }

/* Как это работает + заявка */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 44px 92px; min-height: 64px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  font-size: 1.5rem; font-weight: 800; color: #fff;
  background: radial-gradient(circle at 35% 30%, #4B95FF, #1748C9 75%);
  box-shadow: 0 0 30px rgba(47, 128, 255, 0.55), inset 0 0 0 1px rgba(170, 205, 255, 0.6);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 72px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(90, 162, 255, 0.8), rgba(90, 162, 255, 0.1)); }
.steps h3 { padding-top: 8px; font-size: 1.375rem; }
.steps p { margin-top: 10px; color: var(--text-2); max-width: 30em; }
.how__note { margin-top: 40px; padding: 20px 24px; color: var(--text-2); font-size: 0.9375rem; }
.how__note strong { color: #fff; }

.lead { position: relative; padding: clamp(26px, 3.5vw, 44px); overflow: hidden; }
.lead::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 128, 255, 0.35), transparent); pointer-events: none; }
.lead h3 { position: relative; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.lead__sub { position: relative; margin-top: 10px; color: var(--text-2); }

.lead-form { position: relative; margin-top: 26px; }
.field + .field { margin-top: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: 15px 18px;
  font: 500 1rem/1.4 var(--font); color: #fff;
  background: rgba(4, 10, 30, 0.6); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; 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='%23A9B8D9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; padding-right: 48px; }
.field select option { color: #0B1840; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.25), 0 0 24px rgba(47, 128, 255, 0.25); }
.field__error { display: none; margin-top: 6px; font-size: 0.875rem; color: #FF8A8C; }
.field.has-error input { border-color: #FF6B6E; }
.field.has-error .field__error { display: block; }

.consent { display: flex; gap: 12px; margin-top: 18px; font-size: 0.8125rem; line-height: 1.5; color: var(--text-3); }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.consent a { color: var(--text-2); }
.lead-form .btn { margin-top: 22px; }
.lead-form__after { margin-top: 14px; font-size: 0.875rem; color: var(--text-3); text-align: center; }

.lead-done { display: none; position: relative; padding: 12px 0 4px; text-align: center; }
.is-sent .lead-form, .is-sent .lead__intro { display: none; }
.is-sent .lead-done { display: block; }
.lead-done__check {
  display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4B95FF, #1748C9 75%);
  box-shadow: 0 0 40px rgba(47, 128, 255, 0.7);
  animation: pop-check .6s cubic-bezier(.2, .9, .3, 1.3) both;
}
.lead-done__check .icon { width: 40px; height: 40px; color: #fff; }
.lead-done h3 { font-size: 1.75rem; }
.lead-done p { margin-top: 12px; color: var(--text-2); }
.lead-done p strong { color: #fff; white-space: nowrap; }
.lead-done .btn { margin-top: 26px; }
@keyframes pop-check { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Цены */
.prices { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.price-list { margin: 0; padding: 12px 32px; list-style: none; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; font-size: 1.0625rem; }
.price-list li + li { border-top: 1px dashed var(--line); }
.price-list .cost { font-weight: 800; white-space: nowrap; }
.price-list .cost--free { color: var(--blue-light); text-shadow: 0 0 18px rgba(47, 128, 255, 0.6); }
.prices__note p { color: var(--text-2); font-size: 1.0625rem; }
.prices__note p + p { margin-top: 16px; }
.prices__note .btn { margin-top: 32px; }

/* О нас */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px 26px; }
.stat b { display: block; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(90deg, #fff, #9CC6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 6px; color: var(--text-2); font-size: 0.9375rem; }


/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; padding: 32px 32px 28px; }
.review .icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 16px; filter: drop-shadow(0 0 10px rgba(47, 128, 255, 0.6)); }
.review p { font-size: 1.0625rem; color: #DCE5F8; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 700; }
.review footer span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(47, 128, 255, 0.25); border: 1px solid var(--line-strong); font-size: 0.9375rem; }

/* Вопросы */
.faq { max-width: 56rem; margin-inline: auto; display: grid; gap: 14px; }
.faq details { padding: 0 28px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 1.1875rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.375rem; font-weight: 500; line-height: 1; color: var(--blue-light);
  border: 1px solid var(--line-strong); transition: transform .25s ease, background-color .25s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(47, 128, 255, 0.2); }
.faq details > div { padding: 0 0 26px; max-width: 46em; color: var(--text-2); }

/* Статьи */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); text-decoration: none; transition: transform .3s ease, border-color .3s ease; }
.post-card:hover { color: var(--text); transform: translateY(-4px); border-color: var(--line-strong); }
.post-card__cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; background: radial-gradient(70% 90% at 70% 20%, rgba(47, 128, 255, 0.55), transparent 70%), linear-gradient(160deg, #0E2160, #060D26); border-bottom: 1px solid var(--line); }
.post-card__cover .icon { width: 56px; height: 56px; color: rgba(255, 255, 255, 0.9); filter: drop-shadow(0 0 16px rgba(80, 160, 255, 0.9)); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-card__cat { font-size: 0.8125rem; font-weight: 700; color: var(--blue-light); }
.post-card h3 { margin-top: 10px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
.post-card p { margin-top: 10px; font-size: 0.9375rem; color: var(--text-2); }
.post-card__meta { margin-top: auto; padding-top: 18px; font-size: 0.875rem; color: var(--text-3); }
.section__more { margin-top: 36px; text-align: center; }

/* Финальный призыв */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(32px, 5vw, 72px); }
.cta::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 128, 255, 0.4), transparent); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.875rem, 1.2rem + 2.2vw, 3rem); letter-spacing: -0.025em; }
.cta p { margin-top: 18px; color: var(--text-2); font-size: 1.0625rem; max-width: 34em; }
.cta__phone { display: inline-block; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -0.01em; text-shadow: 0 0 30px rgba(47, 128, 255, 0.7); }
.cta__phone:hover { color: #fff; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta small { color: var(--text-3); font-size: 0.875rem; }

/* Подвал */
.site-footer { padding-block: 64px 32px; background: var(--bg-3); border-top: 1px solid var(--line); font-size: 0.9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__about { margin-top: 18px; color: var(--text-3); max-width: 24em; }
.site-footer__phone { font-size: 1.125rem; font-weight: 800; color: #fff !important; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-3); }
.site-footer__bottom a { color: var(--text-3); }
.site-footer__bottom a:hover { color: var(--text-2); }

/* Окно «Перезвоним» */
.callback { width: min(520px, calc(100% - 32px)); padding: 0; color: var(--text); background: transparent; border: 0; }
.callback::backdrop { background: rgba(2, 6, 18, 0.72); backdrop-filter: blur(6px); }
.callback[open] { animation: dialog-in .35s cubic-bezier(.2, .9, .3, 1.1); }
.callback .lead { background: linear-gradient(160deg, rgba(30, 64, 150, 0.95), rgba(8, 18, 50, 0.97)); border-color: var(--line-strong); }
.callback__close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); cursor: pointer; }
.callback__close:hover { background: rgba(255, 255, 255, 0.16); }
.callback__close .icon { width: 20px; height: 20px; }
.callback__phone { position: relative; margin-top: 14px; font-size: 0.9375rem; color: var(--text-2); }
.callback__phone a { color: #fff; font-weight: 700; text-decoration: none; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* Нижняя панель на телефоне */
.call-bar { display: none; }

/* Бесплатная консультация: текст + горячая линия */
.intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.intro h2 { font-size: clamp(1.875rem, 1.2rem + 2vw, 2.75rem); letter-spacing: -0.025em; max-width: 20ch; }
.intro__body { margin-top: 24px; max-width: 44rem; font-size: 1.125rem; line-height: 1.7; color: #D5DEF2; }
.intro__body p + p { margin-top: 1em; }
.intro__body strong { color: #fff; }
.hotline { position: relative; overflow: hidden; padding: clamp(26px, 3vw, 36px); text-align: center; }
.hotline::before { content: ""; position: absolute; width: 320px; height: 320px; left: 50%; top: -170px; margin-left: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 128, 255, 0.4), transparent); pointer-events: none; }
.hotline > * { position: relative; }
.hotline .icon-badge { margin: 0 auto 18px; }
.hotline__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-light); }
.hotline__phone { display: inline-block; margin-top: 8px; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.875rem); font-weight: 800; color: #fff; text-decoration: none; text-shadow: 0 0 26px rgba(47, 128, 255, 0.7); white-space: nowrap; }
.hotline__phone:hover { color: #fff; }
.hotline__note { margin-top: 8px; font-size: 0.9375rem; color: var(--text-2); }
.hotline__buttons { display: grid; gap: 10px; margin-top: 22px; }

/* Как получить консультацию: шаги с текстом */
.how__lead { margin-bottom: 22px; font-size: 1.125rem; color: #fff; }
.steps--text li { min-height: 104px; padding-bottom: 32px; }
.steps--text li:last-child { min-height: 0; }
.steps--text li > p:first-child { margin-top: 0; padding-top: 4px; font-size: 1.0625rem; line-height: 1.6; color: #DCE5F8; max-width: 34em; }
.steps--text a { color: var(--blue-light); font-weight: 700; white-space: nowrap; }
.steps--text a:hover { color: #fff; }
.how__after { margin-top: 28px; color: var(--text-2); font-size: 1.0625rem; max-width: 36em; }

/* Наши преимущества */
.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.advantage { display: flex; gap: 18px; align-items: flex-start; padding: 26px 24px; }
.advantage h3 { padding-top: 4px; font-size: 1.1875rem; letter-spacing: -0.01em; }
.advantage p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); }
.advantages + .stats { margin-top: 20px; }

/* --- Внутренние страницы --------------------------------------------------- */

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(40px, 5vw, 72px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: url("../img/hero-moscow-city.jpg") 70% 45% / cover no-repeat; filter: blur(3px) brightness(.55) saturate(1.2); transform: scale(1.05); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 10%, rgba(5, 11, 30, 0.82) 45%, rgba(5, 11, 30, 0.55) 100%), linear-gradient(180deg, transparent 50%, var(--bg) 100%); }
.page-hero h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 22ch; }
.page-hero__head { display: flex; align-items: center; gap: 24px; }
.page-hero__head .eyebrow { margin-bottom: 12px; }
.page-hero__lead { margin-top: 20px; max-width: 44rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: #D9E2F7; }
.page-hero__meta { margin-top: 16px; font-size: 0.9375rem; color: var(--text-3); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.icon-badge--lg { width: 76px; height: 76px; border-radius: 22px; }
.icon-badge--lg .icon { width: 38px; height: 38px; }

.breadcrumbs { margin-bottom: 26px; font-size: 0.875rem; color: var(--text-3); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: rgba(140, 170, 230, 0.4); }
.breadcrumbs a { color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: var(--text-3); }

.section--tight { padding-block: clamp(24px, 3vw, 40px) var(--section); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(24px, 3vw, 40px); align-items: start; }
.layout__aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.layout__aside .lead { padding: 28px; }
.layout__aside .lead h3 { font-size: 1.375rem; }

.service-link { display: flex; align-items: center; gap: 14px; padding: 18px 20px; color: var(--text); font-weight: 700; text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
.service-link:hover { color: #fff; border-color: var(--line-strong); transform: translateY(-2px); }
.service-link .icon { width: 26px; height: 26px; color: var(--blue-light); }
.service-link span { flex: 1; line-height: 1.3; }
.service-link .service-link__chev { width: 18px; height: 18px; color: var(--text-3); }
.service-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* Текст статьи и страницы услуги */
.prose { padding: clamp(24px, 4vw, 56px); font-size: 1.125rem; line-height: 1.75; color: #D5DEF2; }
.prose--wide { max-width: 60rem; }
.prose--plain { margin-top: 32px; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.prose > * { max-width: 44rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: #fff; letter-spacing: -0.015em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
.prose h3 { margin-top: 1.7em; font-size: 1.3125rem; line-height: 1.3; }
.prose h4 { margin-top: 1.5em; font-size: 1.125rem; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--blue-light); text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { color: #fff; }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--blue-light); }
.prose ol li::marker { color: var(--blue-light); font-weight: 700; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 24px; border-left: 3px solid var(--blue); background: rgba(47, 128, 255, 0.08); border-radius: 0 12px 12px 0; color: #E6EDFB; }
.prose blockquote p + p { margin-top: .6em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose figure { margin-inline: 0; }
.prose img { height: auto; border-radius: 14px; }
.prose figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--text-3); }
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: #fff; font-weight: 700; background: rgba(47, 128, 255, 0.10); }
.prose .wp-block-table { margin-inline: 0; }
.prose__cover { margin-bottom: 1.6em; }
.prose__note { margin-top: 2.2em !important; padding: 20px 24px; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(47, 128, 255, 0.10); font-size: 1rem; }

/* Рубрики, пагинация, пустой список */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; color: var(--text-2); text-decoration: none; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.chip:hover { color: #fff; border-color: var(--line-strong); }
.chip.is-active { color: #fff; background: rgba(47, 128, 255, 0.25); border-color: var(--blue); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; color: var(--text-2); text-decoration: none; border: 1px solid var(--line); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { color: #fff; border-color: var(--blue); background: rgba(47, 128, 255, 0.2); }
.empty { max-width: 40rem; margin: 0 auto; padding: 40px; text-align: center; }
.empty h2 { font-size: 1.75rem; }
.empty p { margin: 12px 0 24px; color: var(--text-2); }

/* Контакты */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 22px; color: var(--text); text-decoration: none; }
a.contact-card:hover { color: #fff; border-color: var(--line-strong); }
.contact-card small { display: block; font-size: 0.8125rem; color: var(--text-3); }
.contact-card b { display: block; font-size: 1.0625rem; line-height: 1.3; }

/* Ловушка для спам-ботов в форме */
.lead-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Адаптив -------------------------------------------------------------- */

@media (max-width: 1280px) {
  .site-nav ul { gap: 26px; }
  .header-phone { display: none; }
  .site-nav { margin-left: auto; }
}

@media (max-width: 1120px) {
  .services, .advantages { grid-template-columns: repeat(2, 1fr); }
  .service-links { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__features li { padding-right: 16px; margin-right: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header { background: rgba(5, 11, 30, 0.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
  .site-header__inner { gap: 12px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1rem; }
  .brand__name span { font-size: 0.8125rem; }
  .site-header .btn { display: none; }
  .header-call-icon, .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none;
    color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .header-call-icon { margin-left: auto; background: var(--blue); border-color: var(--blue); box-shadow: 0 0 18px var(--glow); }
  .header-call-icon .icon, .nav-toggle .icon { width: 22px; height: 22px; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; margin: 0; background: rgba(5, 11, 30, 0.97); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.125rem; }
  .site-nav a::after { display: none; }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + 36px); }
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__bg img { width: 100%; object-position: 60% 50%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(5, 11, 30, 0.7) 0%, rgba(5, 11, 30, 0.88) 45%, rgba(5, 11, 30, 0.55) 70%, var(--bg) 100%); }
  .hero__desk { height: 16%; }
  .hero__features { gap: 14px; }
  .hero__features li { border: 0 !important; padding: 0; margin: 0; width: 100%; }
  .hero__actions { margin-top: 32px; }

  .scene { margin-top: 12px; }
  .scene__inner { aspect-ratio: 1 / 1.02; }
  .phone-wrap { left: 28%; width: 44cqw; top: 3%; }
  .pad { top: 82%; }
  .hcard { width: 40cqw; }
  .hcard__body { padding: 2.8cqw 2.6cqw; border-radius: 3cqw; gap: 0.6cqw 2cqw; }
  .hcard__icon { width: 5.6cqw; height: 5.6cqw; }
  .hcard__title { font-size: 3.6cqw; }
  .hcard__desc { font-size: 2.6cqw; }
  .hcard__chev { width: 3.4cqw; height: 3.4cqw; }
  .hcard--1 { left: -2%; top: 8%; }
  .hcard--2 { left: -3%; top: 56%; }
  .hcard--3 { right: -3%; top: 28%; }
  .hcard--4 { right: -2%; top: 70%; }
  .phone { padding: 1.4cqw; border-radius: 7cqw; }
  .phone::after { inset: 1.4cqw; border-radius: 5.8cqw; }
  .phone__screen { border-radius: 5.8cqw; }

  .how, .prices, .cta, .layout, .intro { grid-template-columns: 1fr; }
  .layout__aside { position: static; }
  .page-hero { padding-top: calc(var(--header-h) + 24px); }
  .reviews, .posts { grid-template-columns: 1fr; }

  body { padding-bottom: 72px; }
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(5, 11, 30, 0.9); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .call-bar a, .call-bar button {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 8px;
    font: 700 0.9375rem/1 var(--font); color: #fff; text-decoration: none;
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  }
  .call-bar a:first-child { background: linear-gradient(180deg, #3A8DFF, var(--blue-2)); border-color: transparent; box-shadow: 0 0 20px var(--glow); }
  .call-bar .icon { width: 20px; height: 20px; }
}

@media (max-width: 600px) {
  .brand__name span { display: none; }
  .hcard__desc { display: none; }
  .hcard__body { grid-template-columns: auto 1fr; align-items: center; }
  .hcard__icon { grid-row: auto; margin: 0; }
  .hcard__chev { display: none; }
  .hcard__title { font-size: 3.9cqw; }
  .services, .service-links, .contact-cards, .advantages { grid-template-columns: 1fr; }
  .intro__body { font-size: 1.0625rem; }
  .page-hero__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .icon-badge--lg { width: 60px; height: 60px; border-radius: 18px; }
  .prose { font-size: 1.0625rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 18px; }
  .steps li { padding-left: 76px; }
  .steps li::before { width: 54px; height: 54px; font-size: 1.25rem; }
  .steps li:not(:last-child)::after { left: 26px; top: 62px; }
  .price-list { padding: 4px 20px; }
  .price-list li { font-size: 1rem; }
  .faq details { padding: 0 20px; }
  .faq summary { font-size: 1.0625rem; }
  .review { padding: 26px 22px 22px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .pad__ring--wave, .phone__wave { display: none; }
}
