:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-warm: #fafaf8;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent: #1e3a8a;
  --accent-hover: #1e40af;
  --accent-light: rgba(30, 58, 138, 0.08);
  --gold: #b8860b;
  --gold-light: rgba(184, 134, 11, 0.12);
  --border: #e2e8f0;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.1);
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --header-h: 72px;
  --page-gutter: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  overflow-x: clip;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  text-align: center;
}

.section__lead {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.25);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--accent-light);
}

.btn--max {
  background: transparent;
  color: #5b4fe8;
  border: 2px solid #5b4fe8;
  box-shadow: none;
}

.btn--max:hover {
  background: rgba(91, 79, 232, 0.1);
}

.btn--ghost {
  background: var(--bg-alt);
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--border);
}

.btn--gold {
  background: var(--gold);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
}

.btn--gold:hover {
  background: #9a7209;
}

.btn--sm {
  padding: 12px 20px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

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

.header__logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header__logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.header__logo-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.header__models {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
}

.header__models a {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.header__models a:hover,
.header__models a.is-active {
  color: var(--accent);
  background: var(--accent-light);
  border-color: rgba(30, 58, 138, 0.2);
}

.header__geo {
  display: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__messengers {
  display: flex;
  gap: 8px;
}

.header__msg {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}

.header__msg:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}

.header__msg svg {
  width: 20px;
  height: 20px;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.header__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.header__nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.header__nav.is-open {
  display: flex;
}

.header__nav a {
  padding: 14px 0;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  min-height: 48px;
  display: flex;
  align-items: center;
}

/* Hero */
.hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__text {
  margin: 0 0 28px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
}

.hero__text strong {
  color: var(--text);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero__trust-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.hero__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero__image-wrap--placeholder {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e293b 100%);
}

.hero-placeholder {
  text-align: center;
  padding: 32px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-placeholder span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

.hero-placeholder strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.trim-card__image--placeholder {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-alt) 100%);
  color: var(--text-muted);
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  padding: 16px;
}

.header__brand-models {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
}

.header__brand-models a {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.header__brand-models a:hover,
.header__brand-models a.is-active {
  color: var(--accent);
  background: var(--accent-light);
  border-color: rgba(30, 58, 138, 0.2);
}

@media (min-width: 1100px) {
  .header__brand-models {
    display: flex;
  }
}

.brand-model-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.brand-model-card:hover .trim-card {
  border-color: rgba(30, 58, 138, 0.25);
  box-shadow: var(--shadow-lg);
}

.hero__stat {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-light);
  font-size: 1.5rem;
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Quiz */
.quiz-section {
  background: var(--bg-alt);
}

.quiz {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.quiz__head {
  padding: 28px 32px 0;
}

.quiz__progress-wrap {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.quiz__progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #3b82f6);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quiz__step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quiz__body {
  padding: 28px 32px 32px;
}

.quiz__step {
  display: none;
}

.quiz__step.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz__question {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.quiz__options {
  display: grid;
  gap: 10px;
}

.quiz__option {
  position: relative;
  cursor: pointer;
}

.quiz__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz__option-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
  font-weight: 600;
  color: var(--text);
}

.quiz__option-label:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.quiz__option input:checked + .quiz__option-label {
  border-color: var(--accent);
  background: var(--accent-light);
}

.quiz__option-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: border-color 0.2s;
}

.quiz__option input:checked + .quiz__option-label .quiz__option-dot {
  border-color: var(--accent);
}

.quiz__option input:checked + .quiz__option-label .quiz__option-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.quiz__option-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.quiz__option-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.quiz__city-other {
  margin-top: 12px;
  display: none;
}

.quiz__city-other.is-visible {
  display: block;
}

.quiz__input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}

.quiz__input:focus {
  outline: none;
  border-color: var(--accent);
}

.quiz__bonus {
  display: flex;
  gap: 12px;
  padding: 16px;
  margin-top: 16px;
  background: var(--gold-light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.quiz__bonus strong {
  color: var(--gold);
}

.quiz__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.quiz__consent input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.quiz__error {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #dc2626;
  min-height: 1.2em;
}

.quiz__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 32px 28px;
}

.quiz__footer .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Trims */
.trims {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.trim-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.trim-card--pro {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(184, 134, 11, 0.12);
}

.trim-card__head {
  padding: 28px 28px 0;
}

.trim-card__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 12px;
}

.trim-card--pro .trim-card__badge {
  background: var(--gold-light);
  color: var(--gold);
}

.trim-card__name {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.trim-card__sub {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.trim-card__price {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.trim-card__price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trim-card__price-rub {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.trim-card__price-rub strong {
  color: var(--accent);
  font-weight: 800;
}

.hero__stat-rub {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 6px;
}

.trim-card__image {
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trim-card__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.trim-card__body {
  padding: 24px 28px;
  flex: 1;
}

.trim-group {
  margin-bottom: 20px;
}

.trim-group:last-child {
  margin-bottom: 0;
}

.trim-group__title {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.trim-group__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trim-group__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trim-group__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.trim-card__foot {
  padding: 0 28px 28px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.photo-gallery__item {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.photo-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.2s ease;
}

.photo-gallery__item:hover img {
  transform: scale(1.03);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1200px, 100%);
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox__btn {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.gallery-lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.gallery-lightbox__prev,
.gallery-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
}

.gallery-lightbox__prev {
  left: 12px;
}

.gallery-lightbox__next {
  right: 12px;
}

.gallery-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .gallery-lightbox__prev,
  .gallery-lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .gallery-lightbox__prev {
    left: 8px;
  }

  .gallery-lightbox__next {
    right: 8px;
  }
}

/* Pricing */
.pricing-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.pricing-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.pricing-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.pricing-step__num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  box-shadow: var(--shadow);
}

.pricing-step__price {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-step__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-step__text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pricing-total {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
}

.pricing-total__label {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 8px;
}

.pricing-total__value {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-total__note {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 24px;
}

.pricing-total .btn {
  background: #fff;
  color: var(--accent);
  box-shadow: none;
}

.pricing-total .btn:hover {
  background: var(--bg-alt);
}

/* Steps / Timeline */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-item__num {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
}

.step-item__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.step-item__text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.steps__note {
  text-align: center;
  margin-top: 32px;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
}

/* Guarantees */
.guarantees {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.guarantee {
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.guarantee__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.guarantee__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.guarantee__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact form */
.contact-section {
  background: var(--bg-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form__title {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.contact-form__sub {
  margin: 0 0 28px;
  color: var(--text-muted);
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.form-method {
  flex: 1;
  min-width: 72px;
}

.form-method input {
  position: absolute;
  opacity: 0;
}

.form-method label {
  display: block;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.form-method input:checked + label {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.form-error {
  margin-top: 8px;
  font-size: 0.875rem;
  color: #dc2626;
  min-height: 1.2em;
}

.contact-info__title {
  margin: 0 0 24px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.contact-info__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.contact-info__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-secondary);
}

.contact-info__list a:hover {
  color: var(--accent);
}

.contact-info__socials {
  display: flex;
  gap: 12px;
}

/* Footer */
.footer {
  padding: 32px 0;
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer__brand {
  max-width: 320px;
}

.footer__company {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer__legal {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.7;
}

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

.footer__copy {
  font-size: 0.85rem;
  opacity: 0.7;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: #fff;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px var(--page-gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius);
  font-size: 0.95rem;
  padding: 14px 20px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible,
.hero .reveal,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 768px) {
  .header__geo {
    display: block;
  }

  .header__models {
    display: flex;
  }

  .header__nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 24px;
  }

  .header__nav a {
    padding: 0;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s;
  }

  .header__nav a:hover {
    color: var(--accent);
  }
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .trims {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .pricing-steps::before {
    display: none;
  }

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

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

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
    --page-gutter: 16px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    box-sizing: border-box;
  }

  main,
  .header,
  .footer,
  .section,
  .hero,
  .quiz,
  .sticky-cta {
    max-width: 100%;
  }

  .header__inner {
    gap: 8px;
    min-width: 0;
  }

  .header__logo {
    min-width: 0;
    flex-shrink: 1;
  }

  .header__actions {
    flex-shrink: 0;
  }

  .section {
    padding: 56px 0;
  }

  .section__lead {
    margin-bottom: 32px;
    font-size: 0.95rem;
  }

  .header__logo-sub {
    display: none;
  }

  .header__msg {
    width: 44px;
    height: 44px;
  }

  .header__burger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .header__cta-desktop {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 40px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
  }

  .hero__grid > * {
    min-width: 0;
  }

  .hero__visual {
    order: -1;
    min-width: 0;
  }

  .hero__title {
    font-size: clamp(1.55rem, 6.8vw, 2rem);
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
  }

  .hero__text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero__badge {
    font-size: 0.72rem;
    margin-bottom: 14px;
    max-width: 100%;
  }

  .hero__stat {
    position: static;
    margin-top: 14px;
    display: block;
    max-width: 100%;
  }

  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero__actions .btn,
  .btn {
    min-height: 48px;
    touch-action: manipulation;
  }

  .cards,
  .trims,
  .steps,
  .guarantees,
  .pricing-steps,
  .contact-grid {
    min-width: 0;
  }

  .card,
  .trim-card {
    min-width: 0;
  }

  .quiz {
    max-width: 100%;
  }

  .quiz__head,
  .quiz__body,
  .quiz__footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quiz__question {
    font-size: 1.1rem;
  }

  .quiz__option-label {
    min-height: 48px;
    padding: 14px 16px;
    gap: 12px;
  }

  .quiz__input,
  .form-field input,
  .form-field select {
    font-size: 16px;
    min-height: 48px;
    max-width: 100%;
  }

  .quiz__footer {
    flex-direction: column-reverse;
    gap: 10px;
    padding-bottom: 20px;
  }

  .quiz__footer .btn {
    width: 100%;
    min-height: 48px;
  }

  .contact-form-wrap {
    padding: 24px 18px;
  }

  .form-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .form-method {
    min-width: 0;
  }

  .form-method label {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .trim-card__head,
  .trim-card__body,
  .trim-card__foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .trim-card__head {
    padding-top: 22px;
  }

  .pricing-total {
    padding: 24px 18px;
  }

  .card {
    padding: 24px 20px;
  }

  .pricing-steps {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .guarantees {
    grid-template-columns: 1fr;
  }

  .trims {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__inner {
    flex-direction: column;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
