/* ==================================================
   PÁGINA DE INICIO
   ================================================== */

.pagina-inicio {
  padding-top: 160px;
}


/* ==================================================
   FRANJA REDES SOCIALES
   ================================================== */

.franja-redes-superior {
  margin: 0;
  padding: 10px 15px;

  background: linear-gradient(
    90deg,
    rgba(24, 119, 242, 0.10) 0%,
    rgba(88, 101, 242, 0.10) 35%,
    rgba(193, 53, 132, 0.10) 70%,
    rgba(253, 126, 20, 0.10) 100%
  );

  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #dddddd;

  overflow: visible;
}

.franja-redes-contenido {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;

  text-align: center;

  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  color: #444444;
}

.franja-redes-contenido span {
  font-weight: 400;
}

.franja-redes-contenido a {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: #444444;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.3s ease;
}

.franja-redes-contenido a i {
  font-size: 21px;
}

/* Instagram */
.franja-redes-contenido .red-instagram {
  color: #c13584;
}

.franja-redes-contenido .red-instagram:hover {
  color: #e1306c;
}


/* Facebook */
.franja-redes-contenido .red-facebook {
  color: #1877f2;
}

.franja-redes-contenido .red-facebook:hover {
  color: #0d5dcc;
}



/* ==================================================
   HERO / CARRUSEL - INICIO
   ================================================== */

.pagina-inicio #hero {
  width: 100%;
  height: calc(100vh - 205px);
  min-height: 520px;

  position: relative;
  overflow: hidden;

  background: #3f4953;
}


/* Carrusel ocupa todo el hero */

.pagina-inicio #hero .carousel,
.pagina-inicio #hero .carousel-inner,
.pagina-inicio #hero .carousel-item {
  width: 100%;
  height: 100%;
}


/* Fotografías */

.pagina-inicio #hero .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Capa oscura sobre las imágenes */

.pagina-inicio #hero .carousel-item::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(22, 27, 32, 0.58);
}


/* ==================================================
   CONTENEDOR DEL TEXTO
   ================================================== */

.pagina-inicio #hero .carousel-container {
  position: absolute;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 30px;
}


/* Contenido SIN recuadro */

.hero-contenido {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 850px;

  padding: 20px 30px;

  text-align: center;
}


/* ==================================================
   TÍTULO
   ================================================== */

.pagina-inicio #hero h2 {
  margin-bottom: 15px;

  font-size: 48px;
  font-weight: 700;

  color: #ffffff;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}


/* ==================================================
   SUBTÍTULO
   ================================================== */

.hero-subtitulo {
  max-width: 650px;

  margin: 0 auto 20px auto !important;

  font-size: 21px;
  line-height: 1.5;

  color: #ffffff !important;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}


/* ==================================================
   DESCRIPCIÓN
   ================================================== */

.hero-descripcion {
  max-width: 760px;

  margin: 0 auto 28px auto !important;

  font-size: 16px;
  line-height: 1.7;

  color: rgba(255, 255, 255, 0.95) !important;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}


/* ==================================================
   LINKS INSTITUCIONALES
   ================================================== */

.hero-descripcion a {
  color: #ffffff;
  text-decoration: none;
}

.hero-link {
  font-weight: 700;
}

.hero-descripcion a:hover {
  color: #38d923;
}


/* ==================================================
   BOTÓN
   ================================================== */

.pagina-inicio #hero .btn-get-started {
  display: inline-block;

  padding: 12px 28px;

  border-radius: 6px;

  background: #38d923;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  text-shadow: none;

  transition: all 0.3s ease;
}

.pagina-inicio #hero .btn-get-started:hover {
  background: #2fbd1e;
  color: #ffffff;

  transform: translateY(-2px);
}


/* ==================================================
   FLECHAS DEL CARRUSEL
   ================================================== */

.pagina-inicio #hero .carousel-control-prev,
.pagina-inicio #hero .carousel-control-next {
  width: 6%;
}

.pagina-inicio #hero .carousel-control-prev-icon,
.pagina-inicio #hero .carousel-control-next-icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.18);

  border-radius: 50%;

  color: rgba(255, 255, 255, 0.85);

  font-size: 28px;

  transition: 0.3s;
}

.pagina-inicio #hero .carousel-control-prev-icon:hover,
.pagina-inicio #hero .carousel-control-next-icon:hover {
  background: rgba(255, 255, 255, 0.30);

  color: #ffffff;
}


/* ==================================================
   INDICADORES
   ================================================== */

.pagina-inicio #hero .carousel-indicators {
  z-index: 5;
}

.pagina-inicio #hero .carousel-indicators li {
  width: 11px;
  height: 11px;

  border-radius: 50%;

  background: #ffffff;

  opacity: 0.6;
}

.pagina-inicio #hero .carousel-indicators li.active {
  background: #38d923;
  opacity: 1;
}


/* ==================================================
   RESPONSIVE - TABLET
   ================================================== */

@media (max-width: 991px) {

  .pagina-inicio #hero {
    height: calc(100vh - 135px);
    min-height: 520px;
  }

  .pagina-inicio #hero .carousel-container {
    padding: 25px;
  }

  .pagina-inicio #hero h2 {
    font-size: 40px;
  }

  .hero-subtitulo {
    font-size: 19px;
  }

}


/* ==================================================
   RESPONSIVE - MÓVIL
   ================================================== */

@media (max-width: 768px) {

  .pagina-inicio #hero {
    min-height: 570px;
  }

  .pagina-inicio #hero .carousel-container {
    padding: 20px;
  }

  .hero-contenido {
    padding: 15px 10px;
  }

  .pagina-inicio #hero h2 {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .hero-subtitulo {
    font-size: 17px;
    line-height: 1.4;

    margin-bottom: 18px !important;
  }

  .hero-descripcion {
    font-size: 14px;
    line-height: 1.6;

    margin-bottom: 22px !important;
  }

  .pagina-inicio #hero .btn-get-started {
    padding: 11px 24px;
    font-size: 13px;
  }

  .pagina-inicio #hero .carousel-control-prev-icon,
  .pagina-inicio #hero .carousel-control-next-icon {
    width: 40px;
    height: 40px;

    font-size: 22px;
  }

}


/* ==================================================
   RESPONSIVE - CELULARES CHICOS
   ================================================== */

@media (max-width: 480px) {

  .pagina-inicio #hero h2 {
    font-size: 30px;
  }

  .hero-subtitulo {
    font-size: 16px;
  }

  .hero-descripcion {
    font-size: 13px;
  }

}