/* === HERO === */
.hero {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  background-color: var(--pink);
  background-image: repeating-linear-gradient(-45deg, transparent 0, transparent 52px,
      rgba(255, 255, 255, .1) 52px, rgba(255, 255, 255, .1) 104px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px 120px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--green);
  clip-path: polygon(0 100%, 100% 100%, 100% 10%, 0 100%);
}

.hero__logo {
  width: min(310px, 72vw);
  margin-bottom: 28px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .55));
  animation: up .75s ease-out both;
}

.hero__h1 {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(30px, 7.5vw, 62px);
  line-height: 1.08;
  color: var(--white);
  max-width: 700px;
  text-shadow: 3px 4px 0 rgba(0, 0, 0, .45);
  animation: up .75s .1s ease-out both;
}

.hero__h1 em {
  font-style: normal;
  color: var(--green-lt);
  -webkit-text-stroke: 2px var(--dark);
  paint-order: stroke fill;
}

.hero__mayoreo {
  color: var(--green);
}

.hero__sub {
  color: var(--pink-lt);
  font-size: clamp(15px, 3vw, 20px);
  font-weight: 700;
  margin-top: 14px;
  animation: up .75s .2s ease-out both;
}

.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  animation: up .75s .25s ease-out both;
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
  animation: up .75s .3s ease-out both;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media(max-width:640px) {
  .hero__btns {
    flex-direction: column;
    align-items: stretch
  }

  .hero__btns .btn {
    text-align: center;
    justify-content: center
  }
}

/* === BENEFITS === */
.benefits {
  background: var(--green);
  padding: 36px 20px
}

.benefits-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}

/* === CAROUSEL === */
.car-wrap {
  max-width: 1140px;
  margin: 0 auto
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4px 20px 24px;
}

.carousel .pcard {
  flex: 0 0 auto;
}

.car-ctrl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px
}

.car-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 0 var(--green-dk);
  transition: background .2s, transform .1s;
}

.car-btn:hover {
  background: var(--green-lt);
  transform: scale(1.06)
}

.dots {
  display: flex;
  gap: 7px;
  align-items: center
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
  border: none;
  transition: .25s;
}

.dot.on {
  background: var(--green-lt);
  width: 22px;
  border-radius: 5px
}

/* === INDEX GRIDS === */
.steps-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 36px;
}

.ship-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pay-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.dl-grid {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Layout visibility */
#view-carousel.hidden,
#view-grid.hidden {
  display: none;
}

/* Mobile: carrusel, Desktop: grid */
@media(max-width:767px) {
  #view-grid {
    display: none;
  }
}

@media(min-width:768px) {
  #view-carousel {
    display: none;
  }
}