@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-cyrillic-ext-wght-normal-DOFToQv1.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-cyrillic-wght-normal-DayYxulF.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-latin-ext-wght-normal-QAhDxQuo.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/onest-latin-wght-normal-Dun_Rd-l.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #22c55e;
  --green-hover: #16a34a;
  --dark: #1a1a1a;
  --ink: #14181b;
  --muted: #737d85;
  --line: #14181b1a;
  --edge: #14181b33;
  --surface: #fcfdfe;
  --accent: #0e6b52;
  --tg: #0088cc;
  --wa: #25d366;
  --ig: #e4405f;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Onest Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 40rem) {
  .container { max-width: 40rem; }
}
@media (min-width: 48rem) {
  .container { max-width: 48rem; }
}
@media (min-width: 64rem) {
  .container { max-width: 64rem; }
}
@media (min-width: 80rem) {
  .container { max-width: 80rem; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  transition: all 0.3s;
  background: rgb(0 0 0 / 0.8);
  backdrop-filter: blur(16px);
}

@media (min-width: 768px) {
  .site-header {
    background: transparent;
    backdrop-filter: none;
  }
  .site-header.is-solid {
    background: rgb(0 0 0 / 0.8);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
  }
}

.header-inner {
  margin: 0 auto;
  display: flex;
  height: 4rem;
  max-width: 1180px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .header-inner { padding: 0 1.5rem; }
}
@media (min-width: 768px) {
  .header-inner { height: 5rem; }
}
@media (min-width: 1024px) {
  .header-inner { padding: 0 2rem; }
}

.logo img {
  height: 2.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .logo img { height: 3rem; }
}

.nav-desktop {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #fff;
}

.nav-desktop a {
  transition: color 0.2s;
}

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

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switch button {
  color: rgb(255 255 255 / 0.55);
  padding: 0.25rem 0.15rem;
  transition: color 0.2s;
}

.lang-switch button:hover,
.lang-switch button.is-active {
  color: #fff;
}

.lang-switch button.is-active {
  color: var(--green);
}

.lang-sep {
  color: rgb(255 255 255 / 0.35);
  font-weight: 400;
}

.burger {
  display: block;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .burger { display: none; }
}

.burger-lines {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.burger-lines span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.site-header.is-open .burger-lines span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.site-header.is-open .burger-lines span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .burger-lines span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 20rem;
  background: rgb(17 24 39 / 0.95);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  z-index: 101;
  overflow-y: auto;
}

.site-header.is-open .mobile-backdrop,
.site-header.is-open .mobile-drawer {
  display: block;
}

@media (min-width: 768px) {
  .site-header.is-open .mobile-backdrop,
  .site-header.is-open .mobile-drawer {
    display: none;
  }
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #374151;
}

.drawer-head img { height: 3rem; }

.drawer-close {
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: #d1d5db;
}

.drawer-close:hover { background: #1f2937; }

.drawer-nav {
  padding: 1.5rem;
}

.drawer-nav a.nav-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #f3f4f6;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.drawer-nav a.nav-item:hover { background: #1f2937; }

.drawer-contacts {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
}

.drawer-contacts h3 {
  padding: 0 1rem;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.person-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #f3f4f6;
  border-radius: 0.5rem;
}

.person-row:hover { background: #1f2937; }

.person-row a.phone {
  flex-grow: 1;
}

.person-row a.phone:hover { color: #4ade80; }

.socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.socials a {
  display: inline-flex;
  transition: opacity 0.2s;
}

.socials a:hover { opacity: 0.8; }

.socials a.tg { color: var(--tg); }
.socials a.ig { color: var(--ig); }
.socials a.wa { color: var(--wa); }

.socials.sm svg { width: 16px; height: 16px; }
.socials.md svg { width: 20px; height: 20px; }

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { height: 90vh; }
}
@media (min-width: 1024px) {
  .hero { height: 100vh; }
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.7);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  min-width: 0;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.15;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  white-space: normal;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; }
}

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

.hero p.lead {
  font-size: 1rem;
  margin: 0 0 2rem;
  max-width: 42rem;
  width: 100%;
  color: rgb(255 255 255 / 0.9);
}

@media (min-width: 640px) {
  .hero p.lead { font-size: 1.125rem; }
}
@media (min-width: 768px) {
  .hero p.lead { font-size: 1.25rem; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-green {
  background: var(--green);
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.btn-green:hover {
  background: var(--green-hover);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
}

.btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-outline-white:hover {
  background: #fff;
  color: #000;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(255 255 255 / 0.7);
}

.hero-scroll svg {
  display: block;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* 160 hp */
.section-gray {
  background: #f9fafb;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-gray { padding: 5rem 0; }
}

.section-howto {
  background: #f9fafb;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-howto { padding: 6rem 0; }
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-title { margin-bottom: 3rem; }
}

.section-title h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
  .section-title h2 { font-size: 2.25rem; }
}

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

.section-title p {
  color: #4b5563;
  font-size: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-title p { font-size: 1.125rem; }
}

.carousel-wrap {
  position: relative;
  padding: 0 2rem;
}

@media (min-width: 640px) {
  .carousel-wrap { padding: 0 3.5rem; }
}
@media (min-width: 1024px) {
  .carousel-wrap { padding: 0 4rem; }
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 auto;
  padding: 1rem 0.5rem;
  min-width: 0;
  box-sizing: border-box;
}

.mini-card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
  margin: 0 0.5rem;
}

.mini-card-head {
  padding: 1rem 1rem 0.5rem;
  height: 84px;
}

.mini-card-head h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.mini-card-head span {
  font-size: 0.875rem;
  color: #6b7280;
}

.mini-card-img {
  position: relative;
  padding: 0 1rem;
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-card-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.mini-card-body {
  padding: 0.5rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mini-card-body p {
  margin: 0;
  font-size: 0.875rem;
  color: #4b5563;
}

.mini-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
}

.mini-card-meta .engine {
  font-size: 0.75rem;
  color: #6b7280;
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgb(34 197 94 / 0.1);
  color: var(--green);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0.5rem;
  color: #9ca3af;
  transition: color 0.2s;
}

.carousel-btn:hover { color: #4b5563; }
.carousel-btn.prev { left: -0.25rem; }
.carousel-btn.next { right: -0.25rem; }

@media (min-width: 640px) {
  .carousel-btn.prev { left: -0.5rem; }
  .carousel-btn.next { right: -0.5rem; }
}
@media (min-width: 1024px) {
  .carousel-btn.prev { left: -0.75rem; }
  .carousel-btn.next { right: -0.75rem; }
}

.carousel-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 640px) {
  .carousel-btn svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.center-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--green);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s;
}

.btn-all:hover {
  background: var(--green-hover);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Fresh cars */
#fresh-cars {
  margin: 5rem 0;
}

#fresh-cars h2,
#fresh-cars > h1 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1rem;
}

.fresh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .fresh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .fresh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.car-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.car-card:hover {
  transform: translateY(-2px);
  border-color: var(--edge);
  box-shadow: 0 12px 28px -16px rgba(20, 24, 27, 0.42);
}

.car-card-photo {
  position: relative;
  margin: 5px 5px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.5rem;
  background: rgb(0 0 0 / 0.06);
}

.car-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.car-card:hover .car-card-photo img {
  transform: scale(1.02);
}

.photo-dots {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.375rem;
}

.photo-dots span {
  height: 2px;
  width: 0.875rem;
  border-radius: 2px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.16);
  background: rgb(255 255 255 / 0.45);
}

.photo-dots span.is-on { background: #fff; }

.car-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.875rem 13px 13px;
}

.car-card-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.car-card-title .make {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.car-card-title h3 {
  margin: 0.125rem 0 0;
  min-height: 2.44em;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-card-title .badge {
  margin: 0.25rem 0 0;
  min-height: 1.3em;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 -13px;
}

.spec {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 9px 13px;
}

.spec:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.spec dt {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.spec dd {
  margin: 1px 0 0;
  white-space: nowrap;
  font-family: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.spec dd .unit,
.spec dd .extra {
  font-family: "Onest Variable", system-ui, sans-serif;
  font-size: 0.85em;
  font-weight: 400;
  color: var(--muted);
}

.car-price {
  margin-top: auto;
  padding-top: 13px;
}

.car-price .sum {
  margin: 0;
  min-height: 1.25em;
  white-space: nowrap;
  font-family: "JetBrains Mono Variable", ui-monospace, monospace;
  font-size: 19.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.car-price .hint {
  margin: 0.125rem 0 0;
  min-height: 2.7em;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}

.car-price .sub {
  margin: 0.375rem 0 0;
  min-height: 1.5em;
  font-size: 13px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.btn-black {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  padding: 0.75rem 1.5rem;
  background: #000;
  color: #fff;
  font-weight: 600;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  text-align: center;
  transition: background 0.3s;
}

.btn-black:hover { background: #1f2937; }

/* How to buy */
.timeline {
  max-width: 48rem;
  margin: 0 auto;
}

.step {
  position: relative;
  display: flex;
  gap: 1rem;
}

@media (min-width: 768px) {
  .step { gap: 1.5rem; }
}

.step-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  z-index: 10;
}

@media (min-width: 768px) {
  .step-num {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 60px;
  background: linear-gradient(to bottom, var(--green), #d1d5db);
}

.step-body {
  flex: 1;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .step-body { padding-bottom: 2.5rem; }
}

.step-card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border-left: 4px solid var(--green);
  padding: 1rem;
}

@media (min-width: 768px) {
  .step-card { padding: 1.5rem; }
}

.step-card:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }

.step-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: #f0fdf4;
  color: var(--green);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .step-icon { display: flex; }
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 768px) {
  .step-card h3 { font-size: 1.25rem; }
}

.step-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .step-card p { font-size: 1rem; }
}

.branch-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.branch-head p {
  margin: 0 0 1rem;
  color: #4b5563;
  font-size: 0.875rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .branch-grid { grid-template-columns: 1fr 1fr; }
}

.branch-card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.branch-card.ok { border-left: 4px solid #22c55e; }
.branch-card.no { border-left: 4px solid #ef4444; }

.branch-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.branch-card.ok .branch-ico {
  background: #f0fdf4;
  color: #16a34a;
}

.branch-card.no .branch-ico {
  background: #fef2f2;
  color: #ef4444;
}

.branch-card h4 { margin: 0 0 0.25rem; font-weight: 600; }
.branch-card.ok h4 { color: #15803d; }
.branch-card.no h4 { color: #dc2626; }

.branch-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.875rem;
}

.back-step {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

#cars-160,
#howto,
#footer {
  scroll-margin-top: 5rem;
}

.lead-cta {
  margin: 4rem auto 0;
  max-width: 42rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  padding: 2rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .lead-cta {
    margin-top: 5rem;
    padding: 2.5rem 2rem;
  }
}

.lead-cta h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

@media (min-width: 768px) {
  .lead-cta h3 { font-size: 1.5rem; }
}

.lead-cta p {
  margin: 0 0 1.5rem;
  color: #4b5563;
}

.lead-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  background: var(--tg);
  color: #fff;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
}

.lead-cta-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 3rem 1rem;
  margin-top: auto;
}

@media (min-width: 1024px) {
  .site-footer { padding: 4rem 1rem; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.15fr 0.75fr 1.45fr 0.95fr;
    gap: 2.5rem;
  }
}

.footer-brand img {
  height: 4rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.625;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer ul a {
  color: #9ca3af;
  transition: color 0.2s;
}

.site-footer ul a:hover { color: var(--green); }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-row > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .footer-contact-row > a {
    white-space: nowrap;
  }
}

.footer-contact-row .phone-ico {
  color: #22c55e;
  flex-shrink: 0;
}

.msg-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
}

.msg-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.msg-btn.tg { background: var(--tg); }
.msg-btn.wa { background: var(--wa); }

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 2.5rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom .copy {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.footer-offices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-offices {
    flex-direction: row;
    gap: 2rem;
  }
}

.office {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.office svg { color: var(--green); flex-shrink: 0; }

.hidden { display: none !important; }
