@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

/* ==============================================
   ROMO AUTO HUB — GLOBAL DESIGN SYSTEM
   Single source of truth for all pages
   ============================================== */

/* ------- CSS Reset ------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ------- Design Tokens — Romo Auto Hub Brand System ------- */
:root {
  /* Brand Colors (specified) */
  --primary: #0056b3;
  /* Main CTA blue */
  --primary-dark: #004494;
  /* Hover state */
  --primary-light: #e8f0fb;
  /* Tint / accent bg */

  /* Neutrals */
  --charcoal: #333333;
  /* Dark text / footer bg */
  --text: #333333;
  --text-secondary: #666666;
  --white: #ffffff;
  --light-gray: #f4f4f4;
  /* Section backgrounds */
  --mid-gray: #eeeeee;
  --border: #dddddd;

  /* Semantic */
  --accent: #0056b3;
  /* alias for primary throughout */
  --accent-hover: #004494;
  --accent-light: #e8f0fb;
  --green: #1a7f4b;
  --green-bg: #eaf7ee;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.13);

  /* Shape */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Layout */
  --nav-height: 72px;
  --section-pad: 80px;
  --container: 1200px;
  --gap: 24px;

  --transition: all 0.2s ease;
}

/* ------- Typography ------- */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ------- Layout Utilities ------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  
}

section {
  padding: var(--section-pad) 5%;
}

.bg-light {
  background: var(--light-gray);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header h2 {
  color: var(--charcoal);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
}

/* Responsive Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* ------- Luxury Automotive Navigation Bar ------- */
:root {
  --nav-height: 80px;
}

@keyframes navEntrance {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes ledLightSweep {
  0% {
    background-position: -60% 0;
  }

  100% {
    background-position: 160% 0;
  }
}

@keyframes logoAura {
  0% {
    filter: drop-shadow(0 0 6px rgba(0, 119, 255, 0.25));
  }

  50% {
    filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.45));
  }

  100% {
    filter: drop-shadow(0 0 8px rgba(0, 119, 255, 0.3));
  }
}

@keyframes ctaLightSheen {

  0%,
  65% {
    left: -120%;
  }

  100% {
    left: 180%;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(8, 12, 22, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  z-index: 1000;
  animation: navEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 119, 255, 0) 15%,
      rgba(56, 189, 248, 0.85) 45%,
      rgba(0, 119, 255, 1) 50%,
      rgba(56, 189, 248, 0.85) 55%,
      rgba(0, 119, 255, 0) 85%,
      transparent 100%);
  background-size: 200% 100%;
  animation: ledLightSweep 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  padding: 6px 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover {
  transform: translateY(-1px) scale(1.02);
}

.nav-logo-img {
  height: 52px !important;
  width: auto;
  max-width: 240px !important;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.8)) !important;
}

/* Footer Logo Adjustment */
.footer-logo {
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

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

.footer-logo-img {
  height: 54px !important;
  width: auto;
  max-width: 250px !important;
  object-fit: contain;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: #cbd5e1 !important;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 6px 2px;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #0077ff);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff !important;
  transform: translateY(-1.5px);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.mobile-nav-cta {
  display: none;
}

.nav-cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0077ff 0%, #0052cc 100%);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 119, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 6px;
  cursor: pointer;
}

.nav-cta-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: rotate(25deg);
  animation: ctaLightSheen 5s ease-in-out infinite;
  pointer-events: none;
}

.nav-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #1a88ff 0%, #0060e6 100%);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-cta-btn svg {
  transition: transform 0.3s ease;
}

.nav-cta-btn:hover svg {
  transform: rotate(-12deg) scale(1.15);
}

.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Sliding active pill indicator */
.lang-pill {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: 32px;
  background: linear-gradient(135deg, #0077ff 0%, #0056b3 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 119, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.35s cubic-bezier(0.34, 1.45, 0.64, 1), width 0.35s cubic-bezier(0.34, 1.45, 0.64, 1);
  pointer-events: none;
  z-index: 0;
  will-change: transform, width;
}

.lang-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 14px;
  color: #94a3b8;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  outline: none;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  color: #ffffff !important;
  font-weight: 700;
}

/* Smooth text translation crossfade */
[data-i18n] {
  transition: opacity 0.22s ease-out, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
  will-change: opacity, transform, filter;
}

.i18n-transitioning {
  opacity: 0.15 !important;
  transform: translateY(-3px) scale(0.99) !important;
  filter: blur(2px) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: left center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(40deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-40deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
}

.nav-overlay.visible {
  display: block;
}

/* Page offset for fixed nav */
main,
.page-content {
  padding-top: var(--nav-height);
}

/* ------- Premium Buttons ------- */
/* ------- Premium Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1.5px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.35);
}

.btn-primary:hover {
  background: #004494;
  border-color: #004494;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 86, 179, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
  border-radius: 8px;
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-white:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.btn-white:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.75rem;
  border-radius: 6px;
}

/* ------- Feature Cards (Por Qué Elegirnos) ------- */
.card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 44px 34px;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 86, 179, 0.25);
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 86, 179, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.25s ease;
}

.card:hover .card-icon-wrapper {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.06);
}

.card-icon-wrapper svg,
.card-icon {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ------- Cinematic Image Hero Section ------- */
.image-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 560px;
  max-height: 780px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--nav-height);
  overflow: hidden;
  border-bottom: none;
  padding: 40px 6%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/showroom-hero.jpg') center center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.74) 0%, rgba(8, 12, 22, 0.54) 45%, rgba(8, 12, 22, 0.82) 100%);
  z-index: -1;
}

.hero-content-left {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(8, 12, 22, 0.45) 0%, transparent 75%);
  padding: 24px 20px;
  margin: 0 auto;
  border-radius: 20px;
  transform: translateY(-18px);
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #f1f5f9;
  margin-bottom: 14px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.6);
}

.hero-headline {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  margin: 0 auto 30px auto;
  max-width: 720px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.hero-cta-container .btn {
  padding: 15px 34px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  border-radius: 10px;
  font-weight: 700;
}

/* ------- Stats Bar ------- */
.stats-bar-section {
  background-color: var(--white);
  padding: 30px 5%;
  border-bottom: none;
}

.stats-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--charcoal);
}

.stat-item svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.stat-text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-text p {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin: 0;
  font-weight: 500;
}

/* ------- Featured Inventory Slider ------- */
.featured-inventory {
  padding: 36px 5% 65px;
  background: var(--light-gray);
}

.featured-inventory .section-header {
  max-width: 960px;
  margin: 0 auto 22px;
}

.featured-inventory .section-header h2 {
  white-space: nowrap;
  font-size: clamp(1.8rem, 2.9vw, 2.45rem);
  letter-spacing: -0.02em;
}

@media (max-width: 820px) {
  .featured-inventory .section-header h2 {
    white-space: normal;
  }
}

.featured-slider {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* ------- Modern Luxury Car Cards ------- */
.car-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -6px rgba(0, 86, 179, 0.14), 0 6px 16px -4px rgba(15, 23, 42, 0.07);
  border-color: rgba(0, 119, 255, 0.35);
}

.car-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: 220px;
  background: #0f172a;
  overflow: hidden;
  display: block;
}

.car-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card:hover .car-image-wrapper img {
  transform: scale(1.04);
}

.car-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.car-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.car-badge-secondary {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: rgba(16, 185, 129, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  line-height: 1.2;
}

.car-info {
  padding: 22px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}

.car-header {
  margin-bottom: 12px;
}

.car-title {
  font-size: 1.16rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.car-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.car-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.price-full {
  font-size: 1.42rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.price-monthly {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0077ff;
  background: rgba(0, 119, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 119, 255, 0.18);
  white-space: nowrap;
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.car-spec {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-spec svg {
  color: #0077ff;
  stroke: #0077ff;
  flex-shrink: 0;
}

.car-card:hover .car-spec {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

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

.car-actions .btn {
  width: 100%;
  padding: 11px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 10px;
  text-transform: uppercase;
  white-space: nowrap;
  justify-content: center;
  transition: all 0.25s ease;
}

.car-actions .btn-outline {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
}

.car-actions .btn-outline:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.car-actions .btn-primary {
  background: linear-gradient(135deg, #0077ff 0%, #0056b3 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.35);
}

.car-actions .btn-primary:hover {
  background: linear-gradient(135deg, #1a88ff 0%, #004494 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 119, 255, 0.55);
}

/* Fallback: single image hero (for pages that still use old .hero) */
.hero {
  position: relative;
  min-height: 580px;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg-old {
  position: absolute;
  inset: 0;
  background: url('assets/showroom-hero.jpg') center/cover no-repeat;
  z-index: -2;
}

.hero-overlay-old {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 30, 80, 0.52) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 860px;
  padding: 0 24px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
}

/* ------- Page Header (Inner pages) ------- */
.page-header {
  background: var(--light-gray);
  color: var(--charcoal);
  padding: 80px 5% 40px;
  margin-top: var(--nav-height);
  text-align: center;
}

.page-header h1 {
  color: var(--charcoal);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ------- Inventory / Car Grid ------- */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

/* ------- Contact Form ------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.contact-detail svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
}

/* ------- Legal Pages ------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-content h2 {
  font-size: 1.35rem;
  color: var(--charcoal);
  margin: 36px 0 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* ------- Footer — Dark #333333 background ------- */
.footer {
  background: #333333;
  /* brand dark grey */
  color: var(--white);
  padding: 64px 5% 32px;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #aaaaaa;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aaaaaa;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: #cccccc;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  text-align: center;
  font-size: 0.82rem;
  color: #888888;
}

/* ------- WhatsApp FAB ------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 1005;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------- Cookie Banner ------- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  padding: 20px 5%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ------- Page Header ------- */
.page-header {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: calc(var(--nav-height) + 54px) 5% 54px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header h1 {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ------- Inventory Section & Filter Bar ------- */
#inventory {
  padding: 50px 0 90px;
  background: #f8fafc;
  min-height: 60vh;
}

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.28);
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

/* ------- Premium Workshop Section ------- */
.workshop-section {
  padding: 100px 5%;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.workshop-text h2 {
  color: var(--charcoal);
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.workshop-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.workshop-list {
  margin-bottom: 30px;
}

.workshop-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 1.05rem;
}

.workshop-list svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.workshop-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.workshop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.workshop-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.workshop-badges span {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ------- Brands Section ------- */
.brands-section {
  padding: 60px 5%;
  background: var(--light-gray);
  text-align: center;
}

.brands-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.brands-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 60px;
  opacity: 0.7;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  text-transform: uppercase;
}

/* ------- Final CTA Banner (Pre-Footer) ------- */
.cta-banner {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  color: var(--white);
  padding: 95px 5% 90px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-content {
  max-width: 680px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ------- Footer ------- */
.footer {
  background: #090d16;
  color: #94a3b8;
  padding: 75px 5% 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand .nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f8fafc;
  margin-bottom: 22px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-contact-item {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #38bdf8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-contact-item:hover svg {
  color: #ffffff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ------- Scroll Animation ------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Tablet — 900px */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
    --nav-height: 64px;
  }

  /* Mobile Nav */
  .navbar {
    height: 60px !important;
    padding: 0 12px !important;
  }
  .nav-logo-img {
    height: 26px !important;
    max-width: 125px !important;
  }
  .nav-right {
    gap: 8px !important;
  }
  .lang-switcher {
    padding: 2px 4px !important;
    gap: 2px !important;
  }
  .lang-btn {
    padding: 3px 6px !important;
    font-size: 0.7rem !important;
  }
  .hamburger {
    display: flex;
    width: 32px !important;
    height: 32px !important;
  }
  .navbar .nav-cta-btn {
    display: none !important;
  }

  .mobile-nav-cta {
    display: block;
    width: 100%;
    margin-top: 14px;
  }

  .mobile-nav-cta .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.82rem;
    border-radius: 8px;
    margin-top: 4px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: #090d16;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 20px) 24px 40px;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
    transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    gap: 4px;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links .mobile-nav-cta a {
    border-bottom: none;
    display: inline-flex;
    justify-content: center;
  }

  .lang-switcher {
    border: none;
    padding: 0;
  }

  /* Grid collapse */
  .grid-2,
  .grid-3,
  .grid-4,
  .workshop-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Contact layout */
  .contact-layout {
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  /* Cinematic Image Hero Mobile Collapse */
  .image-hero {
    height: auto;
    min-height: 480px;
    padding: 50px 6% 55px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-bg {
    background-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 17, 30, 0.72) 0%, rgba(10, 17, 30, 0.65) 100%);
  }

  .hero-content-left {
    text-align: center;
    max-width: 100%;
    padding: 0;
    background: none;
    margin: 0 auto;
  }

  .hero-pretitle {
    justify-content: center;
    font-size: 0.76rem;
    letter-spacing: 1.6px;
    margin-bottom: 12px;
  }

  .hero-headline {
    font-size: clamp(1.95rem, 6.5vw, 2.6rem);
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-container {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    justify-content: center;
  }

  .hero-cta-container .btn {
    width: 100%;
    padding: 14px 20px;
  }

  /* Video Hero */
  .video-hero {
    height: auto;
    min-height: 520px;
    padding: 40px 0;
  }

  .video-content h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .video-content p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .video-cta-container {
    flex-direction: column;
    width: 100%;
  }

  .video-cta-container .btn {
    width: 100%;
  }

  /* Buttons */
  .btn {
    padding: 13px 24px;
    font-size: 0.9rem;
  }
}

/* Small Mobile — 480px */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Brand Logos & Workshop Badge */
.nav-logo-img {
  height: 42px !important;
  width: auto;
  max-width: 180px !important;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 52px !important;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.workshop-brand-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 18px;
  background: rgba(0, 119, 255, 0.06);
  border: 1px solid rgba(0, 119, 255, 0.16);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workshop-brand-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 255, 0.12);
}

.workshop-logo-img {
  height: 54px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* ─── Compact Inventory Page Header & Breadcrumbs ─── */
.inventory-compact-header {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: calc(var(--nav-height) + 20px) 5% 24px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.inventory-header-content {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 8px;
}
.breadcrumb-nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-nav a:hover { color: #38bdf8; }
.breadcrumb-nav .bc-sep { color: #475569; font-size: 0.75rem; }
.breadcrumb-nav .bc-current { color: #f8fafc; font-weight: 600; }
.inventory-compact-header h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.inventory-compact-header p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin: 0;
  max-width: 650px;
  line-height: 1.45;
}
.header-trust-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.header-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ─── Inventory Controls & Filter Bar ─── */
.inventory-section {
  padding: 24px 5% 48px;
  background: #f8fafc;
}
.inventory-controls-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.filters-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}
.filter-quick-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-quick-pills .filter-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-quick-pills .filter-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.filter-quick-pills .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.inventory-results-counter {
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.filters-dropdowns-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.filter-control-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}
.filter-control-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
.form-select-sm {
  width: 100%;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.form-select-sm:focus {
  outline: none;
  border-color: var(--primary);
}
.btn-reset-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  height: 35px;
  margin-top: auto;
  transition: all 0.2s;
}
.btn-reset-filters:hover {
  color: #ef4444;
  border-color: #fca5a5;
  background: #fef2f2;
}

/* ─── Modern 4-Column Responsive Car Grid ─── */
.car-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1199px) and (min-width: 900px) {
  .car-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) and (min-width: 600px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .car-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ─── Compact Fixed-Height Car Card ─── */
.car-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  height: 100%;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: #93c5fd;
}
.car-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
}
.car-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}
.car-card:hover .car-image-wrapper img {
  transform: scale(1.05);
}
.car-badges-row {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.badge-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.badge-status.badge-available {
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
}
.badge-status.badge-reserved {
  background: rgba(217, 119, 6, 0.95);
  color: #ffffff;
}
.badge-status.badge-sold {
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
}
.car-card.is-sold .car-image-wrapper img {
  filter: grayscale(35%);
}
.car-card.is-sold .car-price-stack .price-val {
  color: #94a3b8;
  text-decoration: line-through;
}
.car-card.is-sold .car-price-stack::after {
  content: 'Vendido';
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
}
.badge-eco {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.car-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.car-header { margin-bottom: 8px; }
.car-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.car-subtitle {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 10px 0 14px;
}
.car-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.car-spec-item svg {
  color: var(--primary);
  flex-shrink: 0;
}
.car-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.car-price-stack {
  display: flex;
  flex-direction: column;
}
.car-price-stack .price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.car-price-stack .price-tax {
  font-size: 0.68rem;
  color: #10b981;
  font-weight: 700;
  margin-top: 2px;
}
.car-cta-btn {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ─── Empty Inventory State ─── */
.empty-inventory-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}
.empty-inventory-state svg {
  color: #94a3b8;
  margin-bottom: 12px;
}
.empty-inventory-state h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}
.empty-inventory-state p {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 16px;
}

/* ─── Compact Global Footer (50% Height Reduction) ─── */
.footer-compact {
  background: #090d16;
  color: #94a3b8;
  padding: 38px 5% 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-compact .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1fr;
  gap: 28px !important;
  margin-bottom: 24px !important;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .footer-compact .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px !important;
  }
}
@media (max-width: 540px) {
  .footer-compact .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px !important;
  }
}
.footer-compact .footer-brand p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin-top: 6px;
  max-width: 280px;
}
.footer-compact .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.footer-compact .social-icons a {
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-compact .social-icons a:hover {
  color: #ffffff;
}
.footer-compact .footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 12px !important;
}
.footer-compact .footer-col a {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 8px !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-compact .footer-col a:hover {
  color: #38bdf8;
}
.footer-compact .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 8px !important;
  text-decoration: none;
}
.footer-compact .footer-contact-item svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-compact .footer-contact-item:hover {
  color: #ffffff;
}
.footer-compact .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px !important;
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
}
\n\n/* ------- Compact Global Footer (50% Height Reduction) ------- */
.footer {
  background: #090d16;
  color: #94a3b8;
  padding: 36px 5% 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-brand .nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  max-width: 290px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f8fafc;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: #38bdf8;
  transform: translateX(2px);
}

.footer-contact-item {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #38bdf8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-contact-item:hover svg {
  color: #ffffff;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
}

/* ==========================================================================
   ENHANCED GLOBAL FOOTER, CONTACT ALIGNMENT & LUXURY WHATSAPP FAB
   ========================================================================== */
.footer {
  background: #080c16 !important;
  color: #94a3b8 !important;
  padding: 48px 5% 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1.35fr 1fr !important;
  gap: 36px !important;
  align-items: start !important;
  margin-bottom: 36px !important;
}

.footer-brand .footer-logo {
  display: inline-block !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
}

.footer-logo-img {
  height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
}

.footer-brand p {
  font-size: 0.88rem !important;
  color: #94a3b8 !important;
  line-height: 1.6 !important;
  margin: 0 0 16px 0 !important;
  max-width: 300px !important;
}

.footer-col h4 {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #f8fafc !important;
  margin-bottom: 16px !important;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: #38bdf8;
  transform: translateX(2px);
}

/* Ensure contact items are always flex row with icon side-by-side with text */
.footer-col a.footer-contact-item,
.footer-contact-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  color: #cbd5e1 !important;
  transform: none !important;
}

.footer-contact-item svg {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 3px !important;
  color: #38bdf8 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.footer-contact-item:hover svg {
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

.footer-contact-item:hover {
  color: #ffffff !important;
  transform: none !important;
}

.footer-contact-item span {
  display: inline-block !important;
  color: inherit !important;
}

.footer-address-sub {
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  display: block !important;
  margin-top: 2px !important;
}

/* Footer Social Icon Buttons */
.social-icons {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

.social-icon-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.social-icon-btn:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #38bdf8 !important;
  transform: translateY(-2px) !important;
}

.social-icon-btn.wa:hover {
  background: rgba(37, 211, 102, 0.18) !important;
  border-color: rgba(37, 211, 102, 0.5) !important;
  color: #25D366 !important;
}

/* Modern luxury floating WhatsApp FAB button */
.whatsapp-fab {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  z-index: 1005 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  overflow: visible !important;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease !important;
}

.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6), 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}

.whatsapp-fab svg {
  width: 32px !important;
  height: 32px !important;
  fill: #ffffff !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .whatsapp-fab {
    bottom: 20px !important;
    right: 20px !important;
    width: 52px !important;
    height: 52px !important;
  }
  .whatsapp-fab svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ═════════════════════════════════════════════════════════════════════
   MOBILE-FIRST PERFECTION SUITE (Smartphones: 320px - 768px)
   ═════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Container & Section Padding */
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .inventory-section {
    padding: 16px 0 40px !important;
  }
  .inventory-compact-header {
    padding: 24px 0 16px !important;
  }
  .inventory-header-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .inventory-compact-header h1 {
    font-size: 1.65rem !important;
    line-height: 1.2 !important;
  }
  .inventory-compact-header p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  /* Trust Pills: Smooth Horizontal Carousel */
  .header-trust-pills {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 6px !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .header-trust-pills::-webkit-scrollbar {
    display: none !important;
  }
  .header-pill {
    flex-shrink: 0 !important;
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  /* Filter Panel on Mobile */
  .inventory-controls-panel {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px 12px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  }
  .filters-top-strip {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
  }

  /* Quick Pills: Native App Horizontal Scroll */
  .filter-quick-pills {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 8px !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .filter-quick-pills::-webkit-scrollbar {
    display: none !important;
  }
  .filter-quick-pills .filter-btn {
    flex-shrink: 0 !important;
    padding: 7px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
  }
  .inventory-results-counter {
    font-size: 0.8rem !important;
    color: #64748b !important;
    font-weight: 700 !important;
  }

  /* Filter Dropdowns: Balanced 2x2 Touch Grid */
  .filters-dropdowns-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .filter-control-group {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .filter-control-group label {
    font-size: 0.7rem !important;
  }
  .form-select-sm {
    font-size: 16px !important; /* Prevents auto zoom-in on iOS Safari */
    height: 44px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
  }
  .btn-reset-filters {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: center !important;
    height: 44px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 2px !important;
  }

  /* Single Column Full Width Cards on Phone */
  .car-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .car-card {
    border-radius: 14px !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06) !important;
    border: 1px solid #e2e8f0 !important;
  }
  .car-image-wrapper {
    aspect-ratio: 16 / 10 !important;
  }
  .car-info {
    padding: 14px 14px 16px !important;
  }
  .car-title {
    white-space: normal !important;
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    overflow: visible !important;
  }
  .car-subtitle {
    font-size: 0.78rem !important;
    margin-top: 2px !important;
  }
  .car-specs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin: 12px 0 !important;
  }
  .car-spec-item {
    font-size: 0.76rem !important;
    padding: 6px 8px !important;
  }
  .car-footer-row {
    padding-top: 12px !important;
    align-items: center !important;
  }
  .car-price-stack .price-val {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
  }
  .car-cta-btn {
    height: 42px !important;
    padding: 0 18px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
  }
}
