/* Vota Informado — landing. Marca «Urna»: azul institucional, rojo y blanco. */
:root {
  --navy-deep: #071A45;
  --brand: #0B2E73;
  --brand-raised: #1F428A;
  --red: #D62839;
  --red-logo: #E5383B;
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --tint: #EAF0F8;
  --ink: #0B1B3A;
  --ink2: #33415C;
  --muted: #4A5568;
  --on-brand-soft: #D3DDF0;
  --on-brand-muted: #AFC0E0;
  --line: #D5DCE7;
  --favor: #4F86FF;
  --contra: #FF7A3D;
  --abst: #A0A9BA;
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy-deep); font-family: var(--font-body); color: #fff; overflow-x: hidden; }
img, svg { display: block; }
a { color: #7FA8FF; }
a:hover { color: #fff; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #7FA8FF; outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.05em; line-height: .95; margin: 0; text-wrap: balance; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0; }
.wordmark { font-family: var(--font-display); letter-spacing: -0.035em; }
.wordmark b { font-weight: 800; }
.wordmark span { font-weight: 500; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 26px; border: 0; border-radius: 29px; text-decoration: none; font-size: 16px; font-weight: 800; }
.btn--red { background: var(--red-logo); color: #fff; box-shadow: 0 12px 40px rgba(229,56,59,.45); }
.btn--red:hover { color: #fff; background: #cf2a2d; }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { color: var(--brand); }
.btn--navy { background: var(--brand); color: #fff; }
.btn--navy:hover { color: #fff; background: #0a2861; }
.btn--ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,.14); }
.btn__play { width: 32px; height: 32px; border-radius: 16px; background: #fff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }

/* Nav */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 22px; }
.brand:hover { color: #fff; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 4px; }
.nav__links a { color: var(--on-brand-soft); text-decoration: none; font-size: 14px; font-weight: 600; padding: 11px 16px; border-radius: 999px; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__links .nav__cta { height: 44px; padding: 0 20px; background: #fff; color: var(--brand); font-weight: 800; display: inline-flex; align-items: center; }
.nav__links .nav__cta:hover { background: #fff; color: var(--brand); }

/* Hero */
.hero { padding: 32px 0 0; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--on-brand-soft); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); border-radius: 999px; padding: 8px 16px 8px 12px; }
.live__dot { position: relative; width: 10px; height: 10px; }
.live__dot::before, .live__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red-logo); }
.live__dot::before { animation: pulse 1.6s ease-in-out infinite; }
.hero h1 { max-width: 1040px; font-size: clamp(48px, 8.6vw, 128px); line-height: .9; letter-spacing: -0.055em; }
.hero h1 em { font-style: normal; color: var(--red-logo); }
.hero__lead { margin: 0; max-width: 680px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; color: #C9D6EE; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__chart { max-width: 980px; margin: 56px auto 0; padding: 0 24px; }

/* Hemiciclo */
.hemi { position: relative; width: 100%; aspect-ratio: 2 / 1.02; }
.hemi__dot { position: absolute; width: 2.1%; aspect-ratio: 1; border-radius: 50%; animation: pop .45s cubic-bezier(.2,.9,.3,1.3) both; }
.hemi__dot--f { background: var(--favor); }
.hemi__dot--c { background: var(--contra); }
.hemi__dot--a { background: var(--abst); }
.hemi__dot--x { border: 1.5px solid #6F86B5; }
.hemi__center { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.hemi__kicker { font-size: clamp(12px, 1.2vw, 15px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-brand-muted); }
.hemi__score { font-family: var(--font-display); font-size: clamp(56px, 10vw, 140px); font-weight: 900; letter-spacing: -0.06em; line-height: .85; }
.hemi__score span { color: #3B5CA3; }
.pill-ok { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; background: #fff; color: var(--brand); border-radius: 999px; padding: 8px 16px; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; font-size: 14px; color: #C9D6EE; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Marquesina */
.ticker { margin-top: 72px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); overflow: hidden; }
.ticker__track { display: flex; width: max-content; padding: 18px 0; animation: marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 12px; padding: 0 28px; white-space: nowrap; font-size: 15px; color: var(--on-brand-soft); border-right: 1px solid rgba(255,255,255,.1); }
.ticker__item b { font-family: var(--font-display); color: #fff; }
.chip { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; color: var(--navy-deep); }
.chip--ok { background: var(--favor); }
.chip--no { background: var(--contra); }

/* Secciones claras */
.light { background: var(--bg); color: var(--ink); }
.section { padding: 112px 0; }
.section--tight { padding: 0 0 112px; }
.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 32px; }
.section__head .display { font-size: clamp(38px, 5.4vw, 76px); color: var(--brand); }
.simulador { border-radius: 48px 48px 0 0; }

/* Simulador */
.sim__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sim__top .section__head { margin-bottom: 0; max-width: 720px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; }
.step { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 6px; border-radius: 22px; font-size: 15px; font-weight: 800; background: #fff; color: var(--muted); transition: background .25s, color .25s; }
.step__n { width: 32px; height: 32px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: var(--tint); color: var(--ink2); }
.step.is-on { background: var(--brand); color: #fff; }
.step.is-on .step__n { background: var(--red-logo); color: #fff; }
.sim { background: #fff; border-radius: 36px; padding: clamp(20px, 4vw, 48px); box-shadow: 0 30px 80px rgba(11,46,115,.10); }
.sim__panel[hidden] { display: none; }
.sim__panel { animation: fade .35s ease both; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { min-height: 48px; padding: 0 20px; border: 0; border-radius: 24px; font-size: 15px; font-weight: 800; background: var(--tint); color: var(--ink2); }
.tab[aria-pressed="true"] { background: var(--red); color: #fff; }
.read { display: flex; flex-wrap: wrap; gap: 32px; }
.read__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.meta { font-size: 13px; font-weight: 700; color: var(--muted); }
.read__title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; color: var(--brand); }
.simple { background: var(--brand); color: #fff; border-radius: 24px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.simple span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-brand-muted); }
.simple p { margin: 0; font-size: 18px; line-height: 1.55; }
.args { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; align-content: start; }
.arg { border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.arg--pro { background: #E3ECFF; }
.arg--con { background: #FFE9DE; }
.arg h4 { margin: 0; font-size: 13px; font-weight: 800; }
.arg--pro h4 { color: #1A3FA8; }
.arg--con h4 { color: #9A3412; }
.arg ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.5; display: flex; flex-direction: column; gap: 6px; }
.read__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #E3E8F0; padding-top: 24px; margin-top: 28px; font-size: 14px; color: var(--muted); }

.vote { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding: 24px 0; }
.vote__q { margin: 0; max-width: 760px; font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 48px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--brand); }
.vote__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: 100%; max-width: 820px; }
.vote__btn { min-height: 120px; border: 0; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 800; transition: transform .15s; }
.vote__btn:hover { transform: translateY(-3px); }
.vote__btn--f { background: #2F6BFF; color: #fff; }
.vote__btn--c { background: #FF6A2B; color: #fff; }
.vote__btn--a { background: #E3E8F0; color: var(--ink); }
.link-btn { height: 48px; padding: 0 18px; border: 0; background: transparent; font-size: 15px; font-weight: 700; color: #1F4FD6; }

.result { display: flex; flex-wrap: wrap; gap: 32px; }
.result__sala { flex: 1 1 460px; min-width: 0; background: var(--brand); color: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.result__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.result__label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-brand-muted); }
.result__chip { font-size: 14px; font-weight: 800; border-radius: 999px; padding: 7px 14px; }
.result__chip--ok { background: #fff; color: var(--brand); }
.result__chip--no { background: var(--contra); color: var(--navy-deep); }
.result__score { margin-top: -4px; text-align: center; font-family: var(--font-display); font-size: clamp(44px, 6vw, 72px); font-weight: 900; letter-spacing: -0.05em; line-height: .9; }
.result__verdict { margin: 0; font-size: 17px; line-height: 1.5; background: var(--brand-raised); border-radius: 18px; padding: 14px 16px; }
.result__dist { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.result__match { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; letter-spacing: -0.045em; line-height: .98; color: var(--brand); }
.dep { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 20px; padding: 12px 14px; }
.dep__av { width: 44px; height: 44px; flex-shrink: 0; border-radius: 22px; color: var(--brand); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; }
.dep__txt { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dep__txt b { font-size: 15px; }
.dep__txt span { font-size: 13px; color: var(--muted); }
.badge { flex-shrink: 0; font-size: 13px; font-weight: 800; border-radius: 999px; padding: 7px 12px; }
.badge--same { background: var(--brand); color: #fff; }
.badge--diff { background: #fff; color: var(--muted); border: 1.5px dashed var(--abst); }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.result__actions .btn { height: 54px; font-size: 15px; box-shadow: none; }
.note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* Videos */
.videos { display: flex; flex-wrap: wrap; gap: 16px; }
.video-main { flex: 2 1 560px; min-width: 0; position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 32px; overflow: hidden; background: var(--brand); color: #fff; text-align: left; }
.video-main__dots { position: absolute; left: 50%; top: 8%; width: 64%; aspect-ratio: 2 / 1.02; transform: translateX(-50%); opacity: .55; }
.video-main__dots .hemi__dot { animation: none; }
.video-main__play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 48px; background: #fff; color: var(--brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 50px rgba(0,0,0,.35); transition: transform .2s; }
.video-main:hover .video-main__play { transform: translate(-50%, -50%) scale(1.06); }
.video-main__cap { position: absolute; left: 28px; right: 28px; bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.video-main__tag { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-brand-muted); margin-bottom: 6px; }
.video-main__title { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.video-main__len { flex-shrink: 0; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.14); border-radius: 999px; padding: 6px 12px; }
.video-main__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255,255,255,.15); }
.video-main__bar i { display: block; height: 6px; width: 0; background: var(--red-logo); }
.video-main.is-playing .video-main__bar i { animation: progress 60s linear forwards; }
.shorts { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.short { aspect-ratio: 9 / 16; border: 0; border-radius: 26px; padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; color: #fff; }
.short--1 { background: var(--brand-raised); }
.short--2 { background: var(--red); }
.short--3 { background: var(--brand); }
.short__big { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); font-weight: 900; letter-spacing: -0.05em; line-height: 1; animation: float 5s ease-in-out infinite; }
.short__play { width: 40px; height: 40px; border-radius: 20px; background: rgba(255,255,255,.92); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.short__title { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.short__len { display: block; font-size: 12px; opacity: .8; margin-top: 4px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.tile { min-height: 300px; border-radius: 32px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tile h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.tile p { margin: 0; font-size: 16px; line-height: 1.5; }
.tile--wide { grid-column: span 2; }
.tile--navy { background: var(--brand); color: #fff; }
.tile--navy p { color: var(--on-brand-soft); }
.tile--red { background: var(--red); color: #fff; }
.tile--white { background: #fff; }
.tile--white h3, .tile--sky h3 { color: var(--brand); }
.tile--white p, .tile--sky p { color: var(--ink2); }
.tile--sky { background: #E3ECFF; }
.bars { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.bars div { display: flex; gap: 4px; height: 16px; }
.bars i { display: block; border-radius: 8px; transform-origin: left center; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.big-d { font-family: var(--font-display); font-size: 88px; font-weight: 900; letter-spacing: -0.06em; line-height: .8; }
.timeline { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 6px; }
.timeline .n { width: 28px; height: 28px; border-radius: 14px; flex-shrink: 0; }
.timeline .l { flex: 1; height: 4px; border-radius: 2px; }
.blink { animation: blink 1.2s steps(2) infinite; }
.stars { display: flex; gap: 4px; }
.cols { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.cols i { flex: 1; border-radius: 10px; display: block; animation: float 5s ease-in-out infinite; }

/* Datos */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.facts__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.facts__head .display { max-width: 760px; font-size: clamp(38px, 5.4vw, 76px); color: var(--brand); }
.facts__head p { margin: 0; max-width: 420px; font-size: 18px; line-height: 1.55; color: var(--ink2); }
.fact { border-top: 3px solid var(--brand); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.fact--red { border-top-color: var(--red); }
.fact b { font-family: var(--font-display); font-size: 22px; color: var(--brand); }
.fact span { font-size: 16px; line-height: 1.55; color: var(--ink2); }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq .display { font-size: clamp(38px, 5vw, 64px); color: var(--brand); margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--brand); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink2); }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--red-logo); color: #fff; border-radius: 40px; padding: clamp(36px, 7vw, 96px) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta__mark { position: absolute; right: -60px; bottom: -80px; width: 420px; height: 420px; opacity: .16; }
.cta .display { position: relative; max-width: 820px; font-size: clamp(44px, 7vw, 104px); line-height: .9; letter-spacing: -0.055em; }
.cta p { position: relative; margin: 0; font-size: 19px; line-height: 1.5; max-width: 560px; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer { padding: 40px 0 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; color: var(--ink2); }
.footer .brand { color: var(--brand); font-size: 19px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.footer nav a { color: var(--brand); text-decoration: none; padding: 8px 0; }
.footer nav a:hover { color: var(--red); }
.footer p { margin: 0; width: 100%; font-size: 13px; color: var(--muted); }

/* Animaciones */
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.8); opacity: .3; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes progress { from { width: 0; } to { width: 100%; } }

@media (max-width: 720px) {
  .tile--wide { grid-column: auto; }
  .shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__links { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
