/* Ingeniería Electoral Consultores · estilos del sitio */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F6F5;
  --ink: #231F20;
  --ink-2: #45484A;
  --ink-3: #62696B;
  --line: #E6E9E8;
  --accent: #00F0A0;
  --accent-dark: #00C784;
  --accent-soft: #E0FBF1;
  --accent-tint: #F2FEF9;
  --r-pill: 999px;
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --shadow-nav: 0 8px 32px rgba(21,21,43,.08);
  --shadow-float: 0 20px 60px rgba(21,21,43,.12);
  --ease: cubic-bezier(.22,1,.36,1);
  --dur-fast: 180ms;
  --dur-base: 420ms;
  --dur-slow: 800ms;
  --font-family: 'Outfit', sans-serif;
  --wrap: 1360px;
  --pad: 32px;
  --gap: 32px;
  --section-y: 120px;
  --nav-h: 84px;
}
@media (max-width: 1023px) {
  :root { --pad: 20px; --section-y: 72px; --nav-h: 72px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section + .section--line { border-top: 1px solid var(--line); }

/* ---------- Tipografía ---------- */
.h1, .hero h1 {
  font-size: clamp(56px, 9vw, 128px);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 400;
}
.h2, .section-head h2, h2.display {
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 400;
}
.h3, h3.title { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.015em; font-weight: 700; }
h1 b, h2 b, .h1 b, .h2 b { font-weight: 800; }
.lead { font-size: 22px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.note { font-size: 17px; font-style: italic; line-height: 1.5; color: var(--ink-2); }
.small { font-size: 16px; color: var(--ink-2); }
.measure { max-width: 68ch; }
.copy p { max-width: 72ch; }
.copy h3 { margin: 1.6em 0 .5em; }
.copy h3:first-child { margin-top: 0; }
.copy ul { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.copy ul li { position: relative; padding-left: 30px; }
.copy ul li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px;
  background: var(--ink); transform: rotate(45deg); border-radius: 2px;
}
.section-head { display: grid; gap: 24px; margin-bottom: 64px; align-items: end; }
.section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap) 64px; }
.section-head .lead { margin: 0; }
@media (max-width: 1023px) {
  .section-head { margin-bottom: 40px; }
  .section-head--split { grid-template-columns: 1fr; }
}

/* Enlaces subrayados izquierda→derecha */
.link {
  position: relative; display: inline-block; font-weight: 600; padding-bottom: 3px;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link--arrow::before { content: ""; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 60px; padding: 0 32px; border-radius: var(--r-pill);
  font-size: 18px; font-weight: 600; line-height: 1; white-space: nowrap;
  position: relative; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #2A2A45; }
.btn--primary::after {
  content: ""; position: absolute; left: 32px; right: 32px; bottom: 12px; height: 3px; border-radius: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease);
}
.btn--primary:hover::after { transform: scaleX(1); }
.btn--secondary { background: var(--bg-soft); color: var(--ink); }
.btn--secondary:hover { background: #ECECF2; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: #D6D6E0; background: var(--bg-soft); }
.btn--sm { height: 48px; padding: 0 24px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
@media (max-width: 1023px) {
  .btn-row--full .btn { width: 100%; }
}

/* ---------- Navegación ---------- */
.nav-shell { position: sticky; top: 0; z-index: 100; padding-top: 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: calc(var(--wrap) - 2 * var(--pad)); margin-inline: auto;
  width: calc(100% - 2 * var(--pad));
  background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-nav);
  height: var(--nav-h); display: flex; align-items: center; gap: 8px;
  padding: 0 12px 0 24px;
  transition: height var(--dur-base) var(--ease);
  position: relative;
}
.nav.is-compact { --nav-h: 72px; }
.nav__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.nav__brand img { height: 44px; width: auto; }
.nav__brand .nav__wordmark { height: 34px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: var(--r-pill); font-size: 17px; font-weight: 500; color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease);
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { background: var(--bg-soft); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 300px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-float); border: 1px solid var(--line);
  padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 0s linear 160ms;
}
.nav__item.is-open .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.nav__dropdown a {
  display: block; padding: 12px 14px; border-radius: 12px; font-size: 17px; font-weight: 500;
}
.nav__dropdown a small { display: block; font-size: 15px; color: var(--ink-2); font-weight: 400; margin-top: 2px; }
.nav__dropdown a:hover { background: var(--bg-soft); }
.nav__cta { margin-left: 8px; }
.nav__menu .nav__cta { display: none; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform 220ms var(--ease), background 220ms; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform 220ms var(--ease), top 220ms var(--ease); }
.nav__burger span::before { top: -7px; } .nav__burger span::after { top: 7px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav { padding: 0 12px 0 20px; }
  .nav__brand .nav__wordmark { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta--desktop { display: none; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: calc(100% - 36px); z-index: -1;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-nav);
    padding: 48px 12px 16px; max-height: calc(100dvh - 120px); overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
  }
  .nav.is-open { border-radius: var(--r-lg); }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
  .nav__item { width: 100%; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; height: 52px; font-size: 18px; }
  .nav__dropdown {
    position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 12px;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav__item.is-open .nav__dropdown { display: grid; }
  .nav__cta { margin: 8px 0 0; width: 100%; }
  .nav__menu .nav__cta { display: block; }
  .nav__menu .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 72px; padding-bottom: var(--section-y); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(56px, 4.75vw, 68px); letter-spacing: -.03em; line-height: 1; }
.hero h1 { margin-bottom: 32px; }
.hero h1 span { display: block; }
.hero .lead { margin-bottom: 40px; }
.hero__visual { position: relative; padding: 0 0 40px 40px; }
.hero__photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--bg-soft); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.float-card {
  position: absolute; left: 0; bottom: 0; width: min(360px, 80%);
  background: #fff; border-radius: var(--r-md); padding: 20px 24px; box-shadow: var(--shadow-float);
}
.float-card__media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.float-card__media img { width: 100%; }
.float-card__text { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; margin-top: 14px; }
.float-card__text strong { display: block; font-size: 16px; }
.float-card__text span { font-size: 15px; color: var(--ink-2); }
.demo-tag { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 1023px) {
  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { aspect-ratio: 4 / 3; }
  .hero__visual { padding: 0; }
  .float-card { position: static; width: min(360px, calc(100% - 32px)); margin: -40px 16px 0 auto; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 56px; letter-spacing: -.035em; }
}

/* ---------- Puente ---------- */
.bridge { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.bridge__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap) 80px; align-items: start; }
.bridge__grid h2 { position: sticky; top: 130px; }
.bridge__copy p { font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.bridge__copy p:first-child { color: var(--ink); }
@media (max-width: 1023px) {
  .bridge__grid { grid-template-columns: 1fr; }
  .bridge__grid h2 { position: static; }
}

/* ---------- Tarjetas ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: #D6D6E0; }
.card__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__media--screen { display: grid; place-items: center; padding: 20px; background: var(--bg-soft); }
.card__media--screen img { width: 100%; height: 100%; object-fit: contain; object-position: top; border-radius: 10px; }
.card h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
.card p { color: var(--ink-2); font-size: 18px; }
.card__foot { margin-top: auto; padding-top: 8px; }
@media (max-width: 1023px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- Funciones (sistemas) ---------- */
.systems-intro { margin-bottom: 72px; }
.explorer { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: start; }
.explorer--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.explorer--flip .explorer__list { order: 2; }
.explorer__head h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.02em; font-weight: 400; margin-bottom: 16px; }
.explorer__head h3 b { font-weight: 800; }
.explorer__head p { color: var(--ink-2); font-size: 19px; margin-bottom: 28px; }
.fn-list { border-top: 1px solid var(--line); }
.fn {
  width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  padding: 20px 8px; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: background-color 200ms var(--ease), border-radius 200ms var(--ease);
}
.fn strong { font-size: 20px; letter-spacing: -.01em; }
.fn small { grid-column: 1 / -1; font-size: 16px; color: var(--ink-2); line-height: 1.5; display: none; }
.fn svg { width: 20px; height: 20px; color: var(--ink-2); transition: transform 200ms var(--ease), color 200ms; align-self: center; }
.fn:hover { background: var(--bg-soft); border-radius: 16px; }
.fn.is-active { background: var(--bg-soft); border-radius: 16px; border-bottom-color: transparent; }
.fn.is-active small { display: block; }
.fn.is-active svg { color: var(--ink); transform: translate(2px, -2px); }
.explorer__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 28px; }
.explorer__stage {
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-soft);
  padding: 32px; min-height: 480px; display: grid; place-items: center; overflow: hidden;
}
.explorer__stage img { border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; max-height: 560px; width: auto; max-width: 100%; }
.explorer__stage--phone img { max-height: 620px; border-radius: 28px; border: 6px solid var(--ink); }
.explorer__stage .demo-tag { position: absolute; left: 24px; bottom: 18px; }
.explorer__stage img.is-swapping { animation: fadeSwap 420ms var(--ease) both; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) {
  .explorer, .explorer--flip { grid-template-columns: 1fr; gap: 28px; }
  .explorer--flip .explorer__list { order: 0; }
  .explorer__stage { min-height: 0; padding: 20px; }
  .explorer__stage img { max-height: 420px; }
  .explorer__stage--phone img { max-height: 480px; }
  .explorer__stage .demo-tag { position: static; margin-top: 12px; }
}

/* ---------- Quiénes somos ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap) 80px; }
.about__copy p { font-size: 19px; color: var(--ink-2); }
.about__copy p strong { color: var(--ink); font-weight: 600; }
.about__photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-soft); }
.about__photo--wide { aspect-ratio: 16 / 10; }
.about__photo--tall { aspect-ratio: 4 / 5; max-width: 520px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.statement { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -.015em; font-weight: 600; margin: 48px 0 0; max-width: 28ch; }
@media (max-width: 1023px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Línea del tiempo ---------- */
.timeline { margin-top: 96px; }
.timeline__years { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; position: relative; border-bottom: 1px solid var(--line); }
.timeline__years::-webkit-scrollbar { display: none; }
.timeline__year {
  flex: 1 0 auto; padding: 14px 18px 18px; font-size: 17px; font-weight: 500; color: var(--ink-2);
  border-bottom: 3px solid transparent; margin-bottom: -9px; white-space: nowrap; border-radius: 12px 12px 0 0;
  transition: color 200ms, border-color 200ms, background-color 200ms;
}
.timeline__year:hover { background: var(--bg-soft); color: var(--ink); }
.timeline__year[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 700; }
.timeline__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gap) 64px; padding-top: 48px; align-items: start; }
.timeline__panel h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.02em; font-weight: 400; }
.timeline__panel h3 b { font-weight: 800; display: block; }
.timeline__panel p { font-size: 20px; color: var(--ink-2); }
.timeline__panel.is-swapping > * { animation: fadeSwap 420ms var(--ease) both; }
.timeline__controls { display: flex; gap: 8px; margin-top: 24px; }
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center;
  background: #fff; transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.icon-btn:hover { background: var(--bg-soft); border-color: #D6D6E0; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1023px) {
  .timeline { margin-top: 64px; }
  .timeline__panel { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; }
}

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.person__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-soft); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo--roberto img { object-position: 30% 50%; }
.person__photo--jared img { object-position: 50% 30%; }
.person h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; margin-bottom: 14px; }
.person p { color: var(--ink-2); font-size: 18px; }
.person .btn { margin-top: 20px; }
@media (max-width: 1240px) { .team { grid-template-columns: 1fr; gap: 56px; } }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } }

/* Diálogos */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(35,31,32,.72); }
dialog:not([open]) { display: none; }
.lightbox[open] { display: grid; }
.modal {
  width: min(880px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: 16px auto; overflow: auto;
  background: #fff; border-radius: var(--r-lg); padding: 40px; position: relative;
}
.modal__close { position: sticky; top: 0; float: right; margin: -16px -16px 0 0; z-index: 2; background: #fff; }
.modal__head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.modal__head .person__photo { border-radius: var(--r-md); }
.modal h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
.modal .copy p { font-size: 18px; color: var(--ink-2); }
@media (max-width: 640px) {
  .modal { padding: 24px; }
  .modal__head { grid-template-columns: 88px 1fr; gap: 16px; }
}

/* ---------- Recursos: editoriales, participaciones ---------- */
.pubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pub {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 20px;
  grid-template-rows: auto auto auto; align-content: start;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease);
}
.pub:hover { transform: translateY(-4px); border-color: #D6D6E0; }
.pub__logo { height: 72px; display: flex; align-items: center; }
.pub__logo img { max-height: 100%; width: auto; max-width: 260px; object-fit: contain; }
.pub__logo--cumbre { height: 132px; width: min(100%, 300px); background: transparent; padding: 0; margin-bottom: 8px; justify-content: flex-start; }
.pub__logo--cumbre img { max-height: 100%; max-width: 100%; width: auto; height: auto; opacity: 1; filter: none; }
.pub__logo--napolitans { height: 132px; width: min(100%, 300px); background: var(--ink); border-radius: 16px; padding: 22px 28px; justify-content: center; margin-bottom: 8px; }
.pub__logo--napolitans img { max-height: 100%; max-width: 100%; width: auto; height: auto; }
.pub__meta { font-size: 16px; color: var(--ink-2); margin-bottom: 8px; }
.pub h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; margin-bottom: 12px; }
.pub p { color: var(--ink-2); }
@media (max-width: 1023px) { .pubs { grid-template-columns: 1fr; } .pub { padding: 24px; } }

/* ---------- Prensa + carrusel ---------- */
.press { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--gap) 64px; align-items: start; }
.press__note { position: sticky; top: 130px; }
.press__note .pub__meta { margin-bottom: 16px; }
.press__note h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.015em; font-weight: 700; margin-bottom: 20px; }
.press__note p { color: var(--ink-2); margin-bottom: 28px; }
.carousel { position: relative; }
.carousel__viewport { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); aspect-ratio: 3 / 2; touch-action: pan-y; }
.carousel__track { display: flex; height: 100%; transition: transform 500ms var(--ease); will-change: transform; }
.carousel__slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__slide button { width: 100%; height: 100%; display: block; cursor: zoom-in; }
.carousel__slide button:focus-visible { outline-offset: -6px; }
.carousel__bar { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.carousel__counter { font-size: 17px; font-weight: 600; min-width: 64px; }
.carousel__caption { font-size: 16px; color: var(--ink-2); flex: 1; min-width: 0; }
.carousel__arrows { display: flex; gap: 8px; margin-left: auto; }
.carousel__thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.carousel__thumbs button { border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; opacity: .55; transition: opacity 200ms, outline-color 200ms; outline: 2px solid transparent; outline-offset: 2px; }
.carousel__thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--ink); }
.carousel__thumbs button:hover { opacity: 1; }
.carousel__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { width: 100vw; height: 100dvh; display: none; grid-template-rows: auto 1fr auto; padding: 16px; }
.lightbox::backdrop { background: rgba(35,31,32,.92); }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; color: #fff; gap: 16px; }
.lightbox__top .icon-btn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.lightbox__top .icon-btn:hover { background: rgba(255,255,255,.12); }
.lightbox__img { display: grid; place-items: center; min-height: 0; padding: 16px 0; }
.lightbox__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 16px; }
.lightbox__bottom { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.8); gap: 16px; font-size: 16px; }
.lightbox__bottom .icon-btn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.lightbox__bottom .icon-btn:hover { background: rgba(255,255,255,.12); }
@media (max-width: 1023px) {
  .press { grid-template-columns: 1fr; }
  .press__note { position: static; }
  .carousel__thumbs { gap: 6px; }
  .carousel__bar { flex-wrap: wrap; }
  .carousel__caption { order: 3; flex-basis: 100%; }
}

/* ---------- FAQ (acordeón nativo details/summary) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); margin: 0; }
.faq__q {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.015em; font-weight: 500; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q svg { flex: 0 0 auto; width: 28px; height: 28px; transition: transform 400ms var(--ease); }
.faq__item[open] .faq__q svg { transform: rotate(45deg); }
.faq__a { padding: 0 52px 28px 0; max-width: 80ch; }
.faq__a p { color: var(--ink-2); font-size: 18px; line-height: 1.65; margin: 0; }
.faq__item[open] .faq__a { animation: faqIn 240ms var(--ease); }
@keyframes faqIn { from { opacity: .6; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .faq__q { gap: 16px; padding: 24px 0; } .faq__a { padding: 0 0 24px; } }

/* ---------- Tabla ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th, .table td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-weight: 700; background: var(--bg-soft); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.c { text-align: center; }
.table .check { display: inline-block; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
.table .check--accent { background: var(--accent); outline: 1px solid var(--ink); }
.table .dash { color: var(--ink-2); }
@media (max-width: 640px) { .table th, .table td { padding: 14px 16px; font-size: 16px; } }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap) 80px; align-items: center; }
.contact__lines { display: grid; gap: 4px; margin-top: 40px; border-top: 1px solid var(--line); }
.contact__line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact__line span { color: var(--ink-2); font-size: 16px; }
.contact__line a { font-size: 22px; font-weight: 600; word-break: break-all; }
.contact__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__photos div { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-soft); }
.contact__photos div:last-child { margin-top: 48px; }
.contact__photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__photos div:last-child { margin-top: 32px; }
}

/* ---------- CTA final ---------- */
.cta { border-top: 1px solid var(--line); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap) 64px; align-items: center; }
.cta__visual { display: flex; justify-content: center; gap: 24px; align-items: flex-end; }
.cta__visual img { border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.cta__visual .screen { width: min(100%, 540px); }
.cta__visual .phone { width: 160px; border-radius: 24px; border: 5px solid var(--ink); }
@media (max-width: 1023px) {
  .cta__grid { grid-template-columns: 1fr; }
  .cta__visual .phone { display: none; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 40px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.footer__brand img { height: 120px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--ink-2); font-size: 16px; max-width: 32ch; }
.footer h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 16px; color: var(--ink-2); }
.footer li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__mark { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 24px 32px; align-items: center; }
.footer__mark img { height: 56px; width: auto; }
.footer__mark p { font-size: 16px; color: var(--ink-2); }
.footer__legal { margin-top: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__mark { grid-template-columns: 1fr; }
}

/* ---------- Páginas interiores ---------- */
.page-hero { padding-top: 64px; padding-bottom: 48px; }
.page-hero .crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 16px; color: var(--ink-2); margin-bottom: 32px; }
.page-hero .crumbs a { color: var(--ink-2); }
.page-hero .crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-hero h1 { font-size: clamp(48px, 6.5vw, 96px); margin-bottom: 24px; }
.page-hero h1 b { display: block; }
.subnav { position: sticky; top: calc(var(--nav-h) + 24px); z-index: 20; background: #fff; border-block: 1px solid var(--line); margin-bottom: 64px; }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; padding: 10px 16px; border-radius: var(--r-pill); font-size: 16px; font-weight: 500; white-space: nowrap; color: var(--ink-2); }
.subnav a:hover { background: var(--bg-soft); color: var(--ink); }
.subnav a.is-current { background: var(--accent-soft); color: var(--ink); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }
.detail__block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px 64px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 180px; }
.detail__block h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.015em; font-weight: 700; }
.detail__block .copy p, .detail__block .copy li { font-size: 19px; color: var(--ink-2); }
.detail__block .copy p:first-child { color: var(--ink); }
.steps { counter-reset: paso; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.step { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.step h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.step p { color: var(--ink-2); font-size: 17px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 96px; }
.pager a { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 8px; transition: border-color 300ms, transform 300ms var(--ease); }
.pager a:hover { border-color: #D6D6E0; transform: translateY(-4px); }
.pager a span { font-size: 15px; color: var(--ink-2); }
.pager a strong { font-size: 22px; line-height: 1.2; }
.pager a.next { text-align: right; }
@media (max-width: 1023px) {
  .detail__block { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; margin-top: 64px; }
  .pager a.next { text-align: left; }
}

/* ---------- Movimiento ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal--scale { transform: scale(.96); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(32px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-group.is-visible > * { opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 100ms; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 300ms; }
.nav-shell { animation: navIn 600ms var(--ease) both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: heroIn 800ms var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: 90ms; }
.hero__copy > *:nth-child(3) { animation-delay: 180ms; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__photo { animation: imgIn 900ms var(--ease) 200ms both; }
@keyframes imgIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.float-card { animation: cardIn 800ms var(--ease) 700ms both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
}
.no-js .reveal, .no-js .reveal-group > * { opacity: 1; transform: none; }
