/* Slider exclusivo de portada. Sin alterar main.css, tipografías ni colores globales. */
.hero-slider {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--negro, #1a1a1a);
}
.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .5s ease, visibility .5s;
}
.hero-slider .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-slider .hero-slide .hero-editorial-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slider .hero-slide--brand .hero-editorial-img { opacity: .55; }
.hero-slider .hero-editorial-content {
  z-index: 3;
  padding-bottom: 92px;
  max-width: 620px;
}
.hero-slider .hero-title em { font-family: inherit; font-weight: inherit; }
/* Zen Stew: imagen publicitaria aprobada, sin superposiciones sobre el texto original. */
.hero-slider .hero-slide--stew { background: #141414; }
.hero-slider .hero-slide--stew::before { content: none; }
.hero-slider .hero-stew-banner-link {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  text-decoration: none;
  color: #fff;
}
.hero-slider .hero-stew-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.hero-slider .hero-stew-mobile-cta { display: none; }
.hero-slider .hero-stew-banner-link:focus-visible {
  outline: 3px solid #c9a84c;
  outline-offset: -5px;
}
/* Los controles no cubren los envases de la campaña. */
.hero-slider.is-stew-active .hero-slider-controls {
  left: 34px;
  right: auto;
  bottom: 22px;
  transform: none;
}
@media (max-width: 650px) {
  .hero-slider .hero-stew-banner-link {
    box-sizing: border-box;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
    padding: 24px 0 100px;
  }
  .hero-slider .hero-stew-banner-img {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    max-height: none;
    object-fit: contain;
  }
  .hero-slider .hero-stew-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0 12px;
    border-bottom: 1px solid #c9a84c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    white-space: nowrap;
  }
  .hero-slider .hero-stew-mobile-cta span { color: #c9a84c; font-size: 20px; }
  .hero-slider.is-stew-active .hero-slider-controls {
    left: 50%;
    right: auto;
    bottom: 16px;
    transform: translateX(-50%);
  }
}
.hero-slider .hero-slide--stores .hero-editorial-img {
  opacity: .72;
  object-position: 68% 44%;
}
.hero-slider .hero-slide--stores::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19,19,19,.84), rgba(19,19,19,.44) 55%, rgba(19,19,19,.08));
  pointer-events: none;
}
.hero-slider-controls {
  position: absolute;
  z-index: 10;
  right: 44px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 10px;
  background: rgba(19,19,19,.48);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.hero-slider-controls button {
  display: inline-grid;
  place-items: center;
  flex: none;
  background: transparent;
  color: white;
  border: 0;
  min-width: 35px;
  min-height: 35px;
  border-radius: 50%;
  font-family: var(--font);
  line-height: 1;
}
.hero-slider-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-slider-arrow { font-size: 28px; }
.hero-slider-arrow:hover, .hero-slider-pause:hover { background: rgba(255,255,255,.18); }
.hero-slider .hero-slider-dots { display: flex; align-items: center; gap: 9px; }
.hero-slider .hero-slider-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  background: rgba(255,255,255,.47);
  border-radius: 50%;
  padding: 0;
}
.hero-slider .hero-slider-dot.is-active { background: var(--dorado, #C9A84C); box-shadow: 0 0 0 2px rgba(255,255,255,.20); }
.hero-slider-pause { font-size: 18px; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
@media (max-width: 900px) {
  .hero-slider { height: 60vh; min-height: 420px; }
  .hero-slider .hero-editorial-content { padding: 32px 28px 94px; max-width: 55%; }
  .hero-slider-controls { right: 22px; bottom: 18px; }
}
@media (max-width: 650px) {
  .hero-slider { height: min(780px, 86svh); min-height: 520px; }
  .hero-slider .hero-editorial-content {
    padding: 24px 20px 93px;
    max-width: 100%;
    width: 100%;
  }
  .hero-slider .hero-title { font-size: clamp(25px, 7.1vw, 37px); line-height: 1.14; }
  .hero-slider .hero-sub { font-size: 12px; max-width: 360px; line-height: 1.55; }
  .hero-slider .hero-slide--brand .hero-editorial-img { object-position: 60% center; }
  .hero-slider .hero-slide--stores .hero-editorial-img { object-position: 60% center; }
  .hero-slider .hero-slide--stores::after { background: linear-gradient(to top, rgba(19,19,19,.93), rgba(19,19,19,.72) 45%, rgba(19,19,19,.12)); }
  .hero-slider-controls { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); gap: 8px; padding: 6px 9px; }
  .hero-slider-controls button { min-width: 34px; min-height: 34px; }
  .hero-slider .hero-slider-dots { gap: 8px; }
}
/* El protagonismo es del conjunto de tres recetas también en móvil. */
@media (max-width: 900px) {
  .hero-slider .hero-slide--stew .hero-stew-copy { left: 5%; max-width: 39%; }
  .hero-slider .hero-slide--stew .hero-title { font-size: clamp(34px, 5.1vw, 50px); }
  .hero-slider .hero-slide--stew .hero-eyebrow { margin-bottom: 20px; }
  .hero-stew-lead { font-size: 15px; margin-bottom: 16px; }
  .hero-stew-scene { top: 18%; right: 2%; width: 57%; height: 63%; }
  .hero-stew-caption { bottom: 9%; font-size: 9px; }
}
@media (max-width: 650px) {
  .hero-slider .hero-slide--stew .hero-stew-copy {
    left: 7%;
    right: 7%;
    top: auto;
    bottom: 100px;
    transform: none;
    max-width: none;
    text-align: left;
  }
  .hero-slider .hero-slide--stew .hero-eyebrow { margin: 0 0 17px; font-size: 9px; }
  .hero-slider .hero-slide--stew .hero-title { margin-bottom: 8px; font-size: clamp(35px, 9vw, 48px); }
  .hero-stew-lead { margin-bottom: 14px; font-size: 15px; }
  .hero-slider .hero-slide--stew .hero-sub { max-width: 340px; font-size: 11px; line-height: 1.65; }
  .hero-slider .hero-slide--stew .hero-cta { margin-top: 20px; font-size: 9px; }
  .hero-stew-scene { top: 5%; left: 4%; right: 4%; width: 92%; height: 41%; }
  .hero-stew-pack--veggies { width: 38%; left: 0; top: 28%; }
  .hero-stew-pack--beef { width: 39%; right: 0; top: 28%; }
  .hero-stew-pack--salmon { width: 45%; left: 28%; top: 22%; }
  .hero-stew-caption { bottom: 5%; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .hero-slide { transition: none; }
}


/* AJUSTE 2026-10-11: mostrar el banner completo sin columnas negras.
   En pantallas anchas, la altura sigue la proporcion real del anuncio
   (1672 x 941) en lugar de la altura fija del viewport. */
@media (min-width: 651px) {
  .hero-slider {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }
  .hero-slider .hero-slide--stew .hero-stew-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* En telefono mantenemos una altura comoda para los textos del resto
   de campanas, pero mostramos el anuncio Stew completo y centrado. */
@media (max-width: 650px) {
  .hero-slider {
    width: 100%;
    height: clamp(430px, 112vw, 520px);
    min-height: 0;
  }
  .hero-slider .hero-slide--stew .hero-stew-banner-link {
    width: 100%;
    height: 100%;
    padding: 16px 0 76px;
    gap: 12px;
    justify-content: center;
    box-sizing: border-box;
  }
  .hero-slider .hero-slide--stew .hero-stew-banner-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
  }
  .hero-slider .hero-slide--stew .hero-stew-mobile-cta {
    margin: 0 auto;
  }
}
