body {
  font-family: 'Poppins', sans-serif;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* HEADER */

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.menu-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.logo {
  width: 200px;
  height: auto;
}

.boton-header {
  background-color: #ff9900;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 8px;
}

.hamburguesa {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #532884;
}

.menu-movil {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background-color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-width: 180px;
  z-index: 100;
}

.menu-movil a {
  text-decoration: none;
  color: #532884;
  font-weight: 500;
  padding: 8px 0;
}

.menu-movil a:hover {
  background-color: #f3effd;
  border-radius: 8px;
  padding-left: 8px;
}

.oculto {
  display: none;
}

/* Móvil */
@media (max-width: 768px) {
  .logo {
    width: 140px;
  }

  .boton-header {
    display: none;
  }

  .hamburguesa {
    display: block;
  }
}


/*----------------------------------------------- INFO------------------------------------------------*/

.info-split {
  width: 100%;
  background-color: #f7f4fe;
  padding: 80px 20px;
}

.info-split-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}



.info-image {
  flex: 1;
  background-image: url('imagenes/fusion.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-color: black;
}

.info-text {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}




.info-text h2 {
  font-size: 28px;
  font-weight: 700;         /* Bold */
  font-family: 'Poppins', sans-serif;
  color: #532884;
  margin-bottom: 20px;
  line-height: 1.2;

}

.info-text p {
  color: #333;
  font-size: 16px;
  margin-bottom: 30px;
}

.info-text a{
  display: flex;
  justify-content: center;
  background-color: #ff9900;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(83, 40, 132, 0.1);

}


@media (max-width: 768px) {
  .info-split-inner {
    flex-direction: column;
    min-height: auto;
  }

  .info-image {
    order: 1;
    width: 100%;
    min-height: 300px;
    background-image: url('imagenes/fusionMovil.png'); /* Aquí cambias la imagen */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
  }

  .info-text {
    order: 2;
    padding: 24px 20px;
    text-align: center;
    align-items: center;
  }

  .info-text h2 {
    font-size: 24px;
  }

  .info-text p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .info-text a {
    width: 100%;
    justify-content: center;
  }
}


/*-----------------------------------------------EL PODER DE CUIDAR DE TU FUTURO------------------------------------------------*/
.info {
  padding: 60px 20px;
  text-align: center;
  background-color: white;
}

.info h2 {
  font-size: 28px;
  color: #532884;
  font-weight: bold;
  margin-bottom: 20px;
}

.info p {
  font-size: 16px;
  font-weight: bold;
}


.divisor-onda {
  overflow: hidden;
  line-height: 0;
}



/*---------------------------------------------------mitad inferior-----------------------------------------------------------*/

/*-------------------------FORMULARIO-----------------------------------*/
.form-container {
  max-width: 400px;
  margin: 50px auto;
  background-color: rgba(255, 255, 255, 0.06); /* o usa un fondo morado pálido */
  backdrop-filter: blur(6px); /* da efecto de cristal difuso */
  color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}



/* BOTÓN */
.form-container button[type="submit"] {
  width: 100%;
  background-color: #ff9900;
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container button[type="submit"]:hover {
  background-color: #e98700;
}



.form-container h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #1d1d1d;
}

.form-container p {
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

.form-container label {
  display: block;
  text-align: left;
  font-weight: 500;
  margin: 12px 0 4px;
  color: #333;
  font-size: 14px;
}


/* INPUTS Y SELECTS */
.form-container input,
.form-container select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  background-color: white;
  box-sizing: border-box;
}

.label-checkbox {
  display: flex;
  align-items: center;
  margin-top: 8px;
  gap: 10px;
}



@media (max-width: 768px) {
  .form-container label[for="checkbox"] {
    display: flex;
    align-items: center;
    justify-content: center; /* centra horizontalmente */
    text-align: left;
    gap: 10px; /* espacio entre el check y el texto */
    line-height: 1.4;
    font-size: 13px;
  }

  .form-container input[type="checkbox"] {
    flex-shrink: 0;
  }
}


@media (max-width: 768px) {
  .aviso-privacidad label {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
  }

  .aviso-privacidad input[type="checkbox"] {
    margin-right: 0;
    margin-bottom: 6px;
  }
}



/*-------------------------TESTIMONIO MARTÍN-------------------------------*/

.testimonio-martin {
  display: flex;
  flex-direction: column;
  align-items: center;  /* <-- centra horizontalmente los hijos */
  text-align: center;
  padding: 40px 20px;
  background-color: #f7f7f7;
}

.testimonio {
  max-width: 800px;
  margin-bottom: 20px;
}

.testimonio h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #333;
}

.imagen-martin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.imagen-martin img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.aviso-privacidad {
  margin: 20px 0;
  padding: 16px;
  background-color: #f3effd;
  border-radius: 10px;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.aviso-privacidad p {
  margin-bottom: 12px;
}

.aviso-privacidad label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.aviso-privacidad input[type="checkbox"] {
  margin-top: 3px;
}

.aviso-privacidad a {
  color: #532884;
  text-decoration: underline;
}

.aviso-privacidad a:hover {
  text-decoration: none;
}


/*-----------------------------------FOOTER-------------------------------*/

.footer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}


.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
}


.footer-logo {
  max-width: 20%;
  height: auto;
}


.footer-contacto{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.footer-contacto h3{
  font-size: 32px;
}


.footer-social {
  display: flex;
  flex-direction: row;
  justify-content: center;


}

.footer-social img {
  width: 28px;
  height: 28px;
  margin-right: 10px; /* espacio entre íconos */
}


.footer-copy{
  display: flex;
  justify-content: center;
  padding: 30px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-logo {
    max-width: 120px;
  }

  .footer-contacto h3 {
    font-size: 24px;
  }

  .footer-contacto p,
  .footer-contacto a {
    font-size: 14px;
    line-height: 1.4;
  }

  .footer-social img {
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }

  .footer-copy {
    padding: 20px 10px;
    font-size: 12px;
    text-align: center;
  }
}