/* --- Estilo del formulario --- */
.contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 30px auto;
    margin-bottom: 0px;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--negro-texto);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: bold;
    color: var(--negro-texto);
    margin-bottom: 5px;
    font-size: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1.8rem;
}

.contact-form textarea {
    max-width: 100%;
    min-width: 100%;
    height: 200px;
    max-height: 200px;
    min-height: 200px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--amarillo-general);
    outline: none;
    box-shadow: 0 0 8px rgba(212,175,55,0.3);
}

.contact-form button {
    background: var(--amarillo-general);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: var(--amarillo-hover);
}

/* Mensajes */
.mensaje-exito {
    text-align: center;
    color: green;
    font-weight: bold;
    margin-bottom: 15px;
}

.mensaje-error {
    text-align: center;
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
}

@media (max-width: 768px) {

    .contact-form h2 {
        font-size: 2rem;
    }
    
    .contact-form label, .contact-form button {
        font-size: 1.8rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 1.5rem;
    }

}

@media (max-width: 576px) {

    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .contact-form label, .contact-form button {
        font-size: 1.6rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 1.4rem;
    }

}