/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  --black-void: #0a0a0b;
  --black-surface: #151517;
  --black-surface-2: #1d1d20;
  --black-line: #2a2a2e;

  --red-primary: #d71920;
  --red-bright: #ff2b35;
  --red-dim: #5c1013;

  --white: #f2f2f0;
  --grey: #9a9aa0;
  --grey-dim: #616168;

  --display: "Oswald", sans-serif;
  --body: "Work Sans", sans-serif;
  --mono: "JetBrains Mono", monospace;

  --radius: 2px;
  --stripe-angle: -8deg;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black-void);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red-bright);
}

.section-title {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

section { padding: 96px 0; position: relative; }

/* ==========================================================================
   SIGNATURE: livery stripe divider
   ========================================================================== */
.livery-break {
  position: relative;
  height: 48px;
  overflow: hidden;
  background: var(--black-void);
}
.livery-break::before,
.livery-break::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 14px;
  transform: translateY(-50%) rotate(-2deg);
}
.livery-break::before {
  background: var(--red-primary);
  margin-top: -10px;
}
.livery-break::after {
  background: var(--red-primary);
  opacity: 0.35;
  margin-top: 10px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--black-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.logo span { color: var(--red-bright); }

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--grey);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red-bright);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red-primary);
  color: var(--white);
  border: 1px solid var(--red-primary);
}
.btn-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 24px rgba(255, 43, 53, 0.35);
}
.btn-ghost {
  border: 1px solid var(--black-line);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--red-bright); color: var(--red-bright); }

/* ==========================================================================
   HERO
   ========================================================================== */
/* VIDEO BANNER — clean, no overlay, video owns this space */
/* KICKER BAR — between header and video, no overlay */
.pre-video-kicker {
  background: var(--black-void);
  margin-top: 76px; /* clear fixed header */
  padding: 10px 0 10px;
  border-bottom: 1px solid var(--black-line);
  text-align: center;
}
.pre-video-kicker .hero-kicker {
  margin-bottom: 0;
}

.video-banner {
  width: 100%;
  /* Natural 16:9 ratio — video shows fully on all screen sizes */
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: var(--black-void);
  margin-top: 0;
}
.video-banner-vid {
  /* Fill the container exactly — no cropping, no dead space */
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill; /* fill = stretch to exact container dims, no crop */
  /* Crispness: sharpen edges, boost contrast slightly */
  filter: contrast(1.08) saturate(1.1);
  image-rendering: crisp-edges;
}

/* HERO PANEL — solid dark zone, full contrast guaranteed */
.hero-panel {
  background: var(--black-void);
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent 40%, rgba(215,25,32,0.10) 60%, transparent 80%);
  pointer-events: none;
}
.hero-content { max-width: 680px; position: relative; z-index: 2; }
.hero-kicker {
  font-family: var(--mono);
  color: var(--red-bright);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(52px, 9vw, 108px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  white-space: nowrap;
}
.hero h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin-bottom: 24px;
  white-space: nowrap;
}
.hero h2 .red,
.hero-panel h2 .red {
  color: var(--red-bright);
  font-style: normal;
}
.hero p {
  font-size: 18px;
  color: var(--grey);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--black-line);
  max-width: 520px;
}
.hero-stat .num {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
}
.hero-stat .num-text {
  font-size: 52px;
  white-space: nowrap;
}
.hero-stat .label {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--grey-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ==========================================================================
   FILTER BAR
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--black-line);
  border-radius: 999px;
  color: var(--grey);
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--grey); color: var(--white); }
.filter-chip.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
}

/* ==========================================================================
   CAR GRID / CARDS
   ========================================================================== */
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.car-card {
  background: var(--black-surface);
  border: 1px solid var(--black-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-dim);
}
.car-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.car-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.car-card:hover .car-media img { transform: scale(1.06); }

.car-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red-primary);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: var(--radius);
  z-index: 2;
}
.car-plate {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(10,10,11,0.85);
  border: 1px solid var(--black-line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--white);
  padding: 5px 10px;
  border-radius: var(--radius);
  z-index: 2;
}

.car-body { padding: 22px; }
.car-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.25;
}
.car-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.spec-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--grey);
  border: 1px solid var(--black-line);
  padding: 4px 9px;
  border-radius: var(--radius);
  text-transform: uppercase;
}
.car-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--black-line);
}
.price-block .old-price {
  font-size: 12px;
  color: var(--grey-dim);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.price-block .price {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.price-block .emi {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--grey);
  margin-top: 4px;
}
.car-cta {
  width: 40px; height: 40px;
  border: 1px solid var(--black-line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.car-card:hover .car-cta {
  background: var(--red-primary);
  border-color: var(--red-primary);
}

.grid-footer { text-align: center; margin-top: 48px; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  border-top: 1px solid var(--black-line);
  border-bottom: 1px solid var(--black-line);
  padding: 40px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--grey);
  text-transform: uppercase;
}
.trust-item .dot {
  width: 8px; height: 8px;
  background: var(--red-bright);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-line);
  border: 1px solid var(--black-line);
}
.why-card {
  background: var(--black-void);
  padding: 40px 32px;
}
.why-num {
  font-family: var(--mono);
  color: var(--red-bright);
  font-size: 13px;
  margin-bottom: 24px;
}
.why-card h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 12px;
}
.why-card p { color: var(--grey); font-size: 14.5px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--black-surface);
  border: 1px solid var(--black-line);
  border-left: 3px solid var(--red-primary);
  padding: 28px;
  border-radius: var(--radius);
}
.testi-quote {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.6;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--red-bright);
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-car { font-family: var(--mono); font-size: 11px; color: var(--grey-dim); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--white-line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  text-align: left;
  font-family: var(--display);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--yellow);
}
.faq-q .icon {
  color: var(--red-bright);
  font-size: 20px;
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--grey);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner { padding-bottom: 22px; max-width: 640px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item .ic {
  width: 42px; height: 42px;
  border: 1px solid var(--red-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--red-bright);
  flex-shrink: 0;
}
.contact-info-item .label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--grey-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-info-item .value { font-size: 15px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--black-surface);
  border: 1px solid var(--black-line);
  color: var(--white);
  padding: 13px 14px;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 14px;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red-primary);
}
.field textarea { resize: vertical; min-height: 100px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--black-line);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--red-bright); }
.footer-about { color: var(--grey); font-size: 14px; max-width: 320px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--grey); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--red-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--black-line);
  font-size: 13px;
  color: var(--grey-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */
@media (max-width: 980px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   RESPONSIVE — MOBILE PORTRAIT (≤480px)
   Everything scaled, aligned, padded for one-column portrait reading.
   ========================================================================== */
@media (max-width: 480px) {

  /* --- BASE --- */
  .container { padding: 0 18px; }
  section { padding: 48px 0; }

  /* --- HEADER --- */
  .site-header .container { height: 60px; }
  .logo-brand img { height: 46px; }
  .nav-links { display: none; }
  /* Shrink "Sell Your Car" button in header */
  .site-header .btn {
    font-size: 10px;
    padding: 9px 14px;
    letter-spacing: 0.05em;
  }

  /* --- KICKER --- */
  .pre-video-kicker {
    margin-top: 60px; /* match new header height */
    padding: 8px 0;
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* --- VIDEO --- */
  /* video-banner already uses aspect-ratio: 16/9 — no change needed */

  /* --- HERO PANEL --- */
  .hero-panel { padding: 28px 0 36px; }
  .hero-panel::after { display: none; } /* skip decorative glow on mobile */
  .hero-content { max-width: 100%; }

  .hero-panel h2 {
    font-size: clamp(20px, 5.8vw, 28px);
    white-space: normal;
    line-height: 1.3;
    margin-bottom: 14px;
  }
  .hero-panel p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 12px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
    padding-top: 20px;
    max-width: 100%;
  }
  .hero-stat .num { font-size: 36px; }
  .hero-stat .num-text { font-size: 28px; white-space: normal; }
  .hero-stat .label { font-size: 11px; }

  /* --- VIDEO --- */
  .video-banner {
    aspect-ratio: 4 / 3; /* taller crop on mobile — car fills more of the screen */
    overflow: hidden;
  }
  .video-banner-vid {
    /* keep video at natural 16:9, but center it within the taller container */
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* --- LIVERY BREAK --- */
  .livery-break { height: 32px; }

  /* --- TRUST STRIP --- */
  .trust-strip { padding: 24px 0; }
  .trust-strip .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .trust-item { font-size: 11.5px; }

  /* --- SECTION HEADINGS --- */
  .section-title { font-size: clamp(22px, 6vw, 30px); }
  .section-head { margin-bottom: 28px; }
  .eyebrow { font-size: 11px; }

  /* --- INVENTORY / CAR GRID --- */
  .car-grid { grid-template-columns: 1fr; gap: 18px; }
  .car-body { padding: 16px; }
  .car-name { font-size: 17px; margin-bottom: 10px; }
  .price-block .price { font-size: 20px; }
  .filter-bar { gap: 8px; }
  .filter-chip { font-size: 11px; padding: 8px 14px; }

  /* --- REVIEWS section head (inline flex → stack) --- */
  #reviews .section-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  #reviews .section-head > div:last-child {
    width: 100%;
  }
  #reviews .section-head > div:last-child .btn {
    flex: 1;
    justify-content: center;
  }
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .testi-card { padding: 20px; }
  .testi-quote { font-size: 14px; }

  /* --- WHY US --- */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 28px 20px; }
  .why-card h3 { font-size: 17px; }
  .why-card p { font-size: 13.5px; }

  /* --- FAQ --- */
  .faq-list { max-width: 100%; }
  .faq-q { font-size: 14px; padding: 18px 0; }
  .faq-a-inner { font-size: 13.5px; padding-bottom: 16px; max-width: 100%; }

  /* --- CONTACT --- */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-item { gap: 12px; margin-bottom: 20px; }
  .contact-info-item .ic { width: 36px; height: 36px; flex-shrink: 0; }
  .contact-info-item .value { font-size: 13.5px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .field input, .field select, .field textarea {
    font-size: 15px; /* prevent iOS zoom on focus */
    padding: 12px 12px;
  }
  #contactForm .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  /* --- FOOTER --- */
  .site-footer { padding: 40px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .footer-logo { font-size: 18px; margin-bottom: 10px; }
  .footer-about { font-size: 13px; max-width: 100%; }
  .footer-col h4 { font-size: 11px; margin-bottom: 12px; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a { font-size: 13px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    padding-top: 20px;
  }

  /* --- WHATSAPP BUBBLE --- */
  .floating-whatsapp {
    width: 48px; height: 48px;
    bottom: 16px; right: 16px;
  }
  .floating-whatsapp svg { width: 22px; height: 22px; }
}

/* ==========================================================================
   ADMIN PANEL
   ========================================================================== */
.admin-wrap { max-width: 900px; margin: 0 auto; padding: 48px 24px 100px; }
.admin-header { margin-bottom: 40px; }
.admin-header h1 { font-family: var(--display); text-transform: uppercase; font-size: 32px; margin-bottom: 8px; }
.admin-header p { color: var(--grey); font-size: 14px; max-width: 620px; }
.admin-header .top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }

.notice {
  background: var(--black-surface); border: 1px solid var(--red-dim); border-left: 3px solid var(--red-primary);
  padding: 16px 18px; border-radius: 2px; font-size: 13.5px; color: var(--grey); margin-bottom: 32px; line-height: 1.6;
}
.notice strong { color: var(--white); }
.notice.error { border-color: var(--red-primary); color: var(--red-bright); }
.notice.success { border-left-color: #2ecc71; color: #9ef29e; }

.tab-row {
  display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 1px solid var(--black-line);
  flex-wrap: wrap;
}
.tab-btn {
  background: transparent; border: none; border-bottom: 2px solid transparent;
  color: var(--grey); font-family: var(--mono); font-size: 12.5px; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 12px 16px; cursor: pointer; transition: all 0.2s;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active { color: var(--white); border-bottom-color: var(--red-bright); }

.admin-form { background: var(--black-surface); border: 1px solid var(--black-line); padding: 28px; border-radius: 2px; margin-bottom: 32px; }
.admin-form h2 { font-family: var(--display); text-transform: uppercase; font-size: 18px; margin-bottom: 20px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.car-row {
  display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--black-surface);
  border: 1px solid var(--black-line); border-radius: 2px; margin-bottom: 10px;
}
.car-row img { width: 56px; height: 42px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.car-row .info { flex: 1; min-width: 0; }
.car-row .info .n { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-row .info .p { font-family: var(--mono); font-size: 12px; color: var(--grey); }
.car-row .actions { display: flex; gap: 8px; }
.icon-btn {
  width: 32px; height: 32px; border: 1px solid var(--black-line); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; color: var(--grey); transition: all 0.2s; flex-shrink: 0;
  background: transparent;
}
.icon-btn:hover { border-color: var(--red-bright); color: var(--red-bright); }

/* Login gate */
.login-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.login-box {
  width: 100%; max-width: 380px; background: var(--black-surface); border: 1px solid var(--black-line);
  padding: 36px; border-radius: 2px; text-align: center;
}
.login-box .logo { justify-content: center; margin-bottom: 8px; font-size: 24px; }
.login-box p { color: var(--grey); font-size: 13.5px; margin-bottom: 24px; }
.login-box .field { text-align: left; margin-bottom: 18px; }
.login-box .btn { width: 100%; justify-content: center; }
.login-error { color: var(--red-bright); font-size: 13px; margin-top: 14px; min-height: 18px; }

.hidden { display: none !important; }

/* ==========================================================================
   WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  z-index: 90;
  transition: transform 0.2s ease;
}
.floating-whatsapp:hover { transform: scale(1.08); }

.car-cta {
  background: transparent;
  color: var(--grey);
  transition: all 0.2s;
}
.car-card:hover .car-cta {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

/* ==========================================================================
   HEADER LOGO IMAGE (emblem)
   ========================================================================== */
.logo-brand { gap: 0; }
.logo-brand img { height: 64px; width: auto; display: block; }

/* ==========================================================================
   BACK LINK
   ========================================================================== */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--grey); margin: 130px 0 28px; transition: color 0.2s;
}
.back-link:hover { color: var(--red-bright); }

/* ==========================================================================
   CAR DETAIL PAGE
   ========================================================================== */
.detail-section { padding-bottom: 96px; min-height: 100vh; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.gallery-main {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--black-line); background: var(--black-surface);
  margin-bottom: 14px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.gallery-thumb {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--black-line); opacity: 0.6; transition: all 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.active { border-color: var(--red-bright); opacity: 1; }

.detail-info { position: sticky; top: 110px; }
.detail-name {
  font-family: var(--display); text-transform: uppercase; font-weight: 700;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.1; margin-bottom: 10px;
}
.detail-plate {
  font-family: var(--mono); font-size: 12.5px; color: var(--grey); letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 18px;
}
.detail-price {
  font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--white);
  margin-bottom: 18px;
}
.detail-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.detail-desc { color: var(--grey); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.detail-wa-btn { width: 100%; justify-content: center; font-size: 13.5px; padding: 16px; }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-info { position: static; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   STAR RATINGS
   ========================================================================== */
.star-row { color: var(--red-bright); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.star-row.small { font-size: 13px; margin-bottom: 0; }
.testi-grid-wide { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .testi-grid-wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .testi-grid-wide { grid-template-columns: 1fr; } }

.testi-pinned { border-color: var(--red-dim); position: relative; }
.pin-tag {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--red-bright); border: 1px solid var(--red-dim);
  padding: 3px 8px; border-radius: 999px; margin-bottom: 12px;
}

/* ==========================================================================
   REVIEW SUBMISSION FORM
   ========================================================================== */
.review-form { max-width: 640px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 4px; }
.star-picker button {
  font-size: 26px; color: var(--black-line); background: none; transition: color 0.15s;
}
.star-picker button.active { color: var(--red-bright); }

/* ==========================================================================
   FOOTER CREDIT LINE
   ========================================================================== */
.build-credit {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--grey);
  transition: color 0.3s ease;
}
.build-credit:hover { color: var(--red-bright); }
.build-credit-sep { opacity: 0.6; margin: 0 2px; color: var(--red-dim); }

/* ==========================================================================
   ADMIN: LIST HEADINGS / PHOTOS / STATS / REVIEWS / COMMISSION
   ========================================================================== */
.list-heading {
  font-family: var(--display); text-transform: uppercase; font-size: 18px; margin-bottom: 16px;
}
.stat-line {
  font-family: var(--mono); font-size: 11px; color: var(--grey-dim); margin-top: 4px;
}
.sourced-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.sourced-tag.yes { background: rgba(46,204,113,0.15); color: #2ecc71; }
.sourced-tag.no { background: rgba(154,154,160,0.15); color: var(--grey); }

.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin-bottom: 14px;
}
.photo-thumb { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--black-line); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(10,10,11,0.85); color: var(--white); font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.photo-remove:hover { background: var(--red-primary); }
.photo-add-row { display: flex; gap: 10px; flex-wrap: wrap; }
.photo-add-row input { flex: 1; min-width: 200px; }
.file-upload-btn { cursor: pointer; }

.commission-total {
  background: var(--black-surface); border: 1px solid var(--black-line); border-left: 3px solid var(--red-primary);
  padding: 24px 28px; border-radius: 2px;
}
.commission-total .num { font-family: var(--display); font-size: 40px; font-weight: 700; }
.commission-total .label {
  font-family: var(--mono); font-size: 11px; color: var(--grey-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px;
}

.review-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px;
  background: var(--black-surface); border: 1px solid var(--black-line); border-radius: 2px; margin-bottom: 10px;
}
.review-row.review-pinned { border-color: var(--red-dim); }
.review-row-body { flex: 1; min-width: 0; }
.review-row-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-name { font-size: 14px; font-weight: 600; }
.review-text { color: var(--grey); font-size: 13.5px; line-height: 1.6; }
.review-row .actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-sm { padding: 8px 14px; font-size: 11px; }

/* ─── HERO SOCIAL LINKS ──────────────────────────────────── */
.hero-socials {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--grey);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.social-link:hover {
  color: var(--white);
}
.social-link svg {
  flex-shrink: 0;
}

/* ─── CONTACT CTA BOX (replaces form) ───────────────────── */
.contact-cta-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}
.contact-cta-box h3 {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 12px;
}
.contact-cta-box p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-whatsapp:hover {
  background: #1eba59;
}
.contact-alt {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--grey-dim);
}
.contact-alt a {
  color: var(--grey);
  text-decoration: none;
}
.contact-alt a:hover {
  color: var(--white);
}

/* ─── HERO SOCIAL LINKS ──────────────────────────────────── */
.hero-socials {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--grey);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.social-link:hover {
  color: var(--white);
}
.social-link svg {
  flex-shrink: 0;
}

/* ─── CONTACT CTA BOX (replaces form) ───────────────────── */
.contact-cta-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}
.contact-cta-box h3 {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 12px;
}
.contact-cta-box p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-whatsapp:hover {
  background: #1eba59;
}
.contact-alt {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--grey-dim);
}
.contact-alt a {
  color: var(--grey);
  text-decoration: none;
}
.contact-alt a:hover {
  color: var(--white);
}
/* ─── SECONDARY CONTACT ROW (Call / Instagram / Facebook) ── */
.contact-secondary-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.btn-secondary-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--grey);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-secondary-contact:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}
.btn-secondary-contact svg {
  flex-shrink: 0;
}

/* ─── RECAPTCHA DISCLOSURE ──────────────────────────────── */
.recaptcha-notice {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--grey-dim);
  line-height: 1.6;
  margin-top: 14px;
  text-align: center;
}
.recaptcha-notice a {
  color: var(--grey);
  text-decoration: underline;
}
.recaptcha-notice a:hover {
  color: var(--white);
}

/* Hide Google's default reCAPTCHA v3 badge — we show our own notice instead (required by Google ToS to keep attribution visible somewhere) */
.grecaptcha-badge {
  visibility: hidden;
}

