:root {
  --bg: #171414;
  --panel: #211d1d;
  --panel-soft: #2a2525;
  --text: #fbf7f4;
  --muted: #c8bdbd;
  --line: rgba(255, 255, 255, 0.12);
  --red: #ef2d32;
  --red-dark: #b7191f;
  --silver: #e8e8e8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px clamp(18px, 4vw, 54px);
  padding: 14px clamp(18px, 4vw, 54px) 0;
  background: linear-gradient(180deg, rgba(12, 10, 10, 0.98), rgba(12, 10, 10, 0.72));
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease, box-shadow 220ms ease;
}

.site-header[data-scrolled='true'] {
  padding-top: 8px;
  background: rgba(18, 15, 15, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.brand img {
  width: 132px;
  height: auto;
}

.brand {
  grid-column: 1;
  grid-row: 1;
}

.nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  width: calc(100% + clamp(36px, 8vw, 108px));
  margin-inline: calc(clamp(18px, 4vw, 54px) * -1);
  padding-inline: clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 14px;
  background: rgba(18, 15, 15, 0.76);
  color: var(--muted);
  overflow: visible;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav a::before {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--text);
  background: rgba(239, 45, 50, 0.12);
  box-shadow: inset 0 0 0 1px rgba(239, 45, 50, 0.28);
  transform: translateY(-1px);
}

.nav a:hover::before,
.nav a:focus-visible::before,
.nav a.is-active::before {
  transform: scaleX(1);
}

.header-call:hover {
  color: var(--text);
}

.nav-preview-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: clamp(18px, 4vw, 54px);
  z-index: 45;
  max-width: min(380px, calc(100vw - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(23, 20, 20, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  color: var(--silver);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-preview-panel[data-visible='true'] {
  opacity: 1;
  transform: translateY(0);
}

.header-call {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  color: var(--text);
  border: 1px solid rgba(239, 45, 50, 0.65);
  padding: 11px 14px;
  font-weight: 700;
  font-size: 14px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.header-call:hover {
  background: rgba(239, 45, 50, 0.14);
  box-shadow: 0 12px 34px rgba(239, 45, 50, 0.18);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 176px clamp(20px, 6vw, 86px) 96px;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  filter: saturate(0.55) contrast(1.05);
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 12, 12, 0.94) 0%, rgba(14, 12, 12, 0.78) 45%, rgba(14, 12, 12, 0.36) 100%),
    linear-gradient(180deg, rgba(14, 12, 12, 0.35) 0%, rgba(14, 12, 12, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 12vw, 156px);
  line-height: 0.86;
  letter-spacing: 0;
  font-style: italic;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  color: var(--silver);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.quick-access {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 720px);
  max-width: 720px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.quick-access a {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 18px;
  background: rgba(18, 15, 15, 0.78);
  backdrop-filter: blur(14px);
  overflow-wrap: anywhere;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.quick-access a::after {
  content: 'Vezi rapid';
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.quick-access a:hover,
.quick-access a:focus-visible {
  background: rgba(239, 45, 50, 0.88);
  box-shadow: 0 18px 46px rgba(239, 45, 50, 0.18);
  transform: translateY(-2px);
}

.quick-access strong,
.quick-access span {
  display: block;
}

.quick-access strong {
  font-size: 14px;
  text-transform: uppercase;
}

.quick-access span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.quick-access a:hover span,
.quick-access a:focus-visible span {
  color: white;
}

.quick-access a:hover::after,
.quick-access a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

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

.button.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 16px 40px rgba(239, 45, 50, 0.28);
}

.button.primary:hover {
  box-shadow: 0 22px 52px rgba(239, 45, 50, 0.36);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.09);
}

.hero-strip {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 6vw, 86px);
  right: clamp(20px, 6vw, 86px);
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(20, 17, 17, 0.72);
  backdrop-filter: blur(14px);
}

.hero-strip span {
  padding: 18px;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  border-right: 1px solid var(--line);
}

.hero-strip span:last-child {
  border-right: 0;
}

section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 6vw, 86px);
  scroll-margin-top: 92px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(26px, 6vw, 82px);
  align-items: end;
}

.intro p:last-child,
.section-heading p,
.cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 32px clamp(18px, 3vw, 40px);
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.trust-band span {
  color: var(--muted);
  line-height: 1.45;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-grid article,
.car-card,
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-grid article {
  padding: 28px;
}

.service-grid article:hover,
.car-card:hover,
.contact-panel:hover {
  border-color: rgba(239, 45, 50, 0.28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(-4px);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.service-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.inventory {
  background: #f4f1ee;
  color: #191515;
}

.inventory .section-kicker {
  color: var(--red-dark);
}

.inventory-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  max-width: none;
  gap: 42px;
  align-items: end;
}

.inventory-heading p:last-child {
  color: #5f5555;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  scroll-margin-top: 126px;
}

.buyer-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  background: rgba(25, 21, 21, 0.12);
  border: 1px solid rgba(25, 21, 21, 0.12);
}

.buyer-proof div {
  min-height: 132px;
  padding: 20px;
  background: white;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.buyer-proof div:hover {
  box-shadow: inset 0 -3px 0 var(--red);
  transform: translateY(-2px);
}

.buyer-proof strong,
.buyer-proof span {
  display: block;
}

.buyer-proof strong {
  margin-bottom: 12px;
  color: #191515;
  font-size: 17px;
}

.buyer-proof span {
  color: #625858;
  line-height: 1.45;
}

.filter {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(25, 21, 21, 0.18);
  background: white;
  color: #231d1d;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter.active {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.filter:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.car-card {
  overflow: hidden;
  background: white;
  color: #191515;
  box-shadow: 0 20px 60px rgba(25, 21, 21, 0.12);
}

.car-gallery {
  position: relative;
  background: #111;
  overflow: hidden;
}

.main-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: zoom-in;
}

.car-main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: filter 220ms ease, transform 220ms ease;
}

.car-card:hover .car-main-image,
.sold-card:hover .car-main-image {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.gallery-open {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 15, 15, 0.82);
  color: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-open:hover,
.gallery-open:focus-visible {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  background: #151212;
}

.thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.thumb.active {
  border-color: var(--red);
}

.thumb:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-areas:
    "close close close"
    "prev image next"
    "caption caption caption";
  grid-template-columns: minmax(54px, 8vw) minmax(0, 1fr) minmax(54px, 8vw);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: clamp(16px, 3vw, 34px);
  background: rgba(8, 7, 7, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.lightbox-stage {
  grid-area: image;
  position: relative;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 160px);
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  align-self: center;
  justify-self: center;
  transition: transform 180ms ease;
  user-select: none;
  transform-origin: center;
}

.image-lightbox.is-zoomed .lightbox-stage {
  cursor: grab;
}

.image-lightbox.is-zoomed .lightbox-stage.is-panning {
  cursor: grabbing;
}

.image-lightbox.is-zoomed .lightbox-image {
  transition: transform 80ms ease;
}

.zoom-map {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: min(190px, 24vw);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 15, 15, 0.74);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  cursor: crosshair;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.image-lightbox.is-zoomed .zoom-map {
  opacity: 1;
  pointer-events: auto;
}

.zoom-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.zoom-map-window {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 42%;
  border: 2px solid var(--red);
  background: rgba(239, 45, 50, 0.14);
  transform: translate(-50%, -50%);
}

.zoom-tools {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}

.zoom-hint,
.lightbox-zoom-out {
  padding: 9px 12px;
  background: rgba(18, 15, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.zoom-hint {
  pointer-events: none;
}

.lightbox-zoom-out {
  display: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.image-lightbox.is-zoomed .lightbox-zoom-out {
  display: inline-flex;
}

.lightbox-zoom-out:hover,
.lightbox-zoom-out:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  cursor: pointer;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-close {
  grid-area: close;
  justify-self: end;
  min-width: 46px;
  min-height: 46px;
}

.lightbox-nav {
  align-self: center;
  min-width: 48px;
  min-height: min(120px, 18vh);
  font-size: 26px;
}

.lightbox-prev {
  grid-area: prev;
}

.lightbox-next {
  grid-area: next;
}

.lightbox-caption {
  grid-area: caption;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.lightbox-caption strong {
  color: white;
}

body.lightbox-open {
  overflow: hidden;
}

.car-body {
  padding: 20px;
}

.car-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.car-brand {
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.car-price {
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.car-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: #625858;
  font-size: 13px;
}

.car-subline span {
  padding: 7px 9px;
  background: #f4f1ee;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.trust-chips span {
  padding: 8px 10px;
  background: rgba(239, 45, 50, 0.1);
  color: #931519;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.car-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
  color: #625858;
  font-size: 14px;
}

.car-meta span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  background: #f7f4f1;
  align-content: start;
}

.car-meta strong {
  color: #191515;
  font-size: 11px;
  text-transform: uppercase;
}

.car-details {
  margin: 18px 0;
  border-top: 1px solid rgba(25, 21, 21, 0.12);
  border-bottom: 1px solid rgba(25, 21, 21, 0.12);
}

.car-details summary {
  cursor: pointer;
  padding: 16px 0;
  color: #191515;
  font-weight: 900;
}

.car-details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0 0 16px;
  padding-left: 18px;
  color: #4f4646;
  line-height: 1.45;
}

.source-id {
  margin: 0 0 16px;
  color: #625858;
  font-size: 13px;
}

.car-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.car-card .button {
  width: 100%;
  min-height: 44px;
  background: #191515;
  color: white;
}

.car-card .button.light {
  background: white;
  color: #191515;
  border-color: rgba(25, 21, 21, 0.18);
}

.empty-state {
  display: none;
  padding: 24px;
  border: 1px dashed rgba(25, 21, 21, 0.28);
  color: #5f5555;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(26px, 6vw, 72px);
  align-items: center;
}

.sold-showcase {
  background: #191515;
  color: var(--text);
}

.sold-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  max-width: none;
  gap: 42px;
  align-items: end;
}

.sold-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sold-stats div {
  padding: 22px;
  background: #211d1d;
}

.sold-stats strong,
.sold-stats span {
  display: block;
}

.sold-stats strong {
  color: var(--red);
  font-size: 34px;
}

.sold-stats span {
  color: var(--muted);
}

.sold-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sold-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sold-card:hover {
  border-color: rgba(239, 45, 50, 0.28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px);
}

.sold-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.sold-card .car-details {
  border-color: var(--line);
}

.sold-card .car-details summary {
  color: var(--text);
}

.sold-card .car-details ul {
  display: grid;
  grid-template-columns: 1fr;
  color: var(--muted);
}

.sold-card .button.light {
  width: 100%;
  margin-top: 12px;
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.reviews {
  background: #f4f1ee;
  color: #191515;
}

.reviews .section-kicker {
  color: var(--red-dark);
}

.reviews-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  max-width: none;
  gap: 42px;
  align-items: end;
}

.reviews-heading p:last-child {
  color: #5f5555;
}

.review-score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 22px;
  background: rgba(25, 21, 21, 0.12);
  border: 1px solid rgba(25, 21, 21, 0.12);
}

.review-score div {
  min-height: 118px;
  padding: 24px;
  background: white;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.review-score div:hover {
  box-shadow: inset 0 -3px 0 var(--red);
  transform: translateY(-2px);
}

.review-score strong,
.review-score span {
  display: block;
}

.review-score strong {
  color: var(--red-dark);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 0.9;
}

.review-score span {
  margin-top: 12px;
  color: #625858;
  font-weight: 800;
  text-transform: uppercase;
}

.review-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background: white;
  border: 1px solid rgba(25, 21, 21, 0.12);
  box-shadow: 0 20px 60px rgba(25, 21, 21, 0.1);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.review-card:hover {
  border-color: rgba(239, 45, 50, 0.28);
  box-shadow: 0 28px 80px rgba(25, 21, 21, 0.16);
  transform: translateY(-4px);
}

.featured-review {
  grid-column: span 2;
  background: #191515;
  color: var(--text);
  box-shadow: 0 28px 90px rgba(25, 21, 21, 0.18);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 34px;
}

.review-card-top span {
  color: var(--red-dark);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.featured-review .review-card-top span {
  color: var(--red);
}

.review-card-top strong {
  color: #191515;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.featured-review .review-card-top strong {
  color: var(--silver);
}

.review-card p {
  margin-bottom: 24px;
  color: #514848;
  font-size: 16px;
  line-height: 1.55;
}

.review-card blockquote {
  margin: 0 0 18px;
  color: #191515;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.05;
}

.featured-review p {
  max-width: 720px;
  color: var(--silver);
  font-size: 18px;
  line-height: 1.5;
}

.featured-review blockquote {
  color: var(--text);
  font-size: clamp(38px, 5vw, 72px);
}

.review-card small {
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-review small {
  color: var(--red);
}

.verify-review {
  background: #fdfbf9;
}

.verify-review .service-icon {
  display: block;
  margin-bottom: 24px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reviews-action {
  width: 100%;
  margin-top: 12px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.contact-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-panel a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.contact-panel .contact-main {
  background: var(--red);
  border-color: var(--red);
  font-size: 22px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
  }

  .header-call {
    grid-column: 2;
    grid-row: 1;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    font-size: 11px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 156px;
  }

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

  .hero-strip,
  .trust-band,
  .buyer-proof,
  .service-grid,
  .cars-grid,
  .sold-heading,
  .sold-stats,
  .sold-grid,
  .sold-card,
  .reviews-heading,
  .review-score,
  .review-wall,
  .intro,
  .inventory-heading,
  .cta {
    grid-template-columns: 1fr;
  }

  .featured-review {
    grid-column: auto;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 700px) {
  .car-details ul,
  .car-actions {
    grid-template-columns: 1fr;
  }

  .image-lightbox {
    grid-template-areas:
      "close close"
      "image image"
      "prev next"
      "caption caption";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .lightbox-stage {
    max-height: calc(100vh - 190px);
  }

  .zoom-map {
    width: min(140px, 42vw);
    top: 10px;
    right: 10px;
  }

  .zoom-tools {
    left: 10px;
    top: 10px;
  }

  .lightbox-nav {
    min-height: 48px;
  }

  .lightbox-caption {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 8px 10px;
    padding: 8px 10px 0;
    background: rgba(18, 15, 15, 0.97);
  }

  .site-header[data-scrolled='true'] {
    padding-top: 6px;
  }

  .brand img {
    width: 86px;
  }

  .header-call {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: calc(100% + 20px);
    margin-inline: -10px;
    padding: 0 10px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav a {
    min-height: 36px;
    justify-content: center;
    padding: 8px 4px;
    font-size: 10px;
    text-align: center;
  }

  .nav-preview-panel {
    display: none;
  }

  .hero {
    display: block;
    padding-inline: 18px;
    padding-top: 156px;
    padding-bottom: 36px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(50px, 18vw, 74px);
  }

  h2 {
    font-size: clamp(30px, 11vw, 48px);
  }

  .hero-copy,
  .intro p:last-child,
  .section-heading p,
  .cta p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .quick-access a {
    min-height: 76px;
    padding: 14px;
  }

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

  .quick-access strong {
    font-size: 12px;
  }

  .hero-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    margin-top: 20px;
    background: rgba(20, 17, 17, 0.94);
    backdrop-filter: none;
  }

  .hero-strip span {
    padding: 14px 8px;
    font-size: 11px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-strip span:last-child {
    border-bottom: 0;
  }

  section {
    padding-inline: 18px;
    scroll-margin-top: 136px;
  }

  .inventory,
  .reviews {
    padding-top: 58px;
  }

  .buyer-proof div,
  .review-score div {
    min-height: auto;
  }

  .filter-row {
    position: static;
    top: auto;
    z-index: auto;
    padding: 0;
    background: transparent;
  }

  .filter {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .car-meta {
    grid-template-columns: 1fr;
  }

  .car-card,
  .sold-card {
    transform: none !important;
  }

  .car-gallery {
    touch-action: pan-y;
  }

  .thumb-row {
    display: none;
  }

  .main-image-button::after {
    content: none;
    display: none;
  }

  .gallery-open {
    display: none;
  }

  .image-lightbox {
    grid-template-areas:
      "close"
      "image"
      "caption";
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 18px;
  }

  .lightbox-stage {
    max-height: calc(100dvh - 132px);
  }

  .lightbox-nav,
  .zoom-tools,
  .zoom-map {
    display: none;
  }

  .sold-card {
    padding: 14px;
  }

  .review-card,
  .featured-review {
    min-height: auto;
  }

  .featured-review blockquote,
  .review-card blockquote {
    font-size: clamp(28px, 11vw, 42px);
  }

}
