/* ==========================================================================
   DVO Design System v2.0
   Architecture: Variables → Reset → Base → Components → Sections → Utils
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS (Variables)
   ========================================================================== */

:root {
  /* Colors - Strict palette */
  --black: #000000;
  --dark: #0a0a0a;
  --card: #111111;
  --border: #1a1a1a;
  --border-hover: #333333;
  --muted: #666666;
  --gray: #888888;
  --light: #bbbbbb;
  --white: #ffffff;
  --success: #22c55e;
  --warning: #f59e0b;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
  
  /* Spacing - 8px scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 50px;
  
  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  
  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. BASE TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
  color: var(--light);
}

.text-muted { color: var(--muted); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

.section {
  padding: var(--space-16) 0;
}

.section-dark {
  background: var(--dark);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

.section-header p {
  color: var(--gray);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. COMPONENTS - Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  height: 42px;
  border-radius: var(--radius-sm);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--duration-fast) var(--ease);
}

.nav__link:hover {
  color: var(--white);
}

.nav__cta {
  background: var(--white);
  color: var(--black);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav__cta:hover {
  opacity: 0.9;
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--duration-base) var(--ease);
}

.nav__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease);
}

.nav__mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__mobile-link {
  display: block;
  padding: var(--space-4) 0;
  font-size: 1rem;
  color: var(--light);
  border-bottom: 1px solid var(--border);
}

.nav__mobile-link:last-child {
  border-bottom: none;
}

/* ==========================================================================
   5. COMPONENTS - Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--white);
  color: var(--black);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-hover);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn--lg {
  padding: var(--space-5) var(--space-8);
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.btn--icon:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* ==========================================================================
   5. COMPONENTS - Cards
   ========================================================================== */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease);
}

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

.card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dark);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-5);
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.card__subtitle {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: var(--space-4);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.card__tag {
  font-size: 0.7rem;
  color: var(--gray);
  background: var(--dark);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

/* ==========================================================================
   5. COMPONENTS - Forms
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-4);
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast) var(--ease);
}

.form-input:focus {
  outline: none;
  border-color: var(--white);
}

.form-input::placeholder {
  color: var(--muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. COMPONENTS - Search
   ========================================================================== */

.search-box {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: border-color var(--duration-fast) var(--ease);
}

.search-box:focus-within {
  border-color: var(--white);
}

.search-box svg {
  width: 20px;
  height: 20px;
  color: var(--gray);
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.95rem;
}

.search-box input:focus {
  outline: none;
}

.search-box input::placeholder {
  color: var(--muted);
}

/* ==========================================================================
   5. COMPONENTS - Filter Pills
   ========================================================================== */

.filter-bar {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  -webkit-overflow-scrolling: touch;
}

.filter-pill {
  padding: var(--space-3) var(--space-5);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--light);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* Sort Dropdown */
.sort-dropdown {
  position: relative;
}

.sort-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--light);
  cursor: pointer;
}

.sort-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   5. COMPONENTS - Stats
   ========================================================================== */

.stat {
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-top: var(--space-2);
}

/* ==========================================================================
   5. COMPONENTS - Badge
   ========================================================================== */

.badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  color: var(--gray);
}

/* ==========================================================================
   5. COMPONENTS - Review Card
   ========================================================================== */

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--duration-base) var(--ease);
}

.review-card:hover {
  border-color: var(--border-hover);
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.review-card__author {
  font-weight: 600;
  margin-bottom: var(--space-1);
}

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

.review-card__stars {
  color: var(--warning);
  font-size: 0.9rem;
}

.review-card__text {
  color: var(--light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   5. COMPONENTS - FAQ
   ========================================================================== */

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5);
  background: none;
  border: none;
  text-align: left;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
}

.faq-question:hover {
  background: rgba(255,255,255,0.02);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--gray);
  transition: transform var(--duration-base) var(--ease);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-base) var(--ease);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer__content {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==========================================================================
   5. COMPONENTS - Contact
   ========================================================================== */

.contact-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.contact-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact-card__text {
  font-size: 0.9rem;
  color: var(--light);
  line-height: 1.5;
}

.contact-card__text a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Map */
.map-container {
  margin-top: var(--space-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  display: block;
  filter: grayscale(1) invert(1) contrast(0.9);
}

/* ==========================================================================
   6. SECTIONS - Hero
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-10)) var(--space-5) var(--space-16);
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)), 
              url('../images/hero-garage.webp') center/cover no-repeat;
  background-color: var(--dark); /* Fallback */
}

.hero__content {
  max-width: 800px;
}

.hero__badge {
  margin-bottom: var(--space-6);
}

.hero__title {
  margin-bottom: var(--space-4);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: var(--space-8);
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* ==========================================================================
   6. SECTIONS - Trust
   ========================================================================== */

.trust-section {
  padding: var(--space-10) 0;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
}

.trust-item svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--light);
}

/* ==========================================================================
   6. SECTIONS - Stock
   ========================================================================== */

.stock-section {
  padding: var(--space-16) 0;
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.stock-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-16);
  color: var(--gray);
}

.stock-empty p {
  margin-bottom: var(--space-6);
}

/* Loading State */
.stock-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-16);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--space-4);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   6. SECTIONS - Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--duration-base) var(--ease);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-5);
}

.service-card__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ==========================================================================
   6. SECTIONS - Reviews
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.reviews-stars {
  display: flex;
  gap: 2px;
}

.reviews-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--warning);
}

.reviews-score {
  font-weight: 600;
  font-size: 1.1rem;
}

/* ==========================================================================
   6. SECTIONS - Trade-in
   ========================================================================== */

.tradein-section {
  background: var(--dark);
}

.tradein-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 900px) {
  .tradein-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.tradein-badge {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: var(--space-2) var(--space-4);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-5);
}

.tradein-title {
  margin-bottom: var(--space-4);
}

.tradein-text {
  margin-bottom: var(--space-6);
}

.tradein-list {
  margin-bottom: var(--space-6);
}

.tradein-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--light);
}

.tradein-list svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.tradein-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.tradein-form__title {
  margin-bottom: var(--space-6);
}

/* ==========================================================================
   6. SECTIONS - Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: grid;
  gap: var(--space-4);
}

.contact-form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.contact-form-box__title {
  margin-bottom: var(--space-6);
}

/* ==========================================================================
   6. SECTIONS - Footer
   ========================================================================== */

.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: var(--space-3);
  line-height: 1.6;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
  color: var(--white);
}

.footer-links a {
  display: block;
  padding: var(--space-2) 0;
  font-size: 0.875rem;
  color: var(--gray);
  transition: color var(--duration-fast) var(--ease);
}

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

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gray);
  transition: all var(--duration-fast) var(--ease);
}

.footer-social a:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--gray);
  transition: color var(--duration-fast) var(--ease);
}

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

/* ==========================================================================
   7. UTILITIES
   ========================================================================== */

/* WhatsApp FAB */
.fab-whatsapp {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  transition: transform var(--duration-fast) var(--ease);
}

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

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
  color: var(--black);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) var(--ease);
  z-index: 900;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: var(--space-5);
  z-index: 950;
  transform: translateY(100%);
  transition: transform var(--duration-base) var(--ease);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--light);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-3);
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   8. ANIMATIONS
   ========================================================================== */

/* Fade In on Scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease);
}

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

/* Pulse Animation */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
  50% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ==========================================================================
   9. OPENING STATUS
   ========================================================================== */

.hero__hours {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding: var(--space-3) var(--space-5);
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
}

.status-dot.open {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.status-dot.closed {
  background: #ef4444;
}

.status-text {
  color: var(--light);
}

/* ==========================================================================
   10. MOBILE STICKY CTA
   ========================================================================== */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0));
}

.mobile-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  max-width: 500px;
  margin: 0 auto;
}

.mobile-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease);
}

.mobile-cta__btn--primary {
  background: var(--white);
  color: var(--black);
}

.mobile-cta__btn--secondary {
  background: #25D366;
  color: var(--white);
}

.mobile-cta__btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
  }
  
  /* Adjust WhatsApp FAB position */
  .fab-whatsapp {
    bottom: 90px;
  }
  
  /* Add padding to footer for mobile CTA */
  .footer {
    padding-bottom: 100px;
  }
}

/* ==========================================================================
   11. VEHICLE CARD ENHANCEMENTS
   ========================================================================== */

.card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--white);
  color: var(--black);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 1;
}

.card__badge--garantie {
  background: #22c55e;
  color: white;
}

.card__image {
  position: relative;
}

.card__monthly {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: var(--space-1);
}

.card__price-wrapper {
  display: flex;
  flex-direction: column;
}
