/* =========================
   HERO BASE
========================= */

.hero {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* =========================
   CONTENIDO
========================= */

.hero h2 {
  font-size: 38px;
  font-weight: 700;
  max-width: 600px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.hero p {
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 25px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* =========================
   BOTONES
========================= */

.hero .buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   CARD RASTREO
========================= */

.hero .card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.hero .card h3 {
  color: #1e293b;
  margin-bottom: 15px;
}

/* INPUT */
.hero .card input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* =========================
   HERO SLIDER
========================= */

#hero-slider {
  position: relative;
  min-height: 160px;
}

/* Slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Activo */
.hero-slide.active {
  opacity: 1;
  position: relative;
}

/* =========================
   EFECTO DECORATIVO (opcional)
========================= */

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

/* =========================
   RESPONSIVE
========================= */

/* MOBILE */
@media (max-width: 768px) {

  .hero {
    padding: 70px 0;
  }

  .hero h2 {
    font-size: 28px;
    text-align: center;
  }

  .hero p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .buttons {
    justify-content: center;
  }

  #hero-slider {
    text-align: center;
  }

}

/* TABLET */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero h2 {
    font-size: 32px;
  }

}