
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 10;
  width: 100%;
  overflow-x: hidden; /* Evita scroll lateral por si alguna imagen se pasa */
}
.contenido {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* alinea imagen abajo */
  animation: fadeIn 3s ease-in-out;
}

.contenido-texto {
  max-width: 600px;
  margin-left: 60px;
  margin-right: 40px;
  padding-top: 20px;
  padding-bottom: 20px;

}

.contenido-texto3 {
  max-width: 600px;
  margin-left: 60px;
  margin-right: 40px;
  margin-top: 20px;       /* sube el bloque de texto */
  align-self: flex-start; /* lo alinea arriba dentro del box */
}

/* Separación entre título y texto */
.contenido-texto h2 {
  font-size: 32px;
  margin-bottom: 50px; /* separa el título del texto */
}

.contenido-texto p {
  font-size: 18px;
  line-height: 1.5;
}


.imagen-lateral {
  align-self: flex-end;     /* fuerza la imagen al fondo del box */
  margin-top: auto;         /* empuja hacia abajo */

}

/* Acá controlás el tamaño de la imagen */
.imagen-lateral img {
  max-height: 300px; /* ajustá según lo que se vea bien */
  width: auto;
  display: block
  /*right: 80px; /* mismo que el padding lateral */


}

.imagen-lateral2 {
  align-self: flex-end;     /* fuerza la imagen al fondo del box */
  margin-top: auto;         /* empuja hacia abajo */

}

/* Acá controlás el tamaño de la imagen */
.imagen-lateral2 img {
  max-height: 300px; /* ajustá según lo que se vea bien */
  width: auto;
  position: absolute;
  bottom: 0;
  right: 800px; /* mismo que el padding lateral */


}



/* Estilos compartidos para las cajas */
.box {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* separa texto e imagen */
  background: linear-gradient(135deg, #07236b, #0049a2);

  padding: 0px;
  box-sizing: border-box;
  font-size: 20px;
  color: white;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  margin: 0;

}
.boxIntroduccion{
     font-family: 'Segoe UI', 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #07236b, #0049a2);

  color: white;
  padding: 60px 80px;
  height: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap; /* permite que el contenido se acomode */

  overflow: hidden;
}
.box1 {
  background-image: url('Images/Diseño_Titulo.png');
  height: 650px;                    /* Reducimos la altura */
  background-size: 100% 100%;        /* Estira horizontal y verticalmente */
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  position: relative;
  margin: 0;
}

.box2 {
  
    font-family: 'Segoe UI', 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #07236b, #0049a2);

  color: white;
  padding: 60px 80px;
  height: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap; /* permite que el contenido se acomode */

  overflow: hidden;
  
}


.box3 {
     font-family: 'Segoe UI', 'Montserrat', sans-serif;
     background-image: url('Images/Imagen5.png');
  border: 2px solid #07236b;
  /*background: linear-gradient(135deg, #07236b, #0049a2);*/

  color: rgb(0, 0, 0);
  padding: 40px 80px;
  height: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap; /* permite que el contenido se acomode */

  overflow: hidden;
}

.box4 {
  background-image: url('Images/imagen3.jpg');
  border: 2px solid #000000;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /*  contenido alineado arriba */
  align-items: center;
  min-height: 450px;             /*  asegura espacio para el formulario + título */
}


.box-button {
  background-image: url('Images/imagen1.jpg');
  border: 2px solid #07236b;
  min-height: 150px;                /*  garantizás espacio suficiente */
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.box-contact {
 font-family: 'Segoe UI', 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #07236b, #0049a2);
  color: white;
  border: 2px solid #07236b;
  padding: 60px 80px;
  min-height: 300px;         /* ⬆ sube la altura mínima */
  display: flex;
  align-items: flex-start;   /*  contenido arriba */
  justify-content: center;
  flex-direction: column;
  overflow: hidden;

}
.box5 {
  min-height: 300px;            /* antes tenías 460px */
  padding: 40px 60px;
  border: 2px solid #07236b;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row;          /*  cambia a horizontal */
  gap: 40px;
  background-size: cover;
  background-position: center;
}



.formulario {
   display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  padding-top: 20px;
  padding-bottom: 20px;

  background-color: rgba(255,255,255,0.1); /* opcional: leve fondo */
   margin-bottom: 40px;
   animation: fadeIn 1s ease-in-out;
}

.formulario_input {
  width: 280px;            /* Ajusta el tamaño de cada campo */
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: whitesmoke;
  font-size: 16px;


}
.formulario_input:hover,        /* Cuando tocas la parte del formulario, te marca en gris */
.formulario_input:focus {
  background-color: #e0e0e0;
  outline: none;
}


.formulario_sumbit {
    width: 160px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #003d73; /* azul destacado */
  color: white;
  cursor: pointer;

}
.titulo-formulario {
 color: black;               /*  Texto visible */
  font-size: 32px;
  font-family: 'Segoe UI', 'Montserrat', sans-serif;
  text-align: center;
  margin-top: 10px;           /*  Espacio desde arriba */
  margin-bottom: 20px;

}

.contenido-legal {
  margin: 0 auto;
  width: 70%;
}



.contenido-legal p {
  max-width: unset;               
  width: 100%;
  padding: 50px;
  font-size: 12px;                
  line-height: 1.5;
  background-color: rgba(0, 0, 0, 0.5);
}


.platform-button {
  display: inline-block;
  padding: 10px 20px;
  border: 3px solid rgb(0, 0, 0);
  background-color: transparent;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
}


.platform-button:hover {
  background-color: white;
  color: #07236b;

}
.contacto-bloque {
  max-width: 600px;
  margin-left: 60px;
  margin-right: 40px;
  margin-top: 0px;
  padding-top: 20px;         /*  espacio superior extra */
}

.contacto-bloque h3 {
  font-size: 24px;
  margin-bottom: 20px;       /*  separa del listado */
}

.contacto-bloque ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
}

.encabezado-formulario {
  background-color: rgba(255, 255, 255, 0.584); /* fondo blanco suave con transparencia */
  border: 2px solid #003d73;                   /* borde azul para cohesión visual */
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #000000;

}

.encabezado-formulario h2 {
  font-size: 36px;
  margin-bottom: 12px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subtexto-formulario {
  font-size: 18px;
  font-style: italic;
  color: #333;
}

.encabezado-pagos {
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #003d73;
  border-radius: 12px;
  padding: 20px 30px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: 'Segoe UI', 'Montserrat', sans-serif;
  color: #003d73;
}

.encabezado-pagos h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.encabezado-pagos p {
  font-size: 16px;
  line-height: 1.6;
  
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .box,
  .box4,
  .box-button {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 220px;
    padding: 30px 20px;
    background-size: cover;
    background-position: center;
  }

  .formulario {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 30px 10px;
  }

  .formulario_input {
    width: 100%;
    max-width: 300px;
  }

  .encabezado-formulario {
    max-width: 90%;
    padding: 20px;
    margin-bottom: 20px;
  }

  .platform-button {
    width: auto;
    font-size: 14px;
    padding: 8px 14px;
  }

  .contenido {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

