﻿/* ================================================================
   ENCUESTA TURISMO — encuesta.css COMPLETO
   Incluye todo lo necesario (reemplaza vision.css también)
   ================================================================ */

/* ══════════════════════════════════════════════════════════════
   SECCIÓN WRAPPER
══════════════════════════════════════════════════════════════ */
.vision-wide-section {
    position: relative;
    background: #FAFCFC;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
}

/* Orbes de fondo */
.vision-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.orb-v1 {
    width: 400px;
    height: 400px;
    background: rgba(58, 152, 154, 0.15);
    top: -100px;
    left: -100px;
}

.orb-v2 {
    width: 300px;
    height: 300px;
    background: rgba(56, 161, 219, 0.1);
    bottom: -50px;
    right: 5%;
}

/* Contenedor centrado */
.vision-container {
    width: 90%;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   ENCABEZADO DE SECCIÓN — centrado como el resto del sitio
══════════════════════════════════════════════════════════════ */
.vision-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .vision-header .hero-title-massive {
        font-size: clamp(32px, 4.5vw, 50px);
        font-weight: 800;
        color: var(--brandDark, #244B5C);
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .vision-header .hero-description-large {
        max-width: 620px;
        margin: 0 auto 20px auto;
        font-size: 16px;
        line-height: 1.65;
        color: rgba(36, 75, 92, 0.7);
    }

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(36, 75, 92, 0.45);
}

/* pill-kicker — reutiliza el estilo del sitio */
.pill-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(58, 152, 154, 0.08);
    border: 1px solid rgba(58, 152, 154, 0.2);
    color: #2a7e7f;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   BENTO BOX PRINCIPAL
══════════════════════════════════════════════════════════════ */
.vision-bento-wide {
    background: #ffffff;
    border-radius: 28px;
    padding: 44px 48px;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.05);
    border-top: 5px solid #3A989A;
    border-bottom: 1px solid rgba(36, 75, 92, 0.05);
    border-left: 1px solid rgba(36, 75, 92, 0.05);
    border-right: 1px solid rgba(36, 75, 92, 0.05);
}

/* ══════════════════════════════════════════════════════════════
   ENCUESTA — CONTENEDOR INTERNO
══════════════════════════════════════════════════════════════ */
.encuesta-wrap {
    max-width: 520px;
    margin: 0 auto;
}

/* ── BADGE SEMANA ─────────────────────────────────────────── */
.enc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(58, 152, 154, 0.07);
    border: 1px solid rgba(58, 152, 154, 0.2);
    color: #2a7e7f;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.enc-semana-txt {
    color: #3A989A;
}

/* ── PREGUNTA ─────────────────────────────────────────────── */
.enc-pregunta {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    color: var(--brandDark, #244B5C);
    line-height: 1.3;
    margin-bottom: 5px;
}

.enc-sub {
    font-size: 13px;
    color: rgba(36, 75, 92, 0.4);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── OPCIONES ─────────────────────────────────────────────── */
.enc-opciones-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.enc-opcion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(36, 75, 92, 0.10);
    border-radius: 12px;
    background: rgba(36, 75, 92, 0.018);
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--brandDark, #244B5C);
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    width: 100%;
}

    .enc-opcion:hover {
        border-color: rgba(58, 152, 154, 0.45);
        background: rgba(58, 152, 154, 0.04);
        box-shadow: 0 2px 8px rgba(58, 152, 154, 0.08);
    }

    .enc-opcion.activo {
        border: 1.5px solid #3A989A;
        background: rgba(58, 152, 154, 0.06);
        box-shadow: 0 3px 10px rgba(58, 152, 154, 0.1);
    }

.enc-op-icon {
    font-size: 17px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.82;
}

.enc-op-texto {
    flex: 1;
    font-size: 14px;
    line-height: 1.3;
}

/* ── BOTÓN VOTAR ──────────────────────────────────────────── */
.enc-btn-votar {
    width: 100%;
    padding: 13px 20px;
    background: var(--brandDark, #244B5C);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.03em;
    transition: opacity 0.15s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .enc-btn-votar:disabled {
        opacity: 0.22;
        cursor: not-allowed;
    }

    .enc-btn-votar:hover:not(:disabled) {
        opacity: 0.84;
        transform: translateY(-1px);
    }

/* ── PANEL GRACIAS ────────────────────────────────────────── */
#encPanelGracias {
    text-align: center;
    padding: 8px 0 16px;
    flex-direction: column;
    align-items: center;
}

.enc-check-icon {
    color: #3A989A;
    margin-bottom: 10px;
}

    .enc-check-icon svg {
        width: 40px;
        height: 40px;
    }

.enc-gracias-titulo {
    font-size: 17px;
    font-weight: 700;
    color: var(--brandDark, #244B5C);
    margin-bottom: 4px;
}

.enc-gracias-sub {
    font-size: 13px;
    color: rgba(36, 75, 92, 0.48);
}

/* ── SEPARADOR ────────────────────────────────────────────── */
.enc-divider {
    border: none;
    border-top: 1px solid rgba(36, 75, 92, 0.07);
    margin: 18px 0;
}

/* ── RESULTADOS ───────────────────────────────────────────── */
.enc-res-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.enc-res-titulo {
    font-size: 11px;
    font-weight: 700;
    color: rgba(36, 75, 92, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.enc-vivo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.enc-vivo-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: encPulse 1.6s infinite;
}

@keyframes encPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.enc-res-fila {
    margin-bottom: 11px;
}

.enc-res-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    gap: 8px;
}

.enc-res-opcion {
    font-size: 13px;
    color: var(--brandDark, #244B5C);
    font-weight: 500;
}

.enc-res-pct {
    font-size: 13px;
    font-weight: 700;
    color: rgba(36,75,92,0.42);
    flex-shrink: 0;
    min-width: 34px;
    text-align: right;
}

    .enc-res-pct.pct-winner {
        color: var(--brandDark, #244B5C);
    }

.enc-barra-bg {
    height: 6px;
    background: rgba(36, 75, 92, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.enc-barra-fill {
    height: 100%;
    border-radius: 3px;
    background: rgba(58, 152, 154, 0.45);
    transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .enc-barra-fill.barra-winner {
        background: #3A989A;
    }

.enc-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.enc-total {
    font-size: 12px;
    color: rgba(36,75,92,0.32);
    font-weight: 600;
}

.enc-update-hint {
    font-size: 11px;
    color: rgba(36,75,92,0.22);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .vision-bento-wide {
        padding: 30px 24px;
        border-radius: 22px;
    }

    .vision-wide-section {
        padding: 70px 0;
    }
}

@media (max-width: 600px) {
    .vision-container {
        width: 95%;
    }

    .enc-opcion {
        padding: 11px 13px;
    }

    .enc-op-icon {
        font-size: 15px;
        width: 20px;
    }

    .enc-pregunta {
        font-size: 16px;
    }

    .vision-bento-wide {
        padding: 24px 18px;
    }
}

/* ── PROGRESS DOTS (sección) ─────────────────────────────────── */
.enc-progress-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.enc-prog-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(36,75,92,0.15);
    transition: background 0.2s, transform 0.2s;
}

    .enc-prog-dot.done {
        background: #3A989A;
    }

    .enc-prog-dot.active {
        background: #244B5C;
        transform: scale(1.3);
    }

.enc-prog-txt {
    font-size: 11px;
    color: rgba(36,75,92,0.4);
    font-weight: 600;
    margin-left: 4px;
}

/* ── HEADER RESULTADOS ───────────────────────────────────────── */
.enc-res-pregunta-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(36,75,92,0.4);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 3px;
}

.enc-res-pregunta-txt {
    font-size: 15px;
    font-weight: 700;
    color: #244B5C;
    margin-bottom: 14px;
    line-height: 1.3;
}

/* ── BOTÓN SIGUIENTE ─────────────────────────────────────────── */
.enc-btn-siguiente {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #244B5C;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .15s;
    margin-bottom: 16px;
}

    .enc-btn-siguiente:hover {
        opacity: .85;
    }

.enc-todas-ok {
    font-size: 13px;
    color: #3A989A;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ── NAV ENTRE RESULTADOS ────────────────────────────────────── */
.enc-nav-res {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(36,75,92,0.07);
    flex-wrap: wrap;
}

.enc-nav-res-label {
    font-size: 12px;
    color: rgba(36,75,92,0.4);
    font-weight: 600;
    margin-right: 2px;
}

.enc-nav-res-btn {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(36,75,92,0.15);
    background: transparent;
    color: rgba(36,75,92,0.5);
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}

    .enc-nav-res-btn:hover {
        border-color: #3A989A;
        color: #244B5C;
    }

    .enc-nav-res-btn.activo {
        background: #244B5C;
        color: #fff;
        border-color: #244B5C;
    }

/* ── ACCIONES BAJO RESULTADOS ────────────────────────────────── */
.enc-acciones-wrap {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(36,75,92,0.07);
    text-align: center;
}

.enc-siguiente-promo {
    font-size: 13px;
    color: rgba(36,75,92,0.5);
    margin-bottom: 10px;
}

    .enc-siguiente-promo .enc-siguiente-num {
        font-weight: 800;
        color: #3A989A;
        font-size: 16px;
    }

.enc-btn-siguiente {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #244B5C;
    border: none;
    padding: 11px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .15s;
}

    .enc-btn-siguiente:hover {
        opacity: .85;
    }

.enc-todas-ok {
    font-size: 13px;
    color: #3A989A;
    font-weight: 600;
    padding: 10px 0;
}

/* ── 6 OPCIONES: más compactas ───────────────────────────────── */
.enc-opciones-grid:has(.enc-opcion:nth-child(5)) .enc-opcion,
.enc-opciones-grid:has(.enc-opcion:nth-child(6)) .enc-opcion {
    padding: 9px 14px;
    font-size: 13px;
}

.enc-opciones-grid:has(.enc-opcion:nth-child(5)) .enc-op-icon,
.enc-opciones-grid:has(.enc-opcion:nth-child(6)) .enc-op-icon {
    font-size: 15px;
    width: 20px;
}

.enc-opciones-grid:has(.enc-opcion:nth-child(5)),
.enc-opciones-grid:has(.enc-opcion:nth-child(6)) {
    gap: 6px;
}
