@font-face {
  font-family: "Formular";
  src: url("../fonts/Formular-Light.woff2") format("woff2"),
       url("../fonts/Formular-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formular";
  src: url("../fonts/Formular-Regular.woff2") format("woff2"),
       url("../fonts/Formular-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formular";
  src: url("../fonts/Formular-Bold.woff2") format("woff2"),
       url("../fonts/Formular-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Formular";
  src: url("../fonts/Formular-Black.woff2") format("woff2"),
       url("../fonts/Formular-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #292a2c;
  --yellow: #ffd035;
  --yellow-hover: #ffb803;
  --yellow-active: #e0b010;
  --bg: #ffffff;
  --gray-light: #f2f7fa;
  --gray-border: #dae5eb;
  --gray-dark: #dae5eb;
  --gray-mid: #d9d9d9;
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 30px;
  --radius-lg: 40px;
  --font: "Formular", system-ui, sans-serif;
  --header-h: 72px;
  --section-padding: 30px;
  --wp-admin-bar-h: 0px;
  --wp-admin-bar-sticky: 0px;
}

body.admin-bar {
  --wp-admin-bar-h: 32px;
  --wp-admin-bar-sticky: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --wp-admin-bar-h: 46px;
    --wp-admin-bar-sticky: 46px;
  }
}

/* WP: admin bar is absolute and scrolls away at ≤600 */
@media screen and (max-width: 600px) {
  body.admin-bar {
    --wp-admin-bar-sticky: 0px;
  }
}

.section--padding-top {
  padding-top: var(--section-padding);
}

.section--padding-bottom {
  padding-bottom: var(--section-padding);
}

.section--margin-top {
  margin-top: var(--section-padding);
}

.section--margin-bottom {
  margin-bottom: var(--section-padding);
}

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

a,
button,
[role="button"],
input,
select,
textarea,
label,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

#avtopark,
#preimushhestva,
#zaryadki,
#kalkulyator,
#otzyvy,
#kontakty {
  scroll-margin-top: calc(var(--header-h) + var(--wp-admin-bar-sticky) + 8px);
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--black);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.site-main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

button,
input {
  font: inherit;
}

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

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

.section-title {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.section-title--light {
  color: #fff;
}

.section-desc {
  margin: 0 auto 40px;
  max-width: 920px;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  line-height: 1.35;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 20px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

.btn:active {
  background: var(--yellow-active);
}

.btn--sm {
  min-height: 48px;
  padding: 16px 20px;
}

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

.label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 2px 6px 2px 3px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
  white-space: nowrap;
}

.label img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.label--promo {
  padding: 2px 6px 2px 3px;
}

.label--tariff {
  padding: 5px 8px;
  gap: 0;
}

.label--alt {
  background: var(--gray-light);
}

/* Header */
.site-header {
  position: absolute;
  top: var(--wp-admin-bar-h);
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0s ease, box-shadow 0.2s ease;
}

body:not(.has-hero) .site-header:not(.is-scrolled) {
  position: relative;
  top: auto;
  background: #fff;
}

.site-header-sentinel {
  height: 0;
  pointer-events: none;
}

.site-header.is-scrolled {
  position: fixed;
  top: var(--wp-admin-bar-sticky);
  background: #fff;
  box-shadow: 0 1px 0 rgba(41, 42, 44, 0.08);
}

@media screen and (max-width: 600px) {
  /* Absolute admin bar overlays the start of the page */
  body.admin-bar:not(.has-hero) .site-header:not(.is-scrolled) {
    margin-top: var(--wp-admin-bar-h);
  }
}

.site-header.is-scrolled .header__inner {
  padding-top: 0;
}

.site-header.is-scrolled .header__nav-links a::after {
  top: calc(100% + 8px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: var(--header-h);
  padding-top: 12px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.header__logo img {
  width: 45px;
  height: auto;
}

.header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
}

.header__brand-line {
  display: block;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  gap: 18px;
  margin-right: 0;
  min-width: 0;
  font-weight: 400;
  font-size: 13px;
}

.header__nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.header__nav-contacts {
  display: none;
}

.header__nav-links a {
  position: relative;
  text-decoration: none;
}

.header__nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + 13px);
  width: 100%;
  height: 0;
  border-bottom: 3px solid var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
  pointer-events: none;
}

.header__nav-links a:hover,
.header__nav-links a:focus-visible,
.header__nav-links a.is-active {
  opacity: 1;
  color: #111;
  text-decoration: none;
}

.header__nav-links a:hover::after,
.header__nav-links a:focus-visible::after,
.header__nav-links a.is-active::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: 0;
  flex-shrink: 0;
}

.header__phone {
  font-weight: 900;
  font-size: 17px;
  white-space: nowrap;
}

.header__messengers {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.messenger img {
  display: block;
  width: auto;
  height: 21px;
}

.messenger:hover {
  opacity: 0.7;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
  transition: 0.2s;
}

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

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

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

/* Hero */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 750;
  min-height: 750px;
  overflow: hidden;
  background: #e8eef2;
  padding-top: 72px;
  box-sizing: border-box;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: calc(750px - 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 0 40px;
}

.rating-card {
  position: absolute;
  left: 0;
  top: 60px;
  z-index: 2;
  box-sizing: border-box;
  width: 180px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(41, 42, 44, 0.1);
  text-align: center;
}

.rating-card__logos {
  display: block;
  width: 126px;
  height: auto;
  max-height: 33px;
  object-fit: contain;
}

.rating-card__desc {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  color: var(--black);
}

.rating-card__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
}

.rating-card__stars {
  display: flex;
  gap: 3px;
}

.rating-card__star {
  display: block;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--gray-mid);
}

.rating-card__star.is-on {
  color: var(--yellow);
}

.rating-card__value {
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
  color: var(--black);
}

.rating-card__count {
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
  color: var(--black);
}

.rating-card__caption {
  margin: 0;
  margin-top: auto;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: var(--black);
}

.rating-card__caption p {
  margin: 0;
}

.rating-card__caption strong {
  font-weight: 700;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 741px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.hero__title {
  margin: 0 0 20px;
  font-size: 40px;
  font-weight: 700;
  line-height: 100%;
}

.hero__subtitle {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.22;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__earn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}

.hero__earn img {
  width: 24px;
  height: 24px;
}

.hero__earn:hover {
  opacity: 1;
  color: #111;
}

@media (min-width: 1280px) {
  .hero {
    aspect-ratio: auto;
    min-height: 750px;
    max-height: 100vh;
    height: 100vh;
  }

  .hero--car {
    aspect-ratio: 1280 / 602;
    min-height: 602px;
    max-height: 100vh;
    height: auto;
  }

  .hero__inner {
    min-height: 0;
  }
}

/* Advantages */
.advantages {
  position: relative;
  z-index: 2;
}

.advantages__panel {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px;
  padding: 28px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.adv-col__media {
  position: relative;
  display: block;
  width: 128px;
  max-width: 100%;
  height: 76px;
  margin-bottom: 20px;
  overflow: hidden;
}

.adv-col__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.adv-col__title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
}

.adv-col__lead {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.adv-col__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.adv-col__list ul li {
  position: relative;
  padding: 0 0 10px;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--gray-dark);
  color: var(--black);
  font-size: 13px;
  line-height: 1.3;
}

.adv-col__list ul li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

/* Fleet */
.fleet .section-title {
  margin-bottom: 40px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.fleet__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  justify-content: start;
}

.fleet__more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.fleet__more[hidden] {
  display: none;
}

.fleet__more .btn {
  min-width: 200px;
}

.fleet__more .btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.car-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  min-height: 394px;
  padding: 30px;
  border: 0;
  border-radius: 40px;
  background: var(--gray-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.car-card:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(41, 42, 44, 0.08);
}

.car-card__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: unset;
}

.car-card__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
}

.car-card__media {
  position: relative;
  width: 100%;
  max-width: unset;
  height: 0;
  padding-top: 43.75%; /* 140 / 320 */
  overflow: hidden;
}

.car-card__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.car-card__body {
  display: flex;
  flex-direction: column;
}

.car-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
}

.car-card__title,
.car-card__price {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
  color: var(--black);
}

.car-card__title {
  flex: 1 1 auto;
  min-width: 0;
}

.car-card__price {
  flex: 0 0 auto;
  white-space: nowrap;
}

.car-card__offer {
  flex: 0 0 auto;
}

.car-card__line {
  width: 100%;
  height: 0;
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--gray-border);
}

.car-card__specs {
  margin: 0;
  display: grid;
  gap: 10px;
}

.car-card__spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 16px;
}

.car-card__specs dt {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: var(--black);
}

.car-card__specs dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  color: var(--black);
  text-align: right;
}

/* Calculator */
.calculator {
  position: relative;
  z-index: 1;
}

.calculator__head {
  max-width: 992px;
  margin: 0 auto 40px;
  text-align: center;
}

.calculator__head .section-title {
  margin-bottom: 24px;
}

.calculator__head .section-desc {
  margin: 0;
  max-width: none;
}

.calculator__panel {
  display: grid;
  grid-template-columns: 399px 639px;
  justify-content: space-between;
  gap: 62px;
  padding: 40px;
  border: 1px solid var(--gray-border);
  border-radius: 40px;
  background: #fff;
}

.calc-controls__title h3 {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
}

.calc-line {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--gray-border);
}

.calc-controls__title {
  margin-bottom: 20px;
}

.calc-field {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.calc-field:last-child {
  margin-bottom: 0;
}

.calc-field__label {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: var(--black);
}

.calc-select {
  position: relative;
  z-index: 2;
}

.calc-select.is-open {
  z-index: 5;
}

.calc-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.calc-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--gray-light);
  color: var(--black);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-select__trigger:hover {
  background: #e8eef2;
}

.calc-select__trigger:focus-visible,
.calc-select.is-open .calc-select__trigger {
  outline: none;
  border-color: var(--yellow);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 208, 53, 0.35);
}

.calc-select__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.calc-select.is-open .calc-select__chevron {
  transform: translateY(2px) rotate(225deg);
}

.calc-select__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(41, 42, 44, 0.12);
  scrollbar-width: thin;
  scrollbar-color: var(--gray-mid) transparent;
}

.calc-select__list[hidden] {
  display: none;
}

.calc-select__option {
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.calc-select__option:hover,
.calc-select__option.is-active {
  background: var(--gray-light);
}

.calc-select__option.is-selected {
  background: var(--yellow);
}

.calc-select__option.is-selected:hover {
  background: var(--yellow-hover);
}

.calc-tabs {
  display: flex;
  gap: 6px;
}

.calc-tabs--days {
  gap: 6px;
}

.calc-tabs--tariff {
  gap: 6px;
}

.calc-tab {
  flex: 1 1 0;
  min-height: 48px;
  padding: 12px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--gray-light);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.calc-tabs--days .calc-tab {
  flex: 1 1 51.86px;
  min-width: 0;
  padding: 12px 0;
}

.calc-tab:hover {
  background: #e8eef2;
}

.calc-tab.is-active,
.calc-tab:active {
  background: var(--yellow);
}

.calculator__results {
  --calc-results-gap: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--calc-results-gap);
  min-width: 0;
  align-items: start;
}

.calc-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.calc-col__title {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
}

.calc-col > .calc-line,
.calc-col__total .calc-line {
  box-sizing: content-box;
  width: 100%;
  margin: 0;
}

/* Continuous divider across both result columns (incl. gap). */
.calc-col:first-child > .calc-line,
.calc-col:first-child .calc-col__total .calc-line {
  width: calc(100% + (var(--calc-results-gap) / 2));
}

.calc-col:last-child > .calc-line,
.calc-col:last-child .calc-col__total .calc-line {
  width: calc(100% + (var(--calc-results-gap) / 2));
  margin-left: calc(var(--calc-results-gap) / -2);
}

.calc-col__rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 46px;
}

.calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  min-width: 0;
}

.calc-row span {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: #8c9097;
}

.calc-row strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  color: var(--black);
  white-space: nowrap;
}

.calc-col__total {
  margin-top: auto;
  padding-top: 46px;
}

.calc-col__total .calc-line {
  margin-bottom: 16px;
}

.calc-total {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.calc-total span {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: #8c9097;
}

.calc-total strong {
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
  color: var(--black);
}

.calc-total__note {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: #8c9097;
}

/* Charging hubs */
.hubs {
  padding: 68px 0 64px;
  background: var(--gray-light);
}

.hubs__head {
  max-width: 768px;
  margin: 0 auto 30px;
  text-align: center;
}

.hubs__head .section-title {
  margin-bottom: 24px;
}

.hubs__head .section-desc {
  margin: 0;
  max-width: none;
}

.hubs__media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.hubs__map-card,
.hubs__gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 580 / 370;
  overflow: hidden;
  border-radius: 40px;
  background: var(--gray-mid);
}

.hubs__gallery {
  touch-action: pan-y;
}

.hubs__map-card {
  min-height: 255px;
}

.hubs__map-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: #8c9097;
  font-size: 13px;
  line-height: 1.4;
}

.hubs__map-placeholder code {
  font-size: 12px;
  color: var(--black);
}

.hubs__map-card .ymaps-2-1-79-map,
.hubs__map-card > ymaps {
  border-radius: 40px;
}

[class*="ymaps"][class*="balloon_layout_panel"] {
  box-shadow: none;
}

.hubs__slide img,
.hubs__link img,
.hubs__link picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hubs__slides {
  position: absolute;
  inset: 0;
}

.hubs__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hubs__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hubs__link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.hubs__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(41, 42, 44, 0.12);
  transition: transform 0.15s ease, background 0.2s ease;
}

.hubs__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-left: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  transform: translateX(2px) rotate(45deg);
}

.hubs__arrow--prev {
  left: 23px;
}

.hubs__arrow--next {
  right: 23px;
}

.hubs__arrow--next::before {
  transform: translateX(-2px) rotate(-135deg);
}

.hubs__arrow:hover {
  background: var(--yellow);
}

.hubs__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
}

.hubs__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.hubs__dot.is-active {
  background: #fff;
}

.hubs__features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hubs__feature {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hubs__feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.hubs__feature-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.hubs__feature-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: var(--black);
  white-space: nowrap;
}

/* About */
.about {
  position: relative;
  z-index: 0;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}

.about > .container {
  position: relative;
  z-index: 1;
}

.about__bg {
  /* Figma 940×959; offset right -200 / bottom -102 → % of own size */
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(940px, 78.333vw); /* 940px at ≥1200 */
  height: auto;
  transform: translate(21.2765957447%, 10.6360792492%); /* 200/940, 102/959 */
  pointer-events: none;
  z-index: 0;
}

.about__bg img {
  display: block;
  width: 100%;
  height: auto;
}

.about__head {
  position: relative;
  z-index: 1;
  max-width: 918px;
  margin: 0 auto 40px;
  text-align: center;
}

.about__head .section-title {
  margin-bottom: 24px;
}

.about__head .section-desc {
  margin: 0;
  max-width: none;
}

.about__videos {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 20px;
}

.video-card {
  position: relative;
  width: 100%;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 580 / 370;
  background: var(--gray-mid);
}

.video-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.play-btn img {
  display: block;
  width: 72px;
  height: 72px;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.play-btn:active {
  transform: translate(-50%, -50%) scale(0.98);
}

/* Reviews */
.reviews {
  position: relative;
  padding: 96px 0 96px;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}

.reviews__bg {
  /* Figma 971×991; offset left -76 / top -242 → % of own size; +96px up (section padding) */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: min(971px, calc(971 / 1200 * 100vw));
  height: auto;
  pointer-events: none;
  transform: translate(-7.8269824923%, calc(-24.419778002% - 96px));
}

.reviews__bg img {
  display: block;
  width: 100%;
  height: auto;
}

.reviews > .container {
  position: relative;
}

.reviews > .container > :not(.reviews__bg) {
  position: relative;
  z-index: 1;
}

.reviews .section-title {
  margin-bottom: 30px;
}

.reviews__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 auto 30px;
}

.reviews__rating [itemprop="aggregateRating"],
.reviews__rating [itemprop="address"] {
  display: none;
}

.reviews__rating-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.reviews__rating-brand img {
  width: 24px;
  height: auto;
  object-fit: contain;
}

.reviews__rating-brand span {
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
  white-space: nowrap;
}

.reviews__rating-score {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.reviews__stars {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.reviews__star {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gray-mid);
}

.reviews__star.is-on {
  color: var(--yellow);
}

.reviews__rating-score strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.reviews__rating-note {
  margin: 0;
  max-width: 145px;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.reviews__rating-note p {
  margin: 0;
}

.reviews__rating-note strong {
  font-weight: 700;
}

.reviews__rating-count {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 2px;
}

a.reviews__rating-count:hover {
  color: var(--yellow);
}

.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

.review-video {
  position: relative;
  scroll-snap-align: start;
  width: 220px;
  height: 340px;
  overflow: hidden;
  border-radius: 30px;
  background: #d9d9d9;
}

.review-video > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-video .play-btn--sm {
  width: 72px;
  height: 72px;
}

.review-video .play-btn--sm img {
  width: 72px;
  height: 72px;
  opacity: 0.9;
}

.review-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.reviews__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.reviews__nav[hidden] {
  display: none !important;
}

.nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #49494b;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: translateX(2px) rotate(45deg);
}

.nav-btn--next::before {
  transform: translateX(-2px) rotate(-135deg);
}

/* Requirements */
.requirements__head {
  max-width: 992px;
  margin: 0 auto 18px;
  text-align: center;
}

.requirements__head .section-title {
  margin-bottom: 24px;
}

.requirements__head .section-desc {
  margin: 0 auto;
  max-width: 728px;
}

.requirements__body {
  display: grid;
  grid-template-columns: 238px 877px;
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}

.requirements__person {
  width: 238px;
  height: 297px;
  flex-shrink: 0;
}

.requirements__person img {
  display: block;
  width: 238px;
  height: 297px;
  object-fit: contain;
  object-position: bottom center;
}

.requirements__cols {
  display: grid;
  grid-template-columns: 180px 180px 180px 229px;
  gap: 36px;
  align-items: start;
  width: 877px;
  max-width: 100%;
  padding-top: 20px;
}

.req-card {
  display: grid;
  gap: 20px;
  padding-top: 55px;
}

.req-card__head {
  display: grid;
  gap: 12px;
}

.req-card__title-row {
  display: contents;
}

.req-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
}

.req-card__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.req-card__text {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.req-card--warn {
  gap: 35px;
  padding: 40px 30px;
  border: 1px solid var(--yellow);
  border-radius: 40px;
  background: transparent;
}

.req-card__warn-head {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.req-card__warn-head img {
  display: block;
  width: 36px;
  height: 36px;
}

.req-card--warn .req-card__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

/* Partners */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 10px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 8px 24px rgba(41, 42, 44, 0.06);
}

.partner-card__logo {
  height: 50px;
  display: flex;
  align-items: center;
}

.partner-card__logo img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.partner-card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.partner-card__text {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 123%;
}

/* Contacts */
.contacts__grid {
  display: grid;
  grid-template-columns: 280px 415px 445px;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
}

.contacts__title {
  margin: 0 0 24px;
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
}

.contacts__desc {
  margin: 0;
  max-width: 280px;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.contacts__form-wrap {
  position: relative;
  padding: 30px;
  border-radius: 40px;
  background: var(--gray-light);
}

.contacts__form-wrap h3 {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.contacts__map {
  position: relative;
  width: 445px;
  max-width: 100%;
  min-height: 312px;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: #d9d9d9;
  align-self: stretch;
}

.contacts__map-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: #8c9097;
  font-size: 13px;
  line-height: 1.4;
}

.contacts__map-placeholder code {
  font-size: 12px;
  color: var(--black);
}

.contacts__map .ymaps-2-1-79-map,
.contacts__map > ymaps {
  width: 100% !important;
  height: 100% !important;
  border-radius: 40px;
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  background: #fff;
}

.footer__label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.footer__bottom {
  background: var(--gray-light);
  padding: 46px 0;
}

.footer__bottom-inner {
  display: grid;
  grid-template-columns: 203px auto auto;
  grid-template-rows: auto auto;
  justify-content: space-between;
  gap: 24px 20px;
  align-items: start;
}

.footer__brand-block {
  display: flex;
  gap: 22px;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
}

.footer__logo {
  width: 45px;
  height: 46px;
  flex-shrink: 0;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer__brand-title {
  margin: 0 0 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
}

.footer__brand-sub {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
}

.footer__navs {
  display: grid;
  grid-template-columns: 102px 141px;
  justify-content: space-between;
  gap: 65px;
  width: 308px;
  padding-top: 10px;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.footer__nav {
  display: grid;
  gap: 18px;
}

.footer__nav a {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  color: var(--black);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--yellow-hover);
}

.footer__info {
  display: grid;
  grid-template-columns: 203px 180px;
  justify-content: space-between;
  gap: 62px;
  width: 445px;
  padding-top: 10px;
  grid-column: 3;
  grid-row: 1 / span 2;
}

.footer__office p,
.footer__hours p {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.footer__office p:last-child,
.footer__hours p:last-child {
  margin-bottom: 0;
}

.footer__legal {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.footer__disclaimer,
.footer__copy {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.footer__policy {
  font-size: 12px;
  line-height: 16px;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer__policy:hover {
  color: var(--yellow-hover);
}

/* Car single */
.hero--car {
  aspect-ratio: 1280 / 602;
  min-height: 602px;
  max-height: 100vh;
}

.hero--car .hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--car .label--promo {
  margin-bottom: 20px;
}

.hero--car .hero__title {
  margin-bottom: 20px;
}

.hero--car .hero__inner {
  min-height: calc(602px - 72px);
  padding-top: 20px;
}

.hero--car .hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 20px;
}

.hero--car .hero__subtitle {
  margin: 0;
}

.hero--car .hero__meta-sep {
  display: block;
  width: 0;
  height: 27px;
  border: 1px solid #cdd9e2;
  background: none;
  flex-shrink: 0;
}

.hero--car .hero__price {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22;
}

.car-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.car-details__grid:not(:has(.car-details__video)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.car-details__video {
  min-width: 0;
}

.video-card--car {
  aspect-ratio: 280 / 384;
  border-radius: 40px;
}

.car-panel {
  min-width: 0;
  padding: 0;
  padding-top: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.car-panel__title {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
}

.car-specs {
  margin: 0;
  display: grid;
}

.car-specs__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  column-gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-border);
}

.car-specs__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.car-specs__row:first-child {
  padding-top: 0;
}

.car-specs__label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.car-specs__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.car-specs__icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.car-specs dd {
  margin: 0;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.car-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.car-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.car-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.car-list li:first-child {
  padding-top: 0;
}

.car-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.car-list li::before {
  content: none;
}

.section-divider__line {
  border-top: 1px solid var(--gray-border);
}

.car-lead__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.car-lead__grid:not(:has(.car-gallery)) {
  grid-template-columns: minmax(0, 580px);
  justify-content: end;
}

.car-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 580 / 380;
  overflow: hidden;
  border-radius: 40px;
  background: var(--gray-mid);
  touch-action: pan-y;
}

.car-gallery__slides {
  position: absolute;
  inset: 0;
}

.car-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.car-gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.car-gallery__link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.car-gallery__slide img,
.car-gallery__link img,
.car-gallery__link picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 1px solid var(--gray-border);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.car-gallery__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-left: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  transform: translateX(2px) rotate(45deg);
}

.car-gallery__arrow--prev {
  left: 12px;
}

.car-gallery__arrow--next {
  right: 12px;
}

.car-gallery__arrow--next::before {
  transform: translateX(-2px) rotate(-135deg);
}

.car-gallery__arrow:hover {
  background: var(--yellow);
}

.car-gallery__dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
}

.car-gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.car-gallery__dot.is-active {
  background: #fff;
}

.car-lead__form-wrap {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 60px 60px;
  border-radius: 40px;
  background: var(--gray-light);
}

.car-lead__form-wrap h2 {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
}

.car-lead__form-wrap .lead-form {
  gap: 10px;
}

.car-lead__form-wrap .lead-form__agree {
  margin-top: 0;
}

/* Forms / modal */
.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form .btn {
  margin-top: 10px;
}

.lead-form__field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form__field input:hover {
  border-color: #c5d3db;
}

.lead-form__field input:focus {
  outline: none;
  border-color: var(--yellow);
}

.lead-form__field--error input,
.lead-form__field input.lead-form__input--error {
  border-color: #e24b4b;
}

.lead-form__agree {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
}

.lead-form__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.lead-form__check {
  display: block;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  box-sizing: border-box;
  border: 1px solid #dae5eb;
  border-radius: 4px;
  background-color: #f2f7fa;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 9px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lead-form__checkbox:checked + .lead-form__check {
  border-color: #ffd035;
  background-color: #ffd035;
  background-image: url("../img/check.svg");
}

.lead-form__checkbox:focus-visible + .lead-form__check {
  box-shadow: 0 0 0 3px rgba(255, 208, 53, 0.35);
}

.lead-form__agree--error .lead-form__check {
  border-color: #ee4a26;
  background-color: #f2f7fa;
  background-image: none;
}

.lead-form__agree-text {
  color: inherit;
}

.lead-form__agree-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacts .lead-form {
  gap: 10px;
}

.contacts .lead-form__field input {
  min-height: 52px;
  border-radius: 12px;
  border-color: transparent;
  background: #fff;
}

.contacts .lead-form__field--error input {
  border-color: #e24b4b;
}

.contacts .lead-form .btn {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
}

/* Honeypot */
.lead-form .hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Form submit loader (fasadia _to_block / _no-opacity) */
._to_block {
  transition: opacity 0.3s linear;
}

._to_block.blocked {
  pointer-events: none;
}

._to_block.blocked:not(._no-opacity) {
  opacity: 0.5;
}

._to_block._no-opacity.blocked {
  opacity: 1;
  overflow: hidden;
}

.block-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin: 0;
}

.block-overlay::before {
  content: "";
  width: 40px;
  height: 40px;
  border: 0.25em solid var(--yellow);
  border-right-color: transparent;
  border-radius: 50%;
  animation: volga-spin 0.8s linear infinite;
  z-index: 2;
}

._to_block._no-opacity.blocked .block-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  opacity: 0.45;
}

.contacts__form-wrap .block-overlay,
.contacts__form-wrap .block-overlay::after {
  border-radius: inherit;
}

@keyframes volga-spin {
  to {
    transform: rotate(360deg);
  }
}

.modal[hidden] {
  display: none;
}

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

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 42, 44, 0.55);
}

.modal__dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal__dialog h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Success modal (behavior like river-year popup-success) */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(41, 42, 44, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.success-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.success-modal[hidden] {
  display: none !important;
}

.success-modal.is-open[hidden] {
  display: flex !important;
}

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

html.is-nav-open {
  overflow: hidden;
}

body.is-nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.success-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 28px 36px 36px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.success-modal.is-open .success-modal__dialog {
  transform: translateY(0);
}

.success-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
}

.success-modal__close svg {
  display: block;
}

.success-modal__title {
  margin: 0 28px 14px;
  font-family: var(--font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  text-align: center;
}

.success-modal__text {
  margin: 0 auto;
  max-width: 420px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-text, #6b7280);
  text-align: center;
}

@media (max-width: 767px) {
  .success-modal__dialog {
    padding: 24px 20px 28px;
    border-radius: 20px;
  }

  .success-modal__title {
    margin-left: 24px;
    margin-right: 24px;
    font-size: 22px;
  }

  .success-modal__text {
    font-size: 14px;
  }
}

/* Responsive */
@media (min-width: 1101px) and (max-width: 1200px) {
  .header__actions {
    gap: 18px;
  }

  .header__nav-links {
    gap: 16px;
  }

  .header__phone {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .advantages__panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
  }

  .calculator__panel {
    grid-template-columns: 35% 1fr;
  }

  .car-details__grid {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 32px;
  }

  .car-details__video {
    grid-column: 1;
    grid-row: auto;
  }

  .car-panel--equipment,
  .car-panel--advantages {
    grid-column: 1 / -1;
  }

  .video-card--car {
    width: 100%;
    max-width: none;
    aspect-ratio: 280 / 384;
  }
}

@media (max-width: 1280px) {
  .requirements__body {
    grid-template-columns: 238px 1fr;
    gap: 40px;
    justify-content: stretch;
  }

  .requirements__cols {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .req-card--warn {
    padding: 30px 20px;
  }

  .contacts__grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: stretch;
  }

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

  .contacts__desc {
    max-width: 100%;
  }
}

@media (max-width: 1100px) {
  .fleet__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .car-card {
    width: 100%;
  }

  .car-card__head,
  .car-card__body,
  .car-card__media {
    width: 100%;
  }

  .car-panel {
    padding-top: 0;
  }

  .calculator__panel {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-content: stretch;
  }

  .calculator__results {
    --calc-results-gap: 40px;
  }

  .calc-col__rows {
    margin-top: 28px;
  }

  .calc-col__total {
    padding-top: 28px;
  }

  .car-lead__form-wrap {
    padding: 40px 28px;
  }

  .car-gallery {
    aspect-ratio: 580 / 380;
  }

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

  .contacts__map {
    width: 100%;
  }

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

  .footer__bottom-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

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

  .footer__navs {
    grid-column: 1;
    grid-row: 2;
  }

  .footer__info {
    grid-column: 2;
    grid-row: 2;
  }

  .footer__legal {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
  }

  .header__inner {
    justify-content: space-between;
    gap: 12px;
  }

  .site-header.is-nav-open {
    z-index: 300;
    background: #fff;
    box-shadow: 0 1px 0 rgba(41, 42, 44, 0.08);
  }

  .header__nav {
    position: fixed;
    top: calc(var(--header-h) + var(--wp-admin-bar-sticky));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 301;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-right: 0;
    padding: 12px 20px 24px;
    background: #fff;
    border-bottom: none;
    box-shadow: none;
    height: calc(100vh - var(--header-h) - var(--wp-admin-bar-sticky));
    height: calc(100dvh - var(--header-h) - var(--wp-admin-bar-sticky));
    max-height: none;
    overflow: hidden;
    touch-action: pan-y;
  }

  /* Open menu while header is still absolute under admin bar (≤600) */
  @media screen and (max-width: 600px) {
    body.admin-bar .site-header:not(.is-scrolled) .header__nav {
      top: calc(var(--header-h) + var(--wp-admin-bar-h));
      height: calc(100vh - var(--header-h) - var(--wp-admin-bar-h));
      height: calc(100dvh - var(--header-h) - var(--wp-admin-bar-h));
    }
  }

  .site-header.is-nav-open .header__nav,
  .header__nav.is-open {
    display: flex !important;
  }

  .header__nav-links {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    margin-right: 0;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .header__nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
  }

  .header__nav-links a:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .header__nav-links a.is-active {
    font-weight: 700;
    color: #111;
  }

  .header__nav-links a::after {
    content: none;
  }

  .header__nav-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 24px;
  }

  .header__nav-contacts .header__phone {
    display: block;
    font-size: 18px;
  }

  .header__nav-contacts .btn--sm {
    width: 100%;
    max-width: 280px;
  }

  .burger {
    display: block;
  }

  .header__actions .header__phone {
    display: none;
  }

  .header__actions {
    margin-left: 0;
    gap: 12px;
  }

  .header__brand {
    font-size: 13px;
  }

  .rating-card {
    position: relative;
    left: auto;
    top: auto;
    align-self: center;
    margin: 0 auto;
  }

  .hero {
    aspect-ratio: auto;
    min-height: auto;
    height: auto;
    padding-top: 72px;
  }

  .hero--car {
    min-height: 602px;
  }

  .hero__inner {
    min-height: auto;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 0 48px;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  :root {
    --section-padding: 25px;
  }

  .about__bg {
    display: none;
  }

  .hubs,
  .reviews {
    padding: 50px 0;
  }

  .footer__bottom {
    padding: 40px 0;
  }

  .site-header.is-scrolled {
    background: #fff;
  }

  .hero__title {
    font-size: 28px;
  }

  .car-lead__grid {
    grid-template-columns: 1fr;
  }

  .advantages {
    margin-top: 0;
  }

  .advantages__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding: 20px 16px;
  }

  .adv-col__media {
    width: 72px;
    height: 76px;
    margin-bottom: 12px;
  }

  .adv-col__title {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .adv-col__lead {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .adv-col__list ul li {
    font-size: 12px;
  }

  .fleet__grid,
  .about__videos,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

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

  .partner-card {
    gap: 12px;
    padding: 20px;
  }

  .partner-card__logo {
    height: 36px;
  }

  .partner-card__logo img {
    max-height: 32px;
  }

  .partner-card__title {
    font-size: 12px;
  }

  .partner-card__text {
    font-size: 11px;
    line-height: 123%;
  }

  .contacts__intro {
    grid-column: auto;
  }

  .contacts__desc {
    max-width: none;
  }

  .contacts__map {
    width: 100%;
    height: 260px;
  }

  .footer__bottom-inner {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .footer__brand-block,
  .footer__navs,
  .footer__info,
  .footer__legal {
    grid-column: auto;
    grid-row: auto;
  }

  .footer__navs,
  .footer__info {
    grid-template-columns: 1fr;
    width: 100%;
    padding-top: 0;
  }

  .footer__navs {
    gap: 10px;
  }

  .footer__info {
    gap: 24px;
  }

  .footer__nav {
    gap: 10px;
  }

  .requirements__body {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
  }

  .requirements__cols {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .req-card--ok {
    gap: 16px;
    padding: 28px 24px;
    border: 1px solid var(--gray-border);
    border-radius: 40px;
    background: transparent;
  }

  .req-card__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .req-card--ok .req-card__title {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
  }

  .req-card--warn {
    gap: 16px;
    padding: 28px 24px;
  }

  .about__videos {
    justify-content: stretch;
  }

  .calculator__results {
    --calc-results-gap: 40px;
    grid-template-columns: 1fr;
  }

  .calc-col:first-child > .calc-line,
  .calc-col:first-child .calc-col__total .calc-line,
  .calc-col:last-child > .calc-line,
  .calc-col:last-child .calc-col__total .calc-line {
    width: 100%;
    margin-left: 0;
  }

  .calc-col__rows {
    margin-top: 24px;
    gap: 20px;
  }

  .calc-col__total {
    padding-top: 24px;
  }

  .hubs__media {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hubs__features {
    flex-wrap: wrap;
    gap: 20px 32px;
    justify-content: flex-start;
  }

  .hubs__feature-text {
    white-space: normal;
  }

  .reviews__bg {
    display: none;
  }

  .reviews__rating {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
  }

  .reviews__rating-score {
    flex-wrap: wrap;
    justify-content: center;
  }

  .reviews__rating-note {
    max-width: none;
    width: 100%;
    text-align: center;
  }

  .car-card {
    width: 100%;
    margin-inline: auto;
  }

  .car-card__head,
  .car-card__body,
  .car-card__media {
    width: 100%;
  }

  .car-card__head {
    max-width: unset;
  }

  .car-card__media {
    max-width: unset;
  }

  .section-desc {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 20px;
  }

  .hubs,
  .reviews {
    padding: 40px 0;
  }

  .footer__bottom {
    padding: 35px 0;
  }
}

@media (max-width: 575px) {
  :root {
    --section-padding: 15px;
  }

  .hubs,
  .reviews {
    padding: 30px 0;
  }

  .footer__bottom {
    padding: 30px 0;
  }

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

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

  .hubs__feature {
    width: 100%;
  }

  .car-details__grid {
    grid-template-columns: 1fr;
  }

  .car-details__video {
    grid-column: auto;
    grid-row: auto;
  }

  .car-panel--equipment,
  .car-panel--advantages {
    grid-column: auto;
  }

  .hero--car .hero__meta {
    flex-direction: column;
  }

  .hero--car .hero__meta-sep {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header__actions .btn--sm {
    display: none;
  }

  .car-card,
  .calculator__panel,
  .advantages__panel,
  .partner-card,
  .contacts__form-wrap {
    padding: 20px;
  }
}

/* 404 */
.error-page__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 60px;
  text-align: center;
}

.error-page__code {
  margin: 0;
  font-size: clamp(60px, 4.24px + 9.7vw, 140px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--yellow);
}

.error-page__subtitle {
  margin: 0 0 30px;
  font-size: clamp(22px, 5.27px + 2.91vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.error-page__actions {
  display: flex;
  justify-content: center;
}

/* Default WP page */
.page-content__title {
  margin: 0 0 24px;
  font-size: clamp(28px, 2vw + 18px, 40px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--black);
}

.page-content__body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
}

.page-content__body > *:first-child {
  margin-top: 0;
}

.page-content__body > *:last-child {
  margin-bottom: 0;
}

.page-content__body p,
.page-content__body ul,
.page-content__body ol {
  margin: 0 0 1.3em;
}

.page-content__body ul,
.page-content__body ol {
  padding-left: 1.25em;
}

.page-content__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-content__body h2,
.page-content__body h3 {
  margin: 1.4em 0 0.6em;
  font-weight: 700;
  line-height: 1.25;
}

.page-content__body h2 {
  font-size: 24px;
}

.page-content__body h3 {
  font-size: 20px;
}

.page-content__body mark.doc-missing,
.page-content__body .doc-missing {
  background: #ffe566;
  color: var(--black);
  padding: 0 0.15em;
}

/* Content tables */
.content table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.4;
  overflow-x: auto;
  display: block;
}

@media (min-width: 768px) {
  .content table {
    display: table;
    overflow-x: visible;
  }
}

.content thead th {
  background: var(--gray-light);
  font-weight: 700;
  color: var(--black);
}

.content th,
.content td {
  padding: 12px 16px;
  border: 1px solid var(--gray-border);
  text-align: left;
  vertical-align: top;
  color: var(--black);
}

.content tbody tr:nth-child(even) th,
.content tbody tr:nth-child(even) td {
  background: rgba(242, 247, 250, 0.55);
}

.content tbody tr:hover th,
.content tbody tr:hover td {
  background: rgba(255, 208, 53, 0.18);
}

.content table a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* WP [gallery] shortcode */
.content .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  clear: both;
}

.content .gallery .gallery-item {
  margin: 0;
  padding: 0;
  float: none;
  text-align: left;
  width: calc(50% - 6px);
}

.content .gallery-columns-1 .gallery-item {
  width: 100%;
}

.content .gallery-columns-2 .gallery-item {
  width: calc(50% - 6px);
}

.content .gallery-columns-3 .gallery-item {
  width: calc(33.333% - 8px);
}

.content .gallery-columns-4 .gallery-item,
.content .gallery-columns-5 .gallery-item,
.content .gallery-columns-6 .gallery-item,
.content .gallery-columns-7 .gallery-item,
.content .gallery-columns-8 .gallery-item,
.content .gallery-columns-9 .gallery-item {
  width: calc(25% - 9px);
}

.content .gallery-icon {
  margin: 0;
}

.content .gallery-icon a {
  position: relative;
  display: block;
  padding-top: 67%;
  overflow: hidden;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  opacity: 1;
}

.content .gallery-icon a:hover {
  opacity: 0.92;
}

.content .gallery-icon img,
.content .gallery-icon picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
}

.content .gallery-icon picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content .gallery-caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(41, 42, 44, 0.72);
}

@media (max-width: 1100px) {
  .content .gallery-columns-3 .gallery-item {
    width: calc(50% - 6px);
  }

  .content .gallery-columns-4 .gallery-item,
  .content .gallery-columns-5 .gallery-item,
  .content .gallery-columns-6 .gallery-item,
  .content .gallery-columns-7 .gallery-item,
  .content .gallery-columns-8 .gallery-item,
  .content .gallery-columns-9 .gallery-item {
    width: calc(33.333% - 8px);
  }
}

@media (max-width: 767px) {
  .content .gallery {
    gap: 10px;
  }

  .content .gallery .gallery-item,
  .content .gallery-columns-2 .gallery-item,
  .content .gallery-columns-3 .gallery-item,
  .content .gallery-columns-4 .gallery-item,
  .content .gallery-columns-5 .gallery-item,
  .content .gallery-columns-6 .gallery-item,
  .content .gallery-columns-7 .gallery-item,
  .content .gallery-columns-8 .gallery-item,
  .content .gallery-columns-9 .gallery-item {
    width: calc(50% - 5px);
  }

  .content .gallery-columns-1 .gallery-item {
    width: 100%;
  }

  .content th,
  .content td {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  padding: 16px 0;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(41, 42, 44, 0.12);
}

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

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
}

.cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: var(--black);
}

.cookie-banner__text a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__text a:hover {
  color: var(--yellow-hover);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-banner__reject {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 20px;
  border: 1px solid rgba(41, 42, 44, 0.2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--black);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  cursor: pointer;
}

.cookie-banner__reject:hover {
  border-color: var(--black);
}

@media (max-width: 767px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn,
  .cookie-banner__reject {
    flex: 1 1 auto;
    text-align: center;
  }
}
