/* ==========================================================================
   QUALYCAR MULTIMARCAS - CLEAN WHITE LUXURY DESIGN SYSTEM
   Premium Light Mode Theme with Pristine White, Slate & Gold Accents
   ========================================================================== */

:root {
  --bg-main: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  
  --border-color: #e2e8f0;
  --border-highlight: #cbd5e1;

  --accent-dark: #0f172a;
  --accent-blue: #0066ff;
  --accent-primary: #1e293b;
  --accent-silver: #64748b;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  --success-color: #10b981;
  --gold-color: #d97706;
  --gold-bg: #fffbeb;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP INFO BAR
   ========================================================================== */
.top-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  padding: 10px 0;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info-left, .top-info-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.divider {
  color: var(--border-color);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-bg);
  color: var(--gold-color);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #fef3c7;
  font-weight: 600;
}

.star-icon {
  color: #f59e0b;
}

.top-link:hover {
  color: var(--accent-dark);
}

.phone-link {
  color: var(--text-main);
  font-weight: 700;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-img {
  height: 90px; /* Big Original Logo */
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-dark);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.3rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-dark);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #1e293b;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--border-highlight);
}

.btn-whatsapp-header {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-whatsapp-header:hover {
  background: #059669;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.btn-whatsapp-calc {
  background: #10b981;
  color: #ffffff;
}

.btn-whatsapp-calc:hover {
  background: #059669;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero-title span {
  color: var(--accent-dark);
  border-bottom: 4px solid var(--accent-dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

.hero-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 8px 10px 8px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.search-icon {
  color: var(--accent-dark);
  font-size: 1.1rem;
}

.search-input-wrapper input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1rem;
}

.search-input-wrapper input::placeholder {
  color: #94a3b8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.stat-icon {
  width: 46px;
  height: 46px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 1.2rem;
  border: 1px solid var(--border-color);
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-text strong {
  font-size: 0.95rem;
  color: var(--text-main);
}

.stat-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BRAND FILTER SECTION (Official Colored Logos)
   ========================================================================== */
.brand-filter-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.section-header {
  margin-bottom: 28px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.drag-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.brand-grid-wrapper {
  position: relative;
  width: 100%;
}

.brand-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px 4px 20px 4px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.brand-grid:active {
  cursor: grabbing;
}

/* Visible Sleek Scrollbar */
.brand-grid::-webkit-scrollbar {
  height: 10px;
}

.brand-grid::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.brand-grid::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-secondary);
}

.brand-grid::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

.brand-card {
  flex: 0 0 145px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.brand-card:hover {
  background: var(--bg-secondary);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.brand-card.active {
  background: var(--bg-secondary);
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 2px var(--accent-dark);
}

.brand-card span {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

.brand-logo-container {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-svg {
  max-height: 44px;
  max-width: 90px;
  object-fit: contain;
  transition: var(--transition);
}

.brand-card:hover .brand-logo-svg {
  transform: scale(1.08);
}

.brand-icon-all {
  font-size: 1.8rem;
  color: var(--accent-dark);
}

/* ==========================================================================
   INVENTORY / CAR CATALOG
   ========================================================================== */
.inventory-section {
  padding: 70px 0;
  background: var(--bg-secondary);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.catalog-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.vehicle-count-badge {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.pill {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pill:hover {
  color: var(--text-main);
  background: var(--bg-secondary);
}

.pill.active {
  background: var(--accent-dark);
  color: #ffffff;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sort-wrapper select {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
}

.catalog-search-row {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: var(--radius-md);
}

.search-field i {
  color: var(--text-muted);
}

.search-field input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
}

/* Car Cards Grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.car-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.car-image-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f1f5f9;
  overflow: hidden;
}

.car-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.warranty-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-dark);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.car-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.car-brand-name {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-dark);
  letter-spacing: 1px;
}

.car-category-pill {
  font-size: 0.75rem;
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
  font-weight: 600;
}

.car-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-main);
}

.car-version {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-specs-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-item i {
  color: var(--accent-dark);
}

.car-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  margin-top: auto;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.car-price {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text-main);
}

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

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
}

.no-results-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   FINANCING SECTION
   ========================================================================== */
.financing-section {
  padding: 80px 0;
  background: #ffffff;
}

.financing-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.financing-info h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 12px 0 16px 0;
  color: var(--text-main);
}

.financing-info p {
  color: var(--text-body);
  margin-bottom: 24px;
}

.financing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.financing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.financing-features i {
  color: var(--success-color);
  font-size: 1.1rem;
}

.financing-calculator-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.financing-calculator-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

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

.calc-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label-row strong {
  color: var(--accent-dark);
  font-size: 1.1rem;
}

.calc-group select {
  width: 100%;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-sm);
  outline: none;
}

.calc-group input[type="range"] {
  width: 100%;
  accent-color: var(--accent-dark);
  cursor: pointer;
}

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

.term-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
}

.term-btn.active, .term-btn:hover {
  background: var(--accent-dark);
  color: #ffffff;
  border-color: var(--accent-dark);
}

.calc-result-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.result-label {
  font-size: 0.85rem;
  color: #065f46;
  font-weight: 600;
}

.result-amount {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #047857;
  margin: 4px 0;
}

.calc-disclaimer {
  font-size: 0.72rem;
  color: #64748b;
}

/* ==========================================================================
   DIFFERENTIALS SECTION
   ========================================================================== */
.differentials-section {
  padding: 70px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.diff-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.diff-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.diff-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.diff-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   ABOUT & REVIEWS SECTION
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background: #ffffff;
}

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

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  margin: 12px 0 20px 0;
  color: var(--text-main);
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-stats-inline {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-stat h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.about-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.about-buttons {
  display: flex;
  gap: 16px;
}

.google-review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.google-review-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 6rem;
  color: rgba(0,0,0,0.05);
  font-family: serif;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.google-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

.review-stars {
  color: var(--gold-color);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-stars span {
  color: var(--text-main);
  font-weight: 700;
  margin-left: 6px;
}

.review-body p {
  font-style: italic;
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 44px;
  height: 44px;
  background: var(--accent-dark);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.review-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */
.location-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.location-grid {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 30px;
}

.location-info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.location-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.info-row .icon {
  color: var(--accent-dark);
  font-size: 1.2rem;
  margin-top: 4px;
}

.info-row strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.info-row p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hours-list {
  list-style: none;
  margin-top: 6px;
  font-size: 0.85rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-color);
}

.hours-list .closed {
  color: #ef4444;
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #0f172a;
  color: #ffffff;
  padding-top: 70px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  height: 80px;
  margin-bottom: 16px;
}

.brand-col p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.footer-socials a:hover {
  background: #ffffff;
  color: #0f172a;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   FLOATING WHATSAPP CTA
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: #059669;
}

.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   MODALS SYSTEM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  color: var(--text-main);
}

.modal-medium {
  max-width: 550px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.modal-car-image {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 350px;
}

.modal-car-details h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.modal-car-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 12px 0;
}

.spec-sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--bg-secondary);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.spec-sheet-item strong {
  display: block;
  color: var(--text-muted);
}

.spec-sheet-item span {
  color: var(--text-main);
  font-weight: 600;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input, .form-group select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px;
  border-radius: var(--radius-sm);
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--accent-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .financing-card { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .brand-logo-img { height: 75px; }
}

@media (max-width: 768px) {
  .top-info-left, .top-info-right { justify-content: center; width: 100%; }
  .mobile-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu.open { display: flex; }
  .hero-title { font-size: 2.1rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-search-box { flex-direction: column; border-radius: var(--radius-lg); }
  .search-input-wrapper { width: 100%; }
  .hero-search-box .btn { width: 100%; }
  .cars-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .brand-logo-img { height: 70px; }
}
