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

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #292931;
  --bg-soft: #23242b;
  --bg-deep: #17181d;

  --panel: rgba(24, 24, 29, 0.78);
  --panel-strong: rgba(18, 18, 22, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.025);
  --panel-line: rgba(255, 255, 255, 0.08);
  --panel-line-soft: rgba(255, 255, 255, 0.07);

  --text: #f4f5f7;
  --muted: #9ba7b6;
  --muted-strong: #c6ced8;

  --accent: #9fb4cc;
  --accent-strong: #dbe6f3;
  --accent-gold: #d9a423;
  --accent-gold-soft: #f0c861;
  --accent-gold-deep: #b98612;
  --accent-gold-glow: rgba(217, 164, 35, 0.16);

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.2);
  --form-glow: rgba(169, 176, 183, 0.18);

  --radius-2xl: 34px;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 32px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.4s ease;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.025), transparent 25%),
    linear-gradient(180deg, var(--bg-deep) 0%, #1f2026 38%, var(--bg) 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
}

::selection {
  background: rgba(219, 230, 243, 0.22);
  color: #fff;
}

/* Base layout */

.site-shell {
  min-height: 100vh;
}

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

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 22px;
}

.section-head--cars {
  margin-bottom: 24px;
}

.section-head--about {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.section-text {
  max-width: 740px;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 35px);
  line-height: 1.1;
  letter-spacing: -0.028em;
}


@media (min-width: 1200px) {
  .section-head,
  .section-head--about {
    max-width: none;
  }

  .section-title,
  .form-aside h2 {
    white-space: nowrap;
  }
}

.section-text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.section-text--about {
  max-width: 100%;
  line-height: 1.82;
  text-wrap: pretty;
}

.section--about-last {
  padding-top: 72px;
}

/* Shared surfaces */

.panel,
.card-surface {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--panel-line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel--padded {
  padding: 30px;
}

.card-glass {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  border: 1px solid var(--panel-line-soft);
}

.card-hover {
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
}

.card-hover:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(240, 200, 97, 0.2);
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(240, 200, 97, 0.07) inset;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 70;
  backdrop-filter: blur(14px);
  background: #17181d0a;
}

.header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__mark {
  position: relative;
  overflow: visible;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: transparent;
  border: none;
  box-shadow: none;
}


.brand__mark--logo {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  background: transparent;
}
/* Сдвиг left: 0.5px;*/
.brand__mark-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;

}

.brand__text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: #f3f5f7;
  font-size: 18px;
}

.brand__text span {
  color: var(--accent-gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--muted-strong);
  font-size: 14px;
  transition:
    opacity var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
  transform-origin: center;
}

.nav a:hover {
  color: #fff;
  transform: scale(1.045);
}

.header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(240, 200, 97, 0.24);
  color: #16181f;
  background: linear-gradient(180deg, #f3c95a 0%, #d9a423 100%);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 221, 130, 0.08) inset;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.header__action:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.03);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 230, 157, 0.16) inset;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 80px;
}

.hero__panel {
  position: relative;
  min-height: 760px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(32, 33, 39, 0.16), rgba(18, 18, 22, 0.84)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.02), transparent 30%);
  /* Hero border: 1px solid rgba(255, 255, 255, 0.08); */
  box-shadow: var(--shadow);
}

.hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  filter: saturate(0.88) contrast(1.02) brightness(0.88);
  -webkit-mask-image:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 1) 26%, rgba(0, 0, 0, 0.82) 44%, rgba(0, 0, 0, 0.38) 62%, transparent 86%);
  mask-image:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 1) 26%, rgba(0, 0, 0, 0.82) 44%, rgba(0, 0, 0, 0.38) 62%, transparent 86%);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, transparent 0%, transparent 20%, rgba(23, 24, 29, 0.2) 48%, rgba(23, 24, 29, 0.68) 72%, rgba(23, 24, 29, 0.94) 100%),
    linear-gradient(90deg, rgba(23, 24, 29, 0.92) 0%, rgba(23, 24, 29, 0.44) 38%, rgba(23, 24, 29, 0.44) 62%, rgba(23, 24, 29, 0.92) 100%),
    linear-gradient(180deg, rgba(23, 24, 29, 0.06) 0%, rgba(23, 24, 29, 0.36) 34%, rgba(23, 24, 29, 0.9) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 760px;
  padding: 74px 60px 54px;
}

.hero__content--compact {
  justify-content: center;
}

.hero__top {
  max-width: 780px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--accent-gold-soft);
  background: rgba(217, 164, 35, 0.08);
  border: 1px solid rgba(217, 164, 35, 0.18);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  margin: 18px 0 0;
  max-width: 900px;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero__title span {
  display: block;
  color: rgba(244, 245, 247, 0.94);
}

.hero__title--single {
  max-width: 720px;
}

.hero__text {
  margin: 22px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.86;
}

.hero__text--lead {
  margin-top: 20px;
  max-width: none;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
  color: #f3f5f7;
  font-weight: 500;
}

.hero__text--inline {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hero__text-static {
  flex: 0 0 auto;
}

.hero__typed-word {
  /* display: inline-flex; Из-за этого прыгает текст при смене страны */
  align-items: center;
  justify-content: flex-start;
  width: 7.2ch;
  min-width: 7.2ch;
  max-width: 7.2ch;
  color: var(--accent-gold-soft);
  text-shadow: 0 0 26px rgba(217, 164, 35, 0.18);
}

.hero__caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 5px;
  background: currentColor;
  animation: hero-caret-blink 0.9s steps(1) infinite;
}

.hero__description {
  max-width: 700px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.86;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero__bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero__fact {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(24, 24, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero__fact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.hero__fact span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@keyframes hero-caret-blink {
  0%,
  50% {
    opacity: 1;
  }

  50.01%,
  100% {
    opacity: 0;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.btn--primary {
  color: #16181f;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  background: linear-gradient(180deg, #f3c95a 0%, #d9a423 100%);
  box-shadow: 0 16px 36px rgba(217, 164, 35, 0.16);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f5d06a 0%, #dfa92c 100%);
}

.btn--secondary {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.btn--secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
}

/* Generic content blocks kept for compatibility */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.about-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.88;
}

.about-copy + .about-copy {
  margin-top: 16px;
}

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

.metric {
  padding: 22px;
  border-radius: 20px;
  background: var(--panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Directions / country cards */

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

.country-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  /*border: 1px solid var(--panel-line-soft);*/
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.country-card:hover {
  transform: translateY(-4px) scale(1.022);
  border-color: rgba(240, 200, 97, 0.2);
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(240, 200, 97, 0.07) inset;
}

.country-card__flag {
  width: 72px;
  height: 48px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 10px;
  flex: 0 0 72px;
}

.country-card__flag-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.country-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.country-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
  font-size: 15px;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.steps--expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.steps > div,
.reasons > div {
  height: 100%;
}

.steps > div > .step,
.reasons > div > .reason {
  height: 100%;
}

.step {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.step__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.step:hover {
  transform: translateY(-4px) scale(1.022);
  border-color: rgba(240, 200, 97, 0.2);
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(240, 200, 97, 0.07) inset;
}

.step__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.step__num {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin: 0;
  color: rgba(240, 200, 97, 0.88);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step h3 {
  margin: 0 0 8px;
  min-height: 2.35em;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 600;
  line-height: 1.16;
}

.step p {
  margin: 0 0 14px;
  min-height: 4.9em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.step__sublist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step__sublist li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.6;
}

.step__sublist li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-gold);
  box-shadow: 0 0 14px rgba(217, 164, 35, 0.28);
}

/* Legacy reasons block kept for compatibility */

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.reason {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  border: 1px solid var(--panel-line-soft);
}

.reason__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.reason__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reason h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.015em;
  font-weight: 600;
  line-height: 1.18;
}

.reason p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
  font-size: 15px;
}

/* Cars */

.cars {
  overflow: hidden;
}

.cars__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.cars__track::-webkit-scrollbar,
.cars-marquee::-webkit-scrollbar {
  height: 10px;
}

.cars__track::-webkit-scrollbar-track,
.cars-marquee::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.cars__track::-webkit-scrollbar-thumb,
.cars-marquee::-webkit-scrollbar-thumb {
  background: rgba(200, 214, 231, 0.22);
  border-radius: 999px;
  border: 2px solid rgba(50, 51, 61, 0.9);
}

.cars__track,
.cars-marquee {
  scrollbar-color: rgba(200, 214, 231, 0.22) rgba(255, 255, 255, 0.04);
}

.cars-title__accent {
  color: var(--accent-gold-soft);
}

.country-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.country-switcher__button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    background var(--transition-fast);
}

.country-switcher__button:hover {
  transform: translateY(-1px);
  color: #fff;
}

.country-switcher__button.is-active {
  color: #11161d;
  border-color: rgba(240, 200, 97, 0.26);
  background: linear-gradient(180deg, #f3c95a 0%, #d9a423 100%);
  box-shadow: 0 10px 24px rgba(217, 164, 35, 0.18);
}

.country-lane {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 8px;
  padding-bottom: 8px;
  cursor: grab;
  user-select: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

@media (hover: none), (pointer: coarse) {
  .country-lane {
    touch-action: auto;
    overscroll-behavior-x: auto;
  }
}

.country-lane::-webkit-scrollbar {
  display: none;
}

.country-lane.is-dragging {
  cursor: grabbing;
}

.country-lane.is-dragging .car-card {
  pointer-events: none;
}

.country-lane__track {
  display: flex;
  width: max-content;
  gap: 18px;
  flex-wrap: nowrap;
}

.cars-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.cars-marquee__track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: cars-scroll 42s linear infinite;
}

.cars-marquee:hover .cars-marquee__track {
  animation-play-state: paused;
}

@keyframes cars-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 9px));
  }
}

.car-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 clamp(260px, 27vw, 320px);
  width: clamp(260px, 27vw, 320px);
  min-width: clamp(260px, 27vw, 320px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.028);
  /* border: 1px solid var(--panel-line-soft); */
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.car-card--interactive {
  transform-origin: center center;
}

.car-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.car-card__image {
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.car-card:hover .car-card__image {
  transform: scale(1.04);
}

.car-card--interactive:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(240, 200, 97, 0.2);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(240, 200, 97, 0.08) inset;
}

.car-card__body {
  padding: 20px;
}

.car-card__price {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #f3d37a;
  font-size: 13px;
  background: rgba(217, 164, 35, 0.08);
  border: 1px solid rgba(217, 164, 35, 0.14);
}

.car-card h3 {
  margin: 0 0 8px;
  min-height: 48px;
  font-size: 20px;
  letter-spacing: -0.015em;
  font-weight: 600;
  line-height: 1.18;
}

.car-card__meta {
  min-height: 24px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.cars-marquee .car-card__image-wrap {
  aspect-ratio: 4 / 3;
}

.cars-marquee .car-card__body {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Form */

.form-section {
  position: relative;
}

.form-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow);
  background: linear-gradient(270deg, rgba(32, 33, 39, 0.94), rgba(18, 18, 22, 0.98));
}

.form-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 26px;
  align-items: start;
}

.form-grid--contact {
  align-items: stretch;
}

.form-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  gap: 22px;
}

.form-aside h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.form-aside p {
  display: none;
}

.form-aside__points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.form-aside__point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.7;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-direct__phone {
  display: inline-flex;
  width: fit-content;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 600;
  color: var(--accent-gold-soft);
  text-shadow: 0 0 22px rgba(217, 164, 35, 0.14);
}

.contact-direct__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  white-space: nowrap;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.contact-direct__telegram span {
  white-space: nowrap;
}

.contact-direct__telegram:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(240, 200, 97, 0.22);
  background: rgba(217, 164, 35, 0.06);
}

.form-box {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  /* border: 1px solid rgba(255, 255, 255, 0.08); */
}

.form-stack {
  display: grid;
  gap: 16px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted-strong);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  outline: none;
  color: #fff;
  background: rgba(18, 18, 22, 0.72);
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(219, 230, 243, 0.34);
  background: rgba(18, 18, 22, 0.9);
  transform: translateY(-1px);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  min-height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3c95a 0%, #d9a423 100%);
  color: #16181f;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(217, 164, 35, 0.16);
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f5d06a 0%, #dfa92c 100%);
  box-shadow: 0 18px 40px rgba(217, 164, 35, 0.22);
}

.form-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.form-note a {
  text-decoration: underline;
}

.form-consents {
  display: grid;
  gap: 12px;
}

.consent-check {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
}

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

.consent-check__box {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 18, 22, 0.72);
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.consent-check__text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.consent-check__text a {
  text-decoration: underline;
}

.consent-check input:checked + .consent-check__box {
  background: linear-gradient(180deg, #f3c95a 0%, #d9a423 100%);
  border-color: rgba(240, 200, 97, 0.32);
  box-shadow: 0 8px 18px rgba(217, 164, 35, 0.16);
}

.consent-check input:checked + .consent-check__box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #11161d;
  border-bottom: 2px solid #11161d;
  transform: rotate(45deg);
}

.form-status {
  color: var(--muted-strong);
  font-size: 13px;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
}

.faq-item__summary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.faq-item__icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--accent-gold-soft);
  transform: translate(-50%, -50%);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.faq-item.is-open .faq-item__body {
  grid-template-rows: 1fr;
}

.faq-item__content {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px 0;
  transition: padding-bottom 0.32s ease;
}

.faq-item.is-open .faq-item__content {
  padding-bottom: 20px;
}

.faq-item__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 15px;
}

.faq-item__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.faq-item__list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.68;
}

.faq-item__list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-gold);
  box-shadow: 0 0 14px rgba(217, 164, 35, 0.28);
}

/* Footer */

.footer {
  padding: 36px 0 52px;
}

.footer__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--panel-soft);
  /* border: 1px solid rgba(255, 255, 255, 0.07); */
}

.footer__panel--extended {
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 28px;
}

.footer__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.footer__text,
.footer__list {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.footer__list {
  display: grid;
  gap: 6px;
}

.footer__list a {
  color: var(--muted);
}

.footer__interactive-link,
.footer__policy-link {
  width: fit-content;
  transition:
    color var(--transition-fast),
    text-shadow var(--transition-fast);
}

.footer__interactive-link:hover,
.footer__policy-link:hover {
  color: var(--accent-gold-soft);
  text-shadow: 0 0 18px rgba(217, 164, 35, 0.18);
}

.footer__list--requisites {
  gap: 8px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

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

.footer__policy-link {
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.footer__policy-link:hover {
  color: var(--accent-gold-soft);
  text-shadow: 0 0 18px rgba(217, 164, 35, 0.18);
}

/* Floating CTA */

.floating-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #11161d;
  background: radial-gradient(circle at 50% 50%, #f5d06a 0%, #d9a423 76%);
  border: 1px solid rgba(255, 222, 133, 0.5);
  box-shadow:
    0 0 0 0 rgba(217, 164, 35, 0.32),
    0 18px 36px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(217, 164, 35, 0.28);
  animation: floating-call-pulse 2.2s ease-in-out infinite;
}

.floating-call:hover {
  transform: translateY(-2px) scale(1.04);
}

@keyframes floating-call-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(217, 164, 35, 0.36),
      0 18px 36px rgba(0, 0, 0, 0.34),
      0 0 34px rgba(217, 164, 35, 0.28);
  }

  70% {
    box-shadow:
      0 0 0 16px rgba(217, 164, 35, 0),
      0 18px 36px rgba(0, 0, 0, 0.34),
      0 0 34px rgba(217, 164, 35, 0.24);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(217, 164, 35, 0),
      0 18px 36px rgba(0, 0, 0, 0.34),
      0 0 34px rgba(217, 164, 35, 0.28);
  }
}

/* Animations / effects */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

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

.has-cursor-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
  background:
    radial-gradient(
      220px circle at var(--mx, 50%) var(--my, 50%),
      rgba(217, 164, 35, 0.16),
      rgba(217, 164, 35, 0.07) 24%,
      transparent 62%
    );
}

@media (hover: hover) and (pointer: fine) {
  .has-cursor-glow:hover::before {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .has-cursor-glow::before {
    display: none;
  }
}

.has-icon-hover .step__icon,
.has-icon-hover .reason__icon {
  transition:
    transform var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base);
}

.has-icon-hover:hover .step__icon,
.has-icon-hover:hover .reason__icon {
  transform: scale(1.1);
  background: rgba(217, 164, 35, 0.08);
  border-color: rgba(217, 164, 35, 0.22);
}

/* Privacy */

.privacy {
  padding: 58px 0 92px;
}

.privacy__box {
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.privacy__back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted-strong);
  font-size: 14px;
}

.privacy__box h1 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3.8vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.privacy__box h2 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

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

.privacy__box ul {
  margin: 0;
  padding-left: 20px;
}

/* Legacy helpers kept for compatibility */

.about-copy-panel,
.about-metrics-panel {
  min-height: 100%;
}

/* Responsive */

@media (max-width: 1120px) {
  .split,
  .form-grid,
  .form-grid--contact,
  .footer__panel,
  .footer__panel--extended,
  .faq-grid,
  .reasons,
  .steps,
  .steps--expanded,
  .country-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__content,
  .hero__panel {
    min-height: 680px;
  }

  .step {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .header__inner {
    min-height: 68px;
    gap: 12px;
  }

  .header__action {
    min-height: 46px;
    min-width: 132px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    flex-shrink: 0;
  }

  .brand__mark--logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand__mark-image {
    transform: scale(1.04);
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand__text {
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    padding: 24px 0 64px;
  }

  .hero__content {
    min-height: 620px;
    padding: 34px 22px 22px;
  }

  .hero__panel {
    min-height: 620px;
    border-radius: 26px;
  }

  .hero__title {
    font-size: clamp(38px, 10vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.03em;
  }

  .hero__text--lead {
    font-size: clamp(22px, 5.8vw, 32px);
    line-height: 1.22;
  }

  .hero__text--inline {
    display: block;
    white-space: normal;
  }

  .hero__text-static {
    display: inline;
  }

  .hero__typed-word {
    width: 6.2ch;
    min-width: 6.2ch;
    max-width: 6.2ch;
  }

  .hero__description {
    font-size: 15px;
    line-height: 1.74;
  }

  .panel--padded,
  .form-panel,
  .footer__panel,
  .privacy__box {
    padding: 22px;
  }

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

  .country-switcher {
    gap: 8px;
  }

  .country-switcher__button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .country-lane {
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 4px;
    padding-bottom: 8px;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .country-lane__track {
    width: max-content;
  }

  .cars-marquee__track {
    animation-duration: 30s;
  }

  .car-card {
    width: 280px;
    min-width: 280px;
  }

  .car-card--interactive:hover {
    transform: translateY(-3px) scale(1.01);
  }

  .contact-direct__phone {
    font-size: 28px;
  }

  .floating-call {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}

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

  .brand__text {
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
  }

  .section-title {
    font-size: 26px;
    line-height: 1.14;
  }


  .header__inner {
    gap: 10px;
  }

  .brand__mark--logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .header__action {
    min-width: 118px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero__text--lead {
    font-size: clamp(21px, 6.4vw, 28px);
  }

  .hero__typed-word {
    width: 5.8ch;
    min-width: 5.8ch;
    max-width: 5.8ch;
  }

  .hero__actions,
  .footer__bottom {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .contact-direct__telegram {
    min-height: 56px;
    padding: 0 18px;
    font-size: 15px;
    gap: 10px;
  }

  .contact-direct__telegram svg {
    flex: 0 0 auto;
  }

  .form-aside h2 {
    font-size: 24px;
    line-height: 1.1;
  }

  .form-box {
    padding: 18px;
  }

  .privacy__box {
    padding: 22px 18px;
  }
}

/* Static HTML image compatibility */
.hero__image,
.car-card__image,
.country-card__flag-image {
  width: 100%;
  height: 100%;
}

.hero__image,
.car-card__image {
  display: block;
}

.country-card__flag-image {
  object-fit: cover;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status:empty {
  display: none;
}
