/* ==========================================================================
   GARAGE AUTOMOTRIZ - STYLESHEET
   Inspirado en la estética moderna, limpia y minimalista de garage_automotriz_spa.html
   Tailwind CSS + Glassmorphism + Microanimaciones de alta gama
   ========================================================================== */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Barra de Navegación con efecto Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

/* Imagen de fondo principal con overlay oscuro */
.hero-bg {
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.75)), url('https://images.unsplash.com/photo-1613214149922-f1809c99b414?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }
}

/* Animaciones Reveal al hacer Scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animación sutil de levitación / flotación */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

/* Acordeón FAQ Suave */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 450px;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 1;
}

.faq-item .faq-icon {
  transition: transform 0.3s ease;
}

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

/* Burbuja de WhatsApp para previsualización */
.whatsapp-bubble {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #22c55e;
}

/* Ocultar barra de desplazamiento manteniendo funcionalidad */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Estilo para los tags de cobertura */
.zone-pill {
  transition: all 0.2s ease;
}

.zone-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 34, 42, 0.18);
}
