:root {
  color-scheme: light;
  --blue: #071f45;
  --blue-2: #0a2d62;
  --gold: #f5b400;
  --gold-2: #ffbf16;
  --green: #21c445;
  --ink: #071f45;
  --muted: #4f5d70;
  --line: #dde4ef;
  --soft: #f6f8fb;
  --shadow: 0 12px 28px rgba(7, 31, 69, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(33, 196, 69, 0.72);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.site-header {
  position: relative;
  z-index: 10;
  height: 82px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(7, 31, 69, 0.06);
}

.nav-shell {
  height: 82px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}

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

.brand img {
  width: clamp(154px, 17vw, 220px);
  height: auto;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 2.4vw, 33px);
  min-width: 0;
}

.site-nav a {
  position: relative;
  padding: 31px 0 25px;
  font-size: clamp(0.55rem, 1.05vw, 0.78rem);
  line-height: 1;
  font-weight: 900;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
}

.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(33, 196, 69, 0.26);
}

.line-dot {
  width: 23px;
  height: 23px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  color: var(--green);
  font-size: 0.82rem;
  flex: 0 0 auto;
}

.nav-line-button {
  flex: 0 0 auto;
}

.section {
  position: relative;
}

.hero-section {
  overflow: hidden;
  min-height: 393px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 26%, rgba(245, 248, 251, 0.65) 42%, rgba(228, 236, 243, 0.1) 100%),
    linear-gradient(180deg, #dcecf5 0%, #eef3f6 48%, #f2f2f2 100%);
  border-bottom: 1px solid #e9eef5;
}

.hero-grid {
  position: relative;
  min-height: 393px;
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 32px 0 26px;
  max-width: 410px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin: 0 0 12px;
  border-radius: 5px;
  color: #ffffff;
  background: var(--blue-2);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.hero-copy h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.1rem, 5vw, 3.88rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-copy h1 span {
  color: var(--gold);
}

.hero-lead {
  margin: 16px 0 21px;
  color: #112849;
  font-size: clamp(0.86rem, 1.4vw, 1.02rem);
  line-height: 1.45;
  font-weight: 700;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  gap: 10px;
  max-width: 360px;
  margin-bottom: 18px;
}

.hero-feature {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  color: var(--blue);
  text-align: center;
}

.hero-feature svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.7;
}

.hero-feature span {
  display: block;
  color: #061b3e;
  font-size: 0.58rem;
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 9px 20px rgba(7, 31, 69, 0.12);
  white-space: nowrap;
}

.button svg {
  width: 20px;
  height: 20px;
}

.button-arrow {
  width: 16px !important;
  height: 16px !important;
}

.button-line {
  color: #ffffff;
  background: var(--green);
}

.button-light {
  color: var(--blue);
  background: #ffffff;
  border-color: #d6dce6;
}

.button-light svg {
  color: var(--blue-2);
}

.hero-visual {
  position: absolute;
  z-index: 1;
  right: calc((100vw - min(100vw - 60px, 1160px)) / -2);
  top: 0;
  bottom: 0;
  width: min(72vw, 890px);
  overflow: hidden;
}

@media (min-width: 1280px) {
  .site-header .container,
  .hero-section .container {
    width: min(100% - 96px, 1540px);
  }

  .hero-grid {
    grid-template-columns: minmax(430px, 38%) 1fr;
  }

  .hero-copy {
    max-width: 520px;
    padding-top: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(3.65rem, 4.15vw, 5.1rem);
  }

  .hero-visual {
    right: calc((100vw - min(100vw - 96px, 1540px)) / -2);
    width: clamp(1040px, 69vw, 1320px);
  }
}

.hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 33%;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.section-title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.section-title span {
  color: var(--gold);
}

.center {
  text-align: center;
}

.services-section {
  padding: 20px 0 27px;
  background: #ffffff;
}

.situation-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.situation-card,
.car-card {
  border-radius: 9px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.situation-card {
  min-height: 166px;
  padding-top: 12px;
}

.situation-head {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 9px;
  align-items: center;
  padding: 0 14px;
}

.situation-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
}

.situation-icon svg {
  width: 25px;
  height: 25px;
}

.situation-icon.blue { background: var(--blue-2); }
.situation-icon.gold { background: var(--gold); }

.situation-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 950;
  text-transform: uppercase;
}

.situation-card p {
  margin: 6px 14px 9px 73px;
  min-height: 28px;
  color: #2c3a52;
  font-size: 0.63rem;
  line-height: 1.23;
  font-weight: 700;
}

.situation-card img {
  width: 100%;
  height: 97px;
  object-fit: cover;
}

.cars-section {
  padding: 0 0 25px;
  background: #ffffff;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.view-all svg {
  width: 15px;
  height: 15px;
}

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

.car-card {
  position: relative;
  padding: 11px 11px 12px;
}

.car-badge {
  position: absolute;
  top: 11px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.48rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.gold-badge { background: var(--gold); }
.blue-badge { background: #0c59ce; }

.car-card img {
  width: 100%;
  height: 94px;
  object-fit: contain;
  margin: 2px 0 9px;
}

.car-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1.08;
  font-weight: 950;
  text-transform: uppercase;
}

.car-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #314158;
  font-size: 0.58rem;
  font-weight: 800;
  white-space: nowrap;
}

.car-meta li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.car-meta svg {
  width: 13px;
  height: 13px;
  color: var(--blue);
  stroke-width: 2.2;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0 0 11px;
  text-align: center;
}

.price-grid div {
  min-width: 0;
}

.price-grid dt {
  margin: 0 0 2px;
  color: #40516c;
  font-size: 0.54rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.price-grid dd {
  margin: 0;
  color: var(--blue);
  font-size: 0.68rem;
  line-height: 1.1;
  font-weight: 950;
}

.details-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  border-radius: 5px;
  color: #ffffff;
  background: var(--blue-2);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 7px 14px rgba(7, 31, 69, 0.18);
}

.benefits-strip {
  padding: 20px 0;
  background: #ffffff;
  border-top: 1px solid #e3e8f0;
  border-bottom: 1px solid #e3e8f0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.benefit {
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid #e2e8f0;
}

.benefit:last-child {
  border-right: 0;
}

.benefit svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
  flex: 0 0 auto;
}

.benefit strong,
.benefit span {
  display: block;
}

.benefit strong {
  color: var(--blue);
  font-size: 0.65rem;
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.benefit span {
  margin-top: 3px;
  color: #4e5d72;
  font-size: 0.57rem;
  font-weight: 800;
}

.steps-section {
  padding: 24px 0 18px;
  background: #ffffff;
}

.steps-section .section-title {
  position: relative;
  margin-bottom: 24px;
}

.steps-section .section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 9px auto 0;
  border-radius: 4px;
  background: #d8dee8;
}

.steps-layout {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 24px;
  align-items: start;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 16px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 10px;
  min-width: 0;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 38px;
  width: 13px;
  height: 1px;
  background: #b8c2d1;
}

.step-number {
  position: absolute;
  top: -18px;
  left: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 950;
}

.step-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  color: var(--blue);
}

.step-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.6;
}

.line-step {
  position: relative;
  width: 55px;
  height: 55px;
  border-radius: 50% 50% 50% 8px;
  background: var(--green);
  color: #ffffff;
  transform: rotate(-45deg);
}

.line-step svg,
.line-step span {
  transform: rotate(45deg);
}

.line-step svg {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 11px;
}

.line-step span {
  position: absolute;
  bottom: 14px;
  font-size: 0.56rem;
  font-weight: 950;
}

.step-card h3 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.step-card p {
  margin: 0;
  color: #33435a;
  font-size: 0.6rem;
  line-height: 1.25;
  font-weight: 800;
}

.qr-card {
  min-height: 150px;
  padding: 15px 16px 12px;
  border-radius: 10px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #ffffff;
  background: var(--blue-2);
  text-align: center;
  box-shadow: 0 12px 24px rgba(7, 31, 69, 0.22);
}

.qr-card strong {
  font-size: 1rem;
  line-height: 1.04;
  font-weight: 950;
  text-transform: uppercase;
}

.qr-card img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  padding: 4px;
  background: #ffffff;
}

.qr-card span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 950;
}

.site-footer {
  color: #ffffff;
  background: var(--blue);
}

.footer-grid {
  min-height: 69px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.32fr;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  padding: 14px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.footer-item:last-child {
  border-right: 0;
}

.footer-item svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.footer-item strong,
.footer-item span {
  display: block;
}

.footer-item strong {
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-item span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.66rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 60px, 980px);
  }

  .site-header,
  .nav-shell {
    height: 82px;
  }

  .site-nav {
    gap: clamp(12px, 2.5vw, 24px);
  }

  .nav-line-button {
    padding-inline: 12px;
  }

  .hero-section,
  .hero-grid {
    min-height: 392px;
  }

  .hero-visual {
    right: -30px;
    width: 62vw;
  }

  .situation-grid,
  .car-grid {
    gap: 14px;
  }

  .car-meta {
    gap: 6px;
    font-size: 0.52rem;
  }

  .benefit {
    padding-inline: 11px;
  }

  .steps-layout {
    grid-template-columns: 1fr 140px;
    gap: 18px;
  }

  .steps-row {
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 680px);
  }

  .site-header,
  .nav-shell {
    height: auto;
  }

  .nav-shell {
    padding: 14px 0;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    row-gap: 8px;
  }

  .site-nav {
    order: initial;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    padding: 10px 0;
    font-size: 0.72rem;
  }

  .site-nav a.is-active::after {
    bottom: 3px;
  }

  .nav-line-button {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }

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

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
    padding: 28px 0 260px;
  }

  .hero-visual {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 260px;
  }

  .hero-visual::before {
    width: 45%;
  }

  .hero-features {
    max-width: 400px;
  }

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

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

  .benefit {
    border-bottom: 1px solid #e2e8f0;
  }

  .steps-layout {
    grid-template-columns: 1fr;
  }

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

  .step-card:not(:last-child)::after {
    display: none;
  }

  .qr-card {
    width: min(220px, 100%);
    margin-inline: auto;
  }

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

  .footer-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 154px;
  }

  .nav-line-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.65rem;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

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

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .situation-grid,
  .car-grid,
  .benefits-grid,
  .steps-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-item {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
