:root {
  --red: #d90012;
  --red-dark: #b3000f;
  --black: #050505;
  --gray: #333;
  --gray-soft: #6b6b6b;
  --line: #e8e8e8;
  --bg-alt: #f6f6f6;
  --green: #12833c;
  --green-bg: #e8f6ed;
  --radius: 16px;
  --container: 1200px;
  --pad: 32px;
  --gap-section: 96px;
  --header-h: 64px;
}

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

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

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 900;
  text-wrap: balance;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 20px;
  text-transform: none;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin: 0 auto;
  padding-inline: var(--pad);
}

section {
  padding-block: calc(var(--gap-section) / 2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 16px;
  color: var(--gray-soft);
  font-size: 17px;
}

.accent {
  color: var(--red);
}

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 18px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding-inline: 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--black);
}

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

.btn--light {
  background: #fff;
  color: var(--red);
}

.btn--light:hover {
  background: #ffe9ea;
}

.btn--sm {
  height: 44px;
  font-size: 15px;
  padding-inline: 18px;
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgb(0 0 0 / 4%);
}

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

.site-header img {
  height: 30px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--red);
}

/* --- Mobile bottom bar --- */
.mobile-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 70;
  height: 56px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgb(0 0 0 / 8%);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.mobile-bar.is-visible {
  transform: translateY(0);
}

.mobile-bar-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 8px;
  padding: 8px 12px;
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
}

.mobile-bar a.is-accent {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* --- Hero --- */
.hero {
  padding-top: 40px;
}

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

.hero-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(30px, 5.2vw, 52px);
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-soft);
  max-width: 30em;
}

.hero-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-price strong {
  font-size: clamp(28px, 4.6vw, 38px);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.hero-price span {
  font-size: 13px;
  color: var(--gray-soft);
}

.hero-markers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-markers li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.hero-markers svg {
  flex: none;
  color: var(--red);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-note {
  font-size: 12px;
  color: var(--gray-soft);
}

/* --- Spec tiles --- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tile {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 20px;
}

.tile dt {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-soft);
  font-weight: 700;
}

.tile dd {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.tiles-note {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--gray-soft);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.fact.is-accent {
  border-color: var(--red);
}

.fact-figure {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--red);
}

.fact h3 {
  margin: 0;
  font-size: 18px;
}

.fact p {
  margin: 0;
  font-size: 15px;
  color: var(--gray);
}

/* --- Cars --- */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.car-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.car-card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.car-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  gap: 14px;
}

.car-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.car-specs {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 14px;
}

.car-specs dt {
  color: var(--gray-soft);
}

.car-specs dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

.badge-green {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
}

.car-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.car-foot .label {
  font-size: 12px;
  color: var(--gray-soft);
}

.car-foot .price {
  font-size: 24px;
  font-weight: 900;
}

.car-foot .eta {
  font-size: 12px;
  color: var(--gray-soft);
}

.car-foot .btn {
  margin-top: 12px;
}

.cars-more {
  margin-top: 32px;
  text-align: center;
}

/* --- Price breakdown --- */
.price-table {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.price-row span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}

.price-row.is-sub {
  background: var(--bg-alt);
  font-weight: 700;
}

.price-row.is-total {
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  border-bottom: 0;
}

.price-note {
  max-width: 720px;
  margin: 10px auto 0;
  font-size: 13px;
  color: var(--gray-soft);
  text-align: right;
}

.price-note strong {
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

.price-callout {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 15px;
  background: #fff5f5;
  border: 1px solid rgb(217 0 18 / 20%);
}

.price-lock {
  max-width: 720px;
  margin: 0 auto 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 32px rgb(217 0 18 / 22%);
}

.price-lock svg {
  flex: none;
  margin-top: 2px;
  color: #fff;
}

.price-lock strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.price-lock span {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: rgb(255 255 255 / 88%);
}

/* --- Utilization fee accent block --- */
.util {
  background: var(--black);
  color: #fff;
}

.util-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.util h2 {
  font-size: 32px;
}

.util p {
  font-size: 17px;
  color: rgb(255 255 255 / 78%);
}

.util strong {
  color: #fff;
}

.util .btn {
  align-self: center;
}

/* --- Perks --- */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perk {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.perk svg {
  color: var(--red);
}

.perk h3 {
  margin: 0;
  font-size: 18px;
}

.perk p {
  margin: 0;
  font-size: 15px;
  color: var(--gray);
}

/* --- Russification --- */
.rus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.rus-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.screens {
  display: grid;
  gap: 16px;
}

.screen {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.screen-title {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-soft);
  border-bottom: 1px solid var(--line);
}

.screen.is-after .screen-title {
  color: var(--green);
  background: var(--green-bg);
  border-color: transparent;
}

.screen-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
  background: #101014;
}

.screen-body span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 8px;
  background: #1d1d24;
  color: #e9e9ef;
  font-size: 13px;
  text-align: center;
}

/* --- Timeline --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding-top: 52px;
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline li::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 44px;
  right: -16px;
  height: 1px;
  background: var(--line);
}

.timeline li:last-child::after {
  display: none;
}

.timeline .step-name {
  font-weight: 700;
  font-size: 15px;
}

.timeline .step-term {
  font-size: 14px;
  color: var(--gray-soft);
}

.timeline-total {
  margin-top: 36px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

/* --- Reviews --- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 20px;
}

.review {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.review img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
}

.review-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
}

.review-car {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
}

.review-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--gray);
}

.review-body p {
  margin: 0;
}

.review.is-clamped .review-body {
  max-height: 260px;
  overflow: hidden;
}

.review.is-clamped .review-body::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 72px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), #fff);
}

.review-more {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
}

.review-more:hover {
  text-decoration: underline;
}

.gallery figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray-soft);
}

.gallery figure {
  margin: 0;
}

/* --- FAQ --- */
.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--red);
  color: #fff;
}

.faq .answer {
  padding-bottom: 18px;
  color: var(--gray);
}

/* --- Final form --- */
.final {
  background: var(--bg-alt);
}

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

.final-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.direct-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 48px rgb(0 0 0 / 8%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-soft);
  margin-bottom: 6px;
}

.field > input {
  width: 100%;
  height: 50px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--black);
}

.field > input:focus {
  outline: none;
  border-color: var(--red);
}

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

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice label {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  color: var(--gray);
}

.choice input:checked + label {
  border-color: var(--red);
  background: #fff5f5;
  color: var(--red);
}

.choice input:focus-visible + label {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.form-consent {
  font-size: 12px;
  color: var(--gray-soft);
}

.form-status {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.form-status.is-error {
  color: var(--red);
}

.form-status.is-ok {
  color: var(--green);
}

[hidden] {
  display: none !important;
}

/* --- Modal --- */
.modal {
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  width: min(440px, calc(100vw - 32px));
  box-shadow: 0 24px 64px rgb(0 0 0 / 24%);
}

.modal::backdrop {
  background: rgb(5 5 5 / 55%);
}

.modal .lead-form {
  box-shadow: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--bg-alt);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* --- Footer --- */
.site-footer {
  background: var(--black);
  color: rgb(255 255 255 / 70%);
  padding-block: 48px;
  font-size: 14px;
}

.site-footer img {
  height: 32px;
  width: auto;
  margin-bottom: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.site-footer a {
  color: rgb(255 255 255 / 70%);
  text-decoration: none;
}

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

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-models {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 12px;
  color: rgb(255 255 255 / 45%);
}

/* --- Tablet --- */
@media (max-width: 1199px) {
  :root {
    --pad: 24px;
    --gap-section: 72px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

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

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

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

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

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .timeline li:nth-child(3)::after {
    display: none;
  }

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

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

/* --- Mobile --- */
@media (max-width: 767px) {
  :root {
    --pad: 16px;
    --gap-section: 48px;
  }

  body {
    padding-bottom: 56px;
  }

  h2 {
    font-size: 26px;
  }

  .site-nav,
  .header-desktop-only {
    display: none;
  }

  .mobile-bar {
    display: block;
  }

  .hero {
    padding-top: 20px;
  }

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

  .hero-col {
    gap: 16px;
  }

  .hero-media {
    gap: 16px;
  }

  .hero-media img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-cta .btn--primary {
    font-size: 15px;
    padding-inline: 16px;
    text-align: center;
    line-height: 1.25;
    height: auto;
    min-height: 56px;
    padding-block: 14px;
  }

  .price-lock {
    padding: 18px 16px;
    gap: 12px;
  }

  .price-lock strong {
    font-size: 17px;
  }

  .price-lock span {
    font-size: 14px;
  }

  .tiles {
    gap: 12px;
  }

  .tile {
    padding: 16px;
  }

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

  .perk {
    padding: 18px;
  }

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

  .fact {
    padding: 18px;
  }

  .fact-figure {
    font-size: 20px;
  }

  .cars-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    padding-bottom: 8px;
  }

  .car-card {
    scroll-snap-align: start;
  }

  .price-row {
    padding: 12px 14px;
    font-size: 14px;
  }

  .util h2 {
    font-size: 26px;
  }

  .rus-grid,
  .final-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .timeline li {
    padding: 2px 0 0 52px;
  }

  .timeline li::after {
    top: 40px;
    left: 18px;
    right: auto;
    bottom: -22px;
    width: 1px;
    height: auto;
  }

  .gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 70%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
  }

  .gallery figure {
    scroll-snap-align: start;
  }

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

  .review-content {
    padding: 18px;
  }

  .lead-form {
    padding: 20px;
  }

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

/* --- Страница /raschet --- */

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-collage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.field > select {
  width: 100%;
  height: 50px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--black);
  background: #fff;
}

.field > select:focus {
  outline: none;
  border-color: var(--red);
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.compare--vs {
  min-width: 520px;
}

.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  background: var(--bg-alt);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare tbody th {
  width: 22%;
  font-weight: 700;
  color: var(--gray);
}

.compare td {
  color: var(--gray-soft);
}

.compare td.is-yes {
  color: var(--black);
  font-weight: 600;
}

.compare td.is-no {
  color: var(--gray-soft);
}

.compare-note {
  max-width: 860px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--gray-soft);
}

.compare-note p + p {
  margin-top: 16px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.catalog-copy p {
  color: var(--gray-soft);
}

.catalog-accent {
  font-weight: 700;
  color: var(--black) !important;
}

.catalog-shot {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.08);
}

@media (max-width: 1199px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .catalog-shot {
    max-width: 300px;
  }

}

@media (max-width: 767px) {

  .compare th,
  .compare td {
    padding: 12px 14px;
  }

  .compare-note {
    text-align: left;
  }

  .hero-collage {
    gap: 8px;
  }
}


.budget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.budget-col {
  display: flex;
  flex-direction: column;
}

.budget-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--black);
}

.budget-cap {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.budget-hint {
  font-size: 13px;
  color: var(--gray-soft);
}

.budget-list {
  flex: 1;
  display: grid;
  grid-auto-rows: minmax(min-content, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.budget-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.budget-item:hover {
  transform: translateY(-3px);
  border-color: #dcdcdc;
  box-shadow: 0 18px 34px rgba(5, 5, 5, 0.09);
}

.budget-shot {
  position: relative;
}

.budget-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-alt);
}

.budget-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}

.budget-body {
  flex: 1;
  padding: 16px 18px 18px;
}

.budget-model {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.budget-prices {
  margin: 12px 0 0;
}

.budget-prices div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.budget-prices dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-soft);
}

.budget-prices dd {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.budget-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.budget-link:hover {
  text-decoration: underline;
}

.budget-pages {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-soft);
}

.budget-pages a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.budget-pages a:hover {
  text-decoration: underline;
}

.budget-foot {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-soft);
}

.budget-credit {
  font-size: 12px;
  color: #a5a5a5;
}

@media (max-width: 1199px) {
  .budget-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .budget-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .budget-list {
    grid-template-columns: 1fr;
  }

  .budget-cap {
    font-size: 18px;
  }
}
