/* Kimelfe – Página de contacto */

body.contact {
    background: #f4f7fa;
}

body.contact #wrapper-content.container {
    width: 100%;
    max-width: none;
    padding: 2rem 1rem 3rem;
}

.kimelfe-contact-page {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.kimelfe-contact-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.kimelfe-contact-header h1 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #13294b;
    letter-spacing: -0.02em;
}

.kimelfe-contact-header p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #475569;
}

.kimelfe-contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(19, 41, 75, 0.08);
    padding: 1.75rem 1.75rem 1.5rem;
}

.kimelfe-contact-card .feedbackForm,
.kimelfe-contact-card .kimelfe-contact-message {
    background: transparent;
    padding: 0;
    margin: 0;
}

.kimelfe-contact-card .feedbackForm > h2 {
    display: none;
}

.kimelfe-contact-card .feedbackForm > p:first-of-type {
    display: none;
}

.kimelfe-contact-card form.customForm label,
.kimelfe-contact-card form.customForm .realpersonLabel {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.kimelfe-contact-card form.customForm input[type="text"],
.kimelfe-contact-card form.customForm textarea {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 1.1rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kimelfe-contact-card form.customForm input[type="text"]:focus,
.kimelfe-contact-card form.customForm textarea:focus {
    outline: none;
    border-color: #167093;
    box-shadow: 0 0 0 3px rgba(22, 112, 147, 0.15);
}

.kimelfe-contact-card form.customForm textarea {
    min-height: 160px;
    resize: vertical;
}

.kimelfe-contact-card form.customForm .requiredHint {
    color: #dc2626;
    font-weight: 600;
}

.kimelfe-contact-card form.customForm .buttons {
    margin-top: 0.5rem;
}

.kimelfe-contact-card form.customForm #submit {
    display: inline-block;
    min-width: 160px;
    margin: 0;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #167093 0%, #0055b7 100%);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kimelfe-contact-card form.customForm #submit:hover,
.kimelfe-contact-card form.customForm #submit:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 85, 183, 0.25);
}

.kimelfe-contact-card form.customForm > p.requiredHint:last-child {
    margin: 0.85rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.kimelfe-contact-card #error-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.kimelfe-contact-card #error-alert p {
    margin: 0;
    color: #991b1b;
}

.kimelfe-contact-captcha {
    margin: 0.25rem 0 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.kimelfe-contact-captcha .realperson-challenge {
    margin-bottom: 0.65rem;
}

.kimelfe-contact-back {
    margin: 1.25rem 0 0;
    text-align: center;
}

.kimelfe-contact-back a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #167093;
    text-decoration: none;
}

.kimelfe-contact-back a:hover,
.kimelfe-contact-back a:focus {
    text-decoration: underline;
}

.kimelfe-contact-message h2 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #13294b;
}

.kimelfe-contact-message p {
    margin: 0 0 0.75rem;
    line-height: 1.55;
    color: #475569;
}

.kimelfe-contact-message a {
    color: #167093;
    font-weight: 600;
}

@media (max-width: 767px) {
    body.contact #wrapper-content.container {
        padding: 1.25rem 0.75rem 2rem;
    }

    .kimelfe-contact-card {
        padding: 1.25rem 1rem 1rem;
    }

    .kimelfe-contact-header h1 {
        font-size: 1.45rem;
    }
}
