/* =========================
   HERO CAROUSEL - BASE
========================= */
.hero-carousel{
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: #0f0f12;
}

/* Ajuste puntual para la camiseta Productos del slide 4 */
.hc-slide--4 .hc-img--productos{
  transform: translateY(18px);
}

@media (hover: hover) and (pointer: fine){
  .hero-carousel .hc-slide.is-active .hc-img--productos:hover{
    transform: translateY(12px) scale(1.06);
  }
}

/* CAPAS DE FONDO (crossfade) */
.hc-bg{
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transition: opacity 700ms ease;
  z-index: 0;
}
.hc-bg--a{ opacity: 1; }
.hc-bg--b{ opacity: 0; }

/* Capa oscura para legibilidad */
.hero-carousel::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
  z-index: 1;
}

/* Particulas */
.hc-particles{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms ease;
}

/* Slides */
.hc-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(80px);
  transition: opacity .8s ease, transform 1s ease;
  pointer-events: none;
  z-index: 3;
}
.hc-slide.is-active{
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 4;
}

/* Layout interno */
.hc-inner{
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 60px;
}

/* Columnas */
.hc-text{
  width: 45%;
  color: #fff;
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
}
.hc-media{
  width: 55%;
  height: 100%;
  position: relative;
}

/* Tipos base */
.hc-kicker{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7cff4e;
  transform: rotate(-8deg);
  display: inline-block;
}
.hc-title{
  margin: 0;
  font-size: 72px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffb347;
}
.hc-tag{
  display: block;
  margin-top: 6px;
  font-size: 18px;
  letter-spacing: 8px;
  color: #6cff66;
  text-transform: uppercase;
}
.hc-desc{
  margin-top: 18px;
  max-width: 430px;
  font-size: 17px;
  line-height: 1.6;
  color: #e8e8e8;
  opacity: .92;
}

/* Botones */
.hc-btn{
  display: inline-block;
  margin-top: 22px;
  padding: 12px 34px;
  border-radius: 40px;
  border: 2px solid #7cff4e;
  color: #7cff4e;
  text-decoration: none;
  font-weight: 700;
  transition: .25s;
}
.hc-btn:hover{ background: #7cff4e; color: #141414; }
.hc-btn--alt{ border-color: #ffb347; color: #ffb347; }
.hc-btn--alt:hover{ background: #ffb347; color: #141414; }

/* Social */
.hc-social{
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-start;
}
.hc-ico{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,.2);
}

/* Imagenes */
.hc-img{
  position: absolute;
  max-width: none;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.45));
  pointer-events: auto;
}
.hc-deco{
  position: absolute;
  right: 0;
  z-index: 1;
  opacity: .95;
  pointer-events: none;
}
.hc-deco--top{ top: -20px; width: 600px; }
.hc-deco--bot{ bottom: -40px; width: 650px; }

/* Entradas compartidas */
.hc-anim-left{ opacity: 0; animation: hcEnterLeft 1s ease-out forwards; }
@keyframes hcEnterLeft{
  from{ transform: translateX(-120px); opacity: 0; }
  to{ transform: translateX(0); opacity: 1; }
}

.hc-anim-right{ opacity: 0; animation: hcEnterRight 1s ease-out forwards; }
@keyframes hcEnterRight{
  from{ transform: translateX(120px); opacity: 0; }
  to{ transform: translateX(0); opacity: 1; }
}

/* Flechas */
.hc-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10;
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hc-arrow:hover{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.52); color: #fff; transform: translateY(-50%); }
.hc-arrow--prev{ left: 18px; }
.hc-arrow--next{ right: 18px; }

/* Dots */
.hc-dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hc-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
}
.hc-dot.is-active{ background: rgba(255,255,255,.9); }

/* =========================
   Responsive Global
========================= */
@media (max-width: 1200px){
  .hc-inner{ padding: 0 42px; }
  .hc-title{ font-size: 62px; }
  .hc-desc{ font-size: 16px; }
}

@media (max-width: 980px){
  .hero-carousel{ height: 860px; }

  .hc-inner{
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    padding: 70px 18px 30px;
    text-align: center;
  }

  .hc-text{
    width: 100%;
    max-width: 680px;
  }

  .hc-media{
    width: 100%;
    min-height: 300px;
  }

  .hc-title{ font-size: 48px; }
  .hc-kicker{ font-size: 17px; }
  .hc-tag{ font-size: 15px; letter-spacing: 5px; }
  .hc-desc{
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
    max-width: 560px;
    line-height: 1.45;
  }
  .hc-social{ justify-content: center; }

  .hc-deco--top,
  .hc-deco--bot{
    width: 118%;
    right: -9%;
    opacity: .72;
  }
}

@media (max-width: 768px){
  .hero-carousel{ height: 770px; }
  .hc-inner{
    gap: 10px;
    padding: 64px 14px 24px;
  }
  .hc-text{
    max-width: 100%;
  }
  .hc-title{ font-size: 38px; }
  .hc-kicker{ font-size: 15px; }
  .hc-tag{ font-size: 13px; letter-spacing: 4px; }
  .hc-desc{
    font-size: 14px;
    line-height: 1.35;
    max-width: 92%;
  }
  .hc-btn{
    margin-top: 14px;
    padding: 10px 22px;
    font-size: 14px;
  }
  .hc-media{
    min-height: 250px;
  }

  .hc-arrow{
    width: 54px;
    height: 54px;
    font-size: 28px;
    right: 10px;
  }

  .hc-dots{
    bottom: 12px;
  }

  .hc-fx--legs{
    display: none !important;
  }

  /* El slide de sublimacion usa una sola imagen compuesta. */
  .hc-slide--4 .hc-media{
    display:flex;
    align-items:flex-start;
    justify-content:center;
  }

  .hc-slide--4 .hc-img--productos{
    position:relative;
    display:block;
    width:min(82vw, 390px);
    max-width:100%;
    right:auto;
    bottom:auto;
    margin:0 auto;
    transform:translateY(-8px) scale(1);
  }
}

@media (max-width: 560px){
  .hero-carousel{ height: 690px; }
  .hc-inner{
    gap: 8px;
    padding: 58px 12px 20px;
  }
  .hc-title{ font-size: 31px; }
  .hc-kicker{ font-size: 14px; }
  .hc-tag{ font-size: 12px; letter-spacing: 3px; }
  .hc-desc{
    font-size: 13px;
    line-height: 1.3;
    margin-top: 10px;
    max-width: 96%;
  }
  .hc-btn{
    margin-top: 12px;
    padding: 9px 18px;
    font-size: 13px;
  }

  .hc-media{ min-height: 215px; }

  .hc-deco--top,
  .hc-deco--bot{
    display: none;
  }

  .hc-arrow{
    width: 54px;
    height: 54px;
    font-size: 28px;
    right: 8px;
  }

  .hc-dots{ bottom: 8px; }

  .hc-slide--4 .hc-img--productos{
    width:min(88vw, 360px);
    transform:translateY(-6px) scale(1);
  }
}

/* Transicion automatica */
.hero-carousel.is-auto .hc-slide{
  transform: scale(1.03);
  filter: blur(2px);
  transition: opacity 900ms ease, transform 900ms ease, filter 900ms ease;
}
.hero-carousel.is-auto .hc-slide.is-active{
  transform: scale(1);
  filter: blur(0);
}
.hero-carousel.is-auto .hc-slide.is-leaving{
  opacity: 0;
  transform: scale(0.99);
  filter: blur(3px);
}

/* Hover en camisetas (desktop) */
@media (hover: hover) and (pointer: fine){
  .hero-carousel .hc-img--a,
  .hero-carousel .hc-img--b{
    transition: transform 260ms ease, filter 260ms ease;
    will-change: transform;
    cursor: pointer;
  }

  .hero-carousel .hc-slide.is-active .hc-img--a:hover,
  .hero-carousel .hc-slide.is-active .hc-img--b:hover{
    transform: scale(1.06) translateY(-6px);
    filter: drop-shadow(0 18px 34px rgba(0,0,0,.60));
    z-index: 30;
  }
}

.hc-slide--4 .hc-img--productos{
  z-index: 2;
  transform: translateX(6px) translateY(32px) scale(0.91);
  transform-origin: bottom center;
}

.hc-slide--4 .hc-deco--top{
  z-index: 6;
}

@media (hover: hover) and (pointer: fine){
  .hero-carousel .hc-slide.is-active .hc-img--productos:hover{
    transform: translateX(6px) translateY(26px) scale(0.96);
  }
}

@media (min-width: 981px){
  .hc-slide--4 .hc-media{
    box-sizing: border-box;
    padding-right: 42px;
  }

  .hc-slide--4 .hc-img--productos{
    transform: translateX(-26px) translateY(32px) scale(0.91);
  }

  .hero-carousel .hc-slide.is-active .hc-img--productos:hover{
    transform: translateX(-26px) translateY(26px) scale(0.96);
  }
}

/* Mantiene visible y centrada la imagen compuesta de sublimacion en movil. */
@media (max-width: 768px){
  .hc-slide--4 .hc-img--productos{
    transform:translateY(-8px) scale(1);
  }
}

@media (max-width: 560px){
  .hc-slide--4 .hc-img--productos{
    transform:translateY(-6px) scale(1);
  }
}
