/* ======== PALETA DE COLORES ======== */
:root {
    --rosa-pastel: #fda2c2;
    --celeste-pastel: #A7C7E7;
    --azul-pastel: #91A8D0;
    --verde-suave: #8ff09c;
    --texto-principal: #444;
    --fondo: #ffffff;
}

/* ======== RESETEO ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


/* ======== FRANJA SUPERIOR ======== */
.franja-superior {
    background-color: var(--rosa-pastel);
    text-align: center;
    padding: 0.5rem 0;
    font-weight: 520;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 1.5px;
}

/* Logo */
.imagen-centrada {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  
}

/* Encabezado */
.main-header {
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  padding: 20px 20px;
  font-size: 10px;
}



/* Menú principal */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}


/* Botón cerrar menú */
.close-btn {
  font-size: 30px;
  color: #ff69b4;
  padding: 10px 20px;
  cursor: pointer;
  list-style: none;
}

/* Solo visible en mobile */
  .close-btn {
    display: none;
  }

  /* En pantallas pequeñas (modo responsive), sí se muestra */
@media (max-width: 768px) {
  .close-btn {
    display: block;
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 30px;
    color: #ff69b4;
    cursor: pointer;
    list-style: none;
  }
}




/* Enlaces */
.menu li a {
  text-decoration: none;
  padding: 10px 15px;
  background-color: transparent; /* fondo blanco */
  color: #5c5056; /* texto rosa pastel */
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 5px;
  transition: 0.3s;
}

.menu li a:hover {
  background-color: transparent; /* ligero cambio al pasar el mouse */
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-radius: 5px;
  min-width: 150px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 100;
}

.dropdown-content li a {
  display: block;
  padding: 10px;
  color: #ff69b4;
  border: none;
  background-color: #ffffff;
}

.dropdown-content li a:hover {
  background-color: #ffe6f0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Botón hamburguesa */

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #ff69b4;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
    display: block;
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 1000;
    }

  .menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 60px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 9999;
  }


  .menu.show {
     transform: translateX(0);
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }

  .hamburger {
    display: block;
    position: absolute;
    left: 70px;
    top: 105px;
  }
}


@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 60px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 9999;
  }

  .menu.show {
    transform: translateX(0);
  }
}




.container{
    max-width: 1200px;
    margin: 0 auto;
    }

/* Contenedor del carrusel */
.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 10px;
}

/* Contenedor de las diapositivas */
.carousel {
  display: flex;
  transition: transform 0.7s ease-in-out;
}

/* Cada imagen */
.slide {
  min-width: 100%;
  height: 400px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Botones de navegación */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(154, 218, 255); /* Rosa pastel translúcido */
  color: white;
  border: none;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 182, 193, 0.9);
}

/* Posiciones de los botones */
.prev {
  left: 15px;
}

.next {
  right: 15px;
}


/* Texto */
.info-section {
  background-color: #ffffff; /* fondo celeste */
  padding: 20px 20px;        /* espacio arriba y abajo */
  text-align: center;        /* centra el texto */
}

/* Texto e imagen */
.flex-container {
  display: flex;
  align-items: center; /* centra verticalmente imagen y texto */
  gap: 0; /* espacio entre imagen y texto */
  flex-wrap: wrap; /* hace que se ajuste en pantallas pequeñas */
}

.image-box img {
  width: 270px; /* tamaño de la imagen */
  height: 300px;
}

.text-box {
  flex: 1; /* ocupa el espacio restante */
}


.info-section h2 {
  font-size: 35px;
  color: #ff69b4; /* rosa pastel */
  margin-bottom: 20px;
}

.info-section p {
  font-size: 18px;
  color: #333333; /* texto gris oscuro para mejor lectura */
  max-width: 700px;
  margin: 0 auto; /* centra el párrafo */
  line-height: 1.6;
  text-align: justify;
}

/* 3 cuadros */

.suggestions-section {
  background-color: #ffffff; /* fondo suave */
  padding: 50px 10px;
}

.flex-container {
  display: flex;
  gap: 230x;                 /* espacio entre recuadros */
  justify-content: space-between;
  flex-wrap: wrap;            /* permite bajar en pantallas pequeñas */
  width: 100%;
  max-width: none;
  margin: 0;
  
}

.card {
  flex: 1 1 32%;             /* cada recuadro ocupa ~32% del ancho */
  max-width: 32%;            /* evita que se haga más grande */
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 400px;         /* ancho fijo de cada recuadro */
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card p {
  font-size: 16px;
  color: #333333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.card button {
  padding: 10px 20px;
  background-color: #ff69b4; /* rosa pastel */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card button:hover {
  background-color: #ff85c1; /* hover más claro */
}

/* Responsive */
@media (max-width: 992px) {
  .card {
    flex: 1 1 45%; /* dos por fila */
    max-width: 48%;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .card {
    flex: 1 1 100%; /* uno por fila */
    max-width: 100%;
    margin-bottom: 20px;
  }
}



/* destacado */

.featured-list-section {
  background-color: #ffffff; 
  padding: 55px 20px;
}

.section-header {
  text-align: justify;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  color: #ec8bc7;
  margin-bottom: 10px;
}

.featured-item {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgb(245, 214, 243);
  margin-bottom: 50px;
  padding: 30px;
  border-radius: 40px;
}

.featured-item img {
  width: 350px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.featured-content {
  flex: 1; /* ocupa el espacio restante */
}

.featured-content h3 {
  font-size: 20px;
  color: #6db4f7;
  margin-bottom: 8px;
}

.featured-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.8;
  text-align: justify;
}

.featured-content button {
  padding: 8px 16px;
  background-color: #8395e7;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.featured-content button:hover {
  background-color: #ff85c1;
}

/* Responsive: apila imagen arriba del texto en móviles */
@media (max-width: 600px) {
  .featured-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .featured-content button {
    width: 100%;
    text-align: center;
  }
}

/* ======== FRANJA del medio ======== */
.franja-medio {
    background-color: var(--rosa-pastel);
    text-align: center;
    padding: 80px 300px;
    font-weight: 500;
    color: #ffffff;
    font-size: 115%;
    letter-spacing: 1px;
}

/* ======== FRANJA final ======== */
.footer-band {
  width: 100%;
  background-color: #faa4c1;  /* rosa pastel */
  padding: 40px 40px;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* para que sea responsive */
  gap: 120px;
  padding: 10px;
}

.footer-left {
  display: flex;
  flex-direction: column; /* logo y texto vertical */
  align-items: flex-start;
  gap: 0;
  flex: 2 50%;
}

.footer-left .footer-logo {
  width: 400px;
  height: 200px;
  object-fit: fill;
}

.footer-left p {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  text-align: justify;
  font-weight: 350;
  padding: 60px 40px;
  line-height: 1.5;
}

.footer-right {
  flex: 1 5 10%;
}

.footer-right ul {
  list-style: none;
  padding: 40px 20px;
  margin: 0;
  display: flex;
  flex-direction: column; /* lista vertical */
  gap: 10px;
}

.footer-right h1{
  color: #ffffff;
  font-weight: bold;
  font-size: 25px;
  line-height: 1.5;
  }

.footer-right li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  transition: color 0.2s;
  font-size: 16px;
  padding: 30px 10px;
  line-height: 2.5;
}

.footer-right li a:hover {
  color: #ff69b4;
}

/* Responsive: apila izquierda y derecha en móvil */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right ul {
    margin-top: 15px;
  }
}

.titulo-metodo {
  background-color: #f5ddea; /* Fondo suave (puedes quitarlo si no quieres color) */
  padding: 70px 20%;
}

.titulo-metodo h2 {
  color: #e091b1; /* Rosa pastel */
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-align: center;
  font-size: 40px;
}

.titulo-metodo p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  text-align: justify;
  padding: 10px 50px;
}

/* Responsivo */
@media (max-width: 600px) {
  .titulo-metodo {
    padding: 40px 8%;
  }

  .titulo-metodo h2 {
    font-size: 1.5rem;
  }

  .titulo-metodo p {
    font-size: 1rem;
    padding: 0%;
  }
}

.imagen-centro {
  display: block;      /* elimina espacio inline */
  margin: 0 auto;      /* centra horizontalmente */
  max-width: 100%;     /* no excede el ancho del contenedor */
  height: auto;        /* mantiene proporción */
  border-radius: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}


.subtitulo-metodo h2 {
  text-align: center;
  font-size: 33px;
  margin-top: 45px;    /* separación deseada entre imagen y título */
  color: #e091b1;
  padding: 30px;
}

.subtitulo-metodo p {
  text-align: justify;
  margin-top: 10px;    /* separación entre título y párrafo */
  line-height: 1.9;
  color: #444;
  padding: 10px 400px;      /* espaciado a los costados en móviles */
  font-size: 18px;
}

/* Responsivo extra */
@media (max-width: 600px) {
  .subtitulo-metodo p {
    padding: 0 5%;
  }
}




.subtitulo-metodo2 {
  background-color: #f5ddea; /* Fondo suave (puedes quitarlo si no quieres color) */
  padding: 70px 20%;
}

.subtitulo-metodo2 h2 {
  color: #e091b1; /* Rosa pastel */
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-align: center;
  font-size: 40px;
}

.subtitulo-metodo2 p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  text-align: justify;
  padding: 10px 170px;
}

/* Responsivo */
@media (max-width: 600px) {
  .titulo-metodo {
    padding: 40px 8%;
  }

  .subtitulo-metodo2 h2 {
    font-size: 1.5rem;
  }

  .subtitulo-metodo2 p {
    font-size: 1rem;
    padding: 0%;
  }
}


.boton-central {
  display: block;
  margin: 30px auto 60px auto; /* espacio arriba y abajo */
  padding: 15px 40px;
  font-size: 1.2rem;
  background-color: #ffffff;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-central:hover {
  background-color: #ffffff;
}
/* Responsivo */
@media (max-width: 600px) {
    .boton-central {
    padding: 12px 30px;
    font-size: 1rem;
  }
}





li {
  background-color: #b0def8;
  margin: 8px 0;
  padding: 10px;
  border-radius: 8px;
  color: #00796b;
  font-weight: 500;
  transition: background-color 0.2s;
  text-align: center;
}




li:hover {
  background-color: #b2ebf2;
}
