/*
Theme Name: Defender Auto Ivanovo
Theme URI: https://example.com/
Author: Codex
Description: Custom ACF-powered landing theme for Defender Auto Ivanovo.
Version: 0.1.0
Text Domain: defender-auto
*/

:root {
  --bg: #4d5c6b;
  --bg-soft: #5a6978;
  --panel: rgba(19, 24, 22, 0.78);
  --line: rgba(213, 255, 55, 0.18);
  --line-soft: rgba(255, 255, 255, 0.12);
  --text: #f4f7f2;
  --muted: #a9b2ad;
  --acid: #c8ff22;
  --acid-2: #82d80f;
  --carbon: #44515d;
  --container: 1220px;
  --radius: 8px;
  font-family: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 18%, rgba(200, 255, 34, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(180deg, #5a6978 0%, #4d5c6b 58%, #394550 100%),
    var(--bg);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: visible;
}

.site-shell > main {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 1;
}

.why-section {
  order: 2;
}

.company-section {
  order: 3;
}

#climate {
  order: 4;
}

#lead {
  order: 5;
}

.tech-section {
  order: 6;
}

.materials-section {
  order: 7;
}

.certificates-section {
  order: 8;
}

.videos-section {
  order: 9;
}

.before-section {
  order: 10;
}

.new-car-section {
  order: 11;
}

.extra-services-section {
  order: 12;
}

.prices-section {
  order: 13;
}

.reviews-section {
  order: 14;
}

#lead-final {
  order: 15;
}

.contacts-section {
  order: 16;
}

.section-anchor {
  position: relative;
  top: -96px;
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(77, 92, 107, 0.82);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.hero__inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.25vw, 20px);
  min-height: 82px;
}

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

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #0a0d0b;
  background: linear-gradient(135deg, var(--acid), #6fbf0d);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.brand__image {
  width: auto;
  max-width: 220px;
  max-height: 58px;
  object-fit: contain;
}

.brand__title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.brand__city {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.25vw, 20px);
  color: #dce3df;
  font-size: clamp(12px, 0.98vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

.nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--acid);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  min-width: 0;
}

.header-actions__meta {
  display: grid;
  gap: 3px;
  text-align: right;
}

.header-actions__address {
  color: var(--muted);
  font-size: 12px;
}

.header-actions__phone {
  color: var(--acid);
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(200, 255, 34, 0.18);
}

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

.icon-link,
.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.icon-link:hover,
.icon-link:focus,
.menu-toggle:hover,
.menu-toggle:focus {
  border-color: var(--acid);
  color: var(--acid);
  background: rgba(200, 255, 34, 0.08);
}

.icon-link--max {
  color: #0b1114;
  background: linear-gradient(135deg, var(--acid), var(--acid-2));
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.icon-link--max:hover,
.icon-link--max:focus {
  color: #0b1114;
  background: linear-gradient(135deg, #e0ff68, var(--acid));
}

.menu-toggle {
  display: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle svg:last-child,
.menu-open .menu-toggle svg:first-child {
  display: none;
}

.menu-open .menu-toggle svg:last-child {
  display: block;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px 0 20px;
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(77, 92, 107, 0.94) 0%, rgba(77, 92, 107, 0.72) 38%, rgba(77, 92, 107, 0.22) 72%, rgba(77, 92, 107, 0.64) 100%),
    linear-gradient(180deg, rgba(90, 105, 120, 0.12), var(--bg) 100%);
  z-index: 1;
}

.hero::after {
  right: 5vw;
  bottom: 0;
  width: min(740px, 70vw);
  height: 280px;
  background: linear-gradient(180deg, transparent, rgba(200, 255, 34, 0.16));
  filter: blur(50px);
  z-index: 0;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.92;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(300px, 1fr);
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 130px);
}

.hero__content {
  padding-top: 0;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--acid);
  background: rgba(200, 255, 34, 0.08);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
  content: "";
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero__lead {
  max-width: 620px;
  margin: 16px 0 0;
  color: #d1dad5;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.58;
}

.hero__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-width: 650px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: #eef3ef;
  font-size: 13px;
  font-weight: 800;
}

.hero__benefits svg {
  flex: 0 0 auto;
  color: var(--acid);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button--primary {
  color: #0b0f0d;
  background: linear-gradient(135deg, var(--acid), var(--acid-2));
  box-shadow: 0 18px 44px rgba(130, 216, 15, 0.22);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f4f7f2;
  background: rgba(255, 255, 255, 0.06);
}

.hero__aside {
  justify-self: end;
  width: min(100%, 405px);
  min-width: 0;
}

.trust-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 255, 34, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(59, 71, 82, 0.84);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.trust-card__top {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.trust-card__stars {
  color: var(--acid);
  font-size: 22px;
  letter-spacing: 0;
}

.trust-card__score {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
}

.trust-card__label {
  margin: 10px 0 0;
  color: #dce5e0;
  font-size: 15px;
  font-weight: 800;
}

.trust-card__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.metric {
  min-height: 118px;
  padding: 18px 14px;
  background: rgba(65, 78, 91, 0.88);
}

.metric__value {
  display: block;
  color: var(--acid);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.metric__label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.trust-card__bottom {
  padding: 18px 22px 22px;
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--acid);
  font-weight: 900;
}

.hero__visual-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
}

.hero__visual-title {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
}

.hero__visual-text {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.scan-lines {
  position: relative;
  width: 108px;
  height: 64px;
  border: 1px solid rgba(200, 255, 34, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(200, 255, 34, 0.75) 49% 51%, transparent 52% 100%),
    repeating-linear-gradient(180deg, rgba(200, 255, 34, 0.2) 0 1px, transparent 1px 12px),
    rgba(6, 8, 7, 0.75);
}

.scan-lines::after {
  position: absolute;
  inset: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 42% 42% 18% 18%;
  content: "";
}

@media (max-width: 1320px) {
  .site-header__inner {
    grid-template-columns: minmax(160px, 210px) minmax(0, 1fr) auto;
  }

  .brand__image {
    max-width: 205px;
  }

  .header-actions__address {
    display: none;
  }

  .header-actions__meta {
    align-items: center;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-actions__meta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 50%;
    display: none;
    width: min(calc(100% - 40px), 420px);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(200, 255, 34, 0.08), transparent 38%),
      rgba(57, 69, 80, 0.98);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
  }

  .menu-open .nav {
    display: grid;
    gap: 8px;
  }

  .nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: #f4f7f2;
    font-size: 15px;
    font-weight: 900;
    text-align: left;
  }

  .nav a::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acid);
    box-shadow: 0 0 16px rgba(200, 255, 34, 0.5);
  }

  .nav a:hover,
  .nav a:focus {
    border-color: rgba(200, 255, 34, 0.32);
    background: rgba(200, 255, 34, 0.1);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero__aside {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .hero__inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header__inner {
    min-height: 72px;
  }

  .brand__title {
    font-size: 13px;
  }

  .brand__image {
    max-width: 172px;
    max-height: 48px;
  }

  .brand__city,
  .messengers {
    display: none;
  }

  .nav {
    top: 72px;
    width: min(calc(100% - 28px), 380px);
  }

  .hero {
    min-height: auto;
    padding: 82px 0 32px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(77, 92, 107, 0.68) 0%, rgba(77, 92, 107, 0.88) 42%, var(--bg) 100%),
      linear-gradient(90deg, rgba(77, 92, 107, 0.82), rgba(77, 92, 107, 0.2));
  }

  .hero__media {
    height: 52vh;
  }

  .hero__media img {
    object-position: 62% top;
  }

  .hero__inner {
    min-height: auto;
    gap: 24px;
  }

  .hero__content {
    padding-top: 38px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(29px, 8.6vw, 38px);
    line-height: 1.05;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero__benefits {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-card__body {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }
}

.section {
  position: relative;
  padding: 92px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--bg);
}

.section:nth-of-type(odd) {
  background:
    linear-gradient(135deg, rgba(200, 255, 34, 0.055), transparent 42%),
    linear-gradient(180deg, #526171, #44515d);
}

.section__inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section h2,
.section h3 {
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.section h2 {
  max-width: 900px;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.12;
}

.section h3 {
  font-size: 20px;
  line-height: 1.2;
}

.section p {
  color: #dce4e8;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.section-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--acid) !important;
  background: rgba(200, 255, 34, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 18px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

.section-heading--compact {
  margin-top: 62px;
}

.split-section__grid,
.tech-grid,
.lead-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 34px;
  align-items: center;
}

.split-section .split-section__grid {
  align-items: start;
}

.split-section__grid > *,
.tech-grid > *,
.lead-grid > *,
.contacts-grid > *,
.price-grid > *,
.process-grid > *,
.why-grid > *,
.extra-grid > *,
.review-grid > *,
.stats-grid > * {
  min-width: 0;
}

.image-frame,
.map-card,
.lead-form,
.price-note,
.new-car-banner,
.accent-statement {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.image-frame {
  margin: 0;
  min-height: 420px;
}

.image-frame img,
.service-card img,
.why-card img,
.process-card img,
.works-slide img,
.new-car-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame--tall {
  min-height: 610px;
}

.split-section:not(.company-section) .image-frame {
  position: sticky;
  top: 108px;
  min-height: 0;
  height: auto;
}

.split-section:not(.company-section) .image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: rgba(15, 20, 23, 0.28);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-list p {
  margin: 0 0 4px;
  color: #fff;
  font-weight: 900;
}

.check-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.check-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(200, 255, 34, 0.6);
}

.tech-grid {
  align-items: stretch;
}

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

.mini-card,
.process-card,
.service-card,
.why-card,
.review-shot {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.mini-card {
  padding: 20px;
}

.mini-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #101410;
  background: var(--acid);
  font-size: 24px;
  font-weight: 900;
}

.mini-card p,
.process-card p,
.service-card p,
.why-card p {
  margin-bottom: 0;
  color: #cbd5da;
}

@media (min-width: 1081px) {
  .tech-section {
    padding: 72px 0;
  }

  .tech-section .section-heading {
    margin-bottom: 26px;
  }

  .tech-section .tech-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.8fr);
    gap: 28px;
  }

  .tech-section .image-frame--tall {
    min-height: 0;
    height: 100%;
  }

  .tech-section .image-frame--tall img {
    height: 100%;
    object-fit: cover;
  }

  .tech-section .mini-card {
    padding: 14px;
  }

  .tech-section .mini-card__icon {
    width: 28px;
    height: 28px;
    margin-bottom: 9px;
    font-size: 20px;
  }

  .tech-section .mini-card h3 {
    font-size: 16px;
    line-height: 1.15;
  }

  .tech-section .mini-card p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.38;
  }
}

.process-block {
  margin-top: 64px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 255, 34, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.process-carousel {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.process-grid {
  display: flex;
  gap: 16px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.process-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.process-grid img {
  -webkit-user-drag: none;
  user-select: none;
}

.process-grid::-webkit-scrollbar {
  display: none;
}

.process-card {
  display: grid;
  flex: 0 0 clamp(360px, 42vw, 570px);
  grid-template-rows: auto auto auto 1fr;
  gap: 0;
  scroll-snap-align: start;
}

.process-card__num {
  display: inline-flex;
  width: max-content;
  margin: 18px 18px 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--acid);
  background: rgba(200, 255, 34, 0.1);
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 800;
}

.process-card h3 {
  padding: 14px 18px 0;
}

.process-card p {
  padding: 0 18px 22px;
}

.process-card img {
  order: -1;
  width: 100%;
  height: 300px;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: rgba(15, 20, 23, 0.28);
}

.price-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 255, 34, 0.055), transparent 34%),
    rgba(255, 255, 255, 0.065);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.price-card__visual {
  display: grid;
  place-items: end center;
  min-height: 205px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.price-card__visual img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  object-position: center;
}

.price-card__body {
  display: grid;
  gap: 13px;
  padding: 18px 2px 2px;
}

.price-card h3 {
  min-height: 48px;
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

.price-card__class {
  min-height: 44px;
  margin: 0;
  color: #dce4e8;
  line-height: 1.45;
}

.price-card__lines {
  display: grid;
  gap: 4px;
  color: #edf3ef;
}

.price-card__lines p {
  margin: 0;
  color: #dce4e8;
}

.price-card__lines span {
  color: #eef3ef;
}

.price-card__lines strong {
  color: var(--acid);
  font-size: 16px;
  font-weight: 900;
}

.price-card__lines small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.price-card__button {
  justify-self: start;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
}

.materials-section {
  background:
    radial-gradient(circle at 16% 8%, rgba(200, 255, 34, 0.1), transparent 28%),
    #4d5c6b;
}

.materials-carousel {
  display: grid;
  gap: 18px;
}

.materials-carousel:not(.is-scrollable) .carousel-controls {
  display: none;
}

.materials-grid {
  display: flex;
  gap: 18px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.materials-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.materials-grid img {
  -webkit-user-drag: none;
  user-select: none;
}

.materials-grid::-webkit-scrollbar {
  display: none;
}

.material-card {
  display: grid;
  flex: 0 0 calc((100% - 54px) / 4);
  grid-template-rows: 190px 1fr;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 255, 34, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  scroll-snap-align: start;
}

.material-card__image {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 82%, rgba(200, 255, 34, 0.22), transparent 36%),
    rgba(12, 15, 17, 0.18);
}

.material-card__image img {
  width: 100%;
  max-height: 158px;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.3));
}

.material-card__content {
  display: grid;
  gap: 10px;
  align-content: space-between;
  padding: 16px;
}

.material-card__content span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(200, 255, 34, 0.28);
  border-radius: 999px;
  color: var(--acid);
  background: rgba(200, 255, 34, 0.09);
  font-size: 12px;
  font-weight: 900;
}

.material-card__content h3 {
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.12;
}

.material-card__button {
  justify-self: start;
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
}

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

.material-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.material-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 18, 0.72);
  backdrop-filter: blur(8px);
}

.material-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
  width: min(920px, 100%);
  max-height: min(82vh, 680px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 255, 34, 0.08), transparent 36%),
    #4b5967;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.material-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #101410;
  background: var(--acid);
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}

.material-modal__image {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 34px;
  background:
    radial-gradient(circle at 50% 82%, rgba(200, 255, 34, 0.2), transparent 38%),
    rgba(12, 15, 17, 0.18);
}

.material-modal__image img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.32));
}

.material-modal__content {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 42px 38px 38px;
  overflow-y: auto;
}

.material-modal__content span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(200, 255, 34, 0.28);
  border-radius: 999px;
  color: var(--acid);
  background: rgba(200, 255, 34, 0.09);
  font-size: 12px;
  font-weight: 900;
}

.material-modal__content h3 {
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.material-modal__content p {
  margin: 0;
  color: #dce4e8;
  font-size: 16px;
  line-height: 1.58;
}

.service-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  align-content: start;
}

.service-card > div {
  display: grid;
  position: relative;
  z-index: 1;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.service-card strong {
  color: var(--acid);
  font-size: 18px;
}

.text-link {
  color: var(--acid);
  font-weight: 900;
}

.price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
}

.price-note p {
  margin: 0;
}

.new-car-banner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 48px;
}

.new-car-section .new-car-banner {
  margin-top: 0;
}

.new-car-banner > img {
  min-height: 460px;
}

.new-car-banner > div {
  padding: 34px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.tag-cloud span {
  padding: 9px 11px;
  border: 1px solid rgba(200, 255, 34, 0.24);
  border-radius: 999px;
  color: #f5ffe4;
  background: rgba(200, 255, 34, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card--wide {
  grid-template-rows: 260px 1fr;
}

.service-card--wide img,
.why-card img {
  position: static;
  z-index: auto;
  min-height: 0;
  background: rgba(15, 20, 23, 0.28);
}

.service-card--wide > div,
.why-card > div {
  color: var(--text);
}

.why-carousel {
  display: grid;
  gap: 18px;
}

.why-grid {
  display: flex;
  gap: 14px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.why-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.why-grid img {
  -webkit-user-drag: none;
  user-select: none;
}

.why-grid::-webkit-scrollbar {
  display: none;
}

.why-card {
  display: grid;
  flex: 0 0 calc((100% - 28px) / 3);
  grid-template-rows: 190px 1fr;
  scroll-snap-align: start;
  align-content: start;
}

.why-card > div {
  position: relative;
  z-index: 1;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.accent-statement {
  margin-top: 22px;
  padding: 24px;
  color: #101410;
  background: linear-gradient(135deg, var(--acid), var(--acid-2));
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 32px);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 30px;
}

.compare-card {
  min-width: 0;
}

.compare-slider {
  --position: 50%;
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(12, 15, 17, 0.8);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.compare-slider__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-slider__image--before {
  position: absolute;
  inset: 0;
}

.compare-slider__after {
  position: absolute;
  inset: 0;
  overflow: visible;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.compare-slider__after img {
  width: 100%;
  max-width: none;
}

.compare-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: rgba(255, 255, 255, 0.94);
  transform: translateX(-50%);
  z-index: 3;
}

.compare-slider__handle {
  position: absolute;
  top: 50%;
  left: var(--position);
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: #e51919;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.compare-slider__handle span {
  width: 22px;
  height: 18px;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) left 4px center / 7px 7px no-repeat,
    linear-gradient(225deg, transparent 50%, currentColor 50%) right 4px center / 7px 7px no-repeat;
}

.compare-slider__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare-card h3 {
  margin: 12px 0 0;
  color: #fff;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 800;
  line-height: 1.28;
}

.company-section p {
  font-size: 16px;
}

.company-section .split-section__grid {
  align-items: start;
}

.company-section .image-frame {
  position: sticky;
  top: 108px;
  min-height: 0;
  height: auto;
}

.company-section .image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: rgba(15, 20, 23, 0.28);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.stats-grid div {
  min-height: 94px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--acid);
  background: rgba(255, 255, 255, 0.07);
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 800;
}

.certificates-carousel {
  display: grid;
  gap: 18px;
}

.certificates-grid {
  display: flex;
  gap: 24px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.certificates-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.certificates-grid a,
.certificates-grid img {
  -webkit-user-drag: none;
  user-select: none;
}

.certificates-grid::-webkit-scrollbar {
  display: none;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.carousel-control {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.carousel-control:hover {
  border-color: rgba(200, 255, 34, 0.45);
  color: var(--acid);
  background: rgba(200, 255, 34, 0.1);
}

.carousel-control:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-control:disabled:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.certificate-card {
  flex: 0 0 clamp(360px, 32vw, 440px);
  min-width: 0;
  scroll-snap-align: start;
}

.certificate-card__image {
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(64, 77, 90, 0.75);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.certificate-card__image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 410px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.22));
}

.certificate-card h3 {
  margin: 14px 0 0;
  color: #fff;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.videos-section {
  background:
    linear-gradient(135deg, rgba(200, 255, 34, 0.08), transparent 42%),
    #44515d;
}

.videos-carousel {
  display: grid;
  gap: 18px;
}

.video-grid {
  display: flex;
  gap: 22px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.video-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.video-grid::-webkit-scrollbar {
  display: none;
}

.video-card {
  display: grid;
  flex: 0 0 clamp(340px, 42vw, 540px);
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  scroll-snap-align: start;
}

.video-card__media {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(200, 255, 34, 0.12), transparent 40%),
    rgba(13, 18, 20, 0.5);
  overflow: hidden;
}

.video-card video,
.video-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-card__vk-link,
.video-card--empty .video-card__media span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #0c1114;
  background: var(--acid);
  font-weight: 900;
}

.video-card h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.reviews-section {
  color: #111;
  background:
    linear-gradient(180deg, rgba(255, 204, 0, 0.14), rgba(255, 255, 255, 0)),
    #f8f8f5;
}

.reviews-section .section-kicker {
  width: max-content;
  max-width: 100%;
}

.reviews-section h2,
.reviews-section .section-lead {
  color: #111;
}

.reviews-yandex-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(340px, 1.35fr) minmax(150px, 0.6fr);
  align-items: center;
  gap: 20px;
  width: min(100%, 960px);
  margin: 0 auto 26px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 3px solid #efad35;
  border-radius: 28px;
  color: #111;
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 18, 8, 0.14);
  overflow: hidden;
}

.reviews-yandex-card__brand {
  min-width: 0;
  color: #111;
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  white-space: nowrap;
}

.reviews-yandex-card__brand span {
  color: #fc3f1d;
}

.reviews-yandex-card__bubble {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 76px;
  padding: 14px 18px;
  border: 3px solid #efad35;
  border-radius: 8px 8px 42px 8px;
  color: #111;
  background: #fffdf7;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 900;
  overflow: hidden;
}

.reviews-yandex-card__bubble span {
  min-width: 0;
  white-space: normal;
}

.reviews-yandex-card__bubble strong {
  flex: 0 1 auto;
  min-width: 0;
  color: #efad35;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.reviews-yandex-card__text {
  min-width: 0;
  color: #111;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  overflow-wrap: normal;
  word-break: normal;
}

.reviews-carousel {
  display: grid;
  gap: 18px;
}

.review-grid {
  display: flex;
  gap: 16px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.review-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.review-grid img {
  -webkit-user-drag: none;
  user-select: none;
}

.review-grid::-webkit-scrollbar {
  display: none;
}

.review-shot {
  display: grid;
  flex: 0 0 calc((100% - 48px) / 4);
  min-height: 260px;
  padding: 16px;
  border: 1px solid rgba(239, 173, 53, 0.35);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(24, 18, 8, 0.1);
  place-items: center;
  scroll-snap-align: start;
}

.review-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 320px;
  border-radius: 6px;
  object-fit: contain;
}

.review-shot__placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 18px;
  color: #101410;
  background: linear-gradient(135deg, #eef3ef, #c8ff22);
  font-weight: 900;
  text-align: center;
}

.review-shot img + .review-shot__placeholder,
.review-shot:has(img) .review-shot__placeholder {
  display: none;
}

.review-platforms {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 26px;
}

.review-platforms p {
  margin: 0;
  color: #111;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.review-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.review-platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  min-width: 150px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.review-platform__mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
}

.review-platform--yandex {
  color: #15120a;
  background: #ffcc00;
  box-shadow: 0 18px 46px rgba(255, 204, 0, 0.24);
}

.review-platform--yandex .review-platform__mark {
  color: #fff;
  background: #fc3f1d;
}

.review-platform--2gis {
  color: #fff;
  background: #19aa4b;
  box-shadow: 0 18px 46px rgba(25, 170, 75, 0.24);
}

.review-platform--2gis .review-platform__mark {
  color: #19aa4b;
  background: #fff;
}

.review-actions--left {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.lead-grid {
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.lead-form p {
  margin: 0;
  font-size: 13px;
}

.privacy-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px !important;
  align-items: start;
  color: #dce4e8 !important;
  font-size: 13px;
  font-weight: 600 !important;
  line-height: 1.45;
}

.lead-form .privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--acid);
}

.privacy-consent a,
.privacy-document a,
.cookie-banner a {
  color: var(--acid);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-grid {
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.contact-list p {
  margin: 0;
}

.contact-list a {
  color: #fff;
  font-weight: 900;
}

.map-card {
  display: grid;
  grid-template-rows: 1fr auto;
}

.map-card__embed,
.map-card__embed > div {
  min-height: 360px;
}

.map-card__embed {
  overflow: hidden;
}

.map-card__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-card > div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.map-card > .map-card__embed {
  padding: 0;
}

.map-card span {
  color: #dce4e8;
}

.site-footer {
  padding: 54px 0 24px;
  background: #394550;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__inner,
.site-footer__bottom {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) 1fr 1fr;
  gap: 30px;
}

.footer-brand p,
.site-footer__bottom p {
  color: #dce4e8;
}

.footer-nav,
.footer-contacts {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-nav a,
.footer-contacts a {
  color: #fff;
  font-weight: 800;
}

.contact-list__phone,
.footer-contacts__phone {
  color: var(--acid) !important;
  font-weight: 900;
}

.footer-contacts p {
  margin: 0;
  color: #dce4e8;
}

.site-footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom p {
  margin: 0;
  font-size: 13px;
}

.site-footer__bottom > p:first-child {
  flex: 0 1 790px;
  max-width: 790px;
}

.site-footer__credit {
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

.site-footer__credit a {
  color: #dce4e8;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__credit a:hover {
  color: var(--acid);
}

.page-main {
  padding-top: 82px;
}

.page-section {
  min-height: auto;
}

.page-content {
  max-width: 980px;
}

.page-content h1 {
  max-width: 860px;
  margin: 0 0 28px;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.page-content__body,
.privacy-document {
  display: grid;
  gap: 18px;
}

.privacy-document h2 {
  margin: 22px 0 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: 0;
}

.privacy-document p,
.privacy-document li {
  color: #dce4e8;
  line-height: 1.65;
}

.privacy-document ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(calc(100% - 32px), 980px);
  padding: 16px;
  border: 1px solid rgba(200, 255, 34, 0.22);
  border-radius: 8px;
  background: rgba(39, 49, 57, 0.97);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.26);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: #f4f7f2;
  font-size: 14px;
  line-height: 1.5;
}

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

.cookie-banner__actions .button {
  width: auto;
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .split-section__grid,
  .tech-grid,
  .lead-grid,
  .contacts-grid,
  .new-car-banner {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .price-grid,
  .why-grid,
  .compare-grid,
  .materials-grid,
  .certificates-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card,
  .process-card:nth-child(1),
  .process-card:nth-child(2),
  .process-card:nth-child(n + 3) {
    grid-column: auto;
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .reviews-yandex-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
    border-radius: 20px;
  }

  .reviews-yandex-card__brand {
    font-size: clamp(38px, 8vw, 68px);
  }

  .reviews-yandex-card__bubble {
    justify-content: flex-start;
    flex-wrap: wrap;
    min-height: 0;
  }

  .reviews-yandex-card__bubble strong {
    font-size: clamp(26px, 5.4vw, 42px);
  }

  .reviews-yandex-card__text {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .section__inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .section h2 {
    font-size: clamp(23px, 6.1vw, 30px);
  }

  .reviews-yandex-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    border-radius: 18px;
  }

  .reviews-yandex-card__bubble {
    justify-content: flex-start;
    flex-wrap: wrap;
    min-height: 0;
    padding: 14px 16px;
  }

  .reviews-yandex-card__text {
    text-align: left;
  }

  .video-card {
    flex-basis: min(88vw, 420px);
  }

  .section-lead {
    font-size: 16px;
  }

  .error-grid,
  .price-grid,
  .extra-grid,
  .stats-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    display: grid;
    gap: 10px;
  }

  .site-footer__bottom > p:first-child {
    max-width: none;
  }

  .site-footer__credit {
    text-align: left;
    white-space: normal;
  }

  .page-main {
    padding-top: 72px;
  }

  .page-content h1 {
    font-size: clamp(25px, 7vw, 34px);
  }

  .cookie-banner {
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(calc(100% - 24px), 980px);
    padding: 14px;
  }

  .cookie-banner__actions {
    justify-content: space-between;
  }

  .process-grid,
  .why-grid,
  .compare-grid,
  .materials-grid,
  .certificates-grid,
  .review-grid {
    display: flex;
    gap: 14px;
    margin-right: -14px;
    padding: 0 14px 10px 0;
    overflow-x: auto;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .process-grid::-webkit-scrollbar,
  .why-grid::-webkit-scrollbar,
  .compare-grid::-webkit-scrollbar,
  .materials-grid::-webkit-scrollbar,
  .certificates-grid::-webkit-scrollbar,
  .review-grid::-webkit-scrollbar {
    display: none;
  }

  .process-card,
  .why-card,
  .compare-card,
  .material-card,
  .certificate-card,
  .review-shot {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .material-card {
    flex-basis: min(76vw, 270px);
    grid-template-columns: 1fr;
    grid-template-rows: 150px 1fr;
  }

  .material-card__image {
    min-height: 0;
    padding: 14px;
  }

  .material-card__image img {
    max-height: 122px;
  }

  .material-card__content {
    gap: 9px;
    padding: 14px;
  }

  .material-card__content h3 {
    font-size: 16px;
  }

  .material-card__button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 11px;
  }

  .material-modal {
    padding: 12px;
    align-items: end;
  }

  .material-modal__panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 88vh;
  }

  .material-modal__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .material-modal__image {
    min-height: 180px;
    padding: 18px 56px 14px 18px;
  }

  .material-modal__image img {
    max-height: 170px;
  }

  .material-modal__content {
    gap: 10px;
    padding: 18px;
  }

  .material-modal__content h3 {
    font-size: 22px;
  }

  .material-modal__content p {
    font-size: 14px;
    line-height: 1.45;
  }

  .compare-grid {
    gap: 18px;
  }

  .compare-slider {
    aspect-ratio: 1.78 / 1;
  }

  .compare-card h3 {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.18;
  }

  .price-grid {
    gap: 20px;
  }

  .price-card {
    display: grid;
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
  }

  .price-card__visual {
    min-height: 0;
    height: 126px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  .price-card__visual img {
    width: 100%;
    height: 116px;
    object-fit: cover;
    object-position: center;
  }

  .price-card__body {
    gap: 7px;
    padding: 0;
  }

  .price-card h3 {
    min-height: 0;
    font-size: 15px;
    line-height: 1.16;
  }

  .price-card__class {
    min-height: 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .price-card__lines {
    gap: 2px;
    font-size: 12px;
  }

  .price-card__lines strong {
    font-size: 13px;
  }

  .price-card__lines small {
    font-size: 11px;
    line-height: 1.25;
  }

  .price-card__button {
    width: max-content;
    max-width: 100%;
    min-height: 38px;
    margin-top: 5px;
    padding: 0 13px;
    font-size: 11px;
    white-space: nowrap;
  }

  .review-platforms {
    gap: 10px;
    margin-top: 22px;
  }

  .review-platforms p {
    font-size: 16px;
  }

  .review-platforms .review-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .review-platform {
    min-width: 0;
    min-height: 52px;
    padding: 0 12px;
    font-size: 14px;
  }

  .review-platform__mark {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }

  .certificate-card__image {
    min-height: 260px;
    padding: 14px;
  }

  .certificate-card__image img {
    height: 232px;
  }

  .review-shot {
    min-height: 320px;
  }

  .image-frame,
  .image-frame--tall,
  .company-section .image-frame {
    min-height: 320px;
  }

  .split-section:not(.company-section) .image-frame,
  .company-section .image-frame {
    position: static;
    min-height: 0;
    height: auto;
  }

  .split-section:not(.company-section) .image-frame img,
  .company-section .image-frame img {
    height: auto;
  }

  .price-note {
    display: grid;
  }

  .new-car-banner > img {
    min-height: 300px;
  }

  .new-car-banner > div {
    padding: 22px;
  }

  .process-block {
    padding: 18px;
    overflow: hidden;
  }

  .process-card {
    min-height: auto;
    grid-template-rows: auto auto auto 1fr;
  }

  .process-card img {
    height: 230px;
  }

  .map-card__embed,
  .map-card__embed > div,
  .map-card__embed iframe {
    min-height: 260px;
  }
}
