﻿/* ==================================================================
   AUTO KING — AK SYSTEM DESIGN SYSTEM (LUXURY DARK THEME WITH RICH TONAL VARIATION)
   Cohesive dark theme with dynamic gradients, vibrant gold & crimson accents.
   ================================================================== */

@view-transition {
  navigation: auto;
}

html, body {
  background-color: #020611 !important;
  color: #f3f4f6 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

:root {
  /* Colors */
  --primary: #050b1a;
  --primary-light: #0d1a3a;
  --accent: #c8102e;
  --accent-hover: #a30d24;
  --gold: #d4a853;
  --gold-light: #e9c47c;
  --green: #10b981;
  --green-hover: #059669;

  /* Dark Surfaces — Dynamic tonal variations */
  --bg-dark-1: #020611;
  --bg-dark-2: #070d19;
  --surface-dark: #0b1326;
  --surface-dark-glass: rgba(13, 26, 58, 0.85);

  --bg: #020611 !important;
  --bg-alt: #070d19 !important;
  --surface: #0b1326 !important;
  --surface-glass: rgba(11, 19, 38, 0.85) !important;
  
  /* Gold & Light Accent Borders */
  --border-gold-low: rgba(212, 168, 83, 0.28);
  --border-gold-medium: rgba(212, 168, 83, 0.45);
  --border-gold-8: rgba(212, 168, 83, 0.12);
  --border-light: rgba(255, 255, 255, 0.12);
  --border: rgba(212, 168, 83, 0.28);

  /* High Contrast Typography (AA / AAA Compliant) */
  --text: #ffffff;
  --text-secondary: #e2e8f0; /* Crisp readable light silver (contrast > 10:1) */
  --text-muted: #94a3b8;
  --text-on-dark: #ffffff;

  /* Border Radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow-gold-glow: 0 0 25px rgba(212, 168, 83, 0.25);
  --shadow-red-glow: 0 0 25px rgba(200, 16, 46, 0.35);

  /* Transitions */
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px 0;
  text-shadow: none !important;
}

p {
  color: var(--text-secondary);
}

.section-title-large {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}

.section-title-large span {
  color: var(--gold) !important;
}

.section-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* SVG Icons & Icon Badge */
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold-low);
  background: rgba(212, 168, 83, 0.14);
  color: var(--gold);
  font-size: 1.35rem;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.icon-badge-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  font-size: 1.8rem;
  box-shadow: var(--shadow-gold-glow);
}

.icon-badge:hover {
  background: rgba(212, 168, 83, 0.25);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-red-glow);
  color: #ffffff;
}

.btn-secondary,
.btn-outline-gold {
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-secondary::after,
.btn-outline-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-secondary:hover::after,
.btn-outline-gold:hover::after {
  left: 100%;
}

.btn-secondary:hover,
.btn-outline-gold:hover {
  background: rgba(212, 168, 83, 0.18);
  border-color: var(--gold-light);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-glow);
}

.btn-accent {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.35);
}

.btn-accent:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-glow);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Card Containers — Differentiated dark gradient surface */
.card-premium,
.feature-card,
.contact-details-card,
.contact-form-card {
  background: linear-gradient(145deg, #0b1326 0%, #070d19 100%) !important;
  border: 1px solid var(--border-gold-low) !important;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-premium:hover,
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold) !important;
  box-shadow: var(--shadow-md), var(--shadow-gold-glow) !important;
  background: linear-gradient(145deg, #0f1b36 0%, #091224 100%) !important;
}

.card-premium p,
.feature-card p {
  color: var(--text-secondary) !important;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Floating Controls */
.whatsapp-fab,
.flotante-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: pulseRing 2s infinite ease-out;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.btn-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: #070d19;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-top:hover {
  background: var(--gold);
  color: var(--primary);
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-3px);
}

/* Animations & Data Reveal */
[data-reveal], .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].visible, .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==================================================================
   HEADER / NAVIGATION — RESPONSIVE, NO-WRAP, ACCESSIBLE
   ================================================================== */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(2, 6, 17, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 48px);
  /* 1006 y no 1000: el drawer (.menu-links, z-index 1005) es HIJO de .menu,
     asi que su z-index se resuelve DENTRO de este contexto de apilamiento y
     nunca sube por encima de un hermano. Con 1000 empatan con
     .drawer-overlay, que ak-ui.js appendea al body despues de .menu y por
     tanto se pinta encima: el overlay con backdrop-filter tapaba el drawer
     (se veia borroso) y se comia los toques. Con 1006 todo el subarbol del
     header queda por encima del overlay (1005). */
  z-index: 1006;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), height var(--transition);
}

.menu.scrolled {
  height: 64px;
  background: rgba(2, 6, 17, 0.98);
  border-bottom-color: var(--border-gold-low);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.logo {
  flex-shrink: 0;
  z-index: 1010;
}
.logo a { display: block; line-height: 0; }
.logo img {
  height: clamp(48px, 7vw, 64px);
  width: auto;
  max-height: 76px;
  transition: var(--transition);
  flex-shrink: 0;
}

/* Nav links row — never wrap */
.menu-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.menu-links .op {
  display: flex;
  align-items: center;
}

/* Link base */
.menu-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.78rem, 0.7rem + 0.35vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.92);
  padding: 10px clamp(12px, 2vw, 18px);
  border-radius: var(--radius-full);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

/* Active page — gold pill */
.menu-links a.current-page {
  color: var(--primary);
  background: var(--gold);
  font-weight: 700;
}

/* Hover — animated gold underline */
.menu-links a:not(.current-page)::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: width var(--transition), transform var(--transition);
}
.menu-links a:not(.current-page):hover::after,
.menu-links a:not(.current-page):focus-visible::after {
  width: 60%;
  transform: translateX(-50%) scaleX(1);
}
.menu-links a:not(.current-page):hover,
.menu-links a:not(.current-page):focus-visible {
  color: #fff;
}

/* Focus visible for keyboard nav */
.menu-links a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.45);
  border-radius: var(--radius-full);
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  z-index: 1010;
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.hamburger-btn:hover { background: rgba(255,255,255,0.1); }
.hamburger-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.6);
}
.hamburger-btn .icon { width: 28px; height: 28px; display: block; }

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

/* Tablet / zoom 150% — switch to drawer BEFORE content breaks (~1100px) */
@media (max-width: 1100px) {
  /* El backdrop-filter del header crea containing block para los
     position:fixed descendientes, asi que el drawer se posicionaba contra
     .menu (72px de alto) en vez del viewport: `right:-100%` valia -100vw y
     la animacion de entrada recorria el ancho completo de la pantalla.
     En movil se desactiva; el drawer es opaco (background #070d19) asi que
     no se pierde el efecto de cristal y se recupera el viewport como origen. */
  .menu {
    padding: 0 20px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hamburger-btn { display: flex; align-items: center; justify-content: center; }
  .menu-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    max-width: 360px;
    height: 100vh;
    background: #070d19;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(72px + 24px) 24px 24px;
    transition: right 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.95);
    border-left: 1px solid var(--border-gold-low);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
  }
  .menu-links.active {
    right: 0;
    opacity: 1;
    visibility: visible;
  }
  .menu-links .op {
    width: 100%;
  }
  .menu-links a {
    width: 100%;
    justify-content: flex-start;
    padding: 16px 20px;
    font-size: 1rem;
    border-radius: var(--radius-md);
    text-transform: none;
    letter-spacing: 0.2px;
  }
  .menu-links a.current-page {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--primary);
  }
  .menu-links a:not(.current-page):hover,
  .menu-links a:not(.current-page):focus-visible {
    background: rgba(212, 168, 83, 0.12);
    color: var(--gold);
  }
  .menu-links a:not(.current-page)::after { display: none; }

  /* Drawer icons */
  .drawer-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
  }
  .menu-links a:hover .drawer-icon,
  .menu-links a:focus-visible .drawer-icon,
  .menu-links a.current-page .drawer-icon {
    color: var(--gold);
  }
}

/* Mobile small — tighter padding */
@media (max-width: 480px) {
  .menu { height: 64px; padding: 0 16px; }
  .logo img { height: clamp(32px, 4.5vw, 40px); }
  .hamburger-btn .icon { width: 24px; height: 24px; }
  .menu-links { width: 100%; max-width: 100%; padding-top: calc(64px + 20px); }
  .menu-links a { padding: 14px 16px; font-size: 0.95rem; }
}

/* Drawer overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 17, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* 1005: queda por debajo de .menu (1006) para no tapar el drawer ni el
     boton de cerrar, y por encima del contenido de la pagina. */
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .menu-links,
  .drawer-overlay,
  .hamburger-btn,
  .menu-links a::after {
    transition-duration: 0.01ms !important;
  }
}

.footer {
  background: #010309 !important;
  border-top: 1px solid var(--border-gold-low);
  padding: 60px 40px 40px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-col h4 {
  color: var(--gold) !important;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Color fijo, no var(--text-secondary): esa variable esta declarada en el
   :root de app.css con un gris oscuro (#4b5563) y app.css carga despues de
   este archivo, asi que ganaba ella y dejaba el texto del footer en 2.7:1
   sobre el fondo #010309 (falla WCAG AA). El valor es el que ak-system
   pretendia para su tema oscuro. */
.footer-col p,
.footer-col a {
  color: #e2e8f0 !important;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold) !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  /* Mismo motivo que .footer-col p/a: var(--text-muted) resuelve al valor
     claro de app.css (#8b96a5) porque carga despues. */
  color: #94a3b8 !important;
  font-size: 13px;
}

/* ==================================================================
   HOME SECTION SURFACES WITH RICH TONAL VARIATION & ACCENTS
   ================================================================== */
.qs-section,
.section-wrap {
  padding: 80px 40px;
}

/* Hero: Visible photo background with subtle directional vignette */
.hero-centered-wrap {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  overflow: hidden;
  background: #020611 !important;
}

.hero-bg-zoom {
  position: absolute;
  inset: 0;
  background-image: url('IMAGENES/Main.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.60; /* Clear, crisp photo visibility */
  transform: scale(1.05);
  animation: heroSlowZoom 25s infinite alternate ease-in-out;
}

@keyframes heroSlowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(2, 6, 17, 0.55) 0%, rgba(2, 6, 17, 0.92) 85%);
}

.hero-centered-container {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-main {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary) !important;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hero-actions-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator-wrap {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-arrow {
  margin-top: 6px;
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Marquee Strip — Gold border accents */
.marquee-strip-clean {
  background: #070d19 !important;
  border-top: 1px solid var(--border-gold-low);
  border-bottom: 1px solid var(--border-gold-low);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 28s linear infinite;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gold);
}

.marquee-strip-clean:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
}

.marquee-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.4);
}

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

/* Bento Grid Section — Warm Crimson Radial Background Glow */
.section-bento-wrap {
  background: radial-gradient(circle at 85% 20%, rgba(200, 16, 46, 0.1) 0%, #020611 75%) !important;
  padding: 80px 40px;
}

.bento-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bento-card-lg {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #0d1a3a 0%, #070d19 100%) !important;
  border: 1px solid var(--gold) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), var(--shadow-gold-glow) !important;
}

.bento-card-lg h3 {
  font-size: 1.8rem;
  margin: 16px 0 12px 0;
}

.bento-card-lg p {
  font-size: 1.1rem;
  color: var(--text-secondary) !important;
}

.bento-big-stat {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  font-family: 'Playfair Display', Georgia, serif;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .bento-grid-container {
    grid-template-columns: 1fr;
  }
  .bento-card-lg {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Como Comprar Steps — Gold Tinted Surface Background */
.section-como-comprar-wrap {
  background: radial-gradient(circle at 15% 50%, rgba(212, 168, 83, 0.07) 0%, #070d19 80%) !important;
  width: 100%;
  padding: 80px 40px;
}

.como-comprar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  background: linear-gradient(145deg, #0b1326 0%, #050b1a 100%) !important;
  border: 1px solid var(--border-gold-low);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.step-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold-glow);
}

.step-card p {
  color: var(--text-secondary) !important;
}

.step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(212, 168, 83, 0.22);
  font-family: 'Playfair Display', Georgia, serif;
}

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

/* Catalogo Section — Deep Midnight Background with Subtle Top Glow */
.section-destacados-wrap {
  background: radial-gradient(ellipse at top, rgba(13, 26, 58, 0.55) 0%, #020611 80%) !important;
  padding: 80px 40px;
}

.catalogo-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.car-card-modern {
  background: linear-gradient(145deg, #070d19 0%, #050b1a 100%) !important;
  border: 1px solid var(--border-gold-low);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.car-card-modern:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md), var(--shadow-gold-glow);
}

.car-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.car-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.car-card-modern:hover .car-card-img-wrap img {
  transform: scale(1.08);
}

.car-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.car-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 12px;
}

.car-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-secondary) !important;
  margin-bottom: 16px;
}

.car-card-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.car-card-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-gold-8);
}

.car-card-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
}

/* Full Width CTA Banner — Deep Crimson Gradient Contrast */
.cta-banner-full {
  background: linear-gradient(135deg, var(--accent) 0%, #7a081a 100%) !important;
  padding: 80px 40px;
  text-align: center;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(200, 16, 46, 0.3);
}

.cta-banner-full h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  color: #ffffff !important;
}

.cta-banner-full p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Contact Section — Dark Surface with Accent Cards */
.section-contacto-wrap {
  background: #070d19 !important;
  padding: 80px 40px;
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-action-card {
  background: linear-gradient(145deg, #0b1326 0%, #050b1a 100%) !important;
  border: 1px solid var(--border-gold-low);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: #ffffff !important;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.contact-action-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold-glow);
}

.contact-action-card h4 {
  font-size: 1.1rem;
  margin: 12px 0 4px 0;
  color: #ffffff !important;
}

.contact-action-card p {
  font-size: 0.92rem;
  color: var(--text-secondary) !important;
  margin: 0;
}

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

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-pill.open {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-pill.closed {
  background: rgba(239, 68, 68, 0.18);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
