/* EA Connect — variables del design system del theme con fallbacks neutros */
.eac-form {
    background: #fff;
    border: 1px solid var(--ink-10, #e5e7eb);
    border-radius: var(--r-lg, 24px);
    padding: 1.5rem;
    box-shadow: var(--shadow-card, 0 24px 60px -30px rgba(51, 57, 71, 0.35));
    margin-top: 2.5rem;
}
@media (min-width: 768px) {
    .eac-form { padding: 2.5rem; }
}
.eac-grid {
    display: grid;
    gap: 1.1rem;
}
@media (min-width: 640px) {
    .eac-grid { grid-template-columns: 1fr 1fr; }
}
.eac-field { margin: 0; display: grid; gap: 0.4rem; align-content: start; }
.eac-field--full { grid-column: 1 / -1; }
.eac-field > label,
.eac-field legend { font-weight: 600; font-size: 0.875rem; }
.eac-field label em { color: var(--accent, #e59501); font-style: normal; }
.eac-hint { font-weight: 400; font-size: 0.75rem; color: var(--ink-45, #8b91a0); }
.eac-field input[type="text"],
.eac-field input[type="email"],
.eac-field input[type="tel"],
.eac-field input[type="url"],
.eac-field input[type="number"],
.eac-field select,
.eac-field textarea {
    width: 100%;
    border: 1px solid var(--ink-15, #d4d7de);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font: inherit;
    color: var(--ink, #333947);
    background: #fff;
}
.eac-field input:disabled,
.eac-field input[disabled] {
    background: var(--ink-04, #f4f5f7);
    color: var(--ink-45, #8b91a0);
    cursor: not-allowed;
}
.eac-field input:focus,
.eac-field select:focus,
.eac-field textarea:focus {
    outline: 2px solid var(--brand, #03c5b0);
    outline-offset: 1px;
    border-color: transparent;
}
.eac-field select[multiple] { padding: 0.5rem; }
.eac-radio, .eac-checks { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.9rem; }
.eac-radio label, .eac-checks label { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 400; }
.eac-field--locked input { cursor: not-allowed; }
.eac-locked-note { font-size: 0.72rem; color: var(--ink-45, #8b91a0); }
.eac-field--check { grid-column: 1 / -1; }
.eac-field--check label { font-weight: 400; font-size: 0.8rem; color: var(--ink-60, #6b7180); display: flex; gap: 0.6rem; }
.eac-field--check input { width: auto; margin-top: 0.25em; }
.eac-actions { margin-top: 1.75rem; }
.eac-submit {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--ink, #333947); color: #fff; border: 0; border-radius: 999px;
    padding: 1rem 2rem; font-weight: 600; font-size: 0.875rem; cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.eac-submit:hover { background: var(--brand, #03c5b0); color: var(--ink, #333947); }
.eac-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.eac-submit:focus-visible,
.eac-field input:focus-visible,
.eac-field select:focus-visible,
.eac-field textarea:focus-visible {
    outline: 3px solid var(--brand, #03c5b0);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .eac-submit { transition: none; }
}
.eac-errors {
    margin-top: 1.5rem; border: 1px solid #d63638; border-left-width: 4px;
    border-radius: var(--r-sm, 12px); padding: 1rem 1.25rem; font-size: 0.875rem;
}
.eac-errors ul { margin: 0.35rem 0 0 1.1rem; list-style: disc; }
.eac-success {
    margin-top: 2.5rem; background: var(--brand-10, rgba(3, 197, 176, 0.12));
    border: 1px solid var(--brand, #03c5b0);
    border-radius: var(--r-md, 16px); padding: 2rem; text-align: center;
}
.eac-success h2 { font-family: var(--font-display, Georgia, serif); font-size: 1.5rem; }
.eac-success p { margin-top: 0.5rem; color: var(--ink-70, #565c68); }
.eac-notice {
    margin-top: 1.5rem; border: 1px solid var(--ink-15, #d4d7de);
    border-left: 4px solid var(--accent, #e59501);
    border-radius: var(--r-sm, 12px); padding: 1rem 1.25rem; font-size: 0.875rem;
}
.eac-notice a { font-weight: 600; }
/* Honeypot: patrón screen-reader-text de core (invisible también a AT) */
.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.cf-turnstile { margin-top: 1.25rem; }
