﻿/* ProGarage — production styles (PRO TECHNOLOGY tokens) */

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

:root {
  --font: 'Manrope', system-ui, sans-serif;
  --navy: #0a1427;
  --navy-deep: #040e17;
  --navy-hover: #2b3a56;
  --navy-active: #152033;
  --bg: #f5f6fa;
  --bg-active: #e8eaef;
  --white: #ffffff;
  --muted: #515761;
  --muted-light: #878a8d;
  --border: #c9c9c9;
  --radius: 5px;
  --radius-card: 10px;
  --wrap: 1200px;
  --header-h: 72px;
  --ease: 0.2s ease-in-out;
  --gutter: 24px;
}

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

body {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--navy-deep);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter, 24px);
}

.wrap--narrow { max-width: 720px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Type */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--muted);
  margin-bottom: 12px;
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  opacity: 0.85;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.55); }
.eyebrow--light .eyebrow__dot { background: var(--white); opacity: 0.55; }

h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 500;
  letter-spacing: -2.8px;
  line-height: 1.1;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 20px;
}

h2,
.h2--light {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 500;
  letter-spacing: -2.8px;
  line-height: 1.1;
  margin-bottom: 40px;
  color: var(--navy);
}

.h2--light {
  color: var(--white);
  margin-bottom: 16px;
}

.lead {
  font-size: 14px;
  color: var(--muted);
  margin: -24px 0 40px;
  max-width: 520px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color var(--ease),
    color var(--ease),
    border-color var(--ease),
    opacity var(--ease),
    transform var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--navy-hover);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn--block { width: 100%; }

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:active:not(:disabled) {
  background: var(--navy-active);
  transform: translateY(1px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:active:not(:disabled) {
  background: var(--bg-active);
  transform: translateY(1px);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid #878a8d;
}

.btn--outline-light:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(1px);
}

/* Header */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.header--sticky {
  position: fixed;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(10, 20, 39, 0.08);
  box-shadow: 0 1px 0 rgba(10, 20, 39, 0.04);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity var(--ease);
}

.logo__img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

/* logo-white 321×61 (~5.3:1) — на тёмном хиро */
.logo__img--on-dark {
  height: 28px;
  max-width: 148px;
}

/* logo.png 333×99 (~3.4:1) — на светлом sticky */
.logo__img--on-light {
  display: none;
  height: 34px;
  max-width: 120px;
}

.header--sticky .logo__img--on-dark { display: none; }
.header--sticky .logo__img--on-light { display: block; }

.logo:active { opacity: 0.7; }

.nav {
  display: flex;
  gap: 24px;
  flex: 0 1 auto;
  justify-content: center;
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--ease), opacity var(--ease);
}

.header--sticky .nav a { color: var(--muted); }

.nav a:active { opacity: 0.65; }

.nav a:focus-visible {
  outline: 2px solid var(--navy-hover);
  outline-offset: 4px;
  border-radius: 2px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header__phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  transition: color var(--ease), opacity var(--ease);
}

.header--sticky .header__phone { color: var(--navy); }

.header__phone:active { opacity: 0.7; }

.header .btn--navy {
  background: var(--white);
  color: var(--navy);
}

.header .btn--navy:active:not(:disabled) {
  background: var(--bg-active);
  transform: translateY(1px);
}

.header--sticky .btn--navy {
  background: var(--navy);
  color: var(--white);
}

.header--sticky .btn--navy:active:not(:disabled) {
  background: var(--navy-active);
  transform: translateY(1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  touch-action: manipulation;
  border-radius: var(--radius);
  transition: background-color var(--ease), opacity var(--ease);
}

.burger:active {
  opacity: 0.65;
}

.burger:focus-visible {
  outline: 2px solid var(--navy-hover);
  outline-offset: 2px;
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: background var(--ease), transform var(--ease), opacity var(--ease);
  transform-origin: center;
}

.header--sticky .burger span { background: var(--navy); }

.header__call {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--ease), opacity var(--ease);
}

.header--sticky .header__call { color: var(--navy); }

.header__call:active {
  opacity: 0.7;
}

.header__call:focus-visible {
  outline: 2px solid var(--navy-hover);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Fullscreen mobile menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--white);
  padding: calc(var(--header-h) + 12px) 0 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s ease, visibility 0.32s ease;
  overflow: hidden;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter, 24px);
  box-sizing: border-box;
  min-height: 0;
  overflow: hidden;
  text-align: left;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
  margin: 8px 0 28px;
  width: 100%;
  text-align: left;
}

.mobile-nav__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 12px 0;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.15;
  text-align: left;
  color: var(--navy);
  text-decoration: none;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    color var(--ease);
  transition-delay: 0s;
}

.mobile-nav.is-animating .mobile-nav__item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.08s + var(--i, 0) * 0.06s);
}

.mobile-nav__item:active {
  opacity: 0.7;
}

.mobile-nav__item:focus-visible {
  outline: 2px solid var(--navy-hover);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.mobile-nav__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  gap: 12px;
  padding-top: 20px;
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transition-delay: 0s;
}

.mobile-nav.is-animating .mobile-nav__footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.mobile-nav__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  touch-action: manipulation;
  transition: background-color var(--ease), color var(--ease), opacity var(--ease);
}

.mobile-nav__phone:active {
  background: var(--bg-active);
  opacity: 1;
}

.mobile-nav__footer .btn {
  width: 100%;
  box-sizing: border-box;
}

body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.nav-open .header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(10, 20, 39, 0.08);
  box-shadow: 0 1px 0 rgba(10, 20, 39, 0.04);
}

body.nav-open .logo__img--on-dark { display: none; }
body.nav-open .logo__img--on-light { display: block; }
body.nav-open .burger span { background: var(--navy); }
body.nav-open .header__call { color: var(--navy); }

body.nav-open .burger span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

body.nav-open .burger span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav__item,
  .mobile-nav__footer {
    transition: none !important;
  }

  .mobile-nav__item,
  .mobile-nav__footer {
    opacity: 1;
    transform: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 716px;
  display: flex;
  align-items: center;
  padding: 0 0 56px;
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 39, 0.94) 0%,
    rgba(10, 20, 39, 0.78) 40%,
    rgba(10, 20, 39, 0.64) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 48px);
  width: 100%;
}

.hero__lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Sections */
.section {
  padding: 80px 0;
  background: var(--white);
}

.section--muted { background: var(--bg); }
.section--navy {
  background: var(--navy);
  padding: 72px 0;
}

.section--photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section--photo > .wrap {
  position: relative;
  z-index: 1;
}

.section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section__bg--garant {
  background-image: url("/media/garant.webp");
}

.section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 39, 0.92) 0%,
    rgba(10, 20, 39, 0.72) 45%,
    rgba(10, 20, 39, 0.55) 100%
  );
}

/* Cards */
.cards {
  display: grid;
  gap: 16px;
}

.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

/* Why us — 2×2 cards + vertical video matching cards height */
.why-us__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: stretch;
}

.why-us__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.why-us__media {
  margin: 0;
  position: relative;
  height: 100%;
  width: auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--navy-deep);
  min-height: 0;
  align-self: stretch;
}

.why-us__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  pointer-events: none;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  border: none;
}

.card--price {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(10, 20, 39, 0.06);
  transition:
    border-color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
}

.card--soft {
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 28px 24px 32px;
  box-shadow: none;
  border: 1px solid transparent;
  transition:
    border-color var(--ease),
    background-color var(--ease),
    transform var(--ease);
}

.card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(10, 20, 39, 0.12);
  border-radius: 6px;
}

.card__badge:has(.card__icon) {
  width: 60px;
  height: 60px;
  border-radius: 8px;
}

.card__icon {
  display: block;
  width: 37px;
  height: 37px;
  margin: 0;
  object-fit: contain;
}

.card--soft h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.9px;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
}

.card--soft p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.2px;
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--navy);
}

.card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
}

.section--muted .card:not(.card--soft):not(.card--price) {
  background: var(--white);
  box-shadow: none;
  border: 1px solid rgba(10, 20, 39, 0.06);
}

.card__n {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-light);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.card__cover {
  aspect-ratio: 16 / 9;
  height: auto;
  position: relative;
  background-color: var(--white);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(10, 20, 39, 0.06);
}

.card__cover--sedan {
  background-image: url("/media/types/sedan.png");
}

.card__cover--crossover {
  background-image: url("/media/types/crossover.png");
}

.card__cover--van {
  background-image: url("/media/types/van.png");
}

.card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--navy);
  margin: 8px 0 16px;
}

.card--price h3 {
  font-weight: 500;
  letter-spacing: -0.6px;
}

.card--price ul { margin-bottom: 20px; flex: 1; }

.card--price li {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(10, 20, 39, 0.08);
}

.brand {
  font-weight: 500;
  font-size: 14px;
  color: var(--navy) !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.3px;
}

.card--soft .specs {
  margin-top: 4px;
}

.card--soft .specs li {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  padding: 4px 0;
  line-height: 1.45;
}

.specs li {
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
}

.specs li::before { content: '— '; }

/* Brands strip under materials */
.brands {
  margin-top: 28px;
  padding: 28px 24px;
  background: var(--bg);
  border-radius: var(--radius-card);
}

.brands__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
}

.brands__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
}

.brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 72px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: var(--radius);
}

.brands__item img {
  display: block;
  max-height: 44px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity var(--ease), transform var(--ease);
}

.brands__item--tall img {
  max-height: 56px;
  max-width: 88px;
}

@media (hover: hover) and (pointer: fine) {
  .brands__item:hover img {
    opacity: 1;
    transform: translateY(-1px);
  }
}

.meta {
  font-size: 12px !important;
  margin-bottom: 12px !important;
}

.meta strong {
  color: var(--navy-deep);
  font-weight: 600;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -24px 0 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.rating__stars {
  display: flex;
  gap: 2px;
  color: var(--navy);
}

.rating__value {
  font-weight: 700;
  color: var(--navy-deep);
}

.note {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Before / after collage swiper */
.ba {
  width: 100%;
}

.ba__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  max-height: min(72vh, 620px);
  background: var(--navy-deep);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.ba__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ba__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
}

.ba__pair {
  display: flex;
  width: 100%;
  height: 100%;
}

.ba__side {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #0f1828;
}

.ba__side + .ba__side {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.ba__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.ba__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(10, 20, 39, 0.72);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

.ba__caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 18px;
  min-width: min(72%, 280px);
  text-align: center;
  color: var(--white);
  background: rgba(10, 20, 39, 0.72);
  border-radius: var(--radius-card);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.ba__counter {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.ba__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--white);
}

.ba__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(10, 20, 39, 0.55);
  color: var(--white);
  cursor: pointer;
  touch-action: manipulation;
  transition:
    border-color var(--ease),
    background var(--ease),
    color var(--ease),
    opacity var(--ease);
}

.ba__nav--prev { left: 12px; }
.ba__nav--next { right: 12px; }

.ba__nav:active {
  background: rgba(10, 20, 39, 0.8);
  transform: translateY(-50%) scale(0.96);
}

.ba__nav:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.ba__viewport.is-dragging .ba__track {
  transition: none;
}

/* Zones */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

.zones-visual {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(10, 20, 39, 0.06);
}

.zones-visual__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 946 / 531;
  object-fit: cover;
  object-position: center;
}

.map {
  min-height: 400px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
}

.map iframe,
.map > ymaps,
.map [class*="ymaps"] {
  max-width: 100%;
}

/* Contacts: карта растягивается на высоту формы */
.split--contacts {
  align-items: stretch;
}

.split--contacts .map {
  position: relative;
  min-height: 100%;
  height: auto;
  align-self: stretch;
}

.split--contacts .map > * {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
}

.split--contacts .map iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.contacts-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Контакты без карты: форма по центру, одна колонка */
.contacts-single {
  display: flex;
  justify-content: center;
}

.contacts-single .contacts-panel {
  width: 100%;
  max-width: 560px;
  min-height: 0;
}

.list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(10, 20, 39, 0.08);
}

.list li:first-child {
  border-top: 1px solid rgba(10, 20, 39, 0.08);
}

.list strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.list span {
  font-size: 13px;
  color: var(--muted);
}

#process {
  overflow: visible;
}

#process .wrap {
  overflow: visible;
}

.timeline {
  margin-top: 8px;
}

.timeline__row {
  list-style: none;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  border-top: 1px solid rgba(10, 20, 39, 0.12);
  --flip: -1;
  --face-h: 88px;
}

.timeline__row:last-child {
  border-bottom: 1px solid rgba(10, 20, 39, 0.12);
}

.timeline__prism {
  position: relative;
  height: var(--face-h);
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0.05, 0.2, 1);
}

.timeline__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
}

.timeline__face--front {
  background: var(--white);
  transform: translateZ(calc(var(--face-h) / 2));
}

.timeline__face--brand {
  background: var(--navy);
  transform: rotateX(calc(var(--flip) * -90deg)) translateZ(calc(var(--face-h) / 2));
}

.timeline__inner {
  display: grid;
  grid-template-columns: 40px 1fr 1.1fr;
  gap: 0 24px;
  align-items: start;
  height: 100%;
  padding: 24px 12px;
  box-sizing: border-box;
}

.timeline__marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(10, 20, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--ease), background-color var(--ease);
}

.timeline__marker span {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--ease);
}

.timeline__title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.9px;
  line-height: 1.1;
  padding-top: 6px;
  color: var(--navy);
  transition: color var(--ease);
}

.timeline__desc {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.3;
  color: var(--navy-deep);
  opacity: 0.7;
  padding-top: 10px;
  max-width: 380px;
  justify-self: end;
  width: 100%;
  transition: color var(--ease), opacity var(--ease);
}

.timeline__face--brand .timeline__marker {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.timeline__face--brand .timeline__marker span {
  color: var(--white);
}

.timeline__face--brand .timeline__title {
  color: var(--white);
}

.timeline__face--brand .timeline__desc {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .timeline__row:hover .timeline__prism {
    transform: rotateX(calc(var(--flip) * 90deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline__prism {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .timeline__row:hover .timeline__prism {
      transform: none;
    }

    .timeline__row:hover .timeline__face--front {
      background: var(--navy);
    }

    .timeline__row:hover .timeline__face--front .timeline__marker {
      border-color: rgba(255, 255, 255, 0.28);
    }

    .timeline__row:hover .timeline__face--front .timeline__marker span,
    .timeline__row:hover .timeline__face--front .timeline__title {
      color: var(--white);
    }

    .timeline__row:hover .timeline__face--front .timeline__desc {
      color: rgba(255, 255, 255, 0.72);
      opacity: 1;
    }
  }
}

/* Guarantee */
.guarantee {
  max-width: 720px;
}

.guarantee__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin-bottom: 24px;
}

/* FAQ */
.faq__item {
  background: var(--bg);
  border-radius: var(--radius-card);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq__item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  touch-action: manipulation;
  border-radius: var(--radius-card);
  transition:
    color var(--ease),
    background-color var(--ease),
    border-radius var(--ease);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  color: var(--muted);
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1.2;
  transition: color var(--ease);
}

.faq__item[open] summary,
.faq__item.is-closing summary {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.faq__item[open] summary::after,
.faq__item.is-closing summary::after {
  content: '−';
  color: var(--navy);
}

.faq__item summary:active {
  color: var(--navy);
}

.faq__item summary:focus-visible {
  outline: 2px solid var(--navy-hover);
  outline-offset: -2px;
}

/* Раскрытие: grid 0fr→1fr; закрытие — через .is-closing в JS */
.faq__answer {
  display: grid !important;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease-in-out;
}

.faq__item[open]:not(.is-closing):not(.is-opening) .faq__answer {
  grid-template-rows: 1fr;
}

.faq__item.is-closing .faq__answer,
.faq__item.is-opening .faq__answer {
  grid-template-rows: 0fr;
}

.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.28s ease-out,
    transform 0.28s ease-out;
}

.faq__item[open]:not(.is-closing):not(.is-opening) .faq__answer-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.faq__item.is-closing .faq__answer-inner,
.faq__item.is-opening .faq__answer-inner {
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.18s ease-in,
    transform 0.18s ease-in;
  transition-delay: 0s;
}

.faq__answer-inner p {
  margin: 0;
  padding: 14px 20px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .faq__answer,
  .faq__answer-inner {
    transition: none !important;
  }

  .faq__answer-inner {
    transform: none;
  }
}

/* Contacts */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.contacts dt {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

.contacts dd {
  font-size: 14px;
  font-weight: 500;
}

.contacts a {
  transition: color var(--ease), opacity var(--ease);
}

.contacts a:active {
  color: var(--navy-hover);
  opacity: 0.85;
}

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}

.form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.form input[type="text"],
.form input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy-deep);
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}

.form input:active {
  border-color: #adb0b6;
}

.form input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.form input:focus-visible {
  outline: 2px solid var(--navy-hover);
  outline-offset: 1px;
  border-color: var(--navy);
}

.form__check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
  cursor: pointer;
  margin: 2px 0 4px;
  border-radius: var(--radius);
  transition: color var(--ease);
  touch-action: manipulation;
}

.form__check:active {
  color: var(--navy);
}

.form__check input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.form__status {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  line-height: 1.4;
}

.form__status[hidden] { display: none; }

.form__status--error {
  color: #7a1f1f;
  background: #fdecec;
  border: 1px solid #f3c6c6;
}

/* Quick lead (after hero) */
.section--quick-lead {
  position: relative;
  padding: 0;
  background: var(--bg);
  overflow: hidden;
}

.quick-lead__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 560px;
}

.quick-lead__content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 64px 40px 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  box-sizing: border-box;
}

.quick-lead__copy {
  width: 100%;
  max-width: 520px;
}

.section--quick-lead h2 {
  margin-bottom: 10px;
  text-align: left;
  color: var(--navy-deep);
}

.quick-lead__sub {
  margin: 0 0 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.form--quick {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.form--quick .form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form--quick .form__optional {
  font-weight: 400;
  color: var(--muted-light);
}

.form--quick .btn {
  margin-top: 4px;
}

.form--quick .form__legal {
  text-align: left;
  color: var(--muted-light);
}

.quick-lead__media {
  position: relative;
  min-height: 100%;
  background: transparent;
  overflow: hidden;
}

.quick-lead__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.form__legal {
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted-light);
}

.form__legal a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .form__legal a:hover {
    color: var(--navy-hover);
  }
}

@media (max-width: 960px) {
  .quick-lead__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .quick-lead__content {
    padding: 48px var(--gutter);
  }

  .quick-lead__copy {
    max-width: none;
  }

  .quick-lead__media {
    min-height: 0;
  }

  .quick-lead__img {
    position: static;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .form--quick .form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 330px) {
  .quick-lead__img {
    width: 100%;
    height: auto;
  }
}


/* Lead success modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--gutter);
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 39, 0.55);
  cursor: pointer;
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  box-shadow: 0 16px 48px rgba(4, 14, 23, 0.22);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lead-modal.is-open .lead-modal__dialog {
  transform: translateY(0);
  opacity: 1;
}

.lead-modal__title {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 500;
  letter-spacing: -1.4px;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 12px;
}

.lead-modal__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 22px;
}

body.lead-modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal__dialog {
    transition: none;
    transform: none;
  }
}

/* Footer — PRO TECHNOLOGY pattern */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 0 32px;
}

.footer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy) url("/media/bg.webp") center / cover no-repeat;
}

.footer__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 39, 0.97) 0%,
    rgba(10, 20, 39, 0.88) 40%,
    rgba(10, 20, 39, 0.78) 100%
  );
}

.footer > .wrap {
  position: relative;
  z-index: 1;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  line-height: 0;
  transition: opacity var(--ease);
}

.footer__logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  object-position: left center;
}

.footer__logo:active {
  opacity: 0.7;
}

.footer__tagline {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
  max-width: 260px;
  letter-spacing: -0.2px;
}

.footer__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.footer__label--spaced {
  margin-top: 20px;
}

.footer__value {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.footer__value--muted {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  margin-top: 4px;
}

.footer__link {
  display: block;
  transition: color var(--ease), opacity var(--ease);
}

.footer__link:active {
  color: var(--white);
  opacity: 0.85;
}

.footer__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer__messengers a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--ease), opacity var(--ease);
}

.footer__messengers a:active {
  color: var(--white);
  opacity: 0.8;
}

.footer__mid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--ease), opacity var(--ease);
}

.footer__nav a:active {
  color: var(--white);
  opacity: 0.8;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  text-align: right;
}

.footer__legal a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--ease);
}

.footer__legal a:active {
  color: rgba(255, 255, 255, 0.75);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
}

.footer__copy,
.footer__unp,
.footer__disclaimer {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
  max-width: 420px;
}

.footer__disclaimer {
  line-height: 1.4;
}

/* Responsive
   Breakpoints (как у PRO TECHNOLOGY / Tilda-подобных лендингов):
   ≤1199 — компактный desktop / landscape tablet
   ≤960  — tablet (бургер, 2 колонки карточек)
   ≤768  — phone landscape / small tablet
   ≤480  — small phone
*/

@media (max-width: 1199px) {
  :root { --gutter: 20px; }

  .wrap { padding: 0 var(--gutter); }

  .header__inner { gap: 20px; }
  .nav { gap: 18px; }

  .cards--4 { grid-template-columns: repeat(2, 1fr); }

  .timeline__inner {
    grid-template-columns: 40px 1fr;
    gap: 0 16px;
  }

  .timeline__desc {
    grid-column: 2;
    justify-self: start;
    padding-top: 8px;
    max-width: none;
  }

  .guarantee { max-width: none; }

  .split { gap: 24px; }

  .footer__top {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 28px 20px;
  }
}

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

  .logo__img--on-dark {
    height: 24px;
    max-width: 128px;
  }

  .logo__img--on-light {
    height: 30px;
    max-width: 108px;
  }

  .nav,
  .header__right { display: none; }

  .header__call {
    display: inline-flex;
    margin-left: auto;
  }

  .burger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  .header__inner { gap: 12px; }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 64px;
  }

  .hero__content {
    padding-top: calc(var(--header-h) + 48px);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section { padding: 72px 0; }
  .section--navy { padding: 72px 0; }

  .why-us__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-us__media {
    order: -1;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    justify-self: stretch;
  }

  .cards--3 { grid-template-columns: repeat(2, 1fr); }

  /* Нечётный «хвост» сетки на всю ширину */
  .cards--3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .card--soft h3 { font-size: 20px; }

  .timeline__title { font-size: 22px; letter-spacing: -0.7px; }

  .ba__viewport {
    aspect-ratio: 4 / 3;
    max-height: min(70vh, 520px);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer__brand { grid-column: 1 / -1; }

  .footer__mid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__legal {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
  }

  .wrap { padding: 0 var(--gutter); }

  h1 {
    font-size: clamp(26px, 8vw, 36px);
    letter-spacing: -1.2px;
  }

  h2,
  .h2--light {
    font-size: clamp(24px, 6.5vw, 34px);
    letter-spacing: -1px;
    margin-bottom: 28px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 56px;
    align-items: center;
  }

  .hero__bg-img {
    object-position: center 30%;
  }

  .hero__content {
    padding-top: calc(var(--header-h) + 56px);
  }

  .hero__lead {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section { padding: 64px 0; }
  .section--navy { padding: 88px 0; }

  .guarantee {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .guarantee__text {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .cards--2,
  .cards--3,
  .cards--4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-us__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brands {
    margin-top: 16px;
    padding: 22px 16px;
  }

  .brands__list {
    gap: 12px 24px;
  }

  .brands__item {
    min-width: 110px;
    min-height: 56px;
    padding: 10px 14px;
  }

  .brands__item img {
    max-height: 36px;
    max-width: 120px;
  }

  .brands__item--tall img {
    max-height: 48px;
    max-width: 72px;
  }

  .cards--3 > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .card,
  .card--soft,
  .card--price .card__body {
    padding: 22px 18px 24px;
  }

  .card--price {
    padding: 0;
  }

  .card__badge { margin-bottom: 20px; }

  .card--soft h3 {
    font-size: 18px;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
  }

  .price { font-size: 26px; }

  .ba__viewport {
    aspect-ratio: 3 / 4;
    min-height: 380px;
    max-height: min(78vh, 560px);
  }

  .ba__badge {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    font-size: 10px;
  }

  .ba__nav {
    width: 38px;
    height: 38px;
  }

  .ba__nav--prev { left: 8px; }
  .ba__nav--next { right: 8px; }

  .ba__caption {
    bottom: 12px;
    padding: 8px 14px;
    min-width: min(80%, 240px);
  }

  .ba__name { font-size: 14px; }

  .timeline__inner {
    grid-template-columns: 36px 1fr;
    gap: 0 12px;
    padding: 18px 8px;
  }

  .timeline__marker {
    width: 36px;
    height: 36px;
  }

  .timeline__title {
    font-size: 18px;
    letter-spacing: -0.5px;
    padding-top: 8px;
  }

  .rating {
    flex-wrap: wrap;
    margin: -12px 0 22px;
  }

  .note {
    text-align: left;
    margin-top: 20px;
  }

  .faq__item summary {
    font-size: 14px;
    padding: 16px;
  }

  .faq__answer-inner p {
    padding: 12px 16px 18px;
    font-size: 13px;
  }

  /* Contacts: форма выше карты на мобиле */
  #contacts .split > .map { order: 2; }
  #contacts .split > .contacts-panel { order: 1; }

  .split--contacts .map {
    min-height: 320px;
    height: 320px;
  }

  .split--contacts .map > * {
    position: absolute !important;
  }

  .contacts {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
  }

  .form {
    padding: 20px 16px;
  }

  .form input,
  .form textarea {
    font-size: 16px; /* iOS: без автозума */
    padding: 14px 14px;
  }

  .form__check input[type="checkbox"] {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    transform: scale(0.85);
    transform-origin: left center;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer__logo img {
    height: 28px;
    max-width: 150px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer__meta {
    align-items: flex-start;
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 480px) {
  :root { --gutter: 14px; }

  .wrap { padding: 0 var(--gutter); }

  .eyebrow { margin-bottom: 10px; }

  h1 { letter-spacing: -1px; }

  .hero {
    min-height: 100svh;
    padding-bottom: 64px;
  }

  .hero__content { padding-top: calc(var(--header-h) + 48px); }

  .section { padding: 56px 0; }
  .section--navy { padding: 80px 0; }

  .ba__viewport {
    min-height: 340px;
  }

  .ba__caption {
    bottom: 10px;
  }

  .timeline__title { font-size: 17px; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__nav {
    gap: 10px 16px;
  }

  .btn {
    padding: 12px 18px;
  }
}

/* Landscape phones: не раздувать hero */
@media (max-width: 960px) and (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-bottom: 28px;
  }

  .hero__content {
    padding-top: calc(var(--header-h) + 16px);
  }
}

/* Pointer hover — только desktop / точный указатель (без sticky-hover на таче) */
@media (hover: hover) and (pointer: fine) {
  .btn--navy:hover:not(:disabled) {
    background: var(--navy-hover);
  }

  .btn--white:hover:not(:disabled) {
    background: var(--bg);
  }

  .btn--outline-light:hover:not(:disabled) {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
  }

  .header .btn--navy:hover:not(:disabled) {
    background: var(--bg);
  }

  .header--sticky .btn--navy:hover:not(:disabled) {
    background: var(--navy-hover);
  }

  .logo:hover {
    opacity: 0.72;
  }

  .nav a:hover {
    color: var(--white);
    opacity: 1;
  }

  .header--sticky .nav a:hover {
    color: var(--navy);
    opacity: 1;
  }

  .header__phone:hover {
    opacity: 0.72;
  }

  .header--sticky .header__phone:hover {
    opacity: 1;
    color: var(--navy-hover);
  }

  .header__call:hover {
    opacity: 0.72;
  }

  .header--sticky .header__call:hover {
    opacity: 1;
    color: var(--navy-hover);
  }

  .burger:hover {
    opacity: 0.75;
  }

  .mobile-nav__item:hover {
    color: var(--navy-hover);
  }

  .mobile-nav__phone:hover {
    background: var(--bg);
  }

  /* Будущие кликабельные карточки: лёгкий акцент, без «залитой active» */
  .card--price:hover {
    border-color: rgba(10, 20, 39, 0.16);
    box-shadow: 0 0 0 1px rgba(10, 20, 39, 0.04);
  }

  .card--soft:hover {
    border-color: rgba(10, 20, 39, 0.1);
    background: #eef0f5;
  }

  .ba__nav:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(10, 20, 39, 0.75);
  }

  .faq__item summary:hover {
    color: var(--navy);
    background: rgba(10, 20, 39, 0.045);
  }

  .faq__item summary:hover::after {
    color: var(--navy);
  }

  .contacts a:hover {
    color: var(--navy-hover);
    opacity: 1;
  }

  .form input[type="text"]:hover,
  .form input[type="tel"]:hover {
    border-color: #adb0b6;
  }

  .form__check:hover {
    color: var(--navy-deep);
  }

  .footer__logo:hover {
    opacity: 0.75;
  }

  .footer__link:hover,
  .footer__messengers a:hover,
  .footer__nav a:hover {
    color: var(--white);
    opacity: 1;
  }

  .footer__legal a:hover {
    color: rgba(255, 255, 255, 0.75);
  }
}

/* Press feedback для карточек тарифов */
.card--price:active {
  border-color: rgba(10, 20, 39, 0.22);
  transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
  .ba__track {
    transition: none !important;
  }

  .btn,
  .ba__nav,
  .card--price,
  .card--soft {
    transition: background-color var(--ease), color var(--ease), border-color var(--ease), opacity var(--ease);
  }

  .btn:active:not(:disabled),
  .ba__nav:active,
  .card--price:active {
    transform: none;
  }
}

/* Scroll reveal (animate.css) */
.js-anim {
  opacity: 0;
}

.js-anim.is-animating {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .js-anim {
    opacity: 1;
  }
}

/* Legal pages */
.legal-body {
  background: var(--bg);
  min-height: 100vh;
}

.legal-top {
  background: var(--white);
  border-bottom: 1px solid rgba(10, 20, 39, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.legal-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.legal-top__back {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

.legal-top__back:active {
  opacity: 0.7;
}

.legal-main {
  padding: 48px 0 72px;
}

.legal-doc h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--navy);
  margin: 8px 0 12px;
}

.legal-doc h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--navy);
  margin: 36px 0 14px;
}

.legal-doc h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 22px 0 10px;
}

.legal-doc p,
.legal-doc li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.legal-doc p { margin-bottom: 12px; }

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 14px;
  padding-left: 1.25em;
}

.legal-doc li { margin-bottom: 6px; }

.legal-doc a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-meta {
  font-size: 13px !important;
  color: var(--muted-light) !important;
  margin-bottom: 16px !important;
}

.legal-note {
  background: var(--white);
  border: 1px solid rgba(10, 20, 39, 0.08);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  font-size: 14px !important;
  margin-bottom: 28px !important;
}

.legal-toc {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.legal-toc__title {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--navy) !important;
  margin-bottom: 10px !important;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.legal-toc a {
  text-decoration: none;
  font-size: 14px;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-consent-box {
  background: var(--white);
  border: 1px solid rgba(10, 20, 39, 0.1);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin: 12px 0 16px;
}

.legal-consent-box p:last-child {
  margin-bottom: 0;
}

.legal-footnote {
  margin-top: 40px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 20, 39, 0.08);
  font-size: 13px !important;
  color: var(--muted-light) !important;
}

.legal-foot {
  border-top: 1px solid rgba(10, 20, 39, 0.08);
  background: var(--white);
  padding: 20px 0;
}

.legal-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.legal-foot a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.form__check a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .legal-top__back:hover,
  .legal-foot a:hover {
    color: var(--navy-hover);
  }
}

/* Floating contacts */
body.nav-open .floating-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-menu {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
}

.floating-menu__toggle {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 20, 39, 0.28);
  transition: background-color var(--ease), transform var(--ease), box-shadow var(--ease);
  touch-action: manipulation;
}

.floating-menu__toggle:active {
  transform: scale(0.96);
  background: var(--navy-active);
}

.floating-menu__toggle:focus-visible {
  outline: 2px solid var(--navy-hover);
  outline-offset: 3px;
}

.floating-menu__icon {
  position: absolute;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-menu__icon--close {
  opacity: 0;
  transform: rotate(-40deg) scale(0.85);
}

.floating-menu.is-open .floating-menu__icon--default {
  opacity: 0;
  transform: rotate(40deg) scale(0.85);
}

.floating-menu.is-open .floating-menu__icon--close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.floating-menu.is-open .floating-menu__toggle {
  background: var(--navy-hover);
}

.floating-menu__items {
  position: absolute;
  left: 50%;
  bottom: calc(56px + 10px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.floating-menu__item {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(10, 20, 39, 0.18);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.24s ease, transform 0.24s ease, box-shadow var(--ease);
  pointer-events: none;
}

.floating-menu__item--phone { background: var(--navy); }
.floating-menu__item--tg { background: #229ED9; }
.floating-menu__item--wa { background: #25D366; }
.floating-menu__item--viber { background: #7360F2; }

.floating-menu__brand {
  display: block;
  flex-shrink: 0;
}

.floating-menu.is-open .floating-menu__items {
  pointer-events: auto;
}

.floating-menu.is-open .floating-menu__item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-menu.is-open .floating-menu__item:nth-child(1) { transition-delay: 0s; }
.floating-menu.is-open .floating-menu__item:nth-child(2) { transition-delay: 0.04s; }
.floating-menu.is-open .floating-menu__item:nth-child(3) { transition-delay: 0.08s; }
.floating-menu.is-open .floating-menu__item:nth-child(4) { transition-delay: 0.12s; }

.floating-menu:not(.is-open) .floating-menu__item:nth-child(1) { transition-delay: 0.12s; }
.floating-menu:not(.is-open) .floating-menu__item:nth-child(2) { transition-delay: 0.08s; }
.floating-menu:not(.is-open) .floating-menu__item:nth-child(3) { transition-delay: 0.04s; }
.floating-menu:not(.is-open) .floating-menu__item:nth-child(4) { transition-delay: 0s; }

@media (hover: hover) and (pointer: fine) {
  .floating-menu__toggle:hover {
    background: var(--navy-hover);
    box-shadow: 0 10px 28px rgba(10, 20, 39, 0.34);
  }

  .floating-menu.is-open .floating-menu__item:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(10, 20, 39, 0.24);
  }
}

@media (max-width: 768px) {
  .floating-menu {
    right: 16px;
    bottom: 20px;
  }

  .floating-menu__toggle {
    width: 54px;
    height: 54px;
  }

  .floating-menu__items {
    bottom: calc(54px + 10px);
  }

  .floating-menu__item {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .header__call {
    font-size: 14px;
    letter-spacing: -0.25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-menu__icon,
  .floating-menu__item,
  .floating-menu__toggle {
    transition: none;
  }
}
