/* ============================================ */
/* ESTILOS BASE */
/* ============================================ */

.contenedor-flex-inicio {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-x: hidden;
  box-sizing: border-box;
  background-image: url(img/fondo/fondo.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.6;
  filter: blur(0px);
  transition: filter 0.1s ease;
  gap: 2rem;
  padding: 4vh 4vw;
}

.contenedor-imagenLogo {
  width: 43%;
  height: 60%;
}

.contenedor-imagenLogo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contenedorTextoGeneral {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 4rem;
  padding: 0 4vw;
  box-sizing: border-box;
}

.contenedorTextoInicial {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contenedorTextoInicial h2 {
  font-size: 3rem;
  margin: 0 0 2rem 0;
}

.tituloServicio {
  font-size: 4rem;
  font-family: "Red Hat Display", sans-serif;
  margin: 10rem 0 5rem 0;
}

.contenedorDeServicios {
  width: 80%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
}

.contenedorServicio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contenedorServicio h3 {
  font-size: 2rem;
  margin: 1rem 0;
}

.myIcon {
  margin-top: 4rem;
  font-size: 3rem;
  text-align: center;
}

.contenedorServicio ul {
  list-style: disc outside;
  padding-left: 1.4em;
  margin: 1rem auto 0;
  display: inline-block;
  text-align: left;
}

.contenedorServicio ul li {
  font-size: 1.7rem;
  line-height: 1.5;
}

.contenedorInformacion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4vh;
  align-items: center;
  overflow-x: hidden;
  padding: 4vh 4vw;
  box-sizing: border-box;
}

.contenedorOrganizacion {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  width: min(1100px, 95vw);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  background: #eee;
  position: relative;
}

.item {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.item.active {
  opacity: 1;
  position: relative;
}

.contenedorBotones {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid white;
  background: transparent;
  color: white;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background: #b89973;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

button:active {
  transform: translateY(1px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
}

.contenedorDespedida {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 2vw;
  box-sizing: border-box;
}

.contenedorDespedida .pregunta {
  font-size: 3rem;
  margin: 2rem 0 2rem 0;
}

.contenedorDespedida p {
  font-size: 3rem;
  padding: 0 2rem;
  margin: 2rem 0;
}

.tituloContacto {
  font-size: 3rem;
  margin: 2rem 0;
}

.contacto {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 2rem;
}

.contacto a i {
  font-size: 4rem;
  transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
  cursor: pointer;
}

.contacto a i:hover {
  color: #b89973;
  transform: translateY(-3px) scale(1.08);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* ============================================ */
/* RESPONSIVE - TABLETS (1024px) */
/* ============================================ */

@media (max-width: 1024px) {
  .contenedor-flex-inicio {
    gap: 4rem;
    min-height: auto;
  }

  .contenedor-imagenLogo {
    width: 60%;
    height: auto;
  }

  .contenedorTextoGeneral {
    margin-top: 2rem;
  }

  .tituloServicio {
    font-size: 3rem;
    margin: 4rem 0 3rem 0;
  }

  .contenedorDeServicios {
    gap: 2rem;
  }

  .contenedorTextoInicial h2 {
    font-size: 2.5rem;
  }

  .contenedorServicio h3 {
    font-size: 1.6rem;
  }

  .contenedorServicio ul li {
    font-size: 1.5rem;
  }

  .myIcon {
    font-size: 2.5rem;
  }
}

/* ============================================ */
/* RESPONSIVE - MÓVILES MEDIANOS (768px) */
/* ============================================ */

@media (max-width: 768px) {
  .contenedor-flex-inicio {
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
    padding: 7vh 4vw;
  }

  .contenedor-imagenLogo {
    width: 80%;
    max-width: 300px;
    height: auto;
  }

  .contenedorTextoGeneral {
    width: 100%;
    margin-top: 2rem;
    padding: 0 4vw;
  }

  .contenedorTextoInicial {
    width: 100%;
  }

  .tituloServicio {
    font-size: 2.5rem;
    margin: 3rem 0 2rem 0;
  }

  .contenedorDeServicios {
    flex-direction: column;
    width: 100%;
    gap: 3rem;
  }

  .contenedorServicio {
    width: 100%;
  }

  .contenedorTextoInicial h2 {
    font-size: 2rem;
    padding: 0 3vw;
    line-height: 1.3;
  }

  .contenedorServicio h3 {
    font-size: 1.4rem;
    margin: 1rem 0;
  }

  .contenedorServicio ul li {
    font-size: 1.4rem;
  }

  .myIcon {
    margin-top: 2rem;
    font-size: 2rem;
  }

  .slide {
    width: 90vw;
    aspect-ratio: 4 / 3;
  }

  button {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .contenedorDespedida {
    padding: 4vh 4vw;
  }

  .contenedorDespedida .pregunta {
    font-size: 2.2rem;
    margin: 2rem 0;
  }

  .tituloContacto {
    font-size: 2.2rem;
  }

  .contenedorDespedida p {
    font-size: 1.8rem;
    padding: 0 2vw;
  }

  .contacto {
    gap: 3rem;
  }

  .contacto a i {
    font-size: 3rem;
  }
}

/* ============================================ */
/* RESPONSIVE - MÓVILES PEQUEÑOS (600px) */
/* ============================================ */

@media (max-width: 600px) {
  .contenedor-flex-inicio {
    flex-direction: column;
    gap: 1.5rem;
    padding: 7vh 3vw;
  }

  .contenedor-imagenLogo {
    width: 100%;
    max-width: 250px;
  }

  .contenedorTextoGeneral {
    margin-top: 1rem;
    padding: 0 3vw;
  }

  .contenedorTextoInicial {
    width: 100%;
  }

  .tituloServicio {
    font-size: 2rem;
    margin: 2rem 0 1.5rem 0;
  }

  .contenedorDeServicios {
    flex-direction: column;
    width: 100%;
    gap: 2rem;
    padding: 0 2vw;
  }

  .contenedorServicio {
    width: 100%;
  }

  .contenedorTextoInicial h2 {
    font-size: 1.6rem;
    padding: 0 4vw;
    line-height: 1.3;
  }

  .contenedorServicio h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }

  .contenedorServicio ul li {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .myIcon {
    margin-top: 1.5rem;
    font-size: 1.5rem;
  }

  .slide {
    width: 95vw;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
  }

  .contenedorBotones {
    gap: 0.5rem;
  }

  button {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .contenedorDespedida {
    padding: 3vh 3vw;
  }

  .contenedorDespedida .pregunta {
    font-size: 1.8rem;
    margin: 1.5rem 0;
  }

  .tituloContacto {
    font-size: 1.8rem;
  }

  .contenedorDespedida p {
    font-size: 1.4rem;
    padding: 0 2vw;
  }

  .contacto {
    gap: 2rem;
  }

  .contacto a i {
    font-size: 2.5rem;
  }
}

/* ============================================ */
/* RESPONSIVE - MÓVILES MUY PEQUEÑOS (480px) */
/* ============================================ */

@media (max-width: 480px) {
  .contenedor-flex-inicio {
    gap: 1rem;
    padding: 7vh 2vw;
  }

  .contenedor-imagenLogo {
    width: 100%;
    max-width: 200px;
  }

  .contenedorTextoGeneral {
    padding: 0 2vw;
    margin-top: 0.5rem;
  }

  .tituloServicio {
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem 0;
  }

  .contenedorDeServicios {
    gap: 1.5rem;
  }

  .contenedorTextoInicial h2 {
    font-size: 1.4rem;
    padding: 0 5vw;
    line-height: 1.3;
  }

  .contenedorServicio h3 {
    font-size: 1.1rem;
  }

  .contenedorServicio ul li {
    font-size: 1.1rem;
  }

  .myIcon {
    font-size: 1.3rem;
    margin-top: 1rem;
  }

  .slide {
    aspect-ratio: 5 / 4;
  }

  button {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .contenedorDespedida {
    padding: 2vh 2vw;
  }

  .contenedorDespedida .pregunta {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .tituloContacto {
    font-size: 1.5rem;
  }

  .contenedorDespedida p {
    font-size: 1.2rem;
    padding: 0 1vw;
  }

  .contacto {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .contacto a i {
    font-size: 2rem;
  }
}

/* ============================================ */
/* RESPONSIVE - MÓVILES MINI (380px) */
/* ============================================ */

@media (max-width: 380px) {
  .contenedor-flex-inicio {
    padding: 7vh 1.5vw;
    gap: 0.8rem;
  }

  .contenedor-imagenLogo {
    max-width: 160px;
  }

  .contenedorTextoGeneral {
    padding: 0 1.5vw;
  }

  .tituloServicio {
    font-size: 1.4rem;
    margin: 1rem 0 0.8rem 0;
  }

  .contenedorTextoInicial h2 {
    font-size: 1.2rem;
    padding: 0 3vw;
  }

  .contenedorServicio h3 {
    font-size: 1rem;
  }

  .contenedorServicio ul li {
    font-size: 1rem;
  }

  .myIcon {
    font-size: 1.1rem;
  }

  .slide {
    aspect-ratio: 4 / 3;
  }

  button {
    padding: 5px 8px;
    font-size: 0.7rem;
  }

  .contenedorDespedida .pregunta {
    font-size: 1.3rem;
    margin: 1rem 0;
  }

  .tituloContacto {
    font-size: 1.3rem;
  }

  .contenedorDespedida p {
    font-size: 1rem;
  }

  .contacto a i {
    font-size: 1.5rem;
  }
}
