/* =========================
   HERO BASE
========================= */

.hero {
  padding: 80px 20px 40px;
}

.hero__container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 20px;
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

/* TEXT */
.hero__content h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  color: #0b1f33;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
}

.hero__support {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}


.hero-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* o cover según tu diseño */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}




/* BUTTONS */
.hero__actions {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #0066cc;
  color: #fff;
}

.btn-primary:hover {
  background: #004fa3;
}

.btn-secondary {
  border: 2px solid #0066cc;
  color: #0066cc;
}

.btn-secondary:hover {
  background: #0066cc;
  color: #fff;
}

/* IMAGE */
.hero__image {
  display: flex;
  justify-content: flex-start;
  margin-left: -200px;
  position: relative;
}

.hero__image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

/* VERTICAL BLOCKS */
.hero__verticals {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.vertical-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #0b1f33;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.vertical-card:hover {
  transform: translateY(-6px);
}

.vertical-card img {
  height: 80px;
  margin-bottom: 15px;
}

.vertical-card h3 {
  margin-bottom: 8px;
}

.vertical-card p {
  font-size: 0.95rem;
  color: #555;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__verticals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .hero {
    padding-top: 110px;
    padding-bottom: 0;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  .hero__content h1 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__support {
    font-size: 0.95rem;
  }

  .hero__content p {
    margin-bottom: 14px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero__image {
    order: 2;
    margin-left: 0;
    justify-content: center;
    margin-top: -40px;
    z-index: 1;
  }

  .hero__image img {
    max-height: 320px;
    width: 100%;
  }

  .hero::after {
    content: "";
    display: block;
    height: 40px;
  }
}


@media (max-width: 768px) {

  .hero-image-slider {
    height: 260px; /* CLAVE: da altura real al slider */
  }

}
