:root {
  --green: #1c7a43;
  --green-dark: #156536;
  --ink: #16181d;
  --muted: #5e6772;
  --line: #e4e7ec;
  --bg: #f6f7f9;
  --card: #fff;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Manrope, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; }
a { color: inherit; }

.header {
  max-width: none;
  margin: 0;
  padding: 10px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 15px;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background:
    linear-gradient(#fff, #fff) 7px 8px / 14px 2px no-repeat,
    linear-gradient(#fff, #fff) 7px 13px / 14px 2px no-repeat,
    linear-gradient(#fff, #fff) 7px 18px / 10px 2px no-repeat,
    var(--green);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--green);
}
.btn-ghost {
  color: var(--green);
  background: #fff;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
}
.btn-ghost:hover { background: #f3faf6; }
.btn-solid {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 16px;
}
.btn-solid:hover { background: var(--green-dark); }

.hero {
  max-width: none;
  margin: 0;
  padding: 8px 16px 16px 36px;
  display: grid;
  grid-template-columns: minmax(440px, 560px) 1fr;
  gap: 28px;
  align-items: center;
  flex: 1;
  min-height: 0;
}
.hero h1 {
  margin: 0 0 14px;
  transform: translateY(-36px);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.lead {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 700;
  font-size: 22px;
}
.sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
}
.points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0 0 22px;
  padding: 0;
  color: #2c333b;
  font-size: 17px;
  font-weight: 600;
}
.points li { display: flex; align-items: center; gap: 8px; }
.ico {
  width: 28px;
  height: 28px;
  color: var(--green);
  display: inline-flex;
}
.ico svg, .field-ico svg { width: 22px; height: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(22, 24, 29, 0.05);
  padding: 18px 18px 16px;
}
.card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fields label, .vin, .phone {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9dee6;
  border-radius: 10px;
  padding: 0 10px;
  background: #fff;
  min-height: 46px;
}
.phone, .vin { margin-top: 10px; }
.vin[hidden] { display: none; }
.field-ico { color: #8b949e; display: inline-flex; }
input {
  border: 0;
  outline: none;
  width: 100%;
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
}
input::placeholder { color: #98a0aa; }
.or {
  margin: 10px 0 0;
  text-align: center;
  color: #9aa2ab;
  font-size: 13px;
}
.link {
  display: block;
  width: 100%;
  margin-top: 2px;
  border: 0;
  background: none;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
}
.link:hover { text-decoration: underline; }

.hero-photo {
  position: relative;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: #eceff3;
  align-self: stretch;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hero-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  left: 0;
  top: 0;
  bottom: 0;
  width: 34%;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.78) 42%, rgba(255,255,255,0) 100%);
}
.badge {
  z-index: 2;
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.models {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 8px;
}
.models h2 {
  margin: 0 0 6px;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.models-sub {
  margin: 0 0 18px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.model {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 8px 8px 12px;
  cursor: pointer;
  text-align: center;
}
.model:hover { border-color: #b7d8c4; box-shadow: 0 8px 18px rgba(22, 24, 29, 0.05); }
.model img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  background: #f3f4f6;
  border-radius: 10px;
}
.model span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}
.model small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.center { text-align: center; margin: 16px 0 8px; }
.pages { display: flex; justify-content: center; gap: 28px; padding: 8px 24px 48px; }
.pages a { color: var(--green); font-weight: 700; text-decoration: none; }
.pages a:hover { text-decoration: underline; }
.center .link { display: inline; }
.models-last { padding-bottom: 48px; }

.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}
.thanks-card {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--line);
}
.thanks-card h1 {
  margin: 12px 0 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.thanks-card p { color: var(--muted); margin: 0 0 22px; line-height: 1.5; }
.thanks-card .btn-solid { width: auto; padding: 12px 22px; text-decoration: none; }

.hero-copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
@media (min-width: 981px) {
  html, body { height: 100%; overflow: hidden; }
  body { display: flex; flex-direction: column; }
  .hero-copy { height: 100%; justify-content: center; }
}
@media (max-width: 980px) {
  html, body { height: auto; overflow: auto; }
  .hero { grid-template-columns: 1fr; padding: 12px 16px 28px; }
  .hero h1 { font-size: 34px; }
  .hero-photo { min-height: 320px; height: 360px; border-radius: 16px; }
  .hero-photo::after { width: auto; height: 28%; right: 0; bottom: auto; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 100%); }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .fields { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .header { padding-inline: 16px; }
  .hero, .models { padding-inline: 16px; }
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 20, 24, 0.45);
}
.lead-modal.open { display: flex; }
.lead-modal .card { width: min(520px, 100%); position: relative; }
.fields .wide { grid-column: 1 / -1; }
.lead-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}
.phone-error {
  display: none;
  margin: 8px 0 0;
  color: #b42318;
  font-size: 13px;
}
.phone-error.show { display: block; }
