/* --- Estilos del hero dividido en dos columnas --- */
.hero.contacto-hero-doscolumnas {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2.8em;
    max-width: 1000px;
    margin: 0 auto 0 auto;
    padding: 3em 0;
}
.hero-col {
    flex: 1 1 320px;
    min-width: 210px;
    max-width: 900px;
    box-sizing: border-box;
}

/* Columna de texto */
.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin:  auto;
}
.hero-text-col h1 {
    margin-top: 0;
    margin-bottom: 2.2em;
    font-size: 2.2rem;
    color: #111;
}
.hero-text-col p {
    color: #222;
    font-size: 1.13rem;
    margin-bottom: 0.85em;
    line-height: 1.55;
}

/* Columna del formulario (usa tus estilos previos) */
.contact-form {
    background: #DEDDD6;
    height: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.045);
    padding: 2.2em 2em 2.2em 2em;
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 0 auto;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
}
.form-group label {
    font-size: 1.02rem;
    font-weight: 500;
    color: #222;
    margin-bottom: 0.15em;
}
.contact-form input,
.contact-form textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.7em 1em;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    background: #f8f8f8;
    color: #222;
    transition: border 0.2s;
    resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid #111;
    outline: none;
}
.contact-form textarea {
    min-height: 80px;
    max-height: 230px;
}
.cta-section {
    margin-top: 0.3em;
    text-align: right;
}

/* --- Responsivo --- */
@media (max-width: 900px) {
    .hero.contacto-hero-doscolumnas {
        flex-direction: column;
        gap: 2em;
        max-width: 99vw;
        padding: 1em 1vw;
        align-items: stretch;
    }
    .hero-col {
        max-width: 100vw;
        min-width: unset;
    }
    .contact-form {
        max-width: 99vw;
        padding: 1.2em 0.7em 0.7em 0.7em;
    }
}

@media (max-width: 600px) {
    .hero.contacto-hero-doscolumnas {
        padding: 1em 0.5em;
        gap: 1.2em;
    }
    .hero-text-col h1 {
        font-size: 1.5rem;
    }
    .hero-text-col p {
        font-size: 1rem;
    }
    .contact-form {
        max-width: 100vw;
        padding: 1.2em 0.4em 0.7em 0.4em;
    }
}