/* Fuentes y colores base */
body {
  background-color: #121212;
  color: #eee;
  font-family: "Montserrat", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero {
  height: 90vh; /* ocupa todo el alto de la pantalla */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 0;
  padding-top: 0;
  background-color: #121212;
}

.hero-content {
  max-width: 1200px;
  padding-bottom: 5rem;
}

.main-title {
  display: block;
  font-size: 9rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-top: 0;
  padding-top: 0;
  color: #fff700;
}

.subtitle {
  display: block;
  font-size: clamp(1.5rem, 4vw, 6rem);
  font-weight: 700;
  margin-top: 0.5rem;
}

.description {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.5;
}

/* IMAGENES NOTICIAS FRESCAS */
.card-img-top {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* IMAGENES CARRUSEL */
.carousel-item img {
  width: 100%;
  height: 550px;
  object-position: center;
  background-color: #212529; /* o el color que quieras para rellenar */
}

/* Características */
.features {
  background-color: #1e1e1e;
  border-radius: 12px;
}

.features h2 {
  color: #f39c12;
}

.features ul li {
  padding-left: 1.5rem;
  position: relative;
}

.features ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f39c12;
  font-weight: 700;
}

/* PIDE TU COLOR */
.pide-color {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* STATS */
.stats-section {
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stats-section h2 {
  font-size: 5rem;
  transition: transform 0.2s ease, color 0.2s ease;
  color: #ff0707;
}
.stats-section h2:hover {
  transform: scale(1.1);
  color: #ff0707;
}

/* EXITO */
.container-exito h2 {
  font-size: 3rem;
}
.testimonials-section p {
  color: #555;
}

.testimonials-section .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonials-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* FORMULARIO DE CONTACTO */
.contact-form {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 2rem;
}

.contact-form h3 {
  color: #f39c12;
}

.form-label {
  color: #ccc;
}

.form-control {
  background-color: #121212;
  border: 1px solid #444;
  color: #eee;
}

.form-control:focus {
  background-color: #121212;
  border-color: #f39c12;
  box-shadow: 0 0 8px #f39c12;
  color: #eee;
}

/* FOOTER */
footer {
  font-size: 0.9rem;
}

footer a {
  color: #f39c12;
  font-weight: 600;
  text-decoration: none;
}

footer p {
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* MEDIA PARA MOVILE*/
@media (max-width: 575px) {
  /* Hero content centrado y con padding */
  .hero-content {
    text-align: center;
    padding: 0 1rem;
  }

  /* Título principal más pequeño */
  .main-title {
    display: block;
    font-size: 5rem;
    margin-top: 0;
    padding-top: 0;
    letter-spacing: 1px;
    color: #fff700;
    margin-bottom: 0.5rem;
  }

  /* Subtítulo más pequeño y separado */
  .subtitle {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  /* Descripción más legible */
  .description {
    font-size: 1rem;
    line-height: 1.4;
  }
  /* CARRUSEL IMAGENES */
  .carousel-item img {
    height: 250px;
  }
  /* STATS */
  .stats-section {
    height: 60vh;
    display: flex;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .stats-section h2 {
    font-size: 3rem;
    transition: transform 0.2s ease, color 0.2s ease;
  }
  /* CARACTERISTICAS */
  .container h2 {
    font-size: 2.5rem;
  }
  .list-unstyled li {
    font-size: 0.9rem;
  }
  /* FORMULARIO */
  .contact-form {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 0;
  }
  /* Footer */
  footer p {
    color: #bbb;
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* MEDIA PARA DESKTOP */
@media (min-width: 576px) and (max-width: 991px) {
  /* Hero content centrado y con padding */
  .hero-content {
    text-align: center;
    padding: 1rem;
  }

  /* Título principal más pequeño */
  .main-title {
    display: block;
    font-size: 6.5rem;
    margin-top: 0;
    padding-top: 0;
    letter-spacing: 1px;
    color: #fff700;
    margin-bottom: 0.5rem;
  }

  /* Subtítulo más pequeño y separado */
  .subtitle {
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  /* Descripción más legible */
  .description {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  /* CARRUSEL IMAGENES */
  .carousel-item img {
    height: 400px;
    object-position: center;
  }
  /* STATS */
  .stats-section {
    height: 60vh;
    display: flex;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .stats-section h2 {
    font-size: 3rem;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  /* CARACTERISTICAS */
  .container h2 {
    font-size: 3rem;
  }
  .list-unstyled li {
    font-size: 1.2rem;
  }
}
