#inicio {
  background: url("/img/hero2.png") center/cover no-repeat;
  color: #fff;
  position: relative;
  padding: 96px 0;
}

.hero {
  position: relative;
}

#inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-top: 12px;
  color: bisque;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: blanchedalmond;
}

.hero.hero--center {
  display: grid;
  place-items: center;
  text-align: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero__logo {
  width: 360px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  object-fit: contain;
}

.hero__cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: center;
}

@media (max-width: 560px) {
  .hero__logo {
    width: 180px;
  }
}

.hero.hero--center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 45vh;
  padding: 0 20px;
  background: url("../img/hero2.png") center/cover no-repeat;
  position: relative;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

#hero.hero--center {
  display: flex !important;
  grid-template-columns: initial !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 45vh;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__slides {
  display: flex;
  height: 100%;
  /* ancho se maneja por flex; movemos con translateX */
  transition: transform 0.8s ease;
  will-change: transform;
}

.hero__slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flechas */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  background: rgba(132, 185, 100, 0.45);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.hero__arrow:hover {
  background: rgba(238, 223, 183, 0.6);
}

.hero__arrow--prev {
  left: 16px;
}

.hero__arrow--next {
  right: 16px;
}

/* Overlay de texto legible */
.hero__content {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .7);
  color: #fff;
}