:root {
  --brand:#2d2d2d;
  --brand-2:#111111;
  --accent:#272727;
  --accent-2:#111111;
  --ink:#1c1c1c;
  --muted:#66686b;
  --soft:#e4e4e6;
  --surface:#e4e4e6;
  --paper:#ffffff;
  --white:#ffffff;
  --line:rgba(35,35,35,.30);
  --line-strong:rgba(35,35,35,.58);
  --danger:#8a2020;
  --success:#383838;
  --shadow-sm:2px 3px 5px rgba(0,0,0,.16);
  --shadow:4px 5px 8px rgba(0,0,0,.18);
  --shadow-lg:6px 8px 14px rgba(0,0,0,.17);
  --radius:14px;
  --radius-sm:8px;
  --container:1220px;
}

/* All optional swatches stay within the LinkedIn visual family. */
html[data-theme="emerald"]{--brand:#47524d;--brand-2:#202824;--accent:#47524d;--accent-2:#202824}

html[data-theme="red"]{--brand:#604747;--brand-2:#322323;--accent:#604747;--accent-2:#322323}

html[data-theme="navy"]{--brand:#3e4852;--brand-2:#1f252b;--accent:#3e4852;--accent-2:#1f252b}

html[data-mode="dark"] {
  --ink:#f0f0f0;--muted:#b8b8b8;--soft:#292929;--surface:#292929;--paper:#171717;--white:#202020;
  --line:rgba(255,255,255,.20);--line-strong:rgba(255,255,255,.42);--accent:#eeeeee;--accent-2:#dadada;--brand:#eeeeee;--brand-2:#dadada;
  --shadow-sm:2px 3px 6px rgba(0,0,0,.34);--shadow:4px 6px 10px rgba(0,0,0,.42);--shadow-lg:7px 10px 18px rgba(0,0,0,.48)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

body.no-scroll {
  overflow: hidden
}

img,
video {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select,
textarea {
  font: inherit
}

button {
  color: inherit
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: auto
}

.section {
  padding: 88px 0
}

.section.alt {
  background: var(--soft)
}

.section.compact {
  padding: 64px 0
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand)
}

.eyebrow:before,
.section-label:before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 34px
}

.section-head h2,
.page-hero h1,
.detail-title {
  font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 10px 0 0;
  font-weight: 500
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  margin: 0
}

.muted {
  color: var(--muted)
}

.tiny {
  font-size: 12px
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  font-size: 13px;
  color: var(--accent)
}

.text-link:hover {
  color: var(--brand)
}

/* top bar + navigation */
.topbar {
  background: var(--accent-2);
  color: #F3F2EF;
  font-size: 12px
}

.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px
}

.topbar a {
  opacity: .92
}

.topbar a:hover {
  opacity: 1;
  color: #fff
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .25s
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(38, 33, 24, .07)
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto
}

.brand img {
  width: 205px;
  height: auto
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding: 29px 0
}

.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 19px;
  height: 2px;
  background: var(--brand);
  transition: .22s
}

.main-nav a:hover:after,
.main-nav a.active:after {
  right: 0
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: .2s
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong)
}

.count-badge {
  position: absolute;
  right: -4px;
  top: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center
}

.count-badge:empty,
.count-badge[data-count="0"] {
  display: none
}

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  padding: 4px 8px;
  cursor: pointer
}

.btn {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
  cursor: pointer;
  transition: .22s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 22%, transparent)
}

.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--accent) 27%, transparent)
}

.btn-gold {
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 22%, transparent)
}

.btn-gold:hover {
  background: var(--brand-2)
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong)
}

.btn-outline:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm)
}

.btn-ghost {
  background: transparent;
  color: var(--ink)
}

.btn-sm {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 11px
}

.desktop-only {
  display: inline-flex
}

/* Hero */
.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: #303030
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.88) contrast(1.04)
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(45, 45, 45, .34)
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(25, 25, 25, .82) 0%, rgba(38, 38, 38, .72) 38%, rgba(52, 52, 52, .48) 68%, rgba(64, 64, 64, .34) 100%), linear-gradient(0deg, rgba(25, 25, 25, .54) 0%, rgba(25, 25, 25, .08) 42%, rgba(25, 25, 25, .16) 100%)
}

html[data-mode="dark"] .hero:after {
  background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(17, 17, 17, .78) 42%, rgba(29, 34, 38, .48) 72%, rgba(29, 34, 38, .34) 100%), linear-gradient(0deg, rgba(0, 0, 0, .58), transparent 46%)
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 70px 0 130px
}

.hero-copy {
  width: min(720px, 64%)
}

.hero .eyebrow {
  color: #eeeeee
}

.hero h1 {
  font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  font-size: clamp(50px, 6.2vw, 88px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 500;
  margin: 15px 0 21px;
  color: #fff;
  text-shadow: 0 5px 24px rgba(0, 0, 0, .28)
}

.hero h1 .gold {
  color: #555555
}

.hero p {
  font-size: 17px;
  max-width: 620px;
  color: #F3F2EF;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .22)
}

html[data-mode="dark"] .hero p {
  color: #F3F2EF
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px
}

.hero .btn-primary {
  background: #262626;
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 102, 194, .30)
}

.hero .btn-primary:hover {
  background: #111111
}

.hero .btn-outline {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-color: rgba(255, 255, 255, .70);
  backdrop-filter: blur(10px)
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16)
}

.hero-micro {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 12px;
  font-weight: 700;
  color: #E6E6E6
}

.hero-micro span {
  display: flex;
  align-items: center;
  gap: 7px
}

.hero-micro i {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #262626;
  color: white;
  font-style: normal;
  display: grid;
  place-items: center;
  font-size: 10px;
  box-shadow: 0 4px 10px rgba(10, 102, 194, .28)
}

.hero-search-wrap {
  position: relative;
  z-index: 5;
  margin-top: -74px
}

.hero-search {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 17px
}

.hero-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 13px
}

.hero-search-head strong {
  font-size: 14px
}

.search-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr) auto;
  gap: 10px
}

.field,
.select,
.input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  transition: .18s
}

.field:focus,
.select:focus,
.input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent)
}

textarea.field {
  padding: 13px;
  min-height: 130px;
  resize: vertical
}

.field-icon {
  position: relative
}

.field-icon input {
  padding-left: 39px
}

.field-icon .search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted)
}

.quick-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 11px;
  padding: 0 3px
}

.chip {
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer
}

.chip:hover,
.chip.active {
  border-color: var(--brand);
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 7%, var(--paper))
}

/* stats / trust */
.stats-bar {
  padding: 48px 0 10px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm)
}

.stat-box {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px
}

.stat-box:last-child {
  border-right: 0
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 12%, var(--paper));
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 900
}

.stat-box strong {
  display: block;
  font-size: 24px;
  line-height: 1.1
}

.stat-box span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em
}

/* car cards */
.car-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.car-grid.three {
  grid-template-columns: repeat(3, 1fr)
}

.car-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(52, 44, 31, .055);
  transition: .25s;
  position: relative
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow)
}

.car-image {
  height: 205px;
  overflow: hidden;
  position: relative;
  background: #EEF3F8;
  display: block
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s
}

.car-card:hover .car-image img {
  transform: scale(1.045)
}

.car-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  color: #404040;
  border: 1px solid rgba(255, 255, 255, .8);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em
}

.card-actions {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 6px
}

.round-action {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  font-size: 16px
}

.round-action.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent)
}

.car-body {
  padding: 16px
}

.car-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .08em
}

.verified-dot {
  color: var(--success);
  font-weight: 800
}

.car-body h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 7px 0 8px
}

.price {
  font-size: 17px;
  font-weight: 850;
  color: var(--accent);
  margin-bottom: 10px
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  color: var(--muted);
  font-size: 10px
}

.car-specs span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.car-location {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  gap: 6px;
  align-items: center
}

.car-bottom {
  display: flex;
  gap: 7px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line)
}

.car-bottom .btn {
  flex: 1;
  min-height: 36px;
  padding: 0 10px;
  font-size: 10px
}

.car-card.list-card {
  display: grid;
  grid-template-columns: 310px 1fr
}

.car-card.list-card .car-image {
  height: 100%;
  min-height: 230px
}

.car-card.list-card .car-body {
  padding: 22px
}

.car-card.list-card .car-body h3 {
  font-size: 23px
}

.car-card.list-card .car-specs {
  display: flex;
  gap: 18px
}

.car-card.list-card .car-bottom {
  max-width: 420px
}

/* horizontal rails */
.card-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 310px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin
}

.card-rail>.car-card {
  scroll-snap-align: start
}

.rail-controls {
  display: flex;
  gap: 7px
}

.rail-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer
}

.rail-btn:hover {
  border-color: var(--brand)
}

/* brands */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px
}

.brand-tile {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: .2s;
  box-shadow: 0 4px 16px rgba(52, 44, 31, .035)
}

.brand-tile:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm)
}

.brand-tile strong {
  font-size: 13px
}

.brand-tile span {
  font-size: 10px;
  color: var(--muted)
}

.brand-logo-faux {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent)
}

/* informational sections */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px
}

.how-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative
}

.how-num {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 42px;
  font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  color: color-mix(in srgb, var(--brand) 17%, transparent);
  font-weight: 700
}

.how-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 9%, var(--paper));
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 18px
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 18px
}

.how-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center
}

.feature-media {
  min-height: 510px;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow)
}

.feature-media video,
.feature-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover
}

.feature-card-float {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 17px;
  padding: 18px;
  color: #191919;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px
}

.feature-copy h2 {
  font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 12px 0 18px
}

.feature-copy>p {
  color: var(--muted);
  font-size: 15px
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.check {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--success) 11%, var(--paper));
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900
}

.check-row strong {
  display: block;
  font-size: 13px
}

.check-row span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px
}

/* dealer cards */
.dealer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.dealer-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: .22s
}

.dealer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}

.dealer-cover {
  height: 150px;
  position: relative;
  overflow: hidden
}

.dealer-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.dealer-verified {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 800;
  color: var(--success)
}

.dealer-body {
  padding: 17px
}

.dealer-body h3 {
  margin: 0 0 4px;
  font-size: 17px
}

.rating {
  font-size: 12px;
  color: #262626;
  font-weight: 800
}

.dealer-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line)
}

/* calculator */
.finance-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden
}

.finance-copy {
  padding: 42px;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  color: white
}

.finance-copy .section-label {
  color: #eeeeee
}

.finance-copy h2 {
  font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 500;
  margin: 12px 0 15px
}

.finance-copy p {
  color: rgba(255, 255, 255, .75);
  font-size: 13px
}

.finance-form {
  padding: 38px
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.calc-grid label,
.form-grid label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  display: grid;
  gap: 7px
}

.calc-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px
}

.calc-result div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px
}

.calc-result span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em
}

.calc-result strong {
  display: block;
  margin-top: 4px;
  font-size: 16px
}

.disclaimer {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px
}

/* sell CTA */
.sell-band {
  border-radius: 25px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: var(--shadow)
}

.sell-band:after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -120px;
  top: -150px;
  background: rgba(255, 255, 255, .08)
}

.sell-band-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px
}

.sell-band h2 {
  font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.04;
  margin: 8px 0
}

.sell-band p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  max-width: 600px
}

.sell-band .btn {
  background: #fff;
  color: #111111;
  box-shadow: none
}

/* page hero */
.page-hero {
  padding: 66px 0 48px;
  background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 28%), var(--soft);
  border-bottom: 1px solid var(--line)
}

.page-hero p {
  max-width: 690px;
  color: var(--muted)
}

.crumbs {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px
}

.crumbs a:hover {
  color: var(--brand)
}

/* browse page */
.browse-layout {
  display: grid;
  grid-template-columns: 275px 1fr;
  gap: 26px;
  align-items: start
}

.filters-panel {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 18px;
  box-shadow: var(--shadow-sm)
}

.filters-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px
}

.filters-title strong {
  font-size: 14px
}

.filter-group {
  padding: 15px 0;
  border-top: 1px solid var(--line)
}

.filter-group:first-of-type {
  border-top: 0
}

.filter-group label.title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 800;
  display: block;
  margin-bottom: 8px
}

.filter-stack {
  display: grid;
  gap: 8px
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line)
}

.results-toolbar .left strong {
  font-size: 17px
}

.results-toolbar .left span {
  display: block;
  color: var(--muted);
  font-size: 11px
}

.toolbar-actions {
  display: flex;
  gap: 8px;
  align-items: center
}

.toolbar-actions .select {
  min-height: 40px;
  width: 190px
}

.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden
}

.view-toggle button {
  width: 38px;
  height: 38px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--white);
  cursor: pointer
}

.view-toggle button:last-child {
  border-right: 0
}

.view-toggle button.active {
  background: var(--accent);
  color: white
}

.mobile-filter-btn {
  display: none
}

.active-filter-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.filter-pill {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--soft)
}

.empty-state {
  grid-column: 1/-1;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  padding: 55px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--soft)
}

/* detail */
.detail-wrap {
  padding: 46px 0 90px
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 30px
}

.detail-main-image {
  height: 505px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  position: relative
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.detail-img-actions {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  gap: 7px
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin-top: 9px
}

.thumb {
  height: 82px;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer
}

.thumb.active {
  border-color: var(--brand)
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  align-self: start;
  position: sticky;
  top: 104px
}

.detail-title {
  font-size: 45px;
  margin: 7px 0 10px
}

.detail-price {
  font-size: 27px;
  font-weight: 900;
  color: var(--accent);
  margin: 18px 0
}

.detail-summary {
  font-size: 13px;
  color: var(--muted)
}

.detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 18px 0
}

.detail-spec-grid div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 12px
}

.detail-spec-grid span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .05em
}

.detail-spec-grid strong {
  font-size: 12px
}

.action-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.seller-card {
  margin-top: 15px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px
}

.seller-card small {
  display: block;
  color: var(--muted)
}

.detail-lower {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  margin-top: 35px
}

.content-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 24px
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 20px
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px
}

.features-list div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px
}

.mini-calc {
  display: grid;
  gap: 9px
}

.mini-calc-result {
  background: var(--soft);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid var(--line)
}

.mini-calc-result strong {
  display: block;
  font-size: 22px;
  color: var(--accent)
}

/* services / sell / forms */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 27px;
  box-shadow: var(--shadow-sm);
  transition: .22s
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 12%, var(--paper));
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 19px
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.form-shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 25px
}

.form-aside {
  border-radius: 20px;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  color: #fff;
  padding: 32px;
  position: sticky;
  top: 105px;
  align-self: start
}

.form-aside h2 {
  font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 37px;
  font-weight: 500;
  line-height: 1.05
}

.form-aside p {
  color: rgba(255, 255, 255, .72);
  font-size: 13px
}

.form-aside ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 12px;
  margin-top: 24px
}

.form-aside li {
  display: flex;
  gap: 9px
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-sm)
}

.form-card h2 {
  margin-top: 0
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px
}

.form-grid .full {
  grid-column: 1/-1
}

.form-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px
}

.success-box {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-radius: 11px;
  background: #eeeeee;
  border: 1px solid #bdbdbd;
  color: #111111;
  font-size: 12px
}

.success-box.show {
  display: block
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 25px
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--white);
  padding: 27px
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 21px 0
}

.contact-row small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.contact-row strong,
.contact-row a {
  font-size: 15px
}

.map {
  width: 100%;
  height: 490px;
  border: 0;
  border-radius: 19px;
  border: 1px solid var(--line)
}

/* compare modal / quick view */
.compare-dock {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 120px);
  z-index: 1200;
  width: min(860px, calc(100% - 28px));
  background: var(--accent-2);
  color: white;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .3);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: .3s
}

.compare-dock.open {
  transform: translate(-50%, 0)
}

.compare-items {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0
}

.compare-item {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 6px 9px;
  min-width: 0
}

.compare-item img {
  width: 42px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px
}

.compare-item span {
  font-size: 10px;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.compare-dock-actions {
  display: flex;
  gap: 7px
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(10, 15, 13, .56);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px
}

.modal.open {
  display: flex
}

.modal-card {
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .32);
  position: relative
}

.modal-close {
  position: sticky;
  float: right;
  top: 13px;
  right: 13px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  z-index: 5;
  cursor: pointer
}

.modal-body {
  padding: 26px
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.quick-view-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 15px
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top
}

.compare-table th:first-child,
.compare-table td:first-child {
  color: var(--muted);
  width: 130px
}

.compare-car-head img {
  width: 130px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 7px
}

/* theme panel */
.theme-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100
}

.theme-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer
}

.theme-menu {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: 220px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  display: none
}

.theme-menu.open {
  display: block
}

.theme-menu strong {
  font-size: 12px
}

.theme-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0
}

.swatch {
  height: 34px;
  border-radius: 9px;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer
}

.swatch.gold {
  background: #262626
}

.swatch.emerald {
  background: #4a4a4a
}

.swatch.red {
  background: #686868
}

.swatch.navy {
  background: #111111
}

.mode-toggle {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800
}

/* admin */
.admin-shell {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 100vh
}

.admin-side {
  background: var(--accent-2);
  color: white;
  padding: 22px 17px;
  position: sticky;
  top: 0;
  height: 100vh
}

.admin-side .brand img {
  filter: brightness(0) invert(1);
  width: 190px;
  margin-bottom: 30px
}

.admin-side>a:not(.brand) {
  display: block;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
  margin: 3px 0
}

.admin-side>a:hover {
  background: rgba(255, 255, 255, .08);
  color: white
}

.admin-main {
  padding: 36px
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px
}

.admin-header h1 {
  font-family: 'Roboto Condensed','Arial Narrow',Arial,sans-serif;
  font-size: 48px;
  font-weight: 500;
  margin: 5px 0
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 25px 0
}

.admin-stat {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  padding: 18px
}

.admin-stat strong {
  display: block;
  font-size: 25px
}

.admin-stat span {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 20px;
  margin-top: 18px;
  box-shadow: var(--shadow-sm)
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px
}

.admin-table th,
.admin-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left
}

.admin-table th {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .06em
}

.admin-table img {
  width: 65px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover
}

.admin-table small {
  display: block;
  color: var(--muted)
}

.mini-btn {
  height: 31px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  margin-right: 4px
}

.mini-btn:hover {
  border-color: var(--brand)
}

.mini-btn.danger {
  color: var(--danger)
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.admin-form label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 800;
  display: grid;
  gap: 6px
}

.admin-form .full {
  grid-column: 1/-1
}

/* footer */
.footer {
  background: #252525;
  color: #F3F2EF;
  padding: 62px 0 22px;
  margin-top: 0
}

.footer .brand img {
  filter: brightness(0) invert(1)
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px
}

.footer h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #bdbdbd;
  margin: 4px 0 13px
}

.footer a {
  display: block;
  font-size: 12px;
  color: #eeeeee;
  margin: 8px 0
}

.footer p {
  color: #bdbdbd;
  font-size: 12px;
  max-width: 360px
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #b5b5b5
}

.socials {
  display: flex;
  gap: 7px;
  margin-top: 14px
}

.socials a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0
}

/* animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .65s cubic-bezier(.2, .7, .2, 1)
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* responsive */
@media(max-width:1080px) {
  .main-nav {
    gap: 16px
  }

  .brand img {
    width: 182px
  }

  .nav-actions .btn {
    display: none
  }

  .car-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .brand-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .dealer-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .search-grid {
    grid-template-columns: 1.5fr 1fr 1fr auto
  }

  .search-grid .condition-select {
    display: none
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-box:nth-child(2) {
    border-right: 0
  }

  .stat-box:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .browse-layout {
    grid-template-columns: 245px 1fr
  }

  .car-card.list-card {
    grid-template-columns: 250px 1fr
  }

  .admin-form {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:820px) {
  .topbar-right {
    display: none
  }

  .desktop-only {
    display: none
  }

  .nav-toggle {
    display: block;
    margin-left: auto
  }

  .nav-wrap {
    min-height: 70px
  }

  .brand img {
    width: 175px
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 8px;
    box-shadow: var(--shadow)
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    padding: 12px
  }

  .main-nav a:after {
    display: none
  }

  .nav-actions {
    gap: 6px
  }

  .hero {
    min-height: 650px
  }

  .hero-inner {
    min-height: 650px;
    padding: 55px 0 145px
  }

  .hero-copy {
    width: 80%
  }

  .hero:after {
    background: linear-gradient(90deg, rgba(25, 25, 25, .84) 0%, rgba(38, 38, 38, .70) 58%, rgba(52, 52, 52, .42) 100%), linear-gradient(0deg, rgba(25, 25, 25, .52), transparent 44%)
  }

  .search-grid {
    grid-template-columns: 1fr 1fr
  }

  .search-grid .field-icon {
    grid-column: 1/-1
  }

  .search-grid .btn {
    grid-column: 1/-1
  }

  .hero-search-wrap {
    margin-top: -94px
  }

  .car-grid,
  .car-grid.three {
    grid-template-columns: repeat(2, 1fr)
  }

  .feature-split,
  .finance-shell,
  .form-shell,
  .contact-grid,
  .detail-grid,
  .detail-lower {
    grid-template-columns: 1fr
  }

  .feature-media {
    min-height: 430px
  }

  .finance-copy,
  .finance-form {
    padding: 30px
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .browse-layout {
    grid-template-columns: 1fr
  }

  .filters-panel {
    display: none;
    position: fixed;
    inset: 0 16% 0 0;
    top: 0;
    z-index: 1400;
    border-radius: 0;
    overflow: auto;
    padding-top: 25px
  }

  .filters-panel.open {
    display: block
  }

  .mobile-filter-btn {
    display: inline-flex
  }

  .detail-panel,
  .form-aside {
    position: static
  }

  .detail-main-image {
    height: 440px
  }

  .admin-shell {
    grid-template-columns: 1fr
  }

  .admin-side {
    position: static;
    height: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    overflow: auto
  }

  .admin-side .brand {
    display: none
  }

  .admin-side>a:not(.brand) {
    white-space: nowrap
  }

  .admin-main {
    padding: 24px
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr
  }

  .footer-grid>div:last-child {
    grid-column: 2/4
  }
}

@media(max-width:560px) {
  .container {
    width: min(100% - 24px, var(--container))
  }

  .topbar .container {
    min-height: 34px
  }

  .topbar-left span:last-child {
    display: none
  }

  .nav-actions .icon-btn:nth-child(1) {
    display: none
  }

  .hero {
    min-height: 620px
  }

  .hero-inner {
    min-height: 620px;
    padding-top: 42px
  }

  .hero-copy {
    width: 100%;
    padding-right: 12px
  }

  .hero h1 {
    font-size: 51px
  }

  .hero p {
    font-size: 14px;
    max-width: 90%
  }

  .hero-micro {
    gap: 10px 16px
  }

  .hero-search-wrap {
    margin-top: -110px
  }

  .hero-search {
    padding: 12px;
    border-radius: 17px
  }

  .hero-search-head {
    display: none
  }

  .search-grid {
    grid-template-columns: 1fr
  }

  .search-grid .field-icon,
  .search-grid .btn {
    grid-column: auto
  }

  .search-grid .condition-select {
    display: block
  }

  .quick-chips {
    display: none
  }

  .section {
    padding: 64px 0
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px
  }

  .section-head h2 {
    font-size: 40px
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .stat-box {
    padding: 16px
  }

  .stat-icon {
    display: none
  }

  .stat-box strong {
    font-size: 19px
  }

  .car-grid,
  .car-grid.three {
    grid-template-columns: 1fr
  }

  .car-image {
    height: 235px
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .how-grid,
  .dealer-grid,
  .service-grid {
    grid-template-columns: 1fr
  }

  .feature-media {
    min-height: 370px
  }

  .feature-card-float {
    left: 12px;
    right: 12px;
    bottom: 12px
  }

  .sell-band {
    padding: 30px 24px
  }

  .sell-band-inner {
    align-items: flex-start;
    flex-direction: column
  }

  .calc-grid,
  .calc-result,
  .form-grid {
    grid-template-columns: 1fr
  }

  .form-grid .full {
    grid-column: auto
  }

  .finance-copy,
  .finance-form {
    padding: 24px
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column
  }

  .toolbar-actions {
    width: 100%
  }

  .toolbar-actions .select {
    flex: 1;
    width: auto
  }

  .car-card.list-card {
    display: block
  }

  .car-card.list-card .car-image {
    height: 235px
  }

  .detail-main-image {
    height: 330px
  }

  .thumb-row {
    grid-template-columns: repeat(4, 1fr)
  }

  .thumb {
    height: 62px
  }

  .detail-panel {
    padding: 18px
  }

  .detail-title {
    font-size: 36px
  }

  .detail-spec-grid {
    grid-template-columns: 1fr 1fr
  }

  .features-list {
    grid-template-columns: 1fr
  }

  .quick-view-grid {
    grid-template-columns: 1fr
  }

  .quick-view-grid img {
    height: 240px
  }

  .compare-item span {
    display: none
  }

  .compare-item img {
    width: 34px
  }

  .compare-dock {
    bottom: 10px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1
  }

  .footer-grid>div:last-child {
    grid-column: auto
  }

  .footer-bottom {
    flex-direction: column
  }

  .admin-main {
    padding: 18px
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .admin-form {
    grid-template-columns: 1fr
  }

  .admin-form .full {
    grid-column: auto
  }
}

/* ==========================================================================\n   GRAPHITE REFERENCE DESIGN SYSTEM — visual DNA transferred from PDF\n   ========================================================================== */
body{background:#f8f8f8;letter-spacing:.005em}
.container{width:min(var(--container),calc(100% - 32px))}
.section{padding:40px 0;background:#f8f8f8}
.section.alt{background:#f8f8f8}
.section.compact{padding:34px 0 48px}
.section>.container{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-sm);padding:30px}
.section-label,.eyebrow{color:var(--ink);font-size:10px;letter-spacing:.12em;font-weight:800}
.section-label:before,.eyebrow:before{width:18px;background:var(--ink)}
.section-head{margin-bottom:24px;align-items:center}
.section-head h2,.page-hero h1,.detail-title{font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif;font-size:clamp(30px,3.2vw,46px);line-height:1.02;letter-spacing:-.025em;font-weight:700}
.section-head p{font-size:13px}
.text-link{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.text-link:hover{color:var(--muted)}

.topbar{background:#e2e2e4;color:#242424;border-bottom:1px solid var(--line);box-shadow:0 3px 5px rgba(0,0,0,.10)}
.topbar .container{min-height:34px}.topbar a:hover{color:#000}
.site-header{background:#f8f8f8;backdrop-filter:none;border:0;box-shadow:none;padding:8px 0}
.site-header.scrolled{border:0;box-shadow:none}
.nav-wrap{min-height:62px;background:#e1e1e3;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-sm);padding:7px 13px;gap:20px}
.brand img{width:188px}
.main-nav{gap:8px}
.main-nav a{padding:12px 9px;font-size:12px;font-weight:700;border:1px solid transparent;border-radius:7px}
.main-nav a:after{display:none}.main-nav a:hover,.main-nav a.active{background:#f7f7f7;border-color:var(--line);box-shadow:1px 2px 3px rgba(0,0,0,.10)}
.icon-btn,.theme-fab{border-radius:8px;border:1px solid var(--line-strong);background:#fff;box-shadow:var(--shadow-sm)}
.count-badge{background:#252525;color:#fff;border-radius:6px}
.nav-toggle{border:1px solid var(--line-strong);border-radius:7px;background:#fff;box-shadow:var(--shadow-sm);font-size:21px}

.btn,.mini-btn,.mode-toggle{border-radius:8px;background:#fff;color:var(--ink);border:1px solid var(--line-strong);box-shadow:var(--shadow-sm);font-weight:700;letter-spacing:.02em}
.btn:hover,.mini-btn:hover{transform:translateY(-2px);box-shadow:3px 5px 7px rgba(0,0,0,.20);border-color:#555}
.btn-primary,.btn-gold{background:#252525;color:#fff;border-color:#252525;box-shadow:2px 4px 5px rgba(0,0,0,.22)}
.btn-primary:hover,.btn-gold:hover{background:#111;color:#fff;box-shadow:3px 6px 8px rgba(0,0,0,.24)}
.btn-outline,.btn-ghost{background:#fff;color:#1b1b1b;border-color:#777}
.btn-sm{border-radius:7px}

.hero{width:min(1360px,calc(100% - 24px));min-height:580px;margin:4px auto 0;border:1px solid var(--line-strong);border-radius:15px;box-shadow:var(--shadow);background:#e1e1e3}
.hero-video{left:auto;right:0;width:54%;height:100%;object-fit:contain;object-position:center;background:#ececee;filter:grayscale(.35) contrast(1.02);padding:28px}
.hero:before{background:linear-gradient(90deg,#e1e1e3 0%,#e1e1e3 48%,rgba(225,225,227,.82) 58%,rgba(225,225,227,.12) 78%);z-index:1}
.hero:after{display:none}
.hero-inner{min-height:580px;padding:56px 0 105px}
.hero-copy{width:min(590px,52%);background:rgba(255,255,255,.95);border:1px solid var(--line-strong);border-radius:11px;box-shadow:5px 7px 10px rgba(0,0,0,.15);padding:30px}
.hero .eyebrow{color:#333}
.hero h1{font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif;font-size:clamp(46px,5vw,70px);line-height:.96;letter-spacing:-.035em;font-weight:800;color:#191919;text-shadow:none;margin:12px 0 16px}
.hero h1 .gold{color:#555}
.hero p,html[data-mode="dark"] .hero p{font-size:15px;color:#555;text-shadow:none;max-width:520px}
.hero .btn-primary{background:#252525;color:#fff;border-color:#252525;box-shadow:var(--shadow-sm)}
.hero .btn-primary:hover{background:#111}.hero .btn-outline{background:#fff;color:#1c1c1c;border-color:#777;backdrop-filter:none}.hero .btn-outline:hover{background:#f4f4f4;border-color:#555;box-shadow:var(--shadow-sm)}
.hero-micro{color:#555;gap:14px;margin-top:22px}.hero-micro i{background:#eee;color:#222;border:1px solid var(--line-strong);border-radius:6px;box-shadow:none}
.hero-search-wrap{margin-top:-62px}
.hero-search{border:1px solid var(--line-strong);border-radius:10px;box-shadow:5px 7px 10px rgba(0,0,0,.16);padding:15px;background:#fdfdfd}
.field,.select,.input{border:1px solid var(--line-strong);border-radius:8px;background:#fff;min-height:45px;box-shadow:1px 2px 3px rgba(0,0,0,.07)}
.field:focus,.select:focus,.input:focus,textarea:focus{border-color:#444;box-shadow:0 0 0 2px rgba(0,0,0,.09)}
.chip,.filter-pill{border-radius:7px;border:1px solid var(--line);background:#f5f5f5;color:#555}.chip:hover,.chip.active{border-color:#555;color:#222;background:#fff}

.stats-bar{padding:34px 0 6px}.stats-grid{border:0;border-radius:0;overflow:visible;background:transparent;box-shadow:none;gap:18px}.stat-box{background:#fff;border:1px solid var(--line-strong)!important;border-radius:9px;box-shadow:3px 5px 7px rgba(0,0,0,.17);padding:18px 20px}.stat-icon{border:1px solid var(--line);border-radius:8px;background:#eee;color:#292929}.stat-box strong{font-size:24px}.stat-box span{letter-spacing:.04em}

.car-grid{grid-template-columns:repeat(4,1fr);gap:18px}.car-card,.dealer-card,.service-card,.how-card,.brand-tile,.content-card,.contact-card,.form-card,.admin-card,.admin-stat{background:#fff;border:1px solid var(--line-strong);border-radius:9px;box-shadow:3px 5px 7px rgba(0,0,0,.16)}
.car-card:hover,.dealer-card:hover,.service-card:hover,.brand-tile:hover{transform:translateY(-2px);box-shadow:4px 7px 9px rgba(0,0,0,.20);border-color:#555}
.car-image{height:195px;background:#ececee;border-bottom:1px solid var(--line)}
.car-image img{object-fit:contain;padding:12px;filter:saturate(.80)}.car-card:hover .car-image img{transform:scale(1.02)}
.car-badge,.dealer-verified{border-radius:6px;background:rgba(255,255,255,.95);color:#333;border:1px solid var(--line-strong);backdrop-filter:none;box-shadow:1px 2px 3px rgba(0,0,0,.10)}
.round-action{border-radius:7px;border:1px solid var(--line-strong);background:#fff;backdrop-filter:none;box-shadow:1px 2px 3px rgba(0,0,0,.12)}.round-action.active{background:#252525;border-color:#252525;color:#fff}
.car-body{padding:15px}.car-kicker{color:#555;letter-spacing:.06em}.verified-dot{color:#333}.price,.detail-price,.mini-calc-result strong{color:#1e1e1e}.car-bottom{border-top:1px solid var(--line)}
.card-rail{grid-auto-columns:minmax(260px,300px)}.rail-btn{border-radius:7px;border-color:var(--line-strong);box-shadow:var(--shadow-sm)}
.brand-grid{grid-template-columns:repeat(8,1fr);gap:11px}.brand-tile{min-height:94px;border-radius:9px}.brand-logo-faux,.how-icon,.service-icon,.check{border:1px solid var(--line);border-radius:7px;background:#eeeeef;color:#333}.how-card{border-radius:9px}.how-num{color:#c1c1c1;font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif}
.feature-media{border:1px solid var(--line-strong);border-radius:11px;box-shadow:var(--shadow);background:#ddd}.feature-card-float{border:1px solid var(--line-strong);border-radius:9px;box-shadow:var(--shadow-sm);backdrop-filter:none}.feature-copy h2,.finance-copy h2,.sell-band h2,.form-aside h2{font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif;font-weight:700;letter-spacing:-.02em}

.finance-shell{border:1px solid var(--line-strong);border-radius:11px;box-shadow:var(--shadow);background:#fff}.finance-copy{background:#dedee0;color:#1c1c1c;border-right:1px solid var(--line-strong)}.finance-copy .section-label{color:#333}.finance-copy p{color:#5f5f5f}.calc-result div,.detail-spec-grid div,.mini-calc-result{border:1px solid var(--line);border-radius:8px;background:#f2f2f2}
.sell-band{border:1px solid var(--line-strong);border-radius:11px;background:#dedee0;color:#1c1c1c;box-shadow:var(--shadow);padding:38px}.sell-band:after{display:none}.sell-band p{color:#5d5d5d}.sell-band .btn{color:#1b1b1b;border:1px solid var(--line-strong);box-shadow:var(--shadow-sm)}

.page-hero{width:min(1360px,calc(100% - 24px));margin:6px auto 0;padding:44px 0 36px;background:#dedee0;border:1px solid var(--line-strong);border-radius:14px;box-shadow:var(--shadow-sm)}
.page-hero>.container{padding:0 18px}.crumbs{margin-bottom:12px}
.browse-layout{gap:20px}.filters-panel{border:1px solid var(--line-strong);border-radius:9px;box-shadow:var(--shadow-sm);background:#fff}.filter-group{border-color:var(--line)}.results-toolbar{border-bottom:1px solid var(--line-strong)}.view-toggle{border-color:var(--line-strong);border-radius:7px}.view-toggle button.active{background:#252525;color:#fff}.empty-state{border-radius:9px;background:#f4f4f4}

.detail-wrap{padding:34px 0 48px}.detail-wrap>.container{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-sm);padding:28px}.detail-main-image{height:480px;border:1px solid var(--line-strong);border-radius:10px;background:#ececee;box-shadow:var(--shadow-sm)}.detail-main-image img{object-fit:contain;padding:16px}.thumb{border-radius:7px;background:#ececee}.thumb img{object-fit:contain}.thumb.active{border-color:#444}.detail-panel{border:1px solid var(--line-strong);border-radius:10px;box-shadow:var(--shadow);padding:24px}.seller-card{border-radius:8px}.detail-lower{margin-top:24px}.features-list div{border-radius:7px}

.service-card{border-radius:9px}.form-shell,.contact-grid{gap:20px}.form-aside{border:1px solid var(--line-strong);border-radius:10px;background:#dedee0;color:#1c1c1c;box-shadow:var(--shadow-sm)}.form-aside p{color:#5c5c5c}.form-card,.contact-card{border-radius:9px}.success-box{background:#eeeeee;border-color:#bdbdbd;color:#2a2a2a}.map{border:1px solid var(--line-strong);border-radius:9px;box-shadow:var(--shadow-sm)}

.compare-dock{background:#252525;border:1px solid #555;border-radius:9px;box-shadow:5px 7px 12px rgba(0,0,0,.28)}.compare-item{border:1px solid rgba(255,255,255,.18);border-radius:7px}.compare-item img,.compare-car-head img{object-fit:contain;background:#eee}.modal{background:rgba(0,0,0,.46);backdrop-filter:blur(3px)}.modal-card{border:1px solid var(--line-strong);border-radius:10px;box-shadow:8px 12px 22px rgba(0,0,0,.30)}.modal-close{border-radius:7px}.quick-view-grid>img{object-fit:contain;background:#ececee;border:1px solid var(--line);border-radius:9px;padding:14px}.compare-table th,.compare-table td{border-bottom:1px solid var(--line)}

.theme-panel{right:16px;bottom:16px}.theme-menu{border:1px solid var(--line-strong);border-radius:9px;box-shadow:var(--shadow);background:#fff}.swatch{border-radius:6px}.swatch.gold{background:#2d2d2d}.swatch.emerald{background:#47524d}.swatch.red{background:#604747}.swatch.navy{background:#3e4852}.mode-toggle{background:#efefef}

.admin-shell{grid-template-columns:225px 1fr;background:#f7f7f7}.admin-side{background:#dedee0;color:#1c1c1c;border-right:1px solid var(--line-strong);padding:18px 14px}.admin-side .brand img{filter:none}.admin-side>a:not(.brand){color:#333;border:1px solid transparent;border-radius:7px}.admin-side>a:hover{background:#fff;color:#111;border-color:var(--line);box-shadow:var(--shadow-sm)}.admin-main{padding:28px}.admin-header h1{font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif;font-size:42px;font-weight:700}.admin-stats{gap:16px}.admin-card{border-radius:9px}.admin-table{border-collapse:separate;border-spacing:0 5px}.admin-table th{background:#fff;border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong)}.admin-table td{background:#f4f4f4;border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 2px 2px rgba(0,0,0,.08)}.admin-table img{object-fit:contain;background:#eee}.mini-btn.danger{color:#7a2727}

.footer{width:min(1360px,calc(100% - 24px));margin:0 auto 12px;background:#dedee0;color:#1c1c1c;border:1px solid var(--line-strong);border-radius:14px;box-shadow:var(--shadow-sm);padding:42px 0 18px}.footer .brand img{filter:none}.footer h4{color:#575757}.footer a{color:#2c2c2c}.footer p{color:#666}.footer-bottom{color:#666;border-top:1px solid var(--line)}.socials a{border:1px solid var(--line-strong);border-radius:7px;background:#fff;box-shadow:var(--shadow-sm)}

.reveal{transform:translateY(10px);transition:.38s ease}

@media(max-width:1080px){.car-grid{grid-template-columns:repeat(3,1fr)}.hero-copy{width:58%}.hero-video{width:50%}.section>.container{padding:24px}}
@media(max-width:820px){.site-header{padding:6px 0}.nav-wrap{position:relative}.main-nav{top:68px;background:#e3e3e5;border:1px solid var(--line-strong);border-radius:9px;box-shadow:var(--shadow);padding:7px}.main-nav a{padding:10px}.hero{min-height:620px}.hero-video{width:100%;height:46%;top:auto;bottom:0;padding:18px;opacity:.42}.hero:before{background:linear-gradient(180deg,#e1e1e3 0%,#e1e1e3 57%,rgba(225,225,227,.68) 74%,rgba(225,225,227,.20) 100%)}.hero-inner{min-height:620px;align-items:flex-start;padding:34px 0 180px}.hero-copy{width:min(640px,100%);padding:24px}.hero-search-wrap{margin-top:-70px}.section>.container,.detail-wrap>.container{padding:22px}.finance-copy{border-right:0;border-bottom:1px solid var(--line-strong)}}
@media(max-width:560px){.container{width:min(100% - 20px,var(--container))}.topbar{font-size:10px}.nav-wrap{min-height:58px;border-radius:9px}.brand img{width:150px}.hero{width:calc(100% - 14px);min-height:600px;border-radius:11px}.hero-inner{min-height:600px;padding:26px 0 166px}.hero-copy{padding:20px;border-radius:9px}.hero h1{font-size:44px}.hero p{font-size:13px;max-width:100%}.hero-micro{font-size:10px}.hero-search{border-radius:9px}.section{padding:24px 0}.section>.container,.detail-wrap>.container{padding:16px;border-radius:10px}.section-head h2{font-size:34px}.stats-grid{gap:10px}.stat-box{padding:13px;border-radius:8px}.car-image{height:210px}.sell-band{padding:24px 20px;border-radius:9px}.page-hero{width:calc(100% - 14px);border-radius:10px;padding:34px 0 28px}.detail-main-image{height:300px}.detail-panel{padding:17px}.footer{width:calc(100% - 14px);border-radius:10px}.admin-main{padding:16px}}

/* ========================================================================== 
   WORAIFAM BRIGHT GREEN + GLASS HERO FINAL OVERRIDES
   Keeps navbar / hero / footer on one shared horizontal rhythm.
   ========================================================================== */
:root {
  --brand: #16a34a;
  --brand-2: #0b7a35;
  --accent: #16a34a;
  --accent-2: #0b7a35;
  --ink: #111827;
  --muted: #64748b;
  --soft: #f1f5f3;
  --surface: #ffffff;
  --paper: #f8fbf9;
  --white: #ffffff;
  --line: rgba(15, 23, 42, .12);
  --line-strong: rgba(15, 23, 42, .20);
  --success: #16a34a;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow: 0 14px 36px rgba(15, 23, 42, .12);
  --shadow-lg: 0 22px 60px rgba(15, 23, 42, .16);
  --container: 1220px;
  --page-gutter: 32px;
}

html[data-theme="emerald"],
html[data-theme="red"],
html[data-theme="navy"] {
  --brand: #16a34a;
  --brand-2: #0b7a35;
  --accent: #16a34a;
  --accent-2: #0b7a35;
}

body {
  font-family: 'Manrope', Arial, sans-serif;
  background: #f8fbf9;
  color: var(--ink);
}

.container {
  width: min(var(--container), calc(100% - var(--page-gutter)));
}

.section,
.section.alt {
  background: transparent;
}

.section > .container,
.detail-wrap > .container {
  background: #ffffff;
  border-color: rgba(15, 23, 42, .10);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}

.section-head h2,
.page-hero h1,
.detail-title,
.feature-copy h2,
.finance-copy h2,
.sell-band h2,
.form-aside h2,
.hero h1 {
  font-family: 'Manrope', Arial, sans-serif;
}

.section-label,
.eyebrow,
.text-link,
.car-kicker {
  color: var(--brand);
}

/* NAVBAR — brighter, cleaner, same outer margin as hero/footer */
.topbar {
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 0;
  box-shadow: none;
}

.topbar a:hover { color: #ffffff; }

.site-header {
  background: rgba(248, 251, 249, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 0;
}

.site-header.scrolled {
  background: rgba(248, 251, 249, .96);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
}

.nav-wrap {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  padding: 8px 14px;
}

.main-nav a {
  color: #243044;
  border-radius: 10px;
}

.main-nav a:hover,
.main-nav a.active {
  color: #087332;
  background: #ecfdf3;
  border-color: rgba(22, 163, 74, .18);
  box-shadow: none;
}

.icon-btn,
.theme-fab {
  border-color: rgba(15, 23, 42, .14);
  border-radius: 11px;
  box-shadow: none;
}

.icon-btn:hover {
  border-color: rgba(22, 163, 74, .42);
  color: var(--brand);
  box-shadow: 0 8px 20px rgba(22, 163, 74, .10);
}

.btn,
.mini-btn,
.mode-toggle {
  border-radius: 10px;
}

.btn-primary,
.btn-gold,
.search-btn,
.nav-whatsapp {
  background: linear-gradient(135deg, #19ad50, #0b8539);
  border-color: #0d8e3e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, .24);
}

.btn-primary:hover,
.btn-gold:hover,
.search-btn:hover,
.nav-whatsapp:hover {
  background: linear-gradient(135deg, #0f943f, #086b2e);
  box-shadow: 0 14px 30px rgba(22, 163, 74, .30);
}

.btn-secondary-green {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.40);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  transition: .25s ease;
}

.btn-secondary-green:hover {
  transform: translateY(-2px);
  background: rgba(22, 163, 74, .28);
  border-color: rgba(255,255,255,.68);
}

/* HERO — full video, translucent black blur, aligned exactly with navbar/footer */
.hero {
  width: min(var(--container), calc(100% - var(--page-gutter)));
  min-height: 610px;
  margin: 0 auto 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #101614;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
  isolation: isolate;
}

.hero > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 4vw, 52px);
  padding-right: clamp(24px, 4vw, 52px);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.06) brightness(.88);
  transform: scale(1.01);
}

.hero::before,
.hero::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 10, 7, .64) 0%, rgba(3, 10, 7, .42) 42%, rgba(3, 10, 7, .16) 72%, rgba(3, 10, 7, .08) 100%),
    linear-gradient(0deg, rgba(3, 10, 7, .30), rgba(3, 10, 7, .06) 48%, rgba(3, 10, 7, .15));
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 610px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 105px;
}

.hero-copy {
  width: min(650px, 61%);
  padding: clamp(24px, 3vw, 38px);
  background: rgba(8, 12, 10, .54);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9ffe5;
  background: rgba(22, 163, 74, .18);
  border: 1px solid rgba(134, 239, 172, .24);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 800;
  text-shadow: 0 8px 30px rgba(0,0,0,.26);
  margin: 18px 0 18px;
}

.hero h1 span {
  color: #86efac;
}

.hero p,
html[data-mode="dark"] .hero p {
  color: rgba(255,255,255,.84);
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  text-shadow: none;
}

.hero-actions { margin-top: 26px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 700;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust i {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-style: normal;
  font-size: 10px;
  box-shadow: 0 5px 15px rgba(22,163,74,.28);
}

.hero-search-wrap {
  margin-top: -62px;
}

.hero-search {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.field,
.select,
.input {
  border-color: rgba(15,23,42,.14);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.field:focus,
.select:focus,
.input:focus,
textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.12);
}

.chip:hover,
.chip.active {
  border-color: rgba(22,163,74,.45);
  color: #0b7a35;
  background: #ecfdf3;
}

/* Cards and sections — brighter and more dimensional */
.stats-grid { gap: 16px; }
.stat-box,
.car-card,
.dealer-card,
.service-card,
.how-card,
.brand-tile,
.content-card,
.contact-card,
.form-card,
.admin-card,
.admin-stat,
.finance-shell {
  border-color: rgba(15,23,42,.10);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
}

.stat-icon,
.brand-logo-faux,
.how-icon,
.service-icon,
.check {
  color: #0c8037;
  background: #ecfdf3;
  border-color: rgba(22,163,74,.16);
}

.price,
.detail-price,
.mini-calc-result strong {
  color: #0b7a35;
}

.car-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease, border-color .32s ease;
}

.car-card:hover {
  transform: translateY(-7px);
  border-color: rgba(22,163,74,.26);
  box-shadow: 0 20px 42px rgba(15,23,42,.14);
}

.car-image {
  height: 205px;
  background: linear-gradient(145deg, #f8fafc, #eef6f0);
  border-bottom-color: rgba(15,23,42,.08);
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  filter: saturate(1.04) contrast(1.02);
}

.car-card:hover .car-image img {
  transform: scale(1.055);
}

.car-badge {
  color: #086b2e;
  background: rgba(240,253,244,.92);
  border-color: rgba(134,239,172,.48);
}

.round-action.active {
  background: #16a34a;
  border-color: #16a34a;
}

.car-body { padding: 17px; }
.car-body h3 { font-size: 18px; color: #111827; }
.car-specs { color: #64748b; }
.car-bottom { border-top-color: rgba(15,23,42,.09); }

.finance-copy,
.sell-band,
.form-aside {
  background: linear-gradient(145deg, #0f172a, #172033);
  color: #fff;
}

.finance-copy p,
.sell-band p,
.form-aside p { color: rgba(255,255,255,.74); }
.finance-copy .section-label,
.sell-band .eyebrow { color: #86efac; }

/* FOOTER — same exact outside width as navbar and hero */
.footer {
  width: min(var(--container), calc(100% - var(--page-gutter)));
  margin: 0 auto 16px;
  padding: 48px 0 22px;
  background: #0f172a;
  color: #f8fafc;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15,23,42,.16);
}

.footer > .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(22px, 3vw, 38px);
  padding-right: clamp(22px, 3vw, 38px);
}

.footer .brand img {
  filter: brightness(0) invert(1);
}

.footer h4 { color: #86efac; }
.footer a { color: #e2e8f0; }
.footer a:hover { color: #86efac; }
.footer p,
.footer-bottom { color: #94a3b8; }
.footer-bottom { border-color: rgba(255,255,255,.10); }
.footer .socials a {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}

/* Motion — gives cards/divs life even if JS reveal is not attached */
@keyframes woraifamRise {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes woraifamHeroIn {
  from { opacity: 0; transform: translate3d(-18px,18px,0); }
  to   { opacity: 1; transform: translate3d(0,0,0); }
}

.hero-copy { animation: woraifamHeroIn .85s cubic-bezier(.2,.8,.2,1) both; }

.stat-box,
.car-card,
.brand-tile,
.how-card,
.dealer-card,
.service-card,
.finance-shell,
.sell-band,
.feature-media,
.feature-copy {
  animation: woraifamRise .65s cubic-bezier(.2,.8,.2,1) both;
}

.car-grid > :nth-child(2), .stats-grid > :nth-child(2), .how-grid > :nth-child(2), .brand-grid > :nth-child(2) { animation-delay: .06s; }
.car-grid > :nth-child(3), .stats-grid > :nth-child(3), .how-grid > :nth-child(3), .brand-grid > :nth-child(3) { animation-delay: .12s; }
.car-grid > :nth-child(4), .stats-grid > :nth-child(4), .how-grid > :nth-child(4), .brand-grid > :nth-child(4) { animation-delay: .18s; }

/* Tablet */
@media (max-width: 820px) {
  :root { --page-gutter: 24px; }

  .hero {
    min-height: 620px;
    border-radius: 17px;
  }

  .hero-video {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    padding: 0;
    object-fit: cover;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(3,10,7,.38), rgba(3,10,7,.57));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .hero-inner {
    min-height: 620px;
    align-items: center;
    padding: 42px 0 118px;
  }

  .hero-copy {
    width: min(610px, 100%);
    padding: 28px;
  }

  .main-nav {
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    border-radius: 14px;
  }
}

/* Phone — rebuilt car listing presentation */
@media (max-width: 560px) {
  :root { --page-gutter: 20px; }

  body { background: #f5faf7; }

  .container {
    width: min(var(--container), calc(100% - var(--page-gutter)));
  }

  .nav-wrap {
    min-height: 60px;
    border-radius: 13px;
    padding: 6px 10px;
  }

  .hero {
    width: min(var(--container), calc(100% - var(--page-gutter)));
    min-height: 590px;
    border-radius: 16px;
  }

  .hero > .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-inner {
    min-height: 590px;
    padding: 28px 0 120px;
  }

  .hero-copy {
    width: 100%;
    padding: 22px 18px;
    border-radius: 15px;
    background: rgba(6, 11, 8, .58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 52px);
    line-height: 1;
    margin: 14px 0;
  }

  .hero p {
    font-size: 13px;
    line-height: 1.6;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .hero-actions .btn,
  .hero-actions .btn-secondary-green {
    width: 100%;
    padding: 0 10px;
    min-height: 45px;
  }

  .hero-trust {
    gap: 8px 12px;
    font-size: 9px;
  }

  .hero-search-wrap { margin-top: -82px; }
  .hero-search { padding: 12px; border-radius: 14px; }

  .section { padding: 26px 0; }
  .section > .container,
  .detail-wrap > .container {
    padding: 15px;
    border-radius: 14px;
  }

  .section-head h2 { font-size: 31px; }

  .car-grid,
  .car-grid.three {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .car-card {
    border-radius: 15px;
    box-shadow: 0 10px 26px rgba(15,23,42,.09);
  }

  .car-image,
  .car-card.list-card .car-image {
    height: 190px;
    min-height: 0;
    margin: 8px 8px 0;
    width: calc(100% - 16px);
    border: 0;
    border-radius: 12px;
    overflow: hidden;
  }

  .car-image img {
    object-fit: cover;
    border-radius: 12px;
  }

  .car-body,
  .car-card.list-card .car-body {
    padding: 14px 14px 15px;
  }

  .car-body h3,
  .car-card.list-card .car-body h3 {
    font-size: 17px;
    margin: 6px 0 6px;
  }

  .price {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .car-specs,
  .car-card.list-card .car-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .car-specs span {
    min-width: 0;
    padding: 7px 6px;
    border-radius: 8px;
    background: #f2f8f4;
    color: #526172;
    text-align: center;
    font-size: 9px;
  }

  .car-location { margin-top: 9px; }

  .car-bottom,
  .car-card.list-card .car-bottom {
    max-width: none;
    gap: 8px;
    margin-top: 11px;
    padding-top: 11px;
  }

  .car-bottom .btn {
    min-height: 39px;
    font-size: 10px;
  }

  .card-rail {
    grid-auto-columns: 86%;
    gap: 12px;
    margin-right: -15px;
    padding-right: 15px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .stat-box {
    min-height: 88px;
    padding: 13px;
    border-radius: 12px;
  }

  .footer {
    width: min(var(--container), calc(100% - var(--page-gutter)));
    border-radius: 16px;
  }

  .footer > .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .stat-box,
  .car-card,
  .brand-tile,
  .how-card,
  .dealer-card,
  .service-card,
  .finance-shell,
  .sell-band,
  .feature-media,
  .feature-copy {
    animation: none !important;
  }
}

/* ==========================================================================\n   USER REVISION 02 — RESTORE VEHICLE CARDS + WHITE GLASS HERO\n   Keeps green buttons and shared page margins from the previous revision.\n   ========================================================================== */

/* HERO: keep the video crisp — no blur on the video or overlay */
.hero-video {
  filter: saturate(1.08) contrast(1.04) brightness(.92);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 9, 7, .28) 0%, rgba(4, 9, 7, .17) 46%, rgba(4, 9, 7, .06) 100%),
    linear-gradient(0deg, rgba(4, 9, 7, .15), rgba(4, 9, 7, .02) 55%, rgba(4, 9, 7, .08));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* White glass panel: translucent white + highlight + border, without blurring the video */
.hero-copy {
  width: min(650px, 61%);
  padding: clamp(24px, 3vw, 38px);
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  color: #111827;
  box-shadow:
    0 24px 60px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -1px 0 rgba(255,255,255,.36);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.34), transparent 42%);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-tag {
  color: #087332;
  background: rgba(236,253,243,.88);
  border-color: rgba(22,163,74,.22);
}

.hero h1 {
  color: #111827;
  text-shadow: none;
}

.hero h1 span {
  color: #0b8a3b;
}

.hero p,
html[data-mode="dark"] .hero p {
  color: #475569;
  text-shadow: none;
}

.hero-trust {
  color: #475569;
}

.hero .btn-secondary-green {
  color: #087332;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(22,163,74,.34);
  box-shadow: 0 8px 22px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero .btn-secondary-green:hover {
  color: #065f2b;
  background: #f0fdf4;
  border-color: rgba(22,163,74,.55);
}

/* VEHICLE CARDS: restore the earlier card styling on desktop/tablet */
.car-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 3px 5px 7px rgba(0,0,0,.16);
  transition: .22s ease;
  position: relative;
}

.car-card:hover {
  transform: translateY(-2px);
  border-color: #555;
  box-shadow: 4px 7px 9px rgba(0,0,0,.20);
}

.car-image {
  height: 195px;
  overflow: hidden;
  position: relative;
  background: #ececee;
  display: block;
  border-bottom: 1px solid var(--line);
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  filter: saturate(.80);
  transition: .4s;
}

.car-card:hover .car-image img {
  transform: scale(1.02);
}

.car-badge {
  background: rgba(255,255,255,.95);
  color: #333;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: 1px 2px 3px rgba(0,0,0,.10);
}

.round-action {
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: 1px 2px 3px rgba(0,0,0,.12);
}

.round-action.active {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.car-body {
  padding: 15px;
}

.car-body h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 7px 0 8px;
  color: var(--ink);
}

.price {
  font-size: 17px;
  font-weight: 850;
  color: #0b7a35;
  margin-bottom: 10px;
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.car-specs span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-bottom {
  display: flex;
  gap: 7px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.car-bottom .btn {
  flex: 1;
  min-height: 36px;
  padding: 0 10px;
  font-size: 10px;
}

/* Keep list-view structure exactly as before */
.car-card.list-card {
  display: grid;
  grid-template-columns: 310px 1fr;
}

.car-card.list-card .car-image {
  height: 100%;
  min-height: 230px;
}

.car-card.list-card .car-body {
  padding: 22px;
}

.car-card.list-card .car-body h3 {
  font-size: 23px;
}

.car-card.list-card .car-specs {
  display: flex;
  gap: 18px;
}

.car-card.list-card .car-bottom {
  max-width: 420px;
}

/* PHONE ONLY: make the same card design fit and read better */
@media (max-width: 560px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(4,9,7,.16), rgba(4,9,7,.26));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-copy {
    width: 100%;
    padding: 21px 18px;
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255,255,255,.90), rgba(255,255,255,.76));
    border-color: rgba(255,255,255,.82);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-copy::before {
    border-radius: 14px;
  }

  .hero h1 {
    color: #111827;
  }

  .hero p,
  html[data-mode="dark"] .hero p,
  .hero-trust {
    color: #475569;
  }

  .car-grid,
  .car-grid.three {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .car-card,
  .car-card.list-card {
    display: block;
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    box-shadow: 3px 5px 7px rgba(0,0,0,.16);
    overflow: hidden;
  }

  .car-card:hover {
    transform: none;
    box-shadow: 3px 5px 7px rgba(0,0,0,.16);
  }

  .car-image,
  .car-card.list-card .car-image {
    width: 100%;
    height: 218px;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #ececee;
  }

  .car-image img,
  .car-card.list-card .car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    border-radius: 0;
  }

  .car-body,
  .car-card.list-card .car-body {
    padding: 14px;
  }

  .car-kicker {
    font-size: 9px;
    gap: 6px;
  }

  .car-body h3,
  .car-card.list-card .car-body h3 {
    font-size: 17px;
    line-height: 1.28;
    margin: 7px 0 6px;
  }

  .price {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .car-specs,
  .car-card.list-card .car-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
  }

  .car-specs span {
    min-width: 0;
    padding: 7px 5px;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 6px;
    background: #f7f7f7;
    color: #60656d;
    text-align: center;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .car-location {
    margin-top: 9px;
    font-size: 10px;
  }

  .car-bottom,
  .car-card.list-card .car-bottom {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 11px;
    padding-top: 11px;
  }

  .car-bottom .btn {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0 8px;
    font-size: 9px;
  }

  .card-rail {
    grid-auto-columns: 88%;
  }
}

/* ==========================================================================\n   USER REVISION 03 — MOBILE BRAND GRID + DARKER STROKES/SHADOWS\n   ========================================================================== */

/* Restore the darker, more defined borders and shadows requested */
:root {
  --line: rgba(35,35,35,.30);
  --line-strong: rgba(35,35,35,.58);
  --shadow-sm: 2px 3px 5px rgba(0,0,0,.16);
  --shadow: 4px 5px 8px rgba(0,0,0,.18);
  --shadow-lg: 6px 8px 14px rgba(0,0,0,.17);
}

/* Main framed divs/cards keep the stronger original stroke and depth */
.section > .container,
.detail-wrap > .container,
.nav-wrap,
.hero-search,
.stat-box,
.car-card,
.dealer-card,
.service-card,
.how-card,
.brand-tile,
.content-card,
.contact-card,
.form-card,
.admin-card,
.admin-stat,
.finance-shell,
.feature-media,
.feature-card-float,
.sell-band,
.filters-panel,
.detail-panel,
.form-aside,
.map,
.theme-menu {
  border-color: var(--line-strong);
}

.section > .container,
.detail-wrap > .container {
  box-shadow: var(--shadow-sm);
}

.nav-wrap,
.hero-search,
.stat-box,
.car-card,
.dealer-card,
.service-card,
.how-card,
.brand-tile,
.content-card,
.contact-card,
.form-card,
.admin-card,
.admin-stat,
.finance-shell,
.feature-media,
.feature-card-float,
.sell-band,
.filters-panel,
.detail-panel,
.form-aside,
.map,
.theme-menu {
  box-shadow: 3px 5px 7px rgba(0,0,0,.16);
}

/* Buttons: retain green, but bring back the darker stroke/shadow */
.btn,
.mini-btn,
.mode-toggle,
.icon-btn,
.theme-fab,
.rail-btn,
.nav-toggle,
.view-toggle {
  border-color: var(--line-strong);
  box-shadow: 2px 3px 5px rgba(0,0,0,.16);
}

.btn-primary,
.btn-gold,
.search-btn,
.nav-whatsapp {
  background: linear-gradient(135deg, #19ad50, #0b8539);
  border: 1px solid #075d2a;
  color: #fff;
  box-shadow: 2px 4px 6px rgba(0,0,0,.22);
}

.btn-primary:hover,
.btn-gold:hover,
.search-btn:hover,
.nav-whatsapp:hover {
  background: linear-gradient(135deg, #109741, #087331);
  border-color: #054c22;
  box-shadow: 3px 6px 8px rgba(0,0,0,.25);
}

.btn-outline,
.btn-ghost,
.hero .btn-secondary-green {
  border-color: var(--line-strong);
  box-shadow: 2px 3px 5px rgba(0,0,0,.14);
}

/* Brand tiles: stronger definition on all screens */
.brand-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 3px 5px 7px rgba(0,0,0,.16);
}

.brand-tile:hover {
  border-color: #4b4b4b;
  box-shadow: 4px 7px 9px rgba(0,0,0,.20);
}

/* PHONE — redesigned Browse by Brand section */
@media (max-width: 560px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .brand-tile {
    min-height: 82px;
    padding: 11px 10px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 9px;
    row-gap: 2px;
    align-items: center;
    justify-content: stretch;
    text-align: left;
    border-radius: 9px;
    background: #fff;
    border: 1px solid var(--line-strong);
    box-shadow: 3px 5px 7px rgba(0,0,0,.16);
  }

  .brand-tile::after {
    content: "›";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
  }

  .brand-logo-faux {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 7px;
    border: 1px solid var(--line-strong);
    background: #eef9f1;
    color: #087332;
    box-shadow: 1px 2px 3px rgba(0,0,0,.10);
    font-size: 12px;
  }

  .brand-tile strong {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding-right: 13px;
    font-size: 12px;
    line-height: 1.18;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1f2937;
  }

  .brand-tile > span:last-child {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    padding-right: 13px;
    font-size: 9px;
    line-height: 1.2;
    color: #6b7280;
    white-space: nowrap;
  }

  .brand-tile:hover,
  .brand-tile:active {
    transform: translateY(-1px);
    border-color: #3f3f3f;
    box-shadow: 4px 6px 8px rgba(0,0,0,.20);
  }

  /* Keep mobile buttons/cards visibly outlined */
  .btn,
  .mini-btn,
  .icon-btn,
  .rail-btn,
  .nav-toggle {
    border-width: 1px;
    box-shadow: 2px 3px 5px rgba(0,0,0,.16);
  }

  .car-card,
  .stat-box,
  .how-card,
  .dealer-card,
  .service-card {
    border-color: var(--line-strong);
    box-shadow: 3px 5px 7px rgba(0,0,0,.16);
  }
}

/* Very narrow phones: use a single comfortable brand row */
@media (max-width: 370px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-tile {
    min-height: 72px;
    grid-template-columns: 42px minmax(0,1fr);
    padding: 10px 12px;
  }

  .brand-logo-faux {
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================\n   USER REVISION 04 — SOFTER GRAY STROKES\n   ========================================================================== */
:root {
  --line: rgba(92, 96, 102, .22);
  --line-strong: rgba(82, 86, 92, .38);
}

/* Keep the same shadow depth, but soften all visible outlines */
.section > .container,
.detail-wrap > .container,
.nav-wrap,
.hero-search,
.stat-box,
.car-card,
.dealer-card,
.service-card,
.how-card,
.brand-tile,
.content-card,
.contact-card,
.form-card,
.admin-card,
.admin-stat,
.finance-shell,
.feature-media,
.feature-card-float,
.sell-band,
.filters-panel,
.detail-panel,
.form-aside,
.map,
.theme-menu,
.btn,
.mini-btn,
.mode-toggle,
.icon-btn,
.theme-fab,
.rail-btn,
.nav-toggle,
.view-toggle,
.brand-logo-faux {
  border-color: var(--line-strong);
}

/* Green buttons keep their colour, with a softer neutral-gray stroke */
.btn-primary,
.btn-gold,
.search-btn,
.nav-whatsapp {
  border-color: rgba(78, 86, 82, .58);
}

.btn-primary:hover,
.btn-gold:hover,
.search-btn:hover,
.nav-whatsapp:hover {
  border-color: rgba(68, 76, 72, .68);
}

.btn-outline,
.btn-ghost,
.hero .btn-secondary-green {
  border-color: rgba(92, 96, 102, .48);
}

.brand-tile:hover,
.car-card:hover,
.dealer-card:hover,
.service-card:hover {
  border-color: rgba(75, 80, 86, .52);
}

@media (max-width: 560px) {
  .brand-tile,
  .brand-logo-faux,
  .car-card,
  .stat-box,
  .how-card,
  .dealer-card,
  .service-card {
    border-color: var(--line-strong);
  }

  .brand-tile:hover,
  .brand-tile:active {
    border-color: rgba(75, 80, 86, .52);
  }
}

/* ==========================================================================
   WORAIFAM TEXT MOTION V2 — SAFE, SLOW, PREMIUM
   Text stays visible unless JavaScript has successfully initialized motion.
   ========================================================================== */

/* Existing container reveal must never hide text/content indefinitely. */
.reveal,
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Safe default: everything remains readable if JS is disabled or fails. */
.wa-text-motion {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Initial motion state is enabled ONLY after JS adds wa-motion-ready. */
html.wa-motion-ready .wa-text-motion:not(.wa-text-visible) {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(.992);
  filter: blur(2px);
}

/* Slightly different entrances keep the page from feeling repetitive. */
html.wa-motion-ready .wa-text-motion[data-wa-motion="left"]:not(.wa-text-visible) {
  transform: translate3d(-20px, 0, 0);
}

html.wa-motion-ready .wa-text-motion[data-wa-motion="right"]:not(.wa-text-visible) {
  transform: translate3d(20px, 0, 0);
}

html.wa-motion-ready .wa-text-motion[data-wa-motion="down"]:not(.wa-text-visible) {
  transform: translate3d(0, -14px, 0);
}

html.wa-motion-ready .wa-text-motion[data-wa-motion="scale"]:not(.wa-text-visible) {
  transform: translate3d(0, 14px, 0) scale(.965);
}

/* Smooth, slightly long reveal requested by the user. */
html.wa-motion-ready .wa-text-motion {
  transition:
    opacity 1.05s cubic-bezier(.16, 1, .3, 1),
    transform 1.22s cubic-bezier(.16, 1, .3, 1),
    filter .92s cubic-bezier(.16, 1, .3, 1),
    color .28s ease,
    background-color .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
  transition-delay: var(--wa-delay, 0ms);
  will-change: opacity, transform, filter;
}

html.wa-motion-ready .wa-text-motion.wa-text-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  will-change: auto;
}

/* Hero typography gets the most cinematic timing. */
.hero-copy .hero-tag.wa-text-motion {
  --wa-delay: 90ms;
}

.hero-copy h1.wa-text-motion {
  --wa-delay: 220ms;
}

.hero-copy > p.wa-text-motion {
  --wa-delay: 390ms;
}

.hero-copy .hero-actions .wa-text-motion:nth-child(1) {
  --wa-delay: 560ms;
}

.hero-copy .hero-actions .wa-text-motion:nth-child(2) {
  --wa-delay: 680ms;
}

.hero-copy .hero-trust .wa-text-motion:nth-child(1) {
  --wa-delay: 800ms;
}

.hero-copy .hero-trust .wa-text-motion:nth-child(2) {
  --wa-delay: 900ms;
}

.hero-copy .hero-trust .wa-text-motion:nth-child(3) {
  --wa-delay: 1000ms;
}

/* Give main headings a slightly more luxurious motion. */
h1.wa-text-motion,
h2.wa-text-motion,
.detail-title.wa-text-motion {
  letter-spacing: inherit;
}

html.wa-motion-ready h1.wa-text-motion:not(.wa-text-visible),
html.wa-motion-ready h2.wa-text-motion:not(.wa-text-visible),
html.wa-motion-ready .detail-title.wa-text-motion:not(.wa-text-visible) {
  transform: translate3d(0, 26px, 0) scale(.975);
  filter: blur(2.4px);
}

/* Section labels glide in from the side. */
html.wa-motion-ready .section-label.wa-text-motion:not(.wa-text-visible),
html.wa-motion-ready .eyebrow.wa-text-motion:not(.wa-text-visible) {
  transform: translate3d(-18px, 0, 0);
}

/* Navbar/topbar arrive softly from above. */
html.wa-motion-ready .main-nav a.wa-text-motion:not(.wa-text-visible),
html.wa-motion-ready .topbar .wa-text-motion:not(.wa-text-visible) {
  transform: translate3d(0, -10px, 0);
  filter: blur(1px);
}

/* Buttons retain the existing hover movement after their entrance finishes. */
.btn.wa-text-motion.wa-text-visible:hover,
.chip.wa-text-motion.wa-text-visible:hover,
.text-link.wa-text-motion.wa-text-visible:hover {
  transition-delay: 0ms;
}

/* Mobile: shorter travel, same elegant duration. */
@media (max-width: 560px) {
  html.wa-motion-ready .wa-text-motion:not(.wa-text-visible) {
    transform: translate3d(0, 15px, 0) scale(.994);
    filter: blur(1.5px);
  }

  html.wa-motion-ready .wa-text-motion[data-wa-motion="left"]:not(.wa-text-visible) {
    transform: translate3d(-14px, 0, 0);
  }

  html.wa-motion-ready .wa-text-motion[data-wa-motion="right"]:not(.wa-text-visible) {
    transform: translate3d(14px, 0, 0);
  }

  html.wa-motion-ready h1.wa-text-motion:not(.wa-text-visible),
  html.wa-motion-ready h2.wa-text-motion:not(.wa-text-visible) {
    transform: translate3d(0, 20px, 0) scale(.98);
  }
}

/* Accessibility + absolute safety: text is always visible for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html.wa-motion-ready .wa-text-motion,
  html.wa-motion-ready .wa-text-motion:not(.wa-text-visible),
  .wa-text-motion {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   USER REVISION 06 — PHONE HERO VIDEO VISIBLE + LIGHT MODE ONLY
   ========================================================================== */

/* The website is now intentionally light-only. */
html,
html[data-mode="dark"],
html[data-mode="light"] {
  color-scheme: light;
  --brand: #16a34a;
  --brand-2: #0b7a35;
  --accent: #16a34a;
  --accent-2: #0b7a35;
  --ink: #111827;
  --muted: #64748b;
  --soft: #f1f5f3;
  --surface: #ffffff;
  --paper: #f8fbf9;
  --white: #ffffff;
  --line: rgba(92, 96, 102, .22);
  --line-strong: rgba(82, 86, 92, .38);
  --success: #16a34a;
  --shadow-sm: 2px 3px 5px rgba(0,0,0,.16);
  --shadow: 4px 5px 8px rgba(0,0,0,.18);
  --shadow-lg: 6px 8px 14px rgba(0,0,0,.17);
}

/* Remove the appearance/night-mode control from the UI. */
.theme-panel,
.theme-menu,
.theme-fab,
.mode-toggle {
  display: none !important;
}

/* Prevent any old dark-mode styles from visually changing the page. */
html[data-mode="dark"] body {
  background: #f8fbf9;
  color: #111827;
}

html[data-mode="dark"] .site-header {
  background: rgba(248, 251, 249, .94);
}

html[data-mode="dark"] .nav-wrap,
html[data-mode="dark"] .section > .container,
html[data-mode="dark"] .detail-wrap > .container,
html[data-mode="dark"] .car-card,
html[data-mode="dark"] .brand-tile,
html[data-mode="dark"] .how-card,
html[data-mode="dark"] .dealer-card,
html[data-mode="dark"] .service-card,
html[data-mode="dark"] .finance-shell,
html[data-mode="dark"] .form-card,
html[data-mode="dark"] .content-card,
html[data-mode="dark"] .contact-card {
  background: #ffffff;
  color: #111827;
}

/* Phone hero: the video always fills the hero and remains clearly visible. */
@media (max-width: 820px) {
  .hero-video {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    padding: 0 !important;
    opacity: 1 !important;
    object-fit: cover !important;
    object-position: 58% center !important;
    filter: saturate(1.10) contrast(1.04) brightness(.98) !important;
    transform: scale(1.01);
    z-index: 0;
  }

  .hero-overlay {
    display: block !important;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(4, 9, 7, .06) 0%,
      rgba(4, 9, 7, .08) 48%,
      rgba(4, 9, 7, .14) 100%
    ) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 610px;
    background: #dfe9e2;
  }

  .hero-video {
    object-position: 60% center !important;
  }

  /* Lighter white glass so the moving video can be seen through it. */
  .hero-copy {
    width: 100%;
    background: linear-gradient(
      145deg,
      rgba(255,255,255,.72),
      rgba(255,255,255,.52)
    ) !important;
    border: 1px solid rgba(255,255,255,.78);
    box-shadow:
      0 18px 44px rgba(0,0,0,.16),
      inset 0 1px 0 rgba(255,255,255,.96),
      inset 0 -1px 0 rgba(255,255,255,.30);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hero-copy::before {
    background: linear-gradient(135deg, rgba(255,255,255,.38), transparent 46%);
  }

  .hero-inner {
    min-height: 610px;
    padding-top: 26px;
    padding-bottom: 118px;
  }
}
