.store-hero {
  position: relative;
  --hero-bottom-pad: clamp(.3rem, 1vw, .6rem);
  padding-block: 0 var(--hero-bottom-pad);
  background: #0f172a;
  min-height: clamp(320px, 45vh, 480px);
  display: flex;
  align-items: center;
  margin-bottom: calc(-1 * (var(--store-gap, 0px) + var(--hero-bottom-pad)));
  padding-bottom: var(--hero-bottom-pad);
  border-radius: 0 0 32px 32px;
  overflow: hidden;
}

.store-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  box-sizing: border-box;
  width: 100%;
}

.store-hero__inner.container {
  width: min(1600px, 98%);
  max-width: min(1600px, 98%);
  margin-inline: auto;
  padding-inline: 0;
}

.store-hero__main {
  position: relative;
  width: 100%;
  background: #0f172a;
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(2.4rem, 5vw, 3.6rem);
  color: #e6f6ff;
  min-height: 0;
  height: auto;
  box-shadow: 0 30px 60px rgba(15, 23, 42, .35);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
  flex: 1 1 100%;
}

.hero-slider__track {
  position: relative;
  flex: 0 1 auto;
  min-height: 0;
  height: auto;
  transition: height .2s cubic-bezier(0.25, 0.46, 0.45, 0.94), min-height .2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: start;
  opacity: 0;
  transform: translateX(8%);
  pointer-events: none;
  transition: opacity .2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  list-style: none;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
  background: transparent;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
  position: relative !important;
  height: auto !important;
  min-height: 0;
  max-height: none;
}

.hero-slide__copy {
  display: grid;
  gap: 1rem;
  align-content: start;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
  min-width: 0;
  height: fit-content;
}

@media (max-width: 960px) {
  .hero-slide__copy {
    align-items: center;
    text-align: center;
  }

  .slide-kicker {
    margin: 0 auto;
    align-self: center;
  }
}

.slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0369a1;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: .45rem .85rem;
  margin: 0;
  width: fit-content;
  font-weight: 700;
}

.hero-slide__copy h1,
.hero-slide__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #fff;
}

.hero-slide__copy p {
  margin: 0;
  color: #f0f8ff;
  font-size: 1.1rem;
  line-height: 1.6;
}

.slide-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: .9rem;
  align-items: center;
}

.slide-actions .btn {
  flex: 0 1 auto;
  white-space: nowrap;
  min-width: -webkit-fill-available;
  min-width: max-content;
  padding: .75rem 1.2rem;
  font-size: .95rem;
  line-height: 1.4;
}

.slide-benefits {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .35rem;
  color: #cbe9ff;
  font-weight: 600;
  list-style: none;
}

.slide-benefits li {
  position: relative;
}

.hero-slide__media {
  margin: 0;
  align-self: start;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.hero-slide__media figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-slide__media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 40px rgba(8, 17, 31, .45);
  object-fit: cover;
  object-position: center;
  box-sizing: border-box;
  display: block;
}

.hero-slide__media[style*="height"] {
  overflow: hidden;
}

.hero-slide__media[style*="height"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider__dots {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  z-index: 10;
  padding: .5rem 1rem;
  background: rgba(15, 23, 42, .25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  width: fit-content;
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  border: 1px solid rgba(30, 77, 107, .1);
  align-self: center;
}

/* FIX-R05: transition específico en lugar de all */
.hero-slider__dots button,
.hero-slider__dots .hero-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(230, 246, 255, .5);
  background: rgba(230, 246, 255, .15);
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition: width .35s cubic-bezier(0.4, 0, 0.2, 1), height .35s cubic-bezier(0.4, 0, 0.2, 1), background .35s cubic-bezier(0.4, 0, 0.2, 1), border-color .35s cubic-bezier(0.4, 0, 0.2, 1), border-radius .35s cubic-bezier(0.4, 0, 0.2, 1), transform .35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  margin: 0;
  min-width: 14px;
  min-height: 14px;
  box-sizing: border-box;
}

.hero-slider__dots button::before,
.hero-slider__dots .hero-dot::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 77, 107, .1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
}

.hero-slider__dots button:hover,
.hero-slider__dots .hero-dot:hover {
  border-color: rgba(30, 77, 107, .5);
  background: rgba(230, 246, 255, .35);
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(15, 23, 42, .2);
}

.hero-slider__dots button:hover::before,
.hero-slider__dots .hero-dot:hover::before {
  opacity: 1;
}

.hero-slider__dots button.is-active,
.hero-slider__dots .hero-dot.is-active {
  width: 36px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff 0%, rgba(30, 77, 107, .6) 100%);
  border: 2px solid rgba(30, 77, 107, .7);
  box-shadow:
    0 0 12px rgba(15, 23, 42, .2),
    inset 0 1px 1px rgba(255, 255, 255, .2),
    0 0 0 1px rgba(30, 77, 107, .2);
  transform: scale(1);
  min-width: 36px;
  min-height: 10px;
  box-sizing: border-box;
}

.hero-slider__dots button.is-active::after,
.hero-slider__dots .hero-dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .15) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
    transform: translateX(100%);
  }
}

.hero-dot:focus-visible {
  outline: 2px solid rgba(30, 77, 107, .5);
  outline-offset: 2px;
  border-radius: 50%;
}

@media (max-width: 1200px) {
  .hero-slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 2.5vw, 2rem);
  }

  .hero-slide__media {
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .hero-slide__media img {
    height: 100%;
    min-height: 100%;
  }
}

@media (max-width: 960px) {
  .store-hero__main {
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 5vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
    min-height: auto;
  }

  .hero-slider__track {
    min-height: auto;
    height: auto;
    overflow: hidden;
    position: relative;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .hero-slide:not(.is-active) {
    display: none;
  }

  .hero-slide.is-active {
    position: relative;
    opacity: 1;
    transform: none;
    display: grid;
    height: auto;
  }

  .hero-slide__media {
    order: -1;
  }

  .hero-slide__copy {
    order: 2;
    text-align: center;
    max-width: 100%;
    padding: 0;
    gap: 0.9rem;
    align-items: center;
  }

  .slide-kicker {
    margin: 0 auto;
    align-self: center;
  }

  .slide-actions {
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
  }

  .slide-actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
    max-width: 200px;
    padding: .7rem 1rem;
    font-size: .9rem;
  }

  .slide-benefits {
    justify-content: center;
  }

  .hero-slider__dots {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 0;
    gap: .75rem;
    padding: .4rem .8rem;
  }

  .hero-slider__dots button,
  .hero-slider__dots .hero-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
  }

  .hero-slider__dots button.is-active,
  .hero-slider__dots .hero-dot.is-active {
    width: 32px;
    height: 9px;
    min-width: 32px;
    min-height: 9px;
  }
}

@media (max-width: 720px) {
  .store-hero__inner {
    padding: clamp(1rem, 2vw, 1.5rem) 0;
  }

  .store-hero__inner.container {
    padding-inline: clamp(1rem, 3vw, 1.25rem);
  }

  .store-hero__main {
    min-height: auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-slider__track {
    min-height: auto;
    height: auto;
  }

  .hero-slide {
    gap: 1.25rem;
  }

  .hero-slide__copy {
    max-width: 100%;
    padding: 0;
    gap: 0.85rem;
    align-items: center;
    text-align: center;
  }

  .slide-kicker {
    margin: 0 auto;
    align-self: center;
  }

  .hero-slide__copy h1,
  .hero-slide__copy h2 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .hero-slide__media {
    min-height: clamp(250px, 45vh, 400px);
    max-height: none;
  }

  .hero-slide__media img {
    min-height: clamp(250px, 45vh, 400px);
    max-height: clamp(250px, 45vh, 400px);
  }

  .slide-actions {
    gap: .65rem;
  }

  .slide-actions .btn {
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 180px;
    padding: .65rem .9rem;
    font-size: .85rem;
  }

  .hero-slider__dots {
    bottom: .75rem;
    gap: .7rem;
    position: relative;
    margin-top: 1rem;
    padding: .4rem .75rem;
  }

  .hero-slider__dots button,
  .hero-slider__dots .hero-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
  }

  .hero-slider__dots button.is-active,
  .hero-slider__dots .hero-dot.is-active {
    width: 30px;
    height: 9px;
    min-width: 30px;
    min-height: 9px;
  }
}

@media (max-width: 560px) {
  .store-hero__inner {
    padding: 0.75rem 0;
  }

  .store-hero__inner.container {
    padding-inline: 1rem;
  }

  .store-hero__main {
    padding: 1.5rem 1.25rem 2.5rem 1.25rem;
  }

  .hero-slider__track {
    min-height: auto;
  }

  .hero-slide {
    gap: 1.5rem;
    padding: 0.75rem 0;
  }

  .hero-slide__copy {
    gap: 1rem;
  }

  .hero-slide__copy h1,
  .hero-slide__copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-slide__media {
    min-height: clamp(220px, 50vh, 320px);
  }

  .hero-slide__media img {
    min-height: clamp(220px, 50vh, 320px);
    max-height: clamp(220px, 50vh, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity .3s ease, transform .3s ease;
  }

  .hero-dot {
    transition: all .2s ease;
  }
}

@media (prefers-contrast: high) {
  .hero-dot {
    border: 1px solid currentColor;
  }

  .hero-dot.is-active {
    background: #fff;
    border-color: #fff;
  }
}