/* ==============================================
   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-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;
  padding: 0 5%;
}
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); }

/* ------- Navigation ------- */
.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(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
.nav-logo:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Footer Logo Adjustment */
.footer-logo {
  margin-bottom: 16px;
  display: inline-block;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s ease;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
}
.mobile-nav-cta .btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
  margin-left: 6px;
  color: #fff !important;
  text-decoration: none;
}
.mobile-nav-cta .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.25);
  margin-left: 8px;
}
.nav-cta-btn:hover {
  background: #004494;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.4);
}

.lang-switcher {
  display: flex;
  gap: 4px;
  padding-right: 20px;
  border-right: 1px solid var(--border);
}
.lang-btn {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  background: var(--accent-light);
  color: var(--accent);
}

/* 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: var(--charcoal);
  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 32px;
  border-radius: 8px;
  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: calc(100vh - var(--nav-height));
  min-height: 560px;
  max-height: 820px;
  display: flex;
  align-items: center;
  margin-top: var(--nav-height);
  overflow: hidden;
  padding: 0 6%;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 17, 30, 0.90) 0%, rgba(10, 17, 30, 0.75) 45%, rgba(10, 17, 30, 0.35) 75%, rgba(10, 17, 30, 0.12) 100%);
  z-index: -1;
}

.hero-content-left {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-align: left;
  background: radial-gradient(circle at 15% 50%, rgba(10, 17, 30, 0.45) 0%, rgba(10, 17, 30, 0) 75%);
  padding: 24px 0;
}

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

.hero-headline {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.14;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 34px;
  max-width: 580px;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

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

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

.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: 80px 5%;
  background: var(--light-gray);
}

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


/* =========================================================
   LUXURY CAR CARDS (Showroom & Inventory)
   ========================================================= */
.car-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s cubic-bezier(0.2, 0, 0, 1), border-color 0.3s ease;
}

.car-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 42px -12px rgba(15, 23, 42, 0.18), 0 8px 16px -6px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.4);
}

.car-image-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #0f172a;
}

.car-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.car-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, transparent 40%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

/* Badges */
.car-badge {
  position: absolute;
  top: 14px;
  z-index: 5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.car-badge-status {
  left: 14px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.car-badge-warranty {
  right: 14px;
  background: rgba(37, 99, 235, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.68rem;
}

/* Card Body */
.car-info {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

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

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

/* Pricing */
.car-pricing-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.price-full {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-finance {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* 4-Item Grid Specs */
.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.car-spec-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  transition: background-color 0.2s ease;
}

.car-spec-item:hover {
  background: #f1f5f9;
}

.spec-icon {
  width: 14px;
  height: 14px;
  color: #2563eb;
  flex-shrink: 0;
}

/* Action Buttons */
.car-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-card-test {
  flex: 1;
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-card-test:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-card-view {
  flex: 1.2;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-card-view:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -2px rgba(37, 99, 235, 0.5);
}

.car-actions .btn-outline {
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
}

.car-actions .btn-outline:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #ffffff;
  transform: translateY(-2px);
}

.car-actions .btn-primary {
  background: var(--primary);
  border: 1.5px solid var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.25);
}

.car-actions .btn-primary:hover {
  background: #004494;
  border-color: #004494;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.4);
}

/* 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('Enterance.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);
}
.car-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.car-image-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--mid-gray);
}
.car-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.car-card:hover .car-image-wrapper img { transform: scale(1.04); }
.car-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.car-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.car-header { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 4px; }
.car-title { font-size: 1rem; font-weight: 700; color: var(--charcoal); }
.car-prices { text-align: left; flex-shrink: 0; }
.price-full { font-size: 1.15rem; font-weight: 800; color: var(--charcoal); display: block; }
.price-monthly { font-size: 0.78rem; font-weight: 600; color: var(--accent); display: block; }
.price-cash { font-size: 0.72rem; color: var(--text-secondary); display: block; }
.car-subtitle { font-size: 0.8rem; color: var(--text-secondary); margin: 4px 0 12px; }
.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.car-spec::after { content: '·'; margin-left: 14px; }
.car-spec:last-child::after { content: ''; margin: 0; }
.car-actions { display: flex; gap: 8px; margin-top: auto; }
.car-actions .btn { flex: 1; padding: 10px 12px; font-size: 0.82rem; }

/* ------- 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; }

/* ------- Location / Local Dealership Section ------- */
.location-section {
  padding: 80px 5%;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.section-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(0, 86, 179, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.location-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}
.location-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.location-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.loc-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.location-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.location-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.location-item a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.location-item a:hover {
  text-decoration: underline;
}

/* ------- Breadcrumbs ------- */
.breadcrumbs-container {
  padding: 16px 5%;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}
.breadcrumbs li::after {
  content: "›";
  color: #94a3b8;
  font-weight: 700;
}
.breadcrumbs li:last-child::after {
  content: "";
}
.breadcrumbs a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumbs li[aria-current="page"] {
  color: var(--charcoal);
  font-weight: 700;
}

/* ------- 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: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.48), 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1005;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, background-color 0.2s ease;
  animation: pulseWhatsapp 2.8s infinite ease-in-out;
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.48), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.48), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-fab:hover {
  transform: scale(1.12) translateY(-3px);
  background: #20ba59;
  animation: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  display: block;
  transition: transform 0.25s ease;
}

.whatsapp-fab:hover svg {
  transform: scale(1.08);
}

.whatsapp-fab img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ------- 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.6;
  margin-bottom: 14px;
  display: block;
  transition: color 0.2s ease;
}
.footer-contact-item:hover {
  color: #ffffff;
}
.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 */
  .hamburger { display: flex; }
  .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: var(--white);
    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, .location-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: 520px;
    padding: 60px 6% 70px;
    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.92) 0%, rgba(10, 17, 30, 0.85) 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; }
}


/* ─── Two Portals Hero on Homepage ─── */
.hero-two-portals {
  height: calc(100vh - var(--nav-height)) !important;
  min-height: 560px !important;
  max-height: 840px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 6% !important;
}

.hero-two-portals .hero-bg {
  background: url('assets/background pic.jpg') center center/cover no-repeat !important;
}

.hero-two-portals .hero-overlay {
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.52) 0%, rgba(8, 15, 30, 0.72) 100%) !important;
}

.hero-portal-wrapper {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-portal-wrapper .hero-pretitle {
  justify-content: center;
  letter-spacing: 2.5px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.hero-portal-wrapper .hero-headline {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  margin-bottom: 18px;
  text-align: center;
  color: #ffffff;
  line-height: 1.15;
}

.hero-portal-wrapper .hero-desc {
  max-width: 720px;
  margin: 0 auto 36px auto;
  text-align: center;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
}

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


/* ─── Auto-Scrolling Photo Marquee ─── */
.marquee-section {
  padding: 56px 0 64px 0;
  background: #0b1120;
  overflow: hidden;
  position: relative;
}

.marquee-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px auto;
  padding: 0 20px;
}

.marquee-header .marquee-pretitle {
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.marquee-header h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.marquee-header p {
  color: #94a3b8;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.55;
}

.marquee-track-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  width: 100%;
}

.marquee-track-container::before,
.marquee-track-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-track-container::before {
  left: 0;
  background: linear-gradient(90deg, #0b1120 0%, transparent 100%);
}

.marquee-track-container::after {
  right: 0;
  background: linear-gradient(270deg, #0b1120 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scrollMarquee 38s linear infinite;
  padding: 10px 0;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  width: 330px;
  height: 230px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s ease;
  background: #1e293b;
}

.marquee-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marquee-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .marquee-item {
    width: 270px;
    height: 190px;
  }
  .marquee-track-container::before,
  .marquee-track-container::after {
    width: 40px;
  }
}

/* ─── Google Reviews Section ─── */
.google-reviews-section {
  padding: 85px 0;
  background: #f8fafc;
}

.google-reviews-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
  padding: 0 20px;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.google-g-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.google-rating-score {
  font-weight: 800;
  font-size: 1.25rem;
  color: #0f172a;
}

.google-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.google-review-count {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  padding-left: 4px;
  border-left: 1px solid #e2e8f0;
}

.google-reviews-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.google-reviews-header p {
  color: #64748b;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.google-review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.google-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.reviewer-info h4 {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.98rem;
  margin: 0 0 2px 0;
}

.reviewer-badge {
  font-size: 0.76rem;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 18px;
  flex-grow: 1;
}

.review-date {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.google-reviews-cta {
  text-align: center;
}

.btn-google {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}


.logo-divider {
  display: inline-block;
  width: 1px;
  height: 32px;
  background: #cbd5e1;
  opacity: 0.65;
  margin: 0 6px;
}
.nav-logo-taller-img {
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .nav-logo { gap: 8px !important; }
  .nav-logo-img { height: 30px !important; max-width: 135px !important; }
  .nav-logo-taller-img { height: 34px !important; max-width: 90px !important; }
  .logo-divider { height: 22px !important; margin: 0 2px !important; }
}
