:root {
  --graphite: #1a1a1a;
  --graphite-2: #262626;
  --ink: #242424;
  --muted: #686868;
  --paper: #f7f7f4;
  --white: #ffffff;
  --line: #dedbd4;
  --red: #b51f2c;
  --red-dark: #8f1620;
  --gold: #c9902f;
  --gold-soft: #f3dfb9;
  --green: #2f6b57;
  --blue: #2f5f7d;
  --shadow: 0 18px 45px rgba(26, 26, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(26, 26, 26, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(104px, 34vw, 156px);
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.nav {
  display: none;
}

.header-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
}

.header-phone,
.header-button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.header-button {
  display: none;
}

.section {
  padding: 64px 0;
  scroll-margin-top: 92px;
}

.section-dark {
  background: var(--graphite);
  color: var(--white);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--gold);
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 54px);
  font-weight: 850;
  line-height: 1.02;
  overflow-wrap: break-word;
}

.section-heading p,
.final-cta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.section-dark .section-heading p,
.section-dark .final-cta p,
.hero-subline {
  color: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 46px 0 54px;
  background: var(--graphite);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(26, 26, 26, 0.82) 55%, rgba(26, 26, 26, 0.96) 100%),
    url("assets/source/2027-hyundai-avante-south-korea.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 82% 28%, rgba(181, 31, 44, 0.2), transparent 34%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.hero-copy {
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(201, 144, 47, 0.14);
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 7vw, 68px);
  font-weight: 850;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.hero-subline {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: clamp(16px, 3.8vw, 21px);
  line-height: 1.42;
}

.hero-subline strong {
  color: var(--white);
  white-space: nowrap;
}

.hero-benefits {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.hero-benefits article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-benefits span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-benefits strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}

.hero-benefits p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-side {
  width: 100%;
  max-width: 520px;
}

.hero-price-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28);
}

.hero-price-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-price-card > strong {
  color: var(--red);
  font-size: clamp(42px, 10vw, 62px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-price-card__rows {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-price-card__rows b {
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

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

.button-ghost {
  border-color: rgba(26, 26, 26, 0.24);
  background: transparent;
  color: var(--ink);
}

.section-dark .button-ghost,
.hero .button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.form-note,
.small-note,
.final-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero .form-note {
  color: rgba(255, 255, 255, 0.56);
}

.calculator-section,
.price-section {
  background: #eeeeea;
}

.engine-toggle {
  display: grid;
  gap: 8px;
  margin: 0 auto 18px;
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.engine-toggle button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.engine-toggle button.is-active {
  background: var(--graphite);
  color: var(--white);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

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

.compare-table thead th {
  background: var(--graphite);
  color: var(--white);
  font-size: 14px;
}

.compare-table tbody th {
  color: var(--red);
  width: 28%;
}

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

.overpay-row td:last-child {
  background: rgba(181, 31, 44, 0.08);
  color: var(--red);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.center-action .button {
  max-width: 360px;
}

.three-grid,
.feature-grid,
.version-grid,
.trust-grid {
  display: grid;
  gap: 14px;
}

.info-panel,
.feature-card,
.version-card,
.trust-card,
.contract-card,
.dimension-card,
.interior-card,
.power-card,
.soft-cta,
.bitrix-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-panel,
.feature-card,
.trust-card,
.contract-card,
.power-card,
.soft-cta,
.interior-card {
  padding: 18px;
}

.panel-number,
.version-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-panel h3,
.feature-card h3,
.version-card h3,
.trust-card strong,
.interior-card h3,
.contract-card h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.info-panel p,
.feature-card p,
.version-card p,
.trust-card p,
.interior-card p,
.contract-card p,
.power-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.legal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(201, 144, 47, 0.38);
  border-radius: 8px;
  padding: 14px;
  background: rgba(201, 144, 47, 0.1);
  font-weight: 850;
}

.legal-strip a {
  color: var(--red);
}

.util-section {
  position: relative;
  overflow: hidden;
}

.util-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.power-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.power-scale {
  position: relative;
  height: 128px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #efeee9;
}

.power-zone {
  position: absolute;
  top: 0;
  bottom: 0;
}

.power-zone--green {
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(47, 107, 87, 0.22), rgba(47, 107, 87, 0.44));
}

.power-zone--red {
  left: 40%;
  right: 0;
  background: linear-gradient(90deg, rgba(181, 31, 44, 0.12), rgba(181, 31, 44, 0.28));
}

.limit-line {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 3px solid var(--red);
  padding: 12px 0 0 8px;
  color: var(--red);
  font-weight: 900;
}

.power-marker {
  position: absolute;
  bottom: 18px;
  display: inline-flex;
  max-width: 150px;
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--graphite);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  transform: translateX(-50%);
}

.marker-hybrid {
  bottom: 58px;
}

.power-caption {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.power-caption .disclaimer {
  font-size: 12px;
}

.version-card {
  overflow: hidden;
}

.version-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--graphite);
}

.version-card__media img,
.interior-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.version-card__body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.version-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.version-card li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: flex-start;
  column-gap: 12px;
  line-height: 1.42;
}

.version-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
}

.version-card li span {
  min-width: 0;
}

.version-card--accent {
  border-color: rgba(181, 31, 44, 0.42);
}

.soft-cta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  background: rgba(201, 144, 47, 0.1);
}

.soft-cta span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.product-section {
  background: #eeeeea;
}

.cabin-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.dimension-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  margin: 0;
  padding: 18px;
}

.dimension-visual {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #111111;
}

.dimension-visual svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dimension-card figcaption {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
}

.dimension-card span {
  border-radius: 8px;
  padding: 10px;
  background: #efeee9;
  font-size: 13px;
  font-weight: 850;
}

.dimension-card b {
  color: var(--red);
}

.interior-stack {
  display: grid;
  gap: 14px;
}

.interior-column {
  display: grid;
  gap: 14px;
}

.interior-card img {
  aspect-ratio: 16 / 9;
  height: auto;
  margin: -18px -18px 20px;
  width: calc(100% + 36px);
  max-width: none;
  object-fit: cover;
}

.cabin-display-note {
  margin: 0;
  border: 1px solid rgba(201, 144, 47, 0.36);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(201, 144, 47, 0.1);
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.steps {
  background: var(--paper);
}

.steps-layout {
  display: grid;
  gap: 14px;
}

.step-tabs {
  display: grid;
  gap: 8px;
}

.step-tab {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
}

.step-tab[aria-selected="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(181, 31, 44, 0.08);
}

.step-tab span,
.step-detail__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--white);
  font-weight: 850;
}

.step-tab strong {
  display: block;
  margin-bottom: 3px;
}

.step-tab small,
.step-detail p {
  color: var(--muted);
  font-weight: 700;
}

.step-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.step-detail__number {
  width: 48px;
  height: 48px;
  background: var(--red);
}

.step-detail h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.trust {
  background: #eeeeea;
}

.trust-grid {
  gap: 16px;
}

.trust-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 220px;
  padding: 22px;
}

.trust-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-card strong {
  color: var(--red);
  font-size: clamp(25px, 3.2vw, 34px);
  line-height: 1.04;
}

.contract-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  margin-top: 16px;
  padding: 0;
}

.contract-card h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.04;
}

.contract-card__copy {
  padding: 22px;
}

.mini-legal {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.mini-legal div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f7f6f2;
}

.mini-legal dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-legal dd {
  margin: 0;
  font-weight: 850;
}

.contract-actions {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 22px;
  background: #efeee9;
}

.faq-layout {
  display: grid;
  gap: 18px;
}

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

.accordion details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.08);
}

.accordion summary {
  padding: 16px;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
}

.accordion p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.58;
}

.final-cta {
  scroll-margin-top: 92px;
  padding: 56px 0 86px;
}

.final-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.final-cta .eyebrow {
  color: var(--gold);
}

.final-cta h2 {
  max-width: 640px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
}

.final-cta .final-cta__copy,
.final-note {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
}

.footer-phone {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 13px 20px;
  color: var(--white);
  font-size: clamp(18px, 5vw, 25px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.social-link {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.social-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.bitrix-form {
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
}

.final-form {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.final-form .b24-form,
.final-form .b24-form-wrapper,
.final-form .b24-form-content {
  background: transparent !important;
  color: var(--white) !important;
  font-family: inherit !important;
}

.final-form .b24-form {
  padding: 28px !important;
}

.final-form .b24-form-wrapper {
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.final-form .b24-form-header,
.final-form .b24-form-header-padding {
  display: none !important;
}

.final-form .b24-form-content {
  padding: 0 !important;
}

.final-form .b24-form-field {
  margin-bottom: 12px !important;
}

.final-form .b24-form-control-container {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: none !important;
}

.final-form .b24-form-control {
  min-height: 56px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.final-form .b24-form-control-label {
  color: rgba(26, 26, 26, 0.52) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.final-form .b24-form-control:focus + .b24-form-control-label,
.final-form .b24-form-control-not-empty + .b24-form-control-label,
.final-form .b24-form-control-container:focus-within .b24-form-control-label {
  color: var(--red) !important;
}

.final-form .b24-form-control-list .b24-form-control-container::after {
  border-color: var(--graphite) !important;
}

.final-form .b24-form-control-list-selector-item {
  min-height: 48px !important;
  padding: 0 14px !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.final-form .b24-form-control-list-selector-item-focused,
.final-form .b24-form-control-list-selector-item:hover {
  background: rgba(181, 31, 44, 0.08) !important;
  color: var(--red) !important;
}

.final-form .b24-form-field-agreement {
  margin-top: 4px !important;
}

.final-form .b24-form-field-agreement .b24-form-control-container {
  border: 0 !important;
  background: transparent !important;
}

.final-form .b24-form-field-agreement label {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
}

.final-form .b24-form-field-agreement input {
  width: 18px !important;
  height: 18px !important;
  margin: 1px 0 0 !important;
  accent-color: var(--red);
}

.final-form .b24-form-control-desc,
.final-form .b24-form-control-desc span {
  color: rgba(255, 255, 255, 0.62) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.final-form .b24-form-control-required {
  color: var(--gold) !important;
}

.final-form .b24-form-btn-container {
  margin-top: 16px !important;
}

.final-form .b24-form-btn-block {
  padding: 0 !important;
}

.final-form .b24-form-btn {
  min-height: 58px !important;
  width: 100% !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  box-shadow: 0 18px 34px rgba(181, 31, 44, 0.24) !important;
}

.final-form .b24-form-btn:hover {
  background: #a91625 !important;
}

.final-form .b24-form-sign,
.final-form .b24-form-state-container,
.final-form .b24-form-bottom-text,
.final-form .b24-form-control-alert-message {
  font-family: inherit !important;
}

.final-form .b24-form-sign {
  display: none !important;
}

.final-form .b24-form-border-bottom {
  border-bottom: 0 !important;
}

.site-footer {
  padding: 28px 0 92px;
  background: #111111;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
}

.site-footer p {
  max-width: 780px;
  margin: 0;
}

.site-footer dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.site-footer dl div {
  display: grid;
  gap: 2px;
}

.site-footer dt {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.mobile-booking {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 35;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile-booking.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(calc(100% + 24px));
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(26, 26, 26, 0.72);
}

.modal[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(100%, 520px);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.modal-dialog h2 {
  margin: 0 0 10px;
}

.modal-dialog p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #eeeeea;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 9px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-actions {
  display: grid;
  gap: 10px;
}

.exit-phone {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.exit-phone span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.exit-phone input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  outline: none;
}

@media (min-width: 640px) {
  .engine-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-benefits,
  .three-grid,
  .feature-grid,
  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .soft-cta,
  .contract-card {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
    align-items: center;
  }

  .mini-legal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 12px 22px;
  }

  .nav {
    display: flex;
    min-width: 0;
    justify-content: center;
    gap: 18px;
  }

  .nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
  }

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

  .header-button {
    display: inline-flex;
    align-items: center;
  }

  .hero {
    display: flex;
    min-height: min(760px, calc(100svh - 59px));
    align-items: center;
    padding: 42px 0 46px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(26, 26, 26, 0.98) 0%, rgba(26, 26, 26, 0.9) 46%, rgba(26, 26, 26, 0.2) 100%),
      url("assets/source/2027-hyundai-avante-south-korea.jpg") center right / cover no-repeat;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(390px, 0.5fr);
    align-items: center;
    gap: clamp(30px, 5vw, 64px);
  }

  .hero-side {
    justify-self: end;
    max-width: 430px;
  }

  .hero-cta .button {
    width: auto;
    min-width: 240px;
  }

  .section {
    padding: 88px 0;
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .util-grid,
  .final-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  }

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

  .interior-column,
  .interior-stack {
    display: contents;
  }

  .dimension-card,
  .interior-card {
    height: 100%;
  }

  .interior-card {
    display: grid;
    grid-template-rows: auto auto 1fr;
    overflow: hidden;
  }

  .interior-card--wide {
    grid-column: auto;
  }

  .interior-card img {
    aspect-ratio: 16 / 9;
  }

  .cabin-display-note {
    grid-column: 1 / -1;
  }

  .faq-layout {
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
  }

  .step-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .step-tab {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 148px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .step-tab:last-child {
    border-right: 0;
  }

  .step-tab[aria-selected="true"] {
    background: var(--graphite);
    color: var(--white);
    box-shadow: none;
  }

  .step-tab[aria-selected="true"] small {
    color: rgba(255, 255, 255, 0.72);
  }

  .step-tab[aria-selected="true"] span {
    background: var(--red);
  }

  .mobile-booking {
    display: none;
  }

  .site-footer {
    padding-bottom: 34px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

@media (max-width: 639px) {
  .container {
    width: calc(100% - 24px);
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 12px;
  }

  .brand-logo {
    width: 136px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy,
  .hero h1,
  .hero-subline,
  .hero-benefits {
    max-width: min(340px, calc(100vw - 24px));
    min-width: 0;
  }

  .hero-cta,
  .hero-price-card {
    max-width: calc(100vw - 24px);
    min-width: 0;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .hero-subline {
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .hero-benefits p,
  .hero-benefits strong {
    overflow-wrap: break-word;
  }

  .hero-benefits,
  .three-grid,
  .feature-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    overflow: visible;
    padding: 8px;
  }

  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
  }

  .compare-table {
    min-width: 0;
    border-collapse: separate;
  }

  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .compare-table tbody {
    display: grid;
    gap: 10px;
  }

  .compare-table tbody tr {
    display: grid;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: var(--white);
  }

  .compare-table th,
  .compare-table td {
    border-bottom: 0;
    padding: 0;
  }

  .compare-table tbody th {
    width: auto;
    font-size: 15px;
  }

  .compare-table tbody td {
    display: block;
    font-size: 15px;
  }

  .compare-table tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .compare-table tbody td:nth-child(2)::before {
    content: "EVOCARS";
  }

  .compare-table tbody td:nth-child(3)::before {
    content: "Салон";
  }

  .overpay-row td:last-child {
    margin: 0 -4px -4px;
    border-radius: 6px;
    padding: 8px 4px;
  }

  .dimension-card figcaption {
    grid-template-columns: 1fr;
  }

  .header-phone {
    width: 108px;
    max-width: 108px;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .header-phone::after {
    content: "Позвонить";
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
  }
}
