.titulo{
    font-size: 4rem;
    margin: 0px;
    line-height: 1;
    color:var(--color-c1);
    font-family: 'DM Serif Display', serif;
 
}
.subTitulo{
    font-size: 0.9rem;
    margin: 20px 0px;
    color:var(--color-c2);
       font-family: "Roboto", sans-serif;
}


.containerImagenPortada{
    background-image: url('../images/img580/imagenPortada1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    height: 550px;
}


.containerForms{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



/* FORMULARIOS...................... */

.form-container {
    width: 100%;
   
}
input[type="radio"] {
    accent-color: var(--color-c2);
    /* Ajustamos el tamaño para que se vea mejor */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Barra de Progreso */
.progress-container {
    width: 100%;
    height: 35px;
    background-color: transparent;
    border: 1px solid var(--color-c2);
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    width: 33.3%; /* Inicio */
    height: 100%;
    background-color: var(--color-c2);
    transition: width 0.4s ease;
    display: flex;
    align-items: center;
    padding-left: 20px;
    color: white;
    font-size: 0.9rem;
}

/* Estructura de Pasos */
/* .step { display: none; }
.step.active { display: block; } */

.pregunta { 
    color: var(--color-c1);
  font-size: 1.2rem;
 font-weight: 300;
     margin-bottom: 15px; 
     font-family: 'DM Serif Display', serif; 
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

input[type="text"],input[type="number"], input[type="tel"]{
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-c2);
    border-radius: 12px;
    background: rgba(77, 117, 94, 0.05);
    outline: none;
}
input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-c2);
    border-radius: 12px;
    background: rgba(77, 117, 94, 0.05);
    outline: none;
}

/* Para Chrome, Safari, Edge y Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.full-width { width: 100%; box-sizing: border-box; }

.selectform{
     width: 100%;
    padding: 15px;
    border: 1px solid var(--color-c2);
    border-radius: 12px;
    background: rgba(77, 117, 94, 0.05);
    outline: none;
}

/* Radio buttons custom */
.radio-card {
    border: 1px solid var(--color-c2);
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Botones */
/* ... (resto del CSS anterior) ... */

.buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}



.btn-next {
    background-color: var(--color-c2);
    color: white;
     flex: 1;
    padding: 16px;
    border-radius: 50px; /* Estilo píldora de la captura */
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.btn-back {
    background-color: #000000; /* Negro como en tu imagen */
    color: white;
     flex: 1;
    padding: 16px;
    border-radius: 50px; /* Estilo píldora de la captura */
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}
.botonEnviar {
    background-color: var(--color-c2);
    color: white;
     flex: 1;
    padding: 16px;
    border-radius: 50px; /* Estilo píldora de la captura */
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.step { display: none; }
.step.active { display: block; }

.is-invalid {
    border: 2px solid red !important;
}


.checkbox-container {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}


.bloquesPreguntas{
    display: flex;
    flex-direction: column;
}


/* BLOQUE2................... */


.cardBloque2{
    width: 100%;
    background-color: #eeffa1;
    border-radius: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 30px;
}
.tituloBloque2{
    font-size: 3rem;
    color: var(--color-c1);
    font-family: 'DM Serif Display', serif;
}
.textoBloque2{
    font-size: 1.2rem;
    color: var(--color-c2);
    font-family: "Roboto", sans-serif;
   
}

.imagenBloque2{
    background-image: url('../images/img580/imagenBloque2_1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 350px;
  
}


@media (max-width: 1450px) {

       .titulo{
        font-size: 3.5rem;
    }
    #bloquePrincipal{
    margin-top: 10px;
}

}


@media (max-width: 1200px) {
#bloquePrincipal{
    margin-top: 0px;
}
    .titulo{
        font-size: 3rem;
    }
   .containerImagenPortada{
        height: 400px;
        background-position: center;
    }
 
    

}

@media (max-width: 990px) {
       .titulo{
        font-size: 2.5rem;
    }
 .containerImagenPortada{
        height: 350px;
    }
   
}


@media (max-width: 765px) {
        .titulo{
        font-size: 2.2rem;
    }
   #finalStep{
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   }
       .containerImagenPortada2{
          background-image: url('../images/img580/imagenPortada_xs1.webp');
          background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        height: 141px;
        margin-bottom: 20px;
    }


.pregunta{
font-size: 1rem;
}

/* bloque2 */
.cardBloque2{
    padding: 15px;
}
.imagenBloque2{
    height: 215px;
}
.tituloBloque2{
    font-size: 2rem;
}
.textoBloque2{
    font-size: 1rem;
}

}

@media (max-width: 340px) {
       .titulo{
        font-size: 2rem;
    }

    .pregunta{
font-size: 0.9rem;
}

}