/* =========================================================
   LOQUIERO — HERO GLOBAL (UNIVERSAL)
   Ordenado por Profundidad (Fuera -> Dentro) para edición fácil
   ========================================================= */

/* 1. CONTENEDOR RAIZ (El marco exterior) */
.loq-hero-seasonal {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 280px;
  background-color: #0f172a;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

/* 2. TRACK DE SCROLL (La vía por donde corren los slides) */
.loq-hero-seasonal .snap-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.loq-hero-seasonal .snap-track::-webkit-scrollbar {
  display: none;
}

/* 3. EL SLIDE (La unidad individual) */
.loq-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  scroll-snap-align: center;
  min-height: 280px;
}

/* 4. CAPA DE FONDO: ANIMACIONES (Blobs / Fallback) */
.loq-hero-seasonal .loq-hero-fallback-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.loq-hero-seasonal .blob {
  position: absolute;
  width: 350px; /* Reducido para mayor elegancia */
  height: 350px;
  filter: blur(80px);
  opacity: 0.7; /* Mas vibrante */
  border-radius: 50%;
  pointer-events: none;
}
.loq-hero-seasonal .blob-1 { 
  top: -100px; 
  right: -50px; 
  background: #5a38e5; /* Violeta Marca */
  animation: blob-swirl-1 25s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.loq-hero-seasonal .blob-2 { 
  bottom: -120px; 
  left: -40px; 
  background: #7c3aed; /* Violeta vibrante */
  animation: blob-swirl-2 30s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

@keyframes blob-swirl-1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(80px, 50px) rotate(120deg) scale(1.1); }
  66%  { transform: translate(-50px, 100px) rotate(240deg) scale(0.9); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}

@keyframes blob-swirl-2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1.1); }
  33%  { transform: translate(-100px, -40px) rotate(-120deg) scale(0.9); }
  66%  { transform: translate(60px, -80px) rotate(-240deg) scale(1.1); }
  100% { transform: translate(0, 0) rotate(-360deg) scale(1.1); }
}

/* 5. CAPA DE FONDO: MEDIA (Imágenes reales) */
.loq-hero-seasonal__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.loq-hero-seasonal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 6. CAPA DE OVERLAY: BLUR & STANDARD MODE */
.loq-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

/* Ajuste para que se vean mejor los blobs si no hay imagen */
.loq-hero-slide.loq-hero--no-img::after {
  opacity: 0.6;
  backdrop-filter: blur(4px);
}

/* MODO CLEAN (Apaga el overlay) */
.loq-hero-slide.loq-hero--clean::after {
  display: none !important;
  opacity: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 7. CAPA DE CONTENIDO (Textos y Botones) */
.loq-hero-seasonal__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 40px 0;
}
.loq-hero-seasonal__content {
  max-width: 700px;
}
.loq-hero-seasonal__title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px; /* Reducido para el subtitulo */
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.loq-hero-seasonal__subtitle {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 25px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 500px;
}

/* 8. ELEMENTOS DE UI (Dots / Navegación) */
.loq-hero-seasonal .snap-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
  justify-content: center;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.loq-hero-seasonal .snap-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.loq-hero-seasonal .snap-dots button[aria-current="true"] {
  background: #fff;
  width: 18px;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* 9. BREAKPOINTS (Ajustes de tamaño) */

/* Desktop / Tablet Grande */
@media (min-width: 1024px) {
  .loq-hero-seasonal,
  .loq-hero-slide {
    min-height: 520px;
  }
  .loq-hero-seasonal__title {
    font-size: 64px;
  }
  .loq-hero-seasonal__subtitle {
    font-size: 20px;
    max-width: 600px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .loq-hero-seasonal,
  .loq-hero-slide {
    height: 270px;
    min-height: 270px;
  }
  .loq-hero-seasonal__title {
    font-size: 28px;
  }
  .loq-hero-seasonal__inner {
    padding: 20px 0;
  }
  .loq-hero-seasonal .snap-dots {
    bottom: 12px;
    padding: 6px 10px;
    gap: 6px;
  }
  .loq-hero-seasonal .snap-dots button {
    width: 4px;
    height: 4px;
  }
  .loq-hero-seasonal .snap-dots button[aria-current="true"] {
    width: 14px;
  }

  /* Blobs Mobile */
  .loq-hero-seasonal .blob {
    width: 150px; /* Mas pequeños en mobile */
    height: 150px;
    filter: blur(40px);
    opacity: 0.8;
  }
  .loq-hero-seasonal .blob-1 { top: -30px; right: -20px; }
  .loq-hero-seasonal .blob-2 { bottom: -40px; left: -20px; }
}