

/* BLOQUE7................................ */

/* Bloque con overlay azul */
#bloque7 {
    height: 100vh;
    position: relative;
    background-image: url(../images/bloque7/bloque7Fondo5.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0px;
}

/* Filtro azul fijo */
#bloque7::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-c1);  /* azul */
    opacity: 0.9;
    z-index: 1;
}

/* Contenido encima sin ocultarlo */
#bloque7 * {
    position: relative;
    z-index: 2; 
    /* eliminar opacidad y transform para que se vea todo */
    opacity: 1;
    transform: none;
}


.cardtituloForm{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;

}


.tituloFormH6{
   font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin:0px; 
 margin-bottom: 20px;
    color: var(--color-c2); 


}

.subtituloForm{
  font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    margin: 0px; 
  margin-bottom: 20px;
    color: white; 
}



form{
    width: 100%;
}

.cardIntput{
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cardLabel{
    display: flex;
    flex-direction: column;
    width: 100%;
}


label{
font-size: 1rem;
     color: white;
}

input{
    width: 100%;
    padding: 12px 16px; /* cómodo y espacioso */
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5); /* borde semi-transparente */
    border-radius: 8px; /* bordes redondeados modernos */
    background-color: rgba(255, 255, 255, 0.1); /* fondo semi-transparente */
    color: #FFFFFF; /* texto blanco para legibilidad */
    transition: all 0.3s ease; /* transición suave para focus/hover */
    
}


#bloque7 input:focus {
    outline: none; /* quitar borde por defecto */
    border-color: #F9D200; /* amarillo para resaltar */
    background-color: rgba(255, 255, 255, 0.2); /* ligero cambio de fondo */
    box-shadow: 0 0 8px rgba(249, 210, 0, 0.5); /* efecto glow moderno */
}

#bloque7 input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}
textarea{
  width: 100%;
    padding: 12px 16px; /* cómodo y espacioso */
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5); /* borde semi-transparente */
    border-radius: 8px; /* bordes redondeados modernos */
    background-color: rgba(255, 255, 255, 0.1); /* fondo semi-transparente */
    color: #FFFFFF; /* texto blanco para legibilidad */
    transition: all 0.3s ease; /* transición suave para focus/hover */
    resize: vertical; /* permite cambiar altura vertical */
    min-height: 120px; /* altura mínima cómoda */
}
#bloque7 textarea:focus {
    outline: none; /* quitar borde por defecto */
    border-color: #F9D200; /* amarillo para resaltar */
    background-color: rgba(255, 255, 255, 0.2); /* ligero cambio de fondo */
    box-shadow: 0 0 8px rgba(249, 210, 0, 0.5); /* efecto glow moderno */
}

/* Placeholder estilo moderno */
#bloque7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Botón moderno */
#bloque7 .btn {
    background-color: #F9D200; /* amarillo vibrante */
    color: #000000; /* texto negro para contraste */
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    border-radius: 8px; /* bordes redondeados modernos */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* sombra sutil */
    transition: all 0.3s ease;
}

/* Hover / interacción */
#bloque7 .btn:hover {
    background-color: #e6c200; /* tono más oscuro al pasar el mouse */
    transform: translateY(-2px); /* efecto flotante */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

/* Focus / teclado */
#bloque7 .btn:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(249, 210, 0, 0.7); /* glow amarillo */
}




.cardEnviar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.cardCheck{
     display: flex;
    justify-content: center;
    align-items: start;
    gap:15px;
    
}
#acepto{
    width: 15px;
    height: 15px;
    margin-top: 5px;
}
.acepto{
    color: white;
}
.acepto a{
    color: white !important;
}
.cardPolitica p{
    font-size: 0.8rem;
     color: white;
    margin-top: 5px;

}
.fa-solid{
    color:white !important;
}



/* Títulos */
.titleContact {
    color: white;
    font-size: 1rem;
    line-height: 2;
    margin: 20px 0;
}

/* Texto secundario */
.textContact {
    color: white;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

/* Teléfono y correo */
.textPhone,
.textEmail {
    color: white !important;
    font-size: 1rem;
}

.textPhone {
    margin-top: 20px;
}

.textEmail {
    margin-bottom: 20px;
}

.textPhone a,
.textEmail a {
    color: white !important;
    text-decoration: none;
}

/* Links dentro de títulos */
.titleContact a {
    color: white !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin: 20px 0;
}

/* Iconos en títulos */
.titleContact img {
    width: 25px;
    height: 25px;
    margin-left: 10px;
}

/* Contenedor de enlaces */
#letras {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

#letras a {
    color: white !important;
    font-size: 0.8rem;
    margin-top: 5px;
}


.ssl{
    display: none;
}



/* pop up form ......................*/
#miForm {
  position: relative;
}

#formPopup {
    width: 500px;
    position: absolute;        
    background: #f9f9f9;       
    border: 1px solid #ccc;   
    padding: 10px 15px;       
    border-radius: 5px;        
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); 
    display: none;             
    z-index: 9999;           
    font-size: 0.9rem;         
    color: #333;               
    transition: opacity 0.3s ease; 
    right: 0px;
   padding: 15px;
    font-family: Arial, Helvetica, sans-serif;
}
.cierre{
    color: #000000 !important;
     font-size: 1.2rem;
     cursor: pointer;
}
.cardTitulo{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
   margin-bottom: 15px;
}

.tituloPopUp{
    text-align: center;
    color: black;
    margin: 0px;
    line-height: 1;
   font-size: 1rem;
  
}

.tituloBody{
    font-size: 0.8rem;
    color: #000000;
    margin: 0px;
    line-height: 1;
    margin-bottom: 5px;
}
.textoBody{
    font-size: 0.6rem;
    color: grey;
    margin: 0px;
    line-height: 1.3;
    margin-bottom: 5px;
}


@media (max-width: 1450px) {

    #formPopup {
    width: 400px;
    }
}
@media (max-width: 1200px) {

#bloque7 {
    height: auto;

}
#formPopup {
  top:0px;

}
}
@media (max-width: 990px) {
#formPopup {
  top:70%;
  
}
  #formPopup {
    width: 300px;
    }
     #bloque7{
        padding: 0px;

     }
    .tituloFormH6{
        font-size: 2.5rem;
        margin-top: 30px;
     }
     .cardIntput{
    flex-direction: column;
     }
     .cardEnviar{
      flex-direction: column;
      justify-content: start;
      align-items: start;
     }
     #seccionForm{
        margin-top: 0px;
        padding:20px;
     }
     
     
     #seccionContacto{
        margin-top: 20px;
        padding:20px;
     }
 
     button{
        width: 100%;
     }
     #letras{
        padding-bottom: 30px;
     }


}

@media (max-width: 765px) {
     #bloque7{
        padding: 0px;
     background-position-x: 30%;
    background-position-y: center;


}
    }

    @media (max-width: 380px) {

    .tituloFormH6{
        font-size: 2rem;
        margin-top: 30px;
     }


    }