/* ============================================================
   Contacto — estilos propios de esta vista.
   (El header/footer/tema general vive en assets/css/main.css)
   Sin var() por el mismo motivo que main.css: compatibilidad
   con el validador CSS de NetBeans 8.2.
   ============================================================ */

.cont-layout {
    max-width: 620px;
    margin: 0 auto;
}

.cont-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── AVISOS (resultado del envío) ───────────────────────── */
.cont-aviso {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.92rem;
    line-height: 1.45;
    border: 1px solid rgba(15, 23, 42, 0.10);
}
.cont-aviso-ok {
    background: #eaf6f0;
    border-color: rgba(47, 145, 96, 0.35);
    color: #2f9160;
}
.cont-aviso-error {
    background: #fbeceb;
    border-color: rgba(194, 54, 54, 0.35);
    color: #c23636;
}

/* ── FORMULARIO ─────────────────────────────────────────── */
.cont-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cont-field label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5b6472;
    margin-bottom: 6px;
}

.cont-field input[type="text"],
.cont-field input[type="email"],
.cont-field textarea {
    width: 100%;
    background: #eef2f7;
    color: #1b2433;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.92rem;
    font-family: 'Source Sans 3', sans-serif;
    outline: none;
    transition: border-color .2s;
}

.cont-field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.5;
}

.cont-field input[type="text"]:focus,
.cont-field input[type="email"]:focus,
.cont-field textarea:focus { border-color: #e8a020; }

.cont-field input::placeholder,
.cont-field textarea::placeholder { color: #9aa3b0; }

.cont-ayuda {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #5b6472;
}

/* ── CAPTCHA ────────────────────────────────────────────── */
.cont-captcha {
    display: flex;
    justify-content: center;
}

/* El widget de Google mide 304px fijos: en móvil se escala para
   que no desborde la tarjeta y saque scroll horizontal. */
@media (max-width: 360px) {
    .cont-captcha .g-recaptcha {
        transform: scale(0.87);
        transform-origin: center;
    }
}

/* ── BOTÓN ──────────────────────────────────────────────── */
.cont-acciones {
    display: flex;
    justify-content: flex-end;
}

.cont-btn {
    background: #e8a020;
    color: #1b2433;
    border: none;
    border-radius: 8px;
    padding: 11px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    cursor: pointer;
    transition: filter .2s;
}
.cont-btn:hover { filter: brightness(1.06); }
.cont-btn:disabled {
    background: #cbd3dd;
    color: #5b6472;
    cursor: not-allowed;
}

.cont-privacidad {
    margin: 0;
    font-size: 0.78rem;
    color: #5b6472;
    line-height: 1.5;
}
