/* ============================================================
   CALVIA CARS — Main Stylesheet
   Light Hybrid Edition (calviacars.com calm grid + CT37 editorial type)
   Brand palette: WHITE + BLACK + RED accent
   ============================================================ */

/* --- CSS Variables --- */
:root {
  /* Light base */
  --bg-primary:   #ffffff;
  --bg-2:         #fafafa;
  --bg-3:         #f4f4f3;
  --bg-4:         #ededec;

  /* Dark accents (for nav, footer, hero, dark band) */
  --ink:          #0a0a0a;
  --ink-2:        #141414;
  --ink-3:        #1c1c1c;

  /* Legacy aliases — kept so any inline styles in EJS don't break */
  --navy:         #0a0a0a;
  --navy-mid:     #141414;
  --navy-light:   #1c1c1c;

  /* Brand red — kept under --gold names for backwards compat */
  --gold:         #C8102E;
  --gold-light:   #E01E3C;
  --gold-pale:    #FFF1F3;
  --gold-dim:     rgba(200,16,46,0.10);

  /* Explicit red aliases */
  --accent:       #C8102E;
  --accent-light: #E01E3C;

  /* Text on light bg */
  --white:        #ffffff;
  --text:         #0a0a0a;
  --text-mid:     #4a4a4a;
  --text-muted:   #7a7a7a;
  --cream:        #fafafa;
  --bg:           #ffffff;

  /* Borders */
  --border:       rgba(10,10,10,0.10);
  --border-soft:  rgba(10,10,10,0.06);
  --border-gold:  rgba(200,16,46,0.30);

  /* Utility */
  --green:        #1F8A4C;
  --red:          #C8102E;
  --shadow-sm:    0 1px 2px rgba(10,10,10,0.04), 0 2px 8px rgba(10,10,10,0.04);
  --shadow-md:    0 4px 16px rgba(10,10,10,0.06), 0 8px 32px rgba(10,10,10,0.05);
  --shadow-lg:    0 12px 36px rgba(10,10,10,0.10), 0 24px 64px rgba(10,10,10,0.08);
  --shadow-gold:  0 8px 24px rgba(200,16,46,0.25);
  --radius:       3px;
  --radius-lg:    6px;
  --transition:   all 0.28s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 0; color: var(--text-mid); }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 0.85rem;
  display: block;
}
.section-title { margin-bottom: 0.75rem; color: var(--ink); }
.section-subtitle { color: var(--text-mid); font-size: 1.05rem; max-width: 560px; line-height: 1.75; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,16,46,0.30);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10,10,10,0.20);
}
.btn-secondary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,10,10,0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: #fff; }
.btn-whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 7px 16px; font-size: 0.78rem; }
.btn-lg { padding: 14px 34px; font-size: 0.95rem; }

/* --- Layout --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }

/* Section variants — light editorial, with one dark band */
.section-dark    { background: var(--ink); color: var(--white); }
.section-light   { background: var(--bg-2); }
.section-cream   { background: var(--bg-2); }
.section-gold    { background: var(--bg-3); }
.section-premium { background: var(--bg-primary); }

.section-light h1, .section-light h2, .section-light h3, .section-light h4,
.section-cream h1, .section-cream h2, .section-cream h3, .section-cream h4,
.section-gold h1, .section-gold h2, .section-gold h3, .section-gold h4,
.section-premium h1, .section-premium h2, .section-premium h3, .section-premium h4 {
  color: var(--ink);
}
.section-light .section-subtitle, .section-cream .section-subtitle,
.section-gold .section-subtitle, .section-premium .section-subtitle { color: var(--text-mid); }

/* Dark section text overrides (used on mallorca-section + import "How It Works") */
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p, .section-dark .section-subtitle { color: rgba(255,255,255,0.70); }
.section-dark .section-label { color: var(--gold-light); }
.section-dark .step-num {
  background: transparent;
  border-color: rgba(200,16,46,0.45);
  color: var(--gold-light);
}
.section-dark .import-step:hover .step-num {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.section-dark .import-step h4 { color: #fff; }
.section-dark .import-step p { color: rgba(255,255,255,0.70); }
.section-dark .import-steps::before {
  background: linear-gradient(90deg, transparent, rgba(200,16,46,0.45), rgba(200,16,46,0.45), transparent);
}

/* Car cards on light premium section */
.section-premium .car-card,
.section-light .car-card,
.section-cream .car-card {
  background: #fff;
  border-color: var(--border-soft);
}
.section-premium .car-card:hover,
.section-light .car-card:hover,
.section-cream .car-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(200,16,46,0.18);
  transform: translateY(-6px);
}
.section-premium .car-name { color: var(--ink); }
.section-premium .car-make { color: var(--gold); }
.section-premium .car-price { color: var(--gold); }
.section-premium .spec-chip {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
}
.section-premium .car-footer { border-color: var(--border-soft); }

/* "View all" button on light bg */
.section-premium .btn-dark,
.section-light .btn-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.section-premium .btn-dark:hover,
.section-light .btn-dark:hover {
  background: var(--ink);
  color: #fff;
}

/* Feature cards on light background */
.section-premium .feature-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.section-premium .feature-card:hover {
  background: var(--bg-2);
}
.section-premium .feature-card h4 { color: var(--ink); }
.section-premium .feature-card p { color: var(--text-mid); }
.section-premium .feature-icon {
  background: transparent;
  border-color: var(--border-gold);
  color: var(--gold);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; }

/* ============================================================
   NOTIFICATION BAR — dark, sits above nav
   ============================================================ */
.notif-bar {
  background: var(--ink);
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1001;
}
.notif-bar p {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}
.notif-bar strong { color: var(--gold-light); font-weight: 700; }
.notif-bar a { color: var(--gold-light); text-decoration: none; opacity: 0.95; }
.notif-bar a:hover { opacity: 1; color: #fff; }

/* ============================================================
   HEADER / NAVIGATION — dark bar (bookend top)
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: rgba(10,10,10,0.08);
  box-shadow: 0 1px 0 rgba(10,10,10,0.04), 0 6px 18px rgba(10,10,10,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
/* Header logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition);
}
.logo:hover { opacity: 0.85; }
.logo-img {
  display: block;
  height: 34px;
  width: auto;
  transition: opacity 0.25s ease;
}
.logo-img-dark { display: none; }
.header.scrolled .logo-img-light { display: none; }
.header.scrolled .logo-img-dark { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 2px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
}
/* Scrolled-state nav: white bg, dark text */
.header.scrolled .nav-links a { color: rgba(10,10,10,0.72); }
.header.scrolled .nav-links a:hover { color: var(--gold); }
.header.scrolled .nav-links a.active { color: var(--gold); }
.header.scrolled .nav-links a.nav-cta { background: var(--gold); color: #fff; }
.header.scrolled .nav-links a.nav-cta:hover { background: var(--gold-light); color: #fff; }
.header.scrolled .nav-links a.nav-import { color: var(--gold) !important; }
.header.scrolled .nav-links a.nav-import:hover { color: var(--gold-light) !important; }
.header.scrolled .lang-switcher {
  background: rgba(10,10,10,0.04);
  border-color: rgba(10,10,10,0.10);
}
.header.scrolled .lang-btn { color: rgba(10,10,10,0.55); }
.header.scrolled .lang-btn:hover { color: var(--ink); background: rgba(10,10,10,0.06); }
.header.scrolled .lang-btn.active { background: var(--gold); color: #fff; }
.header.scrolled .menu-toggle span { background: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.nav-cta {
  background: var(--gold);
  color: #fff;
  padding: 8px 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--gold-light); color: #fff; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* Language switcher */
.lang-switcher {
  display: flex;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
}
.lang-btn {
  padding: 5px 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lang-btn.active { background: var(--gold); color: #fff; }
/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: var(--transition);
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    padding: 16px;
    gap: 4px;
    border-top: 1px solid rgba(200,16,46,0.18);
  }
  .header.scrolled .nav-links {
    background: rgba(255,255,255,0.98);
    border-top-color: rgba(10,10,10,0.06);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
}

/* ============================================================
   HERO SECTION — dark cinematic backdrop, the only "dark moment" up top
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/img/hero-calviacars.jpg') center 50%/cover no-repeat;
  opacity: 0.85;
  transform: scale(1.02);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.80) 45%,
    rgba(10,10,10,0.45) 75%,
    rgba(10,10,10,0.20) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 180px 0 100px;
  width: 100%;
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 64px;
}
.hero-left { max-width: 650px; }
.hero-showcase { display: none; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,16,46,0.10);
  border: 1px solid rgba(200,16,46,0.40);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 2px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: 'Montserrat', sans-serif;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero h1 span { color: #f5f5f5; font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 44px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.hero .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  opacity: 0.9;
  transition: opacity 0.3s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.hero-scroll-indicator:hover { opacity: 1; }
.hero-scroll-indicator span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 650px;
  position: relative;
}
.hero-stats::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -100px;
  width: 100vw;
  height: calc(100% + 140px);
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.75) 35%,
    rgba(0,0,0,0.35) 75%,
    transparent 100%
  );
  z-index: -1;
  pointer-events: none;
}
.hero-stat {
  flex: 1;
  min-width: 120px;
  padding: 0 36px 0 0;
  position: relative;
}
.hero-stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255,255,255,0.18);
}
.hero-stat:last-child::after { display: none; }
.hero-stat:not(:first-child) { padding-left: 36px; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* ============================================================
   TRUST BAR — light, calm
   ============================================================ */
.trust-bar {
  background: var(--bg-2);
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  align-items: stretch;
}
.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-right: 1px solid var(--border-soft);
  transition: var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(200,16,46,0.03); }
.trust-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: transparent;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.trust-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.trust-text span {
  font-weight: 500;
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   SEARCH / FILTER BAR — light
   ============================================================ */
.search-bar {
  background: var(--bg-3);
  padding: 24px 0;
  border-bottom: 1px solid var(--border-soft);
}
.search-inner {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}
.filter-group label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
}
.filter-group select, .filter-group input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.88rem;
  color: var(--ink);
  background: #fff;
  font-family: 'Inter', sans-serif;
  appearance: none;
  cursor: pointer;
  transition: var(--transition);
}
.filter-group select:focus, .filter-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200,16,46,0.12);
}
.filter-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C8102E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

/* ============================================================
   CAR CARDS — editorial, light, fine borders, red price
   ============================================================ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.car-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  cursor: pointer;
}
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.car-image {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f5f5f4, #e8e8e7);
  overflow: hidden;
}
.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.car-card:hover .car-image img { transform: scale(1.06); }
.car-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Montserrat', sans-serif;
  z-index: 2;
}
.car-badge.imported {
  background: rgba(10,10,10,0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(4px);
}
.car-badge.electric { background: var(--green); color: white; }
.car-badge.sale { background: var(--red); color: white; }
.car-favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-soft);
  color: var(--ink);
}
.car-favorite:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.car-info { padding: 22px; }
.car-make {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.car-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 14px;
  line-height: 1.2;
}
.car-specs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 18px;
  align-items: center;
}
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  border: none;
}
.spec-chip:not(:last-child)::after {
  content: '·';
  margin: 0 6px;
  color: rgba(10,10,10,0.30);
}
.spec-chip .icon { display: none; }
.car-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.car-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
}
.car-price .old-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  display: block;
  line-height: 1;
  margin-bottom: 1px;
}
.car-price .inc-vat {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================================
   IMPORT SERVICE SECTION (Homepage) — light
   ============================================================ */
.import-section {
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.import-section::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,16,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.import-content { position: relative; z-index: 2; }
.import-section h2,
.import-section h3,
.import-section h4 { color: var(--ink); }
.import-section .section-label { color: var(--gold); }
.import-section p { color: var(--text-mid); }

/* Steps — horizontal numbered row */
.import-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.import-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,16,46,0.35), rgba(200,16,46,0.35), transparent);
  pointer-events: none;
  z-index: 0;
}
.import-step {
  text-align: center;
  padding: 0 24px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.import-step:hover { transform: translateY(-2px); }
.step-num {
  width: 56px;
  height: 56px;
  background: #fff;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.import-step:hover .step-num {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.import-step h4 { color: var(--ink); margin-bottom: 10px; font-size: 0.88rem; letter-spacing: 0.5px; }
.import-step p { color: var(--text-mid); font-size: 0.82rem; line-height: 1.65; }
.import-connector { display: none; }
.import-cta-box {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.import-cta-text h3 { color: var(--ink); margin-bottom: 8px; }
.import-cta-text p { color: var(--text-mid); font-size: 0.92rem; }

/* ============================================================
   WHY CHOOSE US — Feature Cards (light)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
}
.feature-card {
  padding: 36px 32px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.feature-card:hover::before { transform: scaleY(1); }
.feature-card:hover { background: var(--bg-2); }
.feature-icon {
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.feature-card h4 { margin-bottom: 12px; color: var(--ink); font-size: 0.92rem; letter-spacing: 0.3px; }
.feature-card p { color: var(--text-mid); font-size: 0.86rem; line-height: 1.75; }

/* ============================================================
   TESTIMONIALS — light cards
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  border: 1px solid var(--border-soft);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.18;
  position: absolute;
  top: 22px;
  left: 26px;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: rgba(200,16,46,0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); font-size: 0.88rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  color: var(--ink);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
}
.author-name { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.author-flag { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 6px;
  margin-top: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.tp-score { font-size: 1.3rem; font-weight: 800; color: #00B67A; }

/* ============================================================
   REVIEWS SECTION (Section Light on index.ejs) — neutralize forced overrides
   ============================================================ */
.section-light a[style*="background:white"],
.section-light a[style*="background: white"] {
  background: #fff !important;
  border-color: var(--border) !important;
  color: var(--ink) !important;
}
.section-light a[style*="background:white"] div[style*="color:var(--navy)"],
.section-light a[style*="background: white"] div[style*="color:var(--navy)"] {
  color: var(--ink) !important;
}
.section-light a[style*="background:white"] div[style*="width:1px"],
.section-light a[style*="background: white"] div[style*="width:1px"] {
  background: var(--border) !important;
}
.section-light [style*="color:var(--navy)"] { color: var(--ink) !important; }
.section-light [style*="color:var(--text-muted)"] { color: var(--text-muted) !important; }
.section-light [style*="color:var(--text-mid)"] { color: var(--text-mid) !important; }

/* ============================================================
   MALLORCA IDENTITY SECTION — the one DARK band on home (CT37 punch)
   ============================================================ */
.mallorca-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.mallorca-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 40%, rgba(200,16,46,0.10), transparent 55%),
    linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 100%);
  pointer-events: none;
}
.mallorca-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}
.mallorca-content .section-label { color: var(--gold-light); }
.mallorca-content h2 {
  color: #fff;
  margin-bottom: 20px;
  font-style: italic;
}
.mallorca-content p { color: rgba(255,255,255,0.78); font-size: 1.05rem; line-height: 1.85; margin-bottom: 36px; }
.mallorca-landmarks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.mallorca-landmark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.70);
  font-size: 0.72rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mallorca-landmark span:first-child { font-size: 0.9rem; }

/* ============================================================
   SELL YOUR CAR SECTION — light
   ============================================================ */
.sell-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
}
.sell-section h2,
.sell-section h3,
.sell-section h4 { color: var(--ink); }
.sell-section .section-label { color: var(--gold); }
.sell-section p { color: var(--text-mid); }
.sell-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
}
.sell-card {
  text-align: center;
  padding: 32px 22px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: var(--transition);
}
.sell-card:hover {
  border-color: var(--gold);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.sell-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.sell-card h4 { margin-bottom: 6px; color: var(--ink); font-size: 0.88rem; }
.sell-card p { color: var(--text-mid); font-size: 0.83rem; }

/* ============================================================
   LOCATION SECTION — light
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.location-info .detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.location-info .detail:last-child { border-bottom: none; }
.detail-icon {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--gold);
}
.detail-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
}
.detail-value { font-size: 0.9rem; color: var(--text); }
.map-placeholder {
  height: 340px;
  background: var(--bg-3);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border-gold);
  font-size: 2.5rem;
  color: var(--gold);
}
.map-placeholder p { font-size: 0.95rem; color: var(--text-mid); font-weight: 600; }
.map-placeholder span:not(:first-child) { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   FOOTER — dark (bookend bottom)
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 36px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { color: #fff; }
.footer-desc { font-size: 0.85rem; line-height: 1.75; margin: 16px 0 20px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.65);
}
.social-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}
.footer-contact .icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-left { font-size: 0.78rem; color: rgba(255,255,255,0.40); }
.footer-bottom-right { display: flex; gap: 20px; }
.footer-bottom-right a { font-size: 0.78rem; color: rgba(255,255,255,0.40); }
.footer-bottom-right a:hover { color: var(--gold-light); }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
  filter: drop-shadow(0 4px 16px rgba(37,211,102,0.30));
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 13px 20px 13px 15px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}
.whatsapp-float a:hover {
  background: #1da851;
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 20px rgba(37,211,102,0.5));
}
.whatsapp-float .wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #fff;
  flex-shrink: 0;
}
.whatsapp-float .wa-icon svg { display: block; width: 24px; height: 24px; }
.whatsapp-pulse {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px;
  animation: pulse 2s ease-in-out infinite;
  background: #25D366;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(1.1); opacity: 0; }
}

/* ============================================================
   IMPORT PAGE SPECIFIC — page hero dark (intentional cinematic moment)
   ============================================================ */
.import-hero {
  background: var(--ink);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.import-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1617469767053-d3b523a0b982?w=1600&q=80') center/cover;
  opacity: 0.30;
}
.import-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.65) 60%, rgba(10,10,10,0.30) 100%);
}
.import-hero .container { position: relative; z-index: 2; }
.import-hero .hero-grid { display: none; }
.import-hero .breadcrumb a { color: var(--gold-light); }
.import-hero .breadcrumb span { color: rgba(255,255,255,0.45); }
.import-hero .breadcrumb span:last-child { color: rgba(255,255,255,0.85); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: var(--transition);
}
.benefit-item:hover { background: var(--gold-pale); border-color: var(--border-gold); }
.benefit-icon { font-size: 1.4rem; flex-shrink: 0; color: var(--gold); }
.benefit-item h4 { color: var(--ink); font-size: 0.92rem; margin-bottom: 4px; }
.benefit-item p { color: var(--text-mid); font-size: 0.82rem; line-height: 1.55; }

/* Import form */
.import-form-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
}
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200,16,46,0.12);
  background: #fff;
}
.form-group select option { background: #fff; color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-full { grid-column: 1 / -1; }

/* Savings calculator — DARK editorial card (intentional cinematic moment) */
.savings-box {
  background: var(--ink);
  border: 1px solid rgba(200,16,46,0.35);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.savings-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(200,16,46,0.18) 0%, transparent 70%);
}
.savings-box h3 { color: #fff; margin-bottom: 6px; position: relative; z-index: 1; }
.savings-box > p { color: rgba(255,255,255,0.65); position: relative; z-index: 1; }
.savings-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  align-items: center;
  position: relative;
  z-index: 1;
}
.savings-row:last-child { border-bottom: none; }
.savings-label { color: rgba(255,255,255,0.70); font-size: 0.88rem; }
.savings-value { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.95rem; color: #fff; }
.savings-value.positive { color: var(--gold-light); }
.savings-value.negative { color: rgba(255,255,255,0.45); text-decoration: line-through; }

/* ============================================================
   PAGE HEADER (Interior pages — with fixed nav padding)
   ============================================================ */
.page-header {
  background: var(--bg-2);
  padding: 140px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,16,46,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,16,46,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-header-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.75rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb span:last-child { color: var(--ink); }
.page-header h1 { color: var(--ink); margin-bottom: 10px; }
.page-header p { color: var(--text-mid); font-size: 1rem; max-width: 560px; }

/* Inner page hero — header is sticky/in-flow now, so no extra clearance needed */
.import-hero {
  padding-top: 60px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .import-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .import-steps::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .location-grid, .form-grid { grid-template-columns: 1fr; }
  .trust-items { flex-wrap: wrap; }
  .trust-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border-soft); }
  .hero-stats { gap: 0; flex-wrap: wrap; max-width: 100%; }
  .hero-stat { flex: 0 0 50%; padding: 20px 16px; }
  .hero-stat::after { display: none; }
  .import-cta-box { flex-direction: column; text-align: center; }
  .cars-grid { grid-template-columns: 1fr 1fr; }
  .sell-cards { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float a .wa-text { display: none; }
  .whatsapp-float a { padding: 16px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; gap: 0; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .mallorca-content { padding: 60px 0; }
  .hero-scroll-indicator { display: none; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cars-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .import-steps { grid-template-columns: 1fr; }
  .search-inner { flex-direction: column; }
  .filter-group { min-width: 100%; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.55s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ============================================================
   LANGUAGE VISIBILITY
   ============================================================ */
[data-lang]:not(.lang-btn) { display: none; }
.lang-btn { display: inline-block; }
html[data-activelang="en"] [data-lang="en"]:not(.lang-btn),
html[data-activelang="es"] [data-lang="es"]:not(.lang-btn),
html[data-activelang="de"] [data-lang="de"]:not(.lang-btn) { display: inline; }
html[data-activelang="en"] p[data-lang="en"],
html[data-activelang="en"] div[data-lang="en"],
html[data-activelang="en"] li[data-lang="en"],
html[data-activelang="es"] p[data-lang="es"],
html[data-activelang="es"] div[data-lang="es"],
html[data-activelang="es"] li[data-lang="es"],
html[data-activelang="de"] p[data-lang="de"],
html[data-activelang="de"] div[data-lang="de"],
html[data-activelang="de"] li[data-lang="de"] { display: block; }

/* ============================================================
   NAV LINK ACTIVE / IMPORT STATES
   ============================================================ */
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.nav-import { color: var(--gold-light) !important; }
.nav-links a.nav-import:hover { color: #fff !important; }
.nav-links a.nav-import.active { color: var(--gold-light) !important; }

/* ============================================================
   PAGE-TOP PADDING — inner pages (fixed nav compensation)
   ============================================================ */
.page-top { padding-top: 120px; }
