/* =====================================================
   DANKE CAR — Hoja de estilos
   Paleta: Verde bosque + Naranja acción + Neutros
   ===================================================== */

:root {
  --verde: #1F4D3A;
  --verde-oscuro: #143029;
  --verde-claro: #2D6B52;
  --naranja: #F26A1F;
  --naranja-oscuro: #C85515;
  --blanco: #FFFFFF;
  --gris-50: #F7F8F6;
  --gris-100: #EEEFE9;
  --gris-300: #C9CCC2;
  --gris-500: #7E8278;
  --gris-700: #3A3D36;
  --negro: #0F0F0E;
  --shadow-sm: 0 2px 8px rgba(15, 15, 14, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 15, 14, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 15, 14, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--verde-oscuro);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }

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

.section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--gris-500); font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  background: rgba(242, 106, 31, 0.12);
  color: var(--naranja-oscuro);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =====================================================
   Botones
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--naranja);
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(242, 106, 31, 0.35);
}
.btn-primary:hover { background: var(--naranja-oscuro); transform: translateY(-2px); }

/* Botón submit del beast: hereda variables sincronizadas con las luces del auto */
.form-card .btn-primary {
  background: var(--beast-btn-bg, var(--naranja));
  color: var(--beast-btn-color, var(--blanco));
  box-shadow: 0 8px 24px var(--beast-btn-shadow, rgba(242, 106, 31, 0.45));
  transition: background 0.6s ease, color 0.6s ease, box-shadow 0.6s ease, transform 0.2s ease;
}
.form-card .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn-secondary {
  background: var(--blanco);
  color: var(--verde-oscuro);
  border: 2px solid var(--verde-oscuro);
}
.btn-secondary:hover { background: var(--verde-oscuro); color: var(--blanco); }
.btn-dark {
  background: var(--verde-oscuro);
  color: var(--blanco);
}
.btn-dark:hover { background: var(--verde); }
.btn-block { width: 100%; }
.btn-arrow::after { content: '→'; transition: var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* =====================================================
   Navbar
   ===================================================== */
/* Skip link (accesibilidad) */
.skip-link {
  position: absolute;
  top: -100px; left: 0;
  background: var(--verde-oscuro);
  color: var(--blanco);
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* Respetar notch en iOS */
  padding-top: env(safe-area-inset-top, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--gris-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--verde-oscuro);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.logo span { color: var(--naranja); }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--naranja);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-size: 1.2rem;
}

/* Selector de idiomas con banderas */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
}
.lang-btn {
  width: 36px;
  height: 26px;
  padding: 0;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.55;
  filter: saturate(0.85);
}
.lang-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  filter: saturate(1);
}
.lang-btn.active {
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(242, 106, 31, 0.25), 0 4px 10px rgba(242, 106, 31, 0.25);
  transform: scale(1.18);
  opacity: 1;
  filter: saturate(1);
}
.flag {
  width: 100%;
  height: 100%;
  display: block;
}

/* =====================================================
   Lang switcher — versión móvil: dropdown colapsado
   ===================================================== */
@media (max-width: 600px) {
  .lang-switcher {
    position: relative;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    padding: 0.3rem;
  }
  /* Ocultar todas las banderas inactivas */
  .lang-btn {
    width: 32px;
    height: 22px;
    border-width: 1.5px;
  }
  .lang-btn:not(.active) {
    display: none;
  }
  /* El switcher "expandido" muestra todas (clase añadida por JS al tocar) */
  .lang-switcher.open .lang-btn {
    display: inline-flex;
  }
  /* En modo colapsado, la activa es el botón principal */
  .lang-switcher:not(.open) .lang-btn.active {
    transform: scale(1.1);
  }
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--naranja);
  transition: var(--transition);
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  height: 3px;
  background: var(--verde-oscuro);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: var(--blanco);
    padding: 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav-links.open { transform: translateY(0); }
}

/* =====================================================
   HERO — Pantalla completa con imagen y texto overlay
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 3rem;
  color: var(--blanco);
  overflow: hidden;
  animation: heroFadeIn 1s ease;
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Carrusel de imágenes de fondo */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

/* Overlay oscuro de izquierda a derecha para legibilidad */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-text {
  max-width: 640px;
  margin-left: clamp(0px, 2vw, 24px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  animation: heroTextIn 1s 0.2s ease both;
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text .eyebrow {
  background: rgba(242, 106, 31, 0.25);
  color: #FFD4B0;
  backdrop-filter: blur(6px);
}
.hero h1 {
  color: var(--blanco);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.hero h1 span { color: var(--naranja); }
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 520px;
}
.hero-stats .stat strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--naranja);
}
.hero-stats .stat span { font-size: 0.85rem; opacity: 0.85; }

/* Controles del carrusel (flechas) */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--blanco);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-nav:hover {
  background: var(--naranja);
  border-color: var(--naranja);
}
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

/* Dots indicadores */
.hero-dots {
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.hero-dot {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
  border: none;
  padding: 0;
}
.hero-dot.active {
  background: var(--naranja);
  width: 50px;
}
.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
}

/* Indicador de scroll animado */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: var(--transition);
}
.scroll-indicator:hover {
  border-color: var(--naranja);
}
.scroll-indicator span {
  display: block;
  width: 3px;
  height: 10px;
  background: var(--blanco);
  border-radius: 2px;
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
  0%   { transform: translateY(0);    opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

@media (max-width: 880px) {
  .hero {
    min-height: 100vh;
    padding: 6rem 0 5rem;
  }
  .hero-slide { background-position: 70% center; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.65) 100%);
  }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .scroll-indicator { display: none; }
  .hero-dots { bottom: 3rem; }
  .hero-nav { width: 42px; height: 42px; font-size: 1.5rem; }
  .hero-prev { left: 0.75rem; }
  .hero-next { right: 0.75rem; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
}

/* =====================================================
   Marcas
   ===================================================== */
.brands {
  padding: 2.5rem 0;
  background: var(--gris-50);
}
.brands-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.7;
}
.brands-grid span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--gris-700);
  filter: grayscale(1);
  transition: var(--transition);
}
.brands-grid span:hover { filter: grayscale(0); color: var(--verde-oscuro); }

/* =====================================================
   Proceso
   ===================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-step {
  background: var(--blanco);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gris-100);
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--naranja);
  box-shadow: var(--shadow-md);
}
.process-step .num,
.process-step .process-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--verde-oscuro);
  color: var(--blanco);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.process-step p { color: var(--gris-500); font-size: 0.9rem; }

/* Lista de bullets dentro de las cards (Atributos) */
.process-step .process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 0.88rem;
  color: var(--gris-500);
  line-height: 1.55;
}
.process-step .process-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}
.process-step .process-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--naranja);
  border-radius: 50%;
}

/* Iconos SVG dentro de las cards de proceso (atributos) */
.process-step .process-icon {
  background: transparent;
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--naranja);
  font-size: 0;
  transition: transform 0.3s ease;
}
.process-step .process-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--naranja);
  stroke-width: 1.8;
}
.process-step:hover .process-icon {
  transform: scale(1.1);
}

@media (max-width: 880px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Cards de vehículos
   ===================================================== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.vehicle-card {
  background: var(--blanco);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gris-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.vehicle-card .img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--gris-50);
  overflow: hidden;
}
.vehicle-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.vehicle-card:hover .img-wrap img { transform: scale(1.05); }
.vehicle-card .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--naranja);
  color: var(--blanco);
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.vehicle-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vehicle-card .brand {
  font-size: 0.8rem;
  color: var(--gris-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.vehicle-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.vehicle-card .specs-row {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
  color: var(--gris-500);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.vehicle-card .specs-row span { display: flex; align-items: center; gap: 0.3rem; }
.vehicle-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gris-100);
}
.vehicle-card .price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--verde-oscuro);
}
.vehicle-card .price small {
  font-size: 0.75rem;
  color: var(--gris-500);
  display: block;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.vehicle-card .btn-icon {
  background: var(--verde-oscuro);
  color: var(--blanco);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.vehicle-card .btn-icon:hover { background: var(--naranja); }

/* =====================================================
   Beneficios
   ===================================================== */
.benefits {
  background: var(--verde-oscuro);
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}
.benefits::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(242, 106, 31, 0.15), transparent 60%);
}
.benefits .section-header h2 { color: var(--blanco); }
.benefits .section-header p { color: rgba(255,255,255,0.7); }
.benefits .eyebrow { background: rgba(242, 106, 31, 0.2); color: #FFD4B0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.benefit-card {
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.benefit-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.benefit-card .icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--naranja);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.benefit-card h3 { color: var(--blanco); margin-bottom: 0.5rem; }
.benefit-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

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

/* =====================================================
   CTA Banner
   ===================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--naranja) 0%, var(--naranja-oscuro) 100%);
  color: var(--blanco);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--blanco); margin-bottom: 0.75rem; }
.cta-banner p { font-size: 1.15rem; opacity: 0.95; margin-bottom: 2rem; }

/* =====================================================
   Catálogo
   ===================================================== */
.catalog-page { padding-top: 7rem; }
.catalog-header {
  background: var(--verde-oscuro);
  color: var(--blanco);
  padding: 4rem 0 3rem;
  text-align: center;
}
.catalog-header h1 { color: var(--blanco); }
.catalog-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0.75rem auto 0; }

.filters {
  background: var(--blanco);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: -2.5rem auto 3rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
  max-width: var(--max-width);
}
.filter-group { display: flex; flex-direction: column; gap: 0.35rem; }
.filter-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gris-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filter-group input, .filter-group select {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gris-100);
  border-radius: var(--radius-sm);
  background: var(--blanco);
  transition: var(--transition);
}
.filter-group input:focus, .filter-group select:focus {
  outline: none;
  border-color: var(--naranja);
}

@media (max-width: 880px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .btn { grid-column: 1 / -1; }
}

.catalog-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--gris-500);
}
.catalog-results strong { color: var(--verde-oscuro); }
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--gris-500);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; }

/* =====================================================
   Ficha de modelo
   ===================================================== */
.model-page { padding-top: 70px; }
.model-hero {
  background: var(--gris-50);
  padding: 3rem 0;
}
.breadcrumb {
  font-size: 0.9rem;
  color: var(--gris-500);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--naranja); }
.breadcrumb span { color: var(--verde-oscuro); font-weight: 500; }
.model-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.model-hero-text .brand-tag {
  display: inline-block;
  background: var(--verde-oscuro);
  color: var(--blanco);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.model-hero-text h1 { margin-bottom: 0.75rem; }
.model-hero-text .desc {
  color: var(--gris-700);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.model-hero-text .quick-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.model-hero-text .quick-specs div {
  background: var(--blanco);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gris-100);
}
.model-hero-text .quick-specs strong {
  display: block;
  font-size: 0.75rem;
  color: var(--gris-500);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.model-hero-text .price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.model-hero-text .price-tag .amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  color: var(--naranja);
  line-height: 1;
}
.model-hero-text .price-tag .amount .amount-main {
  font-family: 'Bebas Neue', sans-serif;
}
.model-hero-text .price-tag .amount .amount-suffix {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--naranja);
  margin-left: 4px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}
.model-hero-text .price-tag .period { color: var(--gris-500); font-size: 0.95rem; }
.model-hero-text .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Visor 360° */
.viewer-360 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.viewer-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, #f7f8f6 0%, #eef0ea 100%);
  box-shadow: var(--shadow-md);
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  touch-action: none;
}
.viewer-stage.dragging { cursor: grabbing; }
.viewer-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: opacity 0.2s ease;
  opacity: 0;
}
.viewer-stage img.loaded { opacity: 1; }
.viewer-stage img.dragging { transition: none; }

.viewer-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 14, 0.7);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}
.viewer-hint .hint-icon {
  display: inline-block;
  animation: spin-slow 3s linear infinite;
  font-size: 1rem;
}
.viewer-hint.hide { opacity: 0; }

.viewer-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(247, 248, 246, 0.95);
  z-index: 3;
  transition: opacity 0.4s ease;
  color: var(--gris-500);
  font-size: 0.9rem;
  font-weight: 500;
}
.viewer-loader.hide { opacity: 0; pointer-events: none; }
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gris-100);
  border-top-color: var(--naranja);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.viewer-controls {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--blanco);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gris-100);
}
.viewer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.viewer-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--verde-oscuro);
  font-weight: 700;
}
.viewer-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--gris-50);
  color: var(--gris-700);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.viewer-reset:hover {
  background: var(--naranja);
  color: #fff;
}
.viewer-reset span:first-child {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}
.gallery-thumbs button {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
  padding: 0;
  background: var(--gris-50);
  cursor: pointer;
}
.gallery-thumbs button:hover { border-color: var(--gris-300); }
.gallery-thumbs button.active {
  border-color: var(--naranja);
  box-shadow: 0 0 0 2px rgba(242, 106, 31, 0.2);
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

@media (max-width: 880px) {
  .model-hero-inner { grid-template-columns: 1fr; }
  .viewer-reset .reset-text { display: none; }
  .viewer-reset { padding: 0.4rem 0.6rem; }
}

/* Móvil: viewer 360, thumbs y tipografía del modelo */
@media (max-width: 600px) {
  .model-hero { padding: 2rem 0; }
  .model-hero-text h1 { font-size: 2rem; }
  .model-hero-text .desc { font-size: 0.95rem; }
  .model-hero-text .price-tag .amount { font-size: 2.2rem; }
  .model-hero-text .quick-specs { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .model-hero-text .quick-specs div { padding: 0.6rem 0.7rem; }
  .model-hero-text .quick-specs strong { font-size: 0.65rem; }
  .viewer-stage { aspect-ratio: 4/3; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .viewer-hint { font-size: 0.75rem; padding: 0.4rem 0.7rem; }
  /* Botones touch-friendly: mínimo 44x44px (Apple HIG / Material) */
  .btn { min-height: 44px; }
  .form-group-send .btn { padding: 1rem; }
  .lang-btn { min-width: 44px; min-height: 32px; }
}

@media (max-width: 380px) {
  .model-hero-text .quick-specs { grid-template-columns: 1fr; }
}

/* Detalles del modelo */
.model-details { padding: 4rem 0; }
.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--gris-100);
  margin-bottom: 2rem;
  overflow-x: auto;
}
.tab-btn {
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: var(--gris-500);
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-btn.active { color: var(--verde-oscuro); }
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--naranja);
}
.tab-content { display: none; animation: fadeIn 0.3s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-group {
  background: var(--gris-50);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}
.feature-group h4 {
  color: var(--verde-oscuro);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.feature-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-group li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--gris-700);
  font-size: 0.95rem;
}
.feature-group li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--naranja);
  font-weight: 700;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanco);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.specs-table tr { border-bottom: 1px solid var(--gris-100); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th, .specs-table td {
  text-align: left;
  padding: 1rem 1.25rem;
}
.specs-table th {
  background: var(--gris-50);
  color: var(--gris-700);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 40%;
}
.specs-table td { color: var(--verde-oscuro); font-weight: 500; }

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

/* =====================================================
   Bestia: Contacto + Footer fusionados
   Sección oscura con el auto como "ojos de bestia"
   ===================================================== */
.beast-footer {
  position: relative;
  background: #010101;
  color: #fff;
  padding: 0 0 1.5rem;
  overflow: hidden;
  isolation: isolate;
}

/* Escenario con las dos imágenes del auto */
.beast-stage {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 760px;
  overflow: hidden;
  background: #010101;
}
/* Wrapper interno: mismo ancho y centrado que .container (max-width 1280px)
   Esto hace que el centro del auto coincida con el centro del texto */
.beast-stage-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  overflow: hidden;
}
.beast-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: opacity, transform;
  /* translateX(3%) mueve el auto ~3% a la derecha (38px de 1280px).
     background-position no servía porque la imagen solo es 64px más ancha que el wrapper. */
  transform: scale(1.04) translateX(3.5%);
}
.beast-img-rear {
  background-image: url('../img/Exterior-11-scaled.png');
  opacity: 1;
  animation: beast-cycle-rear 18s ease-in-out infinite;
}
.beast-img-front {
  background-image: url('../img/Exterior-12-scaled.png');
  animation: beast-cycle-front 18s ease-in-out infinite;
}
@keyframes beast-cycle-rear {
  0%   { opacity: 1; }
  30%  { opacity: 1; }
  50%  { opacity: 0; }
  70%  { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes beast-cycle-front {
  0%   { opacity: 0; }
  30%  { opacity: 0; }
  50%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Viñeta para concentrar la atención en el centro */
.beast-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at center, transparent 0%, rgba(0,0,0,0.45) 65%, rgba(0,0,0,0.95) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 25%, transparent 60%, #010101 100%);
  pointer-events: none;
  z-index: 2;
}
/* Glow pulsante que cambia de color sincronizado con el ciclo de imágenes */
.beast-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle 180px at 36% 52%, rgba(255,255,255,0.10) 0%, transparent 70%),
    radial-gradient(circle 180px at 64% 52%, rgba(255,255,255,0.10) 0%, transparent 70%);
  animation: beast-pulse 5s ease-in-out infinite, beast-glow-color 18s linear infinite;
}
@keyframes beast-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}
@keyframes beast-glow-color {
  /* 0-30%: rear (orange) */
  0%, 30% {
    background:
      radial-gradient(circle 180px at 36% 52%, rgba(255,140,40,0.18) 0%, transparent 70%),
      radial-gradient(circle 180px at 64% 52%, rgba(255,140,40,0.18) 0%, transparent 70%);
  }
  /* 30-50%: crossfade to white */
  40% {
    background:
      radial-gradient(circle 180px at 36% 52%, rgba(255,200,120,0.14) 0%, transparent 70%),
      radial-gradient(circle 180px at 64% 52%, rgba(255,200,120,0.14) 0%, transparent 70%);
  }
  /* 50-70%: front (white) */
  50%, 70% {
    background:
      radial-gradient(circle 180px at 36% 52%, rgba(255,255,255,0.18) 0%, transparent 70%),
      radial-gradient(circle 180px at 64% 52%, rgba(255,255,255,0.18) 0%, transparent 70%);
  }
  /* 70-100%: crossfade back to orange */
  85% {
    background:
      radial-gradient(circle 180px at 36% 52%, rgba(255,200,120,0.14) 0%, transparent 70%),
      radial-gradient(circle 180px at 64% 52%, rgba(255,200,120,0.14) 0%, transparent 70%);
  }
  100% {
    background:
      radial-gradient(circle 180px at 36% 52%, rgba(255,140,40,0.18) 0%, transparent 70%),
      radial-gradient(circle 180px at 64% 52%, rgba(255,140,40,0.18) 0%, transparent 70%);
  }
}

/* =====================================================
   Form-card: sincronización de bordes con el crossfade
   Mismo ciclo de 18s que las imágenes del auto.
   Naranja cuando la trasera está visible, blanco cuando el frente está visible.
   ===================================================== */
/* Accesibilidad: respetar prefers-reduced-motion
   Desactivar animaciones decorativas, PERO preservar el crossfade del beast
   (es la firma visual de DANKE CAR y solo se ralentiza, no se detiene). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }

  /* Hover effects, transiciones de UI y animaciones decorativas */
  .btn,
  .vehicle-card,
  .lang-btn,
  .hero-nav,
  .scroll-indicator,
  .nav-toggle,
  .hero-dots button,
  .process-icon,
  .form-group input,
  .form-group select,
  .form-group textarea,
  .btn-primary {
    transition-duration: 0.01ms !important;
  }

  /* Carousel del hero: pausar auto-rotation (no es la firma) */
  .hero-slide { animation: none !important; }

  /* Crossfade del beast: SE PRESERVA pero más lento y solo 2 iteraciones
     (accesibilidad: reduce mareo en usuarios sensibles) */
  .beast-img-rear,
  .beast-img-front,
  .beast-glow,
  .beast-content {
    animation-duration: 36s !important; /* 2x más lento */
    animation-iteration-count: 2 !important;
  }

  /* Estado final del beast (queda visible, no se repite) */
  .beast-content {
    --beast-border: #F26A1F;
    --beast-glow: rgba(242, 106, 31, 0.4);
    --beast-h2-color: #F26A1F;
    --beast-h2-shadow: 0 2px 24px rgba(242, 106, 31, 0.45);
    --beast-p-color: rgba(255, 180, 130, 0.85);
    --beast-btn-bg: #F26A1F;
    --beast-btn-color: #ffffff;
    --beast-btn-shadow: rgba(242, 106, 31, 0.45);
  }
  .beast-img-front { opacity: 0.6; }
  .beast-img-rear { opacity: 1; }
}

/* Contenido sobre la imagen */
/* =====================================================
   Beast-content: sincronización con el crossfade del auto
   Mismo ciclo de 18s que las imágenes.
   NARANJA cuando trasera visible, BLANCO cuando frente visible.
   Controla: bordes de inputs, color del h2, y el botón submit.
   ===================================================== */
.beast-content {
  position: relative;
  z-index: 3;
  margin-top: -8rem;
  padding-bottom: 0.5rem;
  /* Variables sincronizadas (estado inicial = trasera/naranja) */
  --beast-border: #F26A1F;
  --beast-glow: rgba(242, 106, 31, 0.4);
  --beast-h2-color: #F26A1F;
  --beast-h2-shadow: 0 2px 20px rgba(242, 106, 31, 0.4);
  --beast-p-color: rgba(255, 180, 130, 0.85);
  --beast-btn-bg: #F26A1F;
  --beast-btn-color: #ffffff;
  --beast-btn-shadow: rgba(242, 106, 31, 0.45);
  animation: beast-form-sync 18s ease-in-out infinite;
}
@keyframes beast-form-sync {
  /* 0-28%: TRASERA estable → NARANJA */
  0%, 28% {
    --beast-border: #F26A1F;
    --beast-glow: rgba(242, 106, 31, 0.4);
    --beast-h2-color: #F26A1F;
    --beast-h2-shadow: 0 2px 24px rgba(242, 106, 31, 0.45);
    --beast-p-color: rgba(255, 180, 130, 0.85);
    --beast-btn-bg: #F26A1F;
    --beast-btn-color: #ffffff;
    --beast-btn-shadow: rgba(242, 106, 31, 0.45);
  }
  /* Transición gradual NARANJA → BLANCO (28% → 50%) */
  34% {
    --beast-border: #FF9050;
    --beast-glow: rgba(255, 160, 90, 0.32);
    --beast-h2-color: #FF8842;
    --beast-h2-shadow: 0 2px 26px rgba(255, 160, 90, 0.5);
    --beast-p-color: rgba(255, 200, 165, 0.85);
    --beast-btn-bg: #ff9a5a;
    --beast-btn-color: #ffffff;
    --beast-btn-shadow: rgba(255, 160, 90, 0.4);
  }
  40% {
    --beast-border: #FFC090;
    --beast-glow: rgba(255, 200, 150, 0.3);
    --beast-h2-color: #FFB884;
    --beast-h2-shadow: 0 2px 28px rgba(255, 195, 140, 0.5);
    --beast-p-color: rgba(255, 220, 195, 0.8);
    --beast-btn-bg: #ffb888;
    --beast-btn-color: #F26A1F;
    --beast-btn-shadow: rgba(255, 200, 150, 0.4);
  }
  45% {
    --beast-border: #FFE0C8;
    --beast-glow: rgba(255, 220, 200, 0.35);
    --beast-h2-color: #FFD8B8;
    --beast-h2-shadow: 0 2px 30px rgba(255, 215, 195, 0.55);
    --beast-p-color: rgba(255, 240, 225, 0.78);
    --beast-btn-bg: #ffd8b8;
    --beast-btn-color: #F26A1F;
    --beast-btn-shadow: rgba(255, 220, 200, 0.45);
  }
  /* 50-72%: FRENTE estable → BLANCO */
  50%, 72% {
    --beast-border: #FFFFFF;
    --beast-glow: rgba(255, 255, 255, 0.4);
    --beast-h2-color: #ffffff;
    --beast-h2-shadow: 0 2px 30px rgba(255, 255, 255, 0.45);
    --beast-p-color: rgba(255, 255, 255, 0.7);
    --beast-btn-bg: #ffffff;
    --beast-btn-color: #F26A1F;
    --beast-btn-shadow: rgba(255, 255, 255, 0.5);
  }
  /* Transición gradual BLANCO → NARANJA (72% → 100%) */
  78% {
    --beast-border: #FFE0C8;
    --beast-glow: rgba(255, 220, 200, 0.35);
    --beast-h2-color: #FFD8B8;
    --beast-h2-shadow: 0 2px 30px rgba(255, 215, 195, 0.55);
    --beast-p-color: rgba(255, 240, 225, 0.78);
    --beast-btn-bg: #ffd8b8;
    --beast-btn-color: #F26A1F;
    --beast-btn-shadow: rgba(255, 220, 200, 0.45);
  }
  85% {
    --beast-border: #FFC090;
    --beast-glow: rgba(255, 200, 150, 0.3);
    --beast-h2-color: #FFB884;
    --beast-h2-shadow: 0 2px 28px rgba(255, 195, 140, 0.5);
    --beast-p-color: rgba(255, 220, 195, 0.8);
    --beast-btn-bg: #ffb888;
    --beast-btn-color: #F26A1F;
    --beast-btn-shadow: rgba(255, 200, 150, 0.4);
  }
  92% {
    --beast-border: #FF9050;
    --beast-glow: rgba(255, 160, 90, 0.32);
    --beast-h2-color: #FF8842;
    --beast-h2-shadow: 0 2px 26px rgba(255, 160, 90, 0.5);
    --beast-p-color: rgba(255, 200, 165, 0.85);
    --beast-btn-bg: #ff9a5a;
    --beast-btn-color: #ffffff;
    --beast-btn-shadow: rgba(255, 160, 90, 0.4);
  }
  100% {
    --beast-border: #F26A1F;
    --beast-glow: rgba(242, 106, 31, 0.4);
    --beast-h2-color: #F26A1F;
    --beast-h2-shadow: 0 2px 24px rgba(242, 106, 31, 0.45);
    --beast-p-color: rgba(255, 180, 130, 0.85);
    --beast-btn-bg: #F26A1F;
    --beast-btn-color: #ffffff;
    --beast-btn-shadow: rgba(242, 106, 31, 0.45);
  }
}
.beast-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem;
}
.beast-intro h2 {
  color: var(--beast-h2-color, #fff);
  margin-bottom: 0.75rem;
  text-shadow: var(--beast-h2-shadow, 0 2px 20px rgba(0,0,0,0.6));
  transition: color 1.5s ease-in-out, text-shadow 1.5s ease-in-out;
}
.beast-intro p {
  color: var(--beast-p-color, rgba(255,255,255,0.7));
  font-size: 1.05rem;
  transition: color 1.5s ease-in-out;
}
}
.eyebrow-dark {
  background: rgba(242, 106, 31, 0.18);
  color: #ffb37a;
  border: 1px solid rgba(242, 106, 31, 0.3);
}

/* Formulario con fondo negro sólido, sin borde visible (mismo negro que la foto) */
.form-card {
  background: #010101;
  padding: 2.25rem 2.5rem;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #fff;
  border: none;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
}
.form-group-vehiculo { grid-column: span 1; }
.form-group-send { grid-column: span 1; align-self: end; }
.form-group-send .btn { width: 100%; min-width: 0; }
.form-group-mensaje { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--beast-border, rgba(255,255,255,0.12));
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  /* Móvil: forzar 16px para evitar zoom automático en iOS */
  font-size: 1rem;
  transition: border-color 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--beast-border, var(--naranja));
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px var(--beast-glow, rgba(242, 106, 31, 0.15));
}
.form-group select { color: #fff; }
.form-group select option { background: #0f0f0e; color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-actions { display: flex; justify-content: flex-end; }
.form-actions .btn { min-width: 220px; }
.form-success {
  display: none;
  background: rgba(31, 77, 58, 0.25);
  color: #d6f0e0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
  border: 1px solid rgba(31, 77, 58, 0.4);
}
.form-success.show { display: block; }

@media (max-width: 880px) {
  .beast-stage { height: 55vh; min-height: 380px; }
  .beast-content { margin-top: -5rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-group-vehiculo { grid-column: span 1; }
  .form-group-mensaje { grid-column: 1 / -1; }
  /* El botón enviar ocupa fila completa en tablet para no quedar apretado */
  .form-group-send { grid-column: 1 / -1; }
  .form-group-send .btn { width: 100%; min-width: 0; }
  .form-actions .btn { width: 100%; min-width: 0; }
  .form-card { padding: 1.75rem; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group-vehiculo,
  .form-group-send,
  .form-group-mensaje { grid-column: 1 / -1; }
}

/* Móvil: reducir altura del beast stage y el overlap */
@media (max-width: 600px) {
  .beast-stage { height: 45vh; min-height: 280px; }
  .beast-content { margin-top: -3rem; padding-bottom: 1.5rem; }
  .beast-intro h2 { font-size: 1.6rem; }
  .beast-intro p { font-size: 0.95rem; }
}
@media (max-width: 380px) {
  .beast-stage { height: 38vh; min-height: 240px; }
}

/* Separador antes del footer */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  margin: 1rem 0 1rem;
}

/* Footer dentro de la sección bestia */
.beast-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.7);
}
.beast-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.beast-footer .logo { color: #fff; margin-bottom: 1rem; }
.beast-footer .logo span { color: var(--naranja); }
.beast-footer p { font-size: 0.9rem; line-height: 1.7; }
.beast-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.beast-footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.beast-footer ul a:hover { color: var(--naranja); }
.beast-footer .social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.beast-footer .social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: #fff;
}
.beast-footer .social a:hover { background: var(--naranja); color: #fff; }
.beast-footer .footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

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

/* =====================================================
   Seguridad (íconos oficiales)
   ===================================================== */
.safety-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 3px solid var(--naranja);
  overflow: hidden;
}
.safety-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
.safety-feature p {
  color: var(--gris-500);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* =====================================================
   Animaciones scroll
   ===================================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
