:root {
  --bg: #f7f4ee;
  --panel: #ffffff;
  --line: #e3ddd1;
  --text: #1c1a17;
  --muted: #625c53;
  --accent: #b5361b;
  --ok: #1d7a4b;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; overflow-x: clip; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: 1.6rem; margin: 2rem 0 .6rem; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.wrap { width: min(1040px, 100%); margin-inline: auto; padding-inline: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; top: -100px; left: 12px; background: var(--text); color: #fff; padding: .5rem .9rem; z-index: 50; border-radius: 6px; }
.skip:focus { top: 10px; }
.top { background: var(--panel); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; flex-wrap: wrap; padding-block: 8px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.logo span { color: var(--accent); }
.top nav { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .86rem; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }
.hero { padding-block: 36px 36px; border-bottom: 1px solid var(--line); }
.kicker { color: var(--accent); font-weight: 700; font-size: .85rem; }
.hero h1 { font-size: clamp(2.4rem, 9vw, 4.6rem); margin-top: .5rem; }
.lead { color: var(--muted); font-size: 1.08rem; margin-top: .8rem; max-width: 62ch; }
.count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.unit { min-width: 76px; padding: .55rem .4rem; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.unit b { display: block; font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.unit span, .count-label { font-size: .78rem; color: var(--muted); }
.count-static { font-family: var(--display); font-size: 1.6rem; color: var(--accent); }
.search { margin-top: 20px; max-width: 620px; }
.search input, .filtro { width: 100%; min-height: 54px; padding: .6rem 1rem; font: inherit; font-size: 1.02rem; background: var(--panel); border: 2px solid var(--text); border-radius: 10px; color: var(--text); }
.filtro { margin-top: 1rem; border-width: 1px; }
.band { padding-block: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 8px; }
.band h2 { margin-top: 0; }
.note { color: var(--muted); font-size: .92rem; }
.empty { color: var(--muted); margin-top: 1rem; }
.parties { display: grid; gap: 10px; margin-top: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.party { position: relative; display: block; padding: 16px 14px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; overflow: hidden; }
.party:hover { border-color: var(--c); }
.party-bar { position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); }
.party h3 { margin: .1rem 0 .2rem; font-family: var(--display); font-size: 1.35rem; }
.party p { font-size: .85rem; color: var(--muted); }
.party .party-cand { color: var(--text); font-weight: 600; }
.btn-line { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; padding: .4rem 1rem; border: 1px solid var(--text); border-radius: 8px; font-weight: 600; text-decoration: none; background: var(--panel); }
.grid-2 { display: grid; gap: 10px; }
.feature { display: block; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.feature:hover { border-color: var(--accent); }
.feature h3 { margin-top: 0; }
.feature p { color: var(--muted); font-size: .93rem; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: .1rem 1rem; }
.faq summary { padding: .7rem 0; font-weight: 600; cursor: pointer; }
.faq p { padding-bottom: .8rem; color: var(--muted); }
.ficha { padding-block: 24px 50px; max-width: 820px; }
.crumb { color: var(--muted); font-size: .85rem; margin-bottom: .8rem; }
.ficha h1 { font-size: clamp(2rem, 7vw, 3.2rem); border-left: 6px solid var(--c, var(--accent)); padding-left: 12px; }
.ficha > p { margin-top: .6rem; }
.datos { display: grid; gap: 8px; margin-top: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.datos div { padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; }
.datos dt { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.datos dd { margin: .1rem 0 0; font-weight: 600; font-size: .95rem; }
.resumen { margin-top: 1.4rem; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--c, var(--accent)); border-radius: 10px; }
.resumen h2 { margin-top: 0; font-size: 1.3rem; }
.resumen ul { padding-left: 1.1rem; }
.resumen li { margin-top: .3rem; }
.props div { padding-block: 10px; border-bottom: 1px solid var(--line); }
.props dt { font-weight: 700; }
.props dd { margin: .2rem 0 0; color: #34312c; }
.cases { list-style: none; padding: 0; display: grid; gap: 8px; }
.case { padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; }
.case-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.case p { color: #34312c; margin-top: .3rem; font-size: .95rem; }
.tag { font-size: .74rem; font-weight: 700; padding: .1rem .5rem; border-radius: 99px; }
.t-firme { background: #fde2dc; color: #8f2410; }
.t-condena { background: #fdebd3; color: #8a4b00; }
.t-sancion { background: #fdebd3; color: #8a4b00; }
.t-juicio { background: #e9e5f8; color: #43328a; }
.t-archivado { background: #dff1e7; color: #1d6a43; }
.t-polemica { background: #ece9e3; color: #514c44; }
.sources { color: var(--muted); font-size: .8rem; margin-top: 1rem; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); text-decoration: none; font-size: .88rem; }
.rows { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.rows li { padding-block: 10px; border-bottom: 1px solid var(--line); }
.rows p { color: var(--muted); font-size: .9rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }
.tabs button { min-height: 42px; padding: .3rem .9rem; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); font: inherit; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.cmp { list-style: none; padding: 0; display: grid; gap: 8px; }
.cmp li { padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 9px; }
.cmp p { color: #34312c; font-size: .95rem; }
.seats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.seats li { display: flex; justify-content: space-between; padding-block: 4px; border-bottom: 1px dotted var(--line); font-size: .92rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--panel); }
th, td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line); }
.calc { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
.calc .wide { grid-column: 1 / -1; }
.calc label { display: grid; gap: .25rem; font-size: .88rem; font-weight: 600; }
.calc input, .calc select { width: 100%; min-height: 46px; padding: .4rem .6rem; font: inherit; background: var(--panel); border: 1px solid #cfc7b8; border-radius: 8px; }
.calc-out { display: block; margin-top: 12px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.out-title { font-weight: 700; }
.bars { list-style: none; padding: 0; margin-top: .6rem; display: grid; gap: 6px; }
.bars li { position: relative; display: flex; justify-content: space-between; padding: .3rem .6rem; border-radius: 6px; overflow: hidden; }
.bars i { position: absolute; inset: 0 auto 0 0; background: #b5361b22; z-index: 0; }
.bars span, .bars b { position: relative; z-index: 1; }
.ok { color: var(--ok); font-weight: 600; }
.bad { color: var(--accent); font-weight: 600; }
.pacts { display: grid; gap: 6px; margin-top: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pacts label { display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 8px; font-weight: 600; font-size: .9rem; }
.pacts input[type="checkbox"] { width: 20px; height: 20px; }
.pacts span { flex: 1; }
.pacts input[type="number"] { width: 64px; min-height: 36px; padding: .2rem .3rem; font: inherit; border: 1px solid #cfc7b8; border-radius: 6px; }
.legal p { color: #34312c; }
.foot { padding-block: 26px 40px; color: var(--muted); font-size: .85rem; }
.foot p + p, .foot nav { margin-top: .5rem; }
.foot strong { color: var(--text); }
.hero { background: radial-gradient(70% 90% at 100% 0%, #e0583a1f, transparent 60%), radial-gradient(60% 80% at 0% 100%, #1d64c81a, transparent 60%); }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hemi { margin: 0; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px #1c1a1712; }
.hemi svg { display: block; width: 100%; height: auto; }
.hemi figcaption { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.hemi-leg { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: .6rem; font-size: .8rem; }
.hemi-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; margin-top: .3rem; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.party { transition: transform .15s, box-shadow .15s; }
.party:hover { transform: translateY(-2px); box-shadow: 0 8px 22px #1c1a1714; }
@media (min-width: 640px) {
  .parties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .datos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .seats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) { .parties { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hero-grid { grid-template-columns: 1.1fr 1fr; } }
