/* =====================================================================
   VOTACION.CSS - Estilos para la página de Votaciones Comunitarias
   Ubicación: wwwroot/css/votacion.css
   
   Paleta: Indigo (#6366F1 primary) / Violet (#7C3AED accent)
   Breakpoints: 1024px, 768px, 480px
   ===================================================================== */

/* ── CSS Variables ─────────────────────────────────────────────────── */
:root {
    --vot-primary: #6366F1;
    --vot-primary-dark: #4F46E5;
    --vot-primary-light: #A5B4FC;
    --vot-primary-bg: #EEF2FF;
    --vot-violet: #7C3AED;
    --vot-violet-light: #C4B5FD;
    --vot-emerald: #10B981;
    --vot-emerald-bg: #D1FAE5;
    --vot-amber: #F59E0B;
    --vot-amber-bg: #FEF3C7;
    --vot-rose: #F43F5E;
    --vot-rose-bg: #FFE4E6;
    --vot-sky: #0EA5E9;
    --vot-sky-bg: #E0F2FE;
    --vot-gray-50: #F9FAFB;
    --vot-gray-100: #F3F4F6;
    --vot-gray-200: #E5E7EB;
    --vot-gray-300: #D1D5DB;
    --vot-gray-500: #6B7280;
    --vot-gray-700: #374151;
    --vot-gray-800: #1F2937;
    --vot-gray-900: #111827;
    --vot-white: #FFFFFF;
    --vot-shadow-sm: 0 1px 3px rgba(99, 102, 241, 0.08);
    --vot-shadow: 0 4px 16px rgba(99, 102, 241, 0.10);
    --vot-shadow-lg: 0 12px 40px rgba(99, 102, 241, 0.15);
    --vot-shadow-xl: 0 20px 60px rgba(99, 102, 241, 0.18);
    --vot-radius: 12px;
    --vot-radius-lg: 20px;
    --vot-radius-xl: 28px;
    --vot-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Utilidades ────────────────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.text-success { color: var(--vot-emerald); }

/* ── Breadcrumb ────────────────────────────────────────────────────── */
.breadcrumb-nav {
    padding-top: calc(1.8rem + 90px);
    background: var(--vot-gray-50);
    border-bottom: 1px solid var(--vot-gray-200);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.breadcrumb-list li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb-list li:not(:last-child)::after { content: '›'; color: var(--vot-gray-300); font-weight: 600; }
.breadcrumb-list a { color: var(--vot-primary); text-decoration: none; transition: color var(--vot-transition); }
.breadcrumb-list a:hover { color: var(--vot-primary-dark); }
.breadcrumb-list li:last-child span { color: var(--vot-gray-500); font-weight: 500; }

/* ══════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */
.votacion-hero {
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 40%, #DDD6FE 100%);
    position: relative;
    overflow: hidden;
}

.votacion-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.votacion-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.votacion-hero > .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.votacion-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.12);
    color: var(--vot-primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    animation: fadeInDown 0.6s ease;
}

.votacion-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--vot-gray-900);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.7s ease;
}

.votacion-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--vot-gray-500);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
    animation: fadeInUp 0.8s ease;
}

.votacion-hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease;
}

/* ── Hero Stats ──────────────────────────────────────────────────── */
.votacion-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease;
}

.votacion-hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.votacion-hero-stats .stat-item i {
    font-size: 1.4rem;
    color: var(--vot-primary);
    width: 44px;
    height: 44px;
    background: var(--vot-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--vot-shadow-sm);
}

.votacion-hero-stats .stat-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--vot-gray-900);
    line-height: 1.2;
}

.votacion-hero-stats .stat-item span {
    font-size: 0.8rem;
    color: var(--vot-gray-500);
}

/* ── Hero Visual ─────────────────────────────────────────────────── */
.votacion-hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.9s ease;
}

.votacion-hero-image-container {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.votacion-hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--vot-radius-lg);
    box-shadow: var(--vot-shadow-xl);
    object-fit: cover;
}

/* ── Floating Cards ──────────────────────────────────────────────── */
.floating-card {
    position: absolute;
    background: var(--vot-white);
    border-radius: var(--vot-radius);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--vot-shadow-lg);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.floating-card .card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.floating-card .card-content strong {
    display: block;
    font-size: 0.78rem;
    color: var(--vot-gray-700);
    line-height: 1.3;
}

.floating-card .card-content span {
    font-size: 0.85rem;
    font-weight: 700;
}

.card-participacion {
    top: 15%;
    right: -10%;
    animation-delay: 0s;
}

.card-participacion .card-icon {
    background: var(--vot-primary-bg);
    color: var(--vot-primary);
}

.card-participacion .card-content span { color: var(--vot-primary); }

.card-aprobado {
    bottom: 15%;
    left: -8%;
    animation-delay: 1.5s;
}

.card-aprobado .card-icon {
    background: var(--vot-emerald-bg);
    color: var(--vot-emerald);
}

.card-aprobado .card-content span { color: var(--vot-emerald); }

/* ── Botones ─────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--vot-transition);
    white-space: nowrap;
}

.btn-lg { padding: 0.8rem 1.8rem; font-size: 0.95rem; }

.btn-primary {
    background: var(--vot-primary);
    color: var(--vot-white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
    background: var(--vot-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background: var(--vot-white);
    color: var(--vot-primary);
    border: 2px solid var(--vot-primary-light);
}
.btn-secondary:hover {
    background: var(--vot-primary-bg);
    border-color: var(--vot-primary);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--vot-white);
    color: var(--vot-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    color: var(--vot-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ── Section Header ──────────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--vot-gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    color: var(--vot-gray-500);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════════════════ */
.votacion-features {
    padding: 5rem 0;
    background: var(--vot-white);
}

.votacion-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.votacion-feature-card {
    background: var(--vot-white);
    border: 1px solid var(--vot-gray-200);
    border-radius: var(--vot-radius-lg);
    padding: 2rem;
    transition: all var(--vot-transition);
    position: relative;
    overflow: hidden;
}

.votacion-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--vot-primary);
    transform: scaleX(0);
    transition: transform var(--vot-transition);
}

.votacion-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vot-shadow-lg);
    border-color: transparent;
}

.votacion-feature-card:hover::before { transform: scaleX(1); }

.votacion-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.icon-indigo  { background: var(--vot-primary-bg); color: var(--vot-primary); }
.icon-violet  { background: #F3E8FF; color: var(--vot-violet); }
.icon-emerald { background: var(--vot-emerald-bg); color: var(--vot-emerald); }
.icon-amber   { background: var(--vot-amber-bg); color: var(--vot-amber); }
.icon-sky     { background: var(--vot-sky-bg); color: var(--vot-sky); }
.icon-rose    { background: var(--vot-rose-bg); color: var(--vot-rose); }

.votacion-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vot-gray-800);
    margin-bottom: 0.6rem;
}

.votacion-feature-card p {
    font-size: 0.9rem;
    color: var(--vot-gray-500);
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   DEMO VOTACIÓN
   ══════════════════════════════════════════════════════════════════════ */
.votacion-demo {
    padding: 5rem 0;
    background: var(--vot-gray-50);
}

.demo-votacion-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    max-width: 950px;
    margin: 0 auto;
}

/* ── Tarjeta de votación ─────────────────────────────────────────── */
.demo-votacion-card {
    background: var(--vot-white);
    border-radius: var(--vot-radius-lg);
    padding: 2rem;
    box-shadow: var(--vot-shadow);
    border: 1px solid var(--vot-gray-200);
}

.demo-votacion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.demo-votacion-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--vot-emerald-bg);
    color: var(--vot-emerald);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.demo-votacion-status i { font-size: 0.55rem; animation: pulse 2s infinite; }

.demo-votacion-type {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--vot-primary-bg);
    color: var(--vot-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.demo-votacion-titulo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--vot-gray-900);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.demo-votacion-desc {
    font-size: 0.88rem;
    color: var(--vot-gray-500);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.demo-votacion-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.demo-votacion-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.83rem;
    color: var(--vot-gray-500);
}

.demo-votacion-meta .meta-item i {
    color: var(--vot-primary);
    width: 20px;
}

/* ── Opciones de voto ────────────────────────────────────────────── */
.demo-votacion-opciones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.voto-opcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    border: 2px solid var(--vot-gray-200);
    border-radius: var(--vot-radius);
    background: var(--vot-white);
    cursor: pointer;
    transition: all var(--vot-transition);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--vot-gray-500);
}

.voto-opcion i { font-size: 1.3rem; transition: transform var(--vot-transition); }
.voto-opcion:hover { border-color: var(--vot-gray-300); }
.voto-opcion:hover i { transform: scale(1.15); }

.voto-opcion.selected { transform: scale(1.03); }

.voto-favor.selected {
    border-color: var(--vot-emerald);
    background: var(--vot-emerald-bg);
    color: var(--vot-emerald);
}

.voto-contra.selected {
    border-color: var(--vot-rose);
    background: var(--vot-rose-bg);
    color: var(--vot-rose);
}

.voto-abstencion.selected {
    border-color: var(--vot-amber);
    background: var(--vot-amber-bg);
    color: var(--vot-amber);
}

.demo-votar-btn { width: 100%; justify-content: center; }
.demo-votar-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Resultados ──────────────────────────────────────────────────── */
.demo-resultados-card {
    background: var(--vot-white);
    border-radius: var(--vot-radius-lg);
    padding: 2rem;
    box-shadow: var(--vot-shadow);
    border: 1px solid var(--vot-gray-200);
    display: flex;
    flex-direction: column;
}

.demo-resultados-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vot-gray-800);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-resultados-card h4 i { color: var(--vot-primary); }

.resultado-barra { margin-bottom: 1rem; }

.resultado-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
}

.resultado-label span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--vot-gray-500);
}

.resultado-label strong {
    color: var(--vot-gray-800);
    font-size: 0.9rem;
}

.barra-container {
    width: 100%;
    height: 10px;
    background: var(--vot-gray-100);
    border-radius: 20px;
    overflow: hidden;
}

.barra-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.barra-favor     { background: linear-gradient(90deg, #34D399, var(--vot-emerald)); }
.barra-contra    { background: linear-gradient(90deg, #FB7185, var(--vot-rose)); }
.barra-abstencion { background: linear-gradient(90deg, #FCD34D, var(--vot-amber)); }
.barra-pendiente { background: linear-gradient(90deg, var(--vot-gray-200), var(--vot-gray-300)); }

/* ── Quórum Ring ─────────────────────────────────────────────────── */
.quorum-visual {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--vot-gray-100);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.quorum-ring {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.quorum-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.quorum-bg {
    fill: none;
    stroke: var(--vot-gray-100);
    stroke-width: 8;
}

.quorum-fill {
    fill: none;
    stroke: var(--vot-primary);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.quorum-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.quorum-text strong {
    display: block;
    font-size: 1.15rem;
    color: var(--vot-primary);
    line-height: 1;
}

.quorum-text span {
    font-size: 0.6rem;
    color: var(--vot-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quorum-info {
    font-size: 0.88rem;
    color: var(--vot-gray-500);
    margin: 0;
}

.quorum-info strong { color: var(--vot-primary); font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════════════════════
   CASOS DE USO
   ══════════════════════════════════════════════════════════════════════ */
.votacion-casos {
    padding: 5rem 0;
    background: var(--vot-white);
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.caso-card {
    background: var(--vot-gray-50);
    border: 1px solid var(--vot-gray-200);
    border-radius: var(--vot-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--vot-transition);
}

.caso-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vot-shadow-lg);
    border-color: var(--vot-primary-light);
}

.caso-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--vot-primary), var(--vot-violet));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--vot-white);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.caso-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vot-gray-800);
    margin-bottom: 0.6rem;
}

.caso-card p {
    font-size: 0.85rem;
    color: var(--vot-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   SEGURIDAD Y TRANSPARENCIA
   ══════════════════════════════════════════════════════════════════════ */
.votacion-seguridad {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--vot-gray-900) 0%, #1E1B4B 100%);
}

.votacion-seguridad .section-title { color: var(--vot-white); }

.seguridad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.seguridad-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--vot-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--vot-transition);
}

.seguridad-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(165, 180, 252, 0.3);
}

.seguridad-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.2rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--vot-primary-light);
}

.seguridad-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vot-white);
    margin-bottom: 0.6rem;
}

.seguridad-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════════════ */
.votacion-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--vot-primary) 0%, var(--vot-violet) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.votacion-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.votacion-cta-content { position: relative; z-index: 1; }

.votacion-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--vot-white);
    margin-bottom: 1rem;
}

.votacion-cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.votacion-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════════════ */
.votacion-faq {
    padding: 5rem 0;
    background: var(--vot-gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 3rem;
    align-items: flex-start;
}

.faq-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--vot-gray-900);
    margin-bottom: 0.75rem;
}

.faq-content p {
    color: var(--vot-gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
    background: var(--vot-white);
    border: 1px solid var(--vot-gray-200);
    border-radius: var(--vot-radius);
    overflow: hidden;
    transition: all var(--vot-transition);
}

.faq-item:hover { border-color: var(--vot-primary-light); }
.faq-item.active { border-color: var(--vot-primary); box-shadow: var(--vot-shadow); }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    gap: 1rem;
}

.faq-question h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--vot-gray-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-question h3 i {
    color: var(--vot-primary);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.faq-toggle {
    color: var(--vot-gray-300);
    transition: transform var(--vot-transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle { transform: rotate(180deg); color: var(--vot-primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.3rem 1.1rem 3rem;
    font-size: 0.88rem;
    color: var(--vot-gray-500);
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   ANIMACIONES
   ══════════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE - TABLET (≤1024px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .votacion-hero > .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .votacion-hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .votacion-hero-buttons { justify-content: center; }
    .votacion-hero-stats { justify-content: center; }
    .votacion-hero-visual { order: -1; margin-bottom: 1rem; }
    .votacion-hero-image-container { max-width: 400px; }

    .card-participacion { right: -5%; top: 10%; }
    .card-aprobado { left: -5%; bottom: 10%; }

    .votacion-features-grid { grid-template-columns: repeat(2, 1fr); }

    .demo-votacion-container { grid-template-columns: 1fr; max-width: 550px; }

    .casos-grid { grid-template-columns: repeat(2, 1fr); }
    .seguridad-grid { grid-template-columns: repeat(3, 1fr); }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-content { text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE (≤768px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .votacion-hero { padding: 3rem 0 4rem; }

    .votacion-hero-title { font-size: 1.8rem; }

    .votacion-hero-stats { gap: 1rem; }
    .votacion-hero-stats .stat-item i { width: 36px; height: 36px; font-size: 1.1rem; }
    .votacion-hero-stats .stat-item strong { font-size: 1rem; }

    .floating-card { display: none; }

    .votacion-features,
    .votacion-demo,
    .votacion-casos,
    .votacion-seguridad,
    .votacion-cta,
    .votacion-faq {
        padding: 3.5rem 0;
    }

    .votacion-features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .votacion-feature-card { padding: 1.5rem; }

    .demo-votacion-opciones { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .voto-opcion { padding: 0.8rem 0.3rem; font-size: 0.75rem; }
    .voto-opcion i { font-size: 1.1rem; }

    .casos-grid { grid-template-columns: 1fr; gap: 1rem; }
    .caso-card { text-align: left; display: grid; grid-template-columns: 60px 1fr; gap: 1rem; align-items: start; padding: 1.5rem; }
    .caso-icon { margin: 0; width: 50px; height: 50px; font-size: 1.1rem; }

    .seguridad-grid { grid-template-columns: 1fr; gap: 1rem; }
    .seguridad-card { 
        text-align: left; 
        display: flex; 
        gap: 1rem; 
        align-items: flex-start;
        padding: 1.5rem;
    }
    .seguridad-icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }

    .quorum-visual { flex-direction: column; align-items: center; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE - SMALL MOBILE (≤480px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .breadcrumb-list { font-size: 0.78rem; }

    .votacion-hero { padding: 2rem 0 3rem; }
    .votacion-hero-title { font-size: 1.5rem; }
    .votacion-hero-subtitle { font-size: 0.9rem; }
    .votacion-hero-buttons { flex-direction: column; }
    .votacion-hero-buttons .btn { width: 100%; justify-content: center; }

    .votacion-hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .section-title { font-size: 1.4rem; }

    .demo-votacion-card,
    .demo-resultados-card {
        padding: 1.3rem;
    }

    .demo-votacion-meta { flex-direction: column; gap: 0.5rem; }
    .demo-votacion-opciones { grid-template-columns: 1fr; }

    .votacion-cta h2 { font-size: 1.3rem; }
    .votacion-cta p { font-size: 0.9rem; }
    .votacion-cta-buttons { flex-direction: column; align-items: center; }
    .votacion-cta-buttons .btn { width: 100%; justify-content: center; max-width: 300px; }

    .faq-question { padding: 0.9rem 1rem; }
    .faq-question h3 { font-size: 0.85rem; }
    .faq-answer p { padding: 0 1rem 1rem 2.5rem; font-size: 0.83rem; }
}

/* ══════════════════════════════════════════════════════════════════════
   PREFERS REDUCED MOTION
   ══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .votacion-hero-badge,
    .votacion-hero-title,
    .votacion-hero-subtitle,
    .votacion-hero-buttons,
    .votacion-hero-stats,
    .votacion-hero-visual {
        animation: none !important;
    }

    .votacion-feature-card,
    .caso-card,
    .seguridad-card,
    .btn {
        transition: none !important;
    }

    .barra-fill { transition: none !important; }
}
