/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #fdedec; 
}


header {
  background-color: #e46d95;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  z-index: 1000;
}

header .logo img {
  height: 65px;
}




footer {
            font-family: Arial, sans-serif;
        }


.footer-white{
      background-color: #e46d95;
    color:white;
    text-align:center;
    padding:20px;
}

.footer-white p{
    margin:5px 0;
    text-align:center;
}
      
.footer-white .bold{
    text-align:center;
    width:100%;
    display:block;
}

.footer-white .p {
    margin: 5px 0;
}

.footer-white .small-text {
    font-size: 12px; /* Hace el texto más pequeño */
}


        /* Segundo div dentro del footer */
        .footer-dark {
            background-color: #222222;
            color: #b6b5b3;
            text-align: center;
            padding: 20px 0;
            font-size: 14px;
        }
        .footer-dark a {
            color: #dfdfdf;
            text-decoration: none;
        }
        .footer-dark a:hover {
            text-decoration: underline;
        }

/* Aseguramos que el contenido principal no tape el footer */
main {
  flex-grow: 1;
}
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }


    main {
      flex-grow: 1;
      margin-top: 60px;
    }

    /* Banner */
    .banner {
      background-image: url('imagenes/img-center-plan-cuidarte.jpg'); /* Reemplaza con tu imagen */
      background-size: cover;
      background-position: center;
      height: 450px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      color: #333;
    }

    .banner-text {
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
      max-width: 50%;
      color: #e46d95;
    } 

    .banner-text h1 {
      font-size: 2.5rem;
      margin-bottom: 10px;
    }

    .banner-text p {
      font-size: 1.2rem;
      margin-bottom: 20px;
    }

    .line {
      width: 50%;
      height: 2px;
      background-color: #e46d95;
      margin: 20px 0;
    }

    .form-container {
      background-color: rgba(255, 255, 255, 0.6); /* Transparente */
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
      max-width: 350px;
    }

    .form-group {
      margin-bottom: 15px;
    }

    .form-group input {
      width: 100%;
      padding: 10px;
      background-color: #ff6b9d; /* Fondo rosa */
      color: #fff; /* Texto blanco */
      border: 1px solid #f5b7b1;
      border-radius: 5px;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .form-group input::placeholder {
      color: #fff;
      opacity: 0.8;
    }
    
    .form-group input:focus {
      background-color: #c6f4ff; 
      border-color: #3498db;
      outline: none;
      color: #333; /* Cambiar texto a color oscuro */
    } 

    /* Estilo del placeholder cuando está enfocado */
.form-group input:focus::placeholder {
  color: #666; /* Color más oscuro para mejor contraste */
}

/* Estilo del texto del captcha (número generado) */
.form-group .captcha {
  font-size: 1.2rem;
  font-weight: bold;
  color: #6e0202; /* Cambiado a color oscuro */
  text-align: center;
  display: block;
  margin-bottom: 8px;
  background-color: rgba(255, 255, 255, 0.7); /* Fondo semi-transparente */
  padding: 5px;
  border-radius: 4px;
}


   .form-container button {
  width: 100%;
  padding: 10px;
  background-color: transparent; /* Sin relleno inicialmente */
  color: #f7a3bf; /* Texto rosa */
  border: 2px solid #f7a3bf; /* Borde rosa */
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease; /* Animación suave para el cambio de estilo */
}

.form-container button:hover,
.form-container button:focus {
  background-color: #f7a3bf; /* Relleno rosa al pasar el mouse o enfocar */
  color: #fff; /* Texto blanco */
  border-color: #f7a3bf; /* Asegura que el borde coincida */
}

.form-container button:active {
  background-color: #e57399; /* Relleno rosa más oscuro al hacer clic */
  color: #fff; /* Texto blanco */
  border-color: #e57399; /* Borde más oscuro */
}

    .form-group input::placeholder {
  color: #fff; /* Cambia el color del placeholder a blanco */
}

    /* Responsive */
    @media (max-width: 768px) {
      .banner {
        flex-direction: column;
        text-align: center;
        height: auto;
      }

      .banner-text {
        max-width: 100%;
        margin-bottom: 20px;
         color: white;
      }
     
       .banner-text p {
       text-align: center;
    }
      
 .line {
      width: 50%;
      height: 2px;
      background-color: white;
      margin: 20px 0;
    }
      .form-container {
        max-width: 100%;
      }
      .line {
  width: 50%; /* Ancho de la línea */
  height: 2px; 
  margin: 20px 0; 
  display: block; /* Asegura que se muestre como bloque */
  margin-left: auto; /* Centra horizontalmente */
  margin-right: auto; /* Centra horizontalmente */
}

    }











 p {
            font-family: 'Josefin Sans', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            text-align: left;
        }
        .linea {
          z-index: -1;
            margin: 20px 0; /* Margen para separar las líneas de los bloques */
            position: relative;
            width: 50px; /* El ancho de la línea */
            height: 1px; /* La altura de la línea horizontal */
            background-color: #ccc; /* Color de la línea */
            transform: rotate(90deg); /* Rotar la línea 90 grados */
            transform-origin: center; /* Asegura que la línea rote alrededor de su centro */
            margin-left: auto;
            margin-right: auto;
          
        }

        .bloque {
            width: 80%;
            margin: 40px auto;
            padding: 20px;
            border-radius: 8px;
            color: white;
            text-align: center;
            background-color: #e46d95; /* Todos los bloques con fondo rosa */
        }

        #bloque-2, #bloque-3 {
            width: 70%; /* Cambié el ancho a 60% para centrar los bloques */
            margin: 40px auto;
        }

        #bloque-2 strong, #bloque-3 strong {
            text-align: center; /* Centrar los títulos dentro de los bloques */
            display: block; /* Hace que el texto se comporte como bloque */
            margin-bottom: 10px; /* Separación entre el título y el contenido */
        }

        .carousel-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            margin: auto;
        }

        .carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: calc(100% / 3);
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

        .carousel-item-content {
            background-color: #f9f9f9;
            border-radius: 15px;
            padding: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
        }

        .carousel-item img {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .carousel-item p {
            margin-top: 10px;
            font-size: 16px;
            color: black; /* Establece el texto en negro */
            word-wrap: break-word; /* Evita que el texto se desborde */
        }

        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            z-index: 100;
        }

        .arrow.left {
            left: 10px;
        }

        .arrow.right {
            right: 10px;
        }

        @media (max-width: 768px) {
            .carousel-item {
                min-width: 100%;
            }
        }





       .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: stretch; /* Asegura que ambos bloques tengan la misma altura */
}

.image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center; /* Centra la imagen verticalmente */
}

.image-block img {
    width: 100%;
    height: 100%; /* Hace que la imagen ocupe todo el alto disponible */
    object-fit: cover; /* Ajusta la imagen para que cubra todo el espacio sin distorsionarse */
}

.text-block {
    flex: 1;
    background-color: #ff80b2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    min-width: 300px;
    box-sizing: border-box;
}


        .text-block h1 {
            margin: 0;
            font-size: 1.5rem;
        }

        .separator {
            width: 50%;
            height: 2px;
            background-color: white;
            margin: 10px 0;
        }

        .text-block p {
            margin: 0;
            font-size: 1rem;
        }

       @media (max-width: 768px) {
    .container {
        flex-direction: column-reverse;
    }

    .text-block {
        min-width: 100%;
        padding: 40px;
        box-sizing: border-box;
    }

    .image-block {
        height: 300px; /* Limita la altura de la imagen en dispositivos más pequeños */
    }

    .image-block img {
        height: auto; /* Deja que la imagen mantenga su proporción */
        max-height: 300px; /* Limita la altura máxima de la imagen */
    }
}




.conteiner {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 600px;
            text-align: center;
            background-color: #f4f4f4;
        }

          /* Responsividad */
    @media (max-width: 600px) {
      .conteiner {
        
        height: 1200px;
        
    } 
  } 

        /* Estilo específico para h1 dentro de .conteiner */
        .conteiner h1 {
            margin-top: 40px;
            margin-bottom: 50px;
            font-size: 36px;
            color: #fa5797; /* Cambié el color a blanco para el h1 */
        }

        .buttons-container {
            display: flex;
            flex-direction: column; /* Por defecto los botones estarán en columna */
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 400px;
        }

        .button {
            background-color: #fadbd8;
            border: 2px solid #ffaacb;
            border-radius: 8px;
            width: 200px;
            text-align: center;
            padding: 20px;
            margin: 10px 0; /* Espacio entre los botones */
            transition: transform 0.3s ease;
        }

        .button img {
            width: 80px;
            height: 80px;
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }

        .button:hover {
            transform: scale(1.1);
        }

        .button:hover img {
            transform: scale(1.2);
        }

        .button h3 {
            font-size: 18px;
            color: #333;
        }

        /* Media query para pantallas grandes (PC) */
        @media (min-width: 768px) {
            .buttons-container {
                flex-direction: row; /* Los botones estarán en fila en pantallas grandes */
                justify-content: space-between;
                width: 80%; /* Ajusta el contenedor de los botones */
                max-width: 1200px; /* Puedes cambiar este valor para más espacio */
            }

            .button {
                width: 200px; /* Mantiene el tamaño de los botones */
                margin: 0 15px; /* Espacio entre botones en horizontal */
            }

            .button img {
                width: 100px; /* Aumenta el tamaño de las imágenes en pantallas grandes */
                height: 100px;
            }

            .button h3 {
                font-size: 20px; /* Aumenta el tamaño del texto */
            }
        }

        /* Media query para pantallas pequeñas (móviles) */
        @media (max-width: 767px) {
            .buttons-container {
                width: 100%;
                max-width: 100%;
                padding: 10px;
            }

            .button {
             width: 220px; /* Los botones ocuparán más ancho en pantallas pequeñas */
                margin: 10px 0;
            }

            .button img {
                width: 70px; /* Imágenes más pequeñas en pantallas móviles */
                height: 70px;
            }

            .button h3 {
                font-size: 16px; /* Ajusta el tamaño del texto */
            }
        }







/* Bloque contenedor principal */
    .bloque-contenedor {
      width: 100%;
      background-color: #e46d95;
      color: white;
      padding: 20px 10px;
      text-align: center;
      margin-top: 50px;
      margin-bottom: 50px;
    }

    .bloque-contenedor h1 {
      margin-bottom: 20px;
      font-size: 24px;
    }

    /* Contenedor de botones específico */
    .bloque-contenedor .boton-container {
      display: flex;
      justify-content: center;
      gap: 15px;
    }

    .bloque-contenedor .boton-boedo {
      width: 200px;
      height: 200px;
      margin: 20px;
      border: none;
      overflow: hidden;
      border-radius: 8px;
      transition: transform 0.3s ease;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #e46d95;
    }

    .bloque-contenedor .boton-boedo:nth-child(1) {
       background-color: #ffffff; 
    }

    .bloque-contenedor .boton-boedo:nth-child(2) {
      background-color: #ff6e5c; 
    }

.bloque-contenedor .boton-boedo:nth-child(3) {
  background-color: #5eafca; /* Azul oscuro */
}

    .bloque-contenedor .boton-boedo img {
      width: 80%;
      height: 80%;
      object-fit: contain;
    }

    .bloque-contenedor .boton-boedo:hover {
      transform: scale(1.2);
    }

    /* Responsividad */
    @media (max-width: 600px) {
      
      .bloque-contenedor {
        padding: 10px;
      }

      .bloque-contenedor h1 {
        font-size: 30px;
      }

      .bloque-contenedor .boton-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
      }

      .bloque-contenedor .boton-boedo {
        width: 220px; /* Ajusta el ancho en móvil */
        height: auto;
        margin: 10px 0;
        aspect-ratio: 1; /* Mantiene la proporción cuadrada */
      }
    }
.footer-legal a{
    color:#5e5e5e;
    text-decoration:underline;
    transition:0.2s;
}

.footer-legal a:hover{
    color:#202020;
    text-decoration:underline;
}