/* ══════════════════════════════════════════════════
   encuesta-popup.css
══════════════════════════════════════════════════ */

.enc-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(1, 30, 49, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s;
}
.enc-overlay[hidden] { display: none; }
.enc-overlay.enc-visible { opacity: 1; }

.enc-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(1, 30, 49, 0.35);
    transform: translateY(16px);
    transition: transform 0.25s;
}
.enc-overlay.enc-visible .enc-modal { transform: translateY(0); }

.enc-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: rgba(1, 30, 49, 0.6);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}
.enc-close:hover { color: #011e31; }

.enc-header {
    background: #fbd521;
    border-bottom: 3px solid #011e31;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.enc-icon { font-size: 34px; line-height: 1; }
.enc-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(1, 30, 49, 0.65);
    margin-bottom: 4px;
}

.enc-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #011e31;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0;
}


.enc-body { padding: 24px 28px 28px; }
.enc-body p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 22px;
}

.enc-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.enc-btn {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}
.enc-btn-primary {
    background: #011e31;
    color: #fbd521;
    padding: 11px 22px;
    border: 1.5px solid transparent;
}

.enc-btn-primary:hover { background: #022f4d; }
.enc-btn-ghost {
    background: transparent;
    border: none;
    color: rgba(1, 30, 49, 0.5);
    padding: 11px 6px;
}
.enc-btn-ghost:hover { color: #011e31; }

@media (max-width: 480px) {
    .enc-header { padding: 20px 22px; }
    .enc-body   { padding: 20px 22px 24px; }
    .enc-title  { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .enc-overlay, .enc-modal { transition: none; }
}