/* =============================================================
   RECAUDA LATAM — verde bosque profundo + lima sobria
   Un beneficio = una sección = una animación propia
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --forest-900: #071A12;
  --forest-800: #0E2A1F;
  --forest-700: #143528;
  --forest-600: #1D4634;

  --lime-500: #A8D45F;
  --lime-600: #93C247;
  --lime-200: #DDECC0;
  --lime-050: #F0F6E2;

  --paper:  #F1F1EE;
  --paper-2:#E6E7E1;
  --white:  #FFFFFF;

  --ink:    var(--forest-800);
  --mute:   #4F615A;
  --mute-on-dark: rgba(233, 240, 235, 0.66);
  --line:   rgba(14, 42, 31, 0.13);
  --line-dark: rgba(255, 255, 255, 0.13);

  --display: "Poppins", system-ui, sans-serif;
  --sans:    "Inter", system-ui, sans-serif;

  /* Curvas fuertes: las nativas de CSS no tienen carácter */
  --ease-out:  cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1220px;
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 14px;
  --nav-h: 74px;
}

/* =============================================================
   2. Reset y base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.62;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 {
  font-family: var(--display); font-weight: 600;
  text-wrap: balance; line-height: 1.06; letter-spacing: -0.035em;
}
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--lime-500); color: var(--forest-900); }
:focus-visible { outline: 2px solid var(--lime-500); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .6rem 1rem; background: var(--lime-500); color: var(--forest-900);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Resaltado lima — gesto firma
   ============================================================= */
mark {
  background: none; color: inherit; position: relative;
  white-space: nowrap; padding-inline: .12em; isolation: isolate;
}
mark::before {
  content: ""; position: absolute; z-index: -1;
  left: 0; right: 0; top: .1em; bottom: .06em;
  background: var(--lime-500); border-radius: 5px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .85s var(--ease-out);
}
mark.is-marked::before { transform: scaleX(1); }

/* En fondos oscuros el texto se oscurece recién cuando entró el resaltado */
.ben-dark mark, .contact mark, .map-copy mark {
  transition: color .45s var(--ease-out) .3s;
}
.ben-dark mark.is-marked, .contact mark.is-marked,
.map-copy mark.is-marked { color: var(--forest-900); }
/* En fondo lima el resaltado se invierte a verde oscuro */
.mark-dark::before { background: var(--forest-800); }
.mark-dark { transition: color .45s var(--ease-out) .3s; }
.mark-dark.is-marked { color: var(--lime-500); }

/* =============================================================
   4. Piezas compartidas
   ============================================================= */
.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem .9rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-family: var(--display); font-size: .76rem; font-weight: 500;
  letter-spacing: -0.01em; color: var(--forest-700);
  margin-bottom: 1.2rem;
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-500); animation: pulse 2.6s var(--ease-soft) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.tag-dark { background: var(--forest-800); color: var(--lime-200); border-color: transparent; }
.tag-on-dark { background: rgba(255,255,255,.09); color: var(--lime-200); border-color: var(--line-dark); }
.tag-on-lime { background: rgba(7,26,18,.11); color: var(--forest-800); border-color: transparent; }

.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .85rem .95rem .85rem 1.5rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .94rem;
  letter-spacing: -0.015em; white-space: nowrap;
  transition: transform .45s var(--ease-out), background .3s var(--ease-out);
}
.btn-sm { padding: .58rem .62rem .58rem 1.1rem; font-size: .86rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-lime { background: var(--lime-500); color: var(--forest-900); }
.btn-outline { padding-inline: 1.5rem; border: 1px solid var(--line); color: var(--forest-800); }
/* El hover sólo con mouse fino: en touch dispara al tocar */
@media (hover: hover) and (pointer: fine) {
  .btn-lime:hover { background: var(--lime-600); transform: translateY(-2px); }
  .btn-outline:hover { background: var(--white); transform: translateY(-2px); }
}
/* Feedback al presionar: la interfaz responde */
.btn:active { transform: scale(.97); }
.btn-orb {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; flex: none;
  background: var(--forest-800); color: var(--lime-500);
  transition: transform .5s var(--ease-out);
}
.btn-sm .btn-orb { width: 25px; height: 25px; }
.btn-orb svg { width: 14px; height: 14px; }
.btn:hover .btn-orb { transform: translateX(3px) rotate(-45deg); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

.head { max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); padding-inline: var(--gutter); }
.head h2 { font-size: clamp(1.85rem, 4.4vw, 3.1rem); max-width: 19ch; }

.cur-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.cur {
  padding: .5rem .95rem; border-radius: 999px;
  background: rgba(168,212,95,.14); color: var(--lime-500);
  border: 1px solid rgba(168,212,95,.3);
  font-family: var(--display); font-weight: 600; font-size: .8rem;
}

/* Barra de progreso de lectura */
.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: 3px; background: transparent; pointer-events: none;
}
.progress i {
  display: block; height: 100%; width: 0;
  background: var(--lime-500); border-radius: 0 3px 3px 0;
  transition: width .12s linear;
}

/* =============================================================
   5. NAV
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .45s var(--ease-out), border-color .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(241,241,238,.85); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(16px)) {
  .nav.is-stuck { background: rgba(241,241,238,.7); backdrop-filter: blur(18px) saturate(160%); }
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter); display: flex; align-items: center; gap: 2rem;
}
.brand {
  display: flex; align-items: center; margin-right: auto;
  transition: opacity .3s var(--ease-out);
}
.brand-logo {
  width: auto;
  height: clamp(26px, 3.4vw, 32px);
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .brand:hover { opacity: .78; }
}

.nav-links { display: none; gap: 1.9rem; font-size: .9rem; color: var(--mute); }
.nav-links a { position: relative; padding-block: .3rem; transition: color .3s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--lime-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--forest-800); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }

.nav-burger { width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--forest-800); transition: transform .4s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav.is-open .nav-links {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: .25rem var(--gutter) 1.1rem;
}
.nav.is-open .nav-links a { padding-block: .85rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.nav.is-open .nav-links a::after { display: none; }

/* =============================================================
   6. HERO
   ============================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vh, 5rem)) var(--gutter) clamp(3rem, 8vw, 6rem);
}
/* Entrada escalonada: cada pieza entra apenas después de la anterior */
.hero-copy > *, .hero-card-wrap { animation: heroIn .9s var(--ease-out) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .19s; }
.hero-copy > *:nth-child(4) { animation-delay: .26s; }
.hero-card-wrap { animation-delay: .22s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-card-wrap { animation: none; }
}
.hero-bigword {
  position: absolute; left: 50%; top: 46%; translate: -50% -50%; z-index: -1;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(5rem, 25vw, 22rem); line-height: .8; letter-spacing: -0.06em;
  color: var(--lime-500); opacity: .17; white-space: nowrap; user-select: none;
  will-change: transform;
}
.hero-inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: clamp(2.75rem, 6vw, 4.5rem); align-items: center; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 4.2rem); letter-spacing: -0.042em; max-width: 15ch; }
.hero-sub { margin-top: 1.5rem; max-width: 46ch; font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--mute); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .7rem; }

/* --- Panel --- */
.hero-card-wrap { position: relative; }
.panel {
  position: relative; padding: clamp(1.35rem, 2.6vw, 1.8rem);
  border-radius: var(--r-lg); background: var(--forest-800); color: var(--white);
  box-shadow: 0 40px 80px -34px rgba(7,26,18,.55);
  transition: transform .5s var(--ease-out); transform-style: preserve-3d;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.panel-chip {
  padding: .34rem .8rem; border-radius: 999px; background: rgba(255,255,255,.1);
  font-family: var(--display); font-size: .72rem; font-weight: 500; color: var(--lime-200);
}
.panel-live { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; color: var(--lime-500); }
.panel-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-500); animation: pulse 1.9s var(--ease-soft) infinite; }

.panel-acct {
  margin-top: 1.15rem; padding: .95rem 1.05rem;
  border-radius: var(--r-sm); background: rgba(255,255,255,.06);
  border: 1px solid var(--line-dark);
}
.acct-k { font-family: var(--display); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-on-dark); }
.acct-alias { display: block; margin-top: .18rem; font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.025em; color: var(--lime-500); }
.acct-meta { margin-top: .75rem; display: grid; gap: .45rem; }
.acct-meta div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.acct-meta dt { font-size: .7rem; color: var(--mute-on-dark); }
.acct-meta dd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .74rem; letter-spacing: -0.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.panel-label { margin-top: 1.25rem; font-family: var(--display); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-on-dark); }
.panel-total {
  margin-top: .25rem; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -0.045em; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--lime-500);
}
.panel-total em { font-style: normal; }

.panel-rows { margin-top: 1.15rem; display: grid; gap: .42rem; }
.panel-rows li {
  display: grid; grid-template-columns: 8px minmax(0,1fr) auto;
  align-items: center; gap: .7rem;
  padding: .66rem .8rem; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  animation: rowIn .55s var(--ease-out) both;
}
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-500); }
.row-main { min-width: 0; }
.row-main b { display: block; font-weight: 500; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-main small {
  display: block; font-size: .66rem; color: var(--mute-on-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.row-amt { font-family: var(--display); font-weight: 500; font-size: .83rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.panel-foot {
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--mute-on-dark);
}
.panel-foot b { color: var(--lime-500); font-weight: 600; }
.check { width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--lime-500); position: relative; }
.check::after {
  content: ""; position: absolute; inset: 0;
  background: no-repeat center/10px 10px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.6 2.6L10 3.2' fill='none' stroke='%230E2A1F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.float-pill {
  position: absolute; padding: .55rem 1.05rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 14px 32px -16px rgba(7,26,18,.4);
  font-family: var(--display); font-size: .78rem; font-weight: 500;
  color: var(--forest-800); white-space: nowrap;
  animation: floaty 6s var(--ease-soft) infinite alternate;
}
.float-pill-a { top: -14px; right: 6%; }
.float-pill-b { bottom: -16px; left: -4%; animation-delay: -3s; background: var(--lime-500); border-color: transparent; }
@keyframes floaty { from { translate: 0 0; } to { translate: 0 -9px; } }

/* =============================================================
   8. STATEMENT + COMPARADOR
   ============================================================= */
.statement { background: var(--paper); padding: clamp(4.5rem, 11vw, 8rem) var(--gutter) clamp(3.5rem, 8vw, 6rem); }
.statement-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.statement .tag { margin-inline: auto; }
.statement-title { font-size: clamp(2rem, 5.2vw, 3.7rem); max-width: 17ch; margin-inline: auto; }
.statement-sub { margin: 1.6rem auto 0; max-width: 50ch; font-size: clamp(1rem, 1.5vw, 1.08rem); color: var(--mute); }

.cmp { max-width: 880px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; }
.cmp-switch {
  position: relative; display: inline-flex; padding: 5px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  left: 50%; translate: -50% 0;
}
.cmp-switch button {
  position: relative; z-index: 2; padding: .62rem 1.2rem; border-radius: 999px;
  font-family: var(--display); font-size: .85rem; font-weight: 500;
  color: var(--mute); transition: color .35s var(--ease-out); white-space: nowrap;
}
.cmp-switch button.is-on { color: var(--forest-900); }
.cmp-thumb {
  position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px); border-radius: 999px; background: var(--lime-500);
  transition: transform .5s var(--ease-out);
}
.cmp-switch[data-on="1"] .cmp-thumb { transform: translateX(100%); }

.cmp-stage { margin-top: 1.5rem; display: grid; }
.cmp-pane {
  grid-area: 1 / 1; border-radius: var(--r-lg); overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.985);
  pointer-events: none; visibility: hidden;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility .5s;
}
.cmp-pane.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }

/* --- ANTES · planilla --- */
.cmp-sheet {
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 66px -38px rgba(7,26,18,.35);
  text-align: left;
}
.sheet-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .7rem 1rem; background: #E9EBE7; border-bottom: 1px solid var(--line);
}
.sheet-name {
  font-family: var(--sans); font-size: .77rem; color: #3E4C45;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sheet-saved {
  flex: none; padding: .18rem .5rem; border-radius: 5px;
  background: #F4DAD6; color: #A33529;
  font-size: .67rem; font-weight: 600; white-space: nowrap;
}

.sheet-scroll { overflow-x: auto; }
.sheet {
  width: 100%; border-collapse: collapse; font-size: .77rem;
  min-width: 660px; table-layout: fixed;
}
.sheet th, .sheet td {
  border: 1px solid #DCE0DA; padding: .4rem .55rem;
  color: #2E3B35; white-space: nowrap; overflow: hidden;
}
/* Columnas de anchos dispares — el Importe queda angosto a propósito */
.sheet th:nth-child(2), .sheet td:nth-child(2) { width: 15%; }
.sheet th:nth-child(3), .sheet td:nth-child(3) { width: 27%; }
.sheet th:nth-child(4), .sheet td:nth-child(4) { width: 15%; }
.sheet th:nth-child(5), .sheet td:nth-child(5) { width: 14%; }
.sheet th:nth-child(6), .sheet td:nth-child(6) { width: 19%; }

.sheet thead tr:first-child th {
  background: #EFF1ED; color: #63716A; font-weight: 500;
  font-size: .7rem; text-align: center; padding-block: .3rem;
}
.sheet .rn {
  background: #EFF1ED; color: #63716A; font-weight: 500;
  font-size: .7rem; text-align: center; width: 32px;
}
.sheet .hdr td { background: #F6F7F4; font-weight: 600; }
.sheet .fade { color: #77837C; font-weight: 400; font-style: italic; }
.sheet .num { text-align: right; font-variant-numeric: tabular-nums; }

/* El desorden: errores, duplicados, anulaciones y notas a mano */
.sheet .bad { background: #FBE3E1; color: #A33529; font-weight: 500; }
.sheet .warn { background: #FBF2DC; color: #8A6416; }
.sheet .warn-txt { color: #8A6416; }
.sheet .strike { text-decoration: line-through; color: #62706A; }
.sheet .anulada td { background: #F2F3F0; }
/* Fila duplicada: barra ámbar al costado, como cuando se marca a mano */
.sheet .dup td:first-of-type { box-shadow: inset 3px 0 0 #D9A83A; }
.sheet .formula { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #4A5C55; }
.sheet .scribble {
  font-family: "Comic Sans MS", "Segoe Print", "Bradley Hand", cursive;
  font-size: .71rem; color: #2F5EA8; background: #E4EDFB;
}
/* Triangulito rojo de comentario */
.sheet .note { position: relative; }
.sheet .note::after {
  content: ""; position: absolute; top: 0; right: 0;
  border-width: 0 7px 7px 0; border-style: solid;
  border-color: transparent #C0392B transparent transparent;
}
/* Texto que se desborda sobre la celda de al lado */
.sheet .spill { overflow: visible; position: relative; z-index: 2; }
/* Celda seleccionada */
.sheet .sel td:nth-child(3) { outline: 2px solid #1E7A46; outline-offset: -2px; }
.sheet .empty td { height: 26px; }

.sheet-tabs {
  display: flex; gap: 2px; padding: .45rem .6rem;
  background: #E9EBE7; border-top: 1px solid var(--line);
  overflow-x: auto;
}
.sheet-tabs span {
  padding: .3rem .68rem; border-radius: 6px 6px 0 0;
  font-size: .7rem; color: #4A5C55; white-space: nowrap;
}
.sheet-tabs span.is-on { background: var(--white); color: #2E3B35; font-weight: 600; }

/* --- DESPUÉS · resumen --- */
.cmp-report {
  background: var(--forest-800); color: var(--white);
  box-shadow: 0 34px 74px -38px rgba(7,26,18,.5);
  text-align: left;
}
.rep-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .95rem 1.25rem; border-bottom: 1px solid var(--line-dark);
}
.rep-title { font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: -0.02em; }
.rep-live { display: inline-flex; align-items: center; gap: .42rem; font-size: .74rem; color: var(--lime-500); }
.rep-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-500); animation: pulse 1.9s var(--ease-soft) infinite; }

.rep-rows { padding: .8rem; display: grid; gap: .4rem; }
.rep-rows li {
  display: grid; align-items: center; gap: .5rem .8rem;
  grid-template-columns: 20px minmax(0,1fr) auto;
  padding: .68rem .85rem; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
}
.cmp-report.is-on .rep-rows li { animation: repIn .5s var(--ease-out) both; }
.cmp-report.is-on .rep-rows li:nth-child(1) { animation-delay: .05s; }
.cmp-report.is-on .rep-rows li:nth-child(2) { animation-delay: .11s; }
.cmp-report.is-on .rep-rows li:nth-child(3) { animation-delay: .17s; }
.cmp-report.is-on .rep-rows li:nth-child(4) { animation-delay: .23s; }
.cmp-report.is-on .rep-rows li:nth-child(5) { animation-delay: .29s; }
.cmp-report.is-on .rep-rows li:nth-child(6) { animation-delay: .35s; }
@keyframes repIn { from { opacity: 0; transform: translateX(-10px); } }

.rep-ok {
  width: 20px; height: 20px; border-radius: 50%; background: var(--lime-500); position: relative;
}
.rep-ok::after {
  content: ""; position: absolute; inset: 0;
  background: no-repeat center/10px 10px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.6 2.6L10 3.2' fill='none' stroke='%230E2A1F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.rep-who { min-width: 0; }
.rep-who b { display: block; font-weight: 500; font-size: .87rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rep-who small {
  display: block; font-size: .68rem; color: var(--mute-on-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rep-amt { font-family: var(--display); font-weight: 600; font-size: .87rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rep-state {
  grid-column: 2 / -1; justify-self: start;
  padding: .16rem .55rem; border-radius: 999px;
  background: rgba(168,212,95,.14); color: var(--lime-500);
  font-size: .66rem; font-family: var(--display); font-weight: 500;
}
/* El remate: el 100 % conciliado es el argumento, va grande */
.rep-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line-dark);
  background: rgba(168,212,95,.05);
}
.rep-stat { display: grid; gap: .1rem; }
.rep-k {
  font-family: var(--display); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute-on-dark);
}
.rep-stat b {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  letter-spacing: -0.04em; line-height: 1;
  color: var(--white); font-variant-numeric: tabular-nums;
}
.rep-stat-big b {
  font-size: clamp(3.2rem, 9vw, 5.2rem);
  letter-spacing: -0.06em; color: var(--lime-500);
}
.rep-stat-big b em { font-style: normal; }
.rep-stat-big small {
  display: block; margin-top: .35rem;
  font-size: .8rem; color: var(--mute-on-dark);
}


/* =============================================================
   9. SECCIONES DE BENEFICIO
   ============================================================= */
.ben { padding: clamp(4rem, 10vw, 7.5rem) var(--gutter); overflow: hidden; }
.ben-inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.ben-copy h2 { font-size: clamp(1.8rem, 4.2vw, 2.95rem); max-width: 15ch; }
.ben-copy p { margin-top: 1.15rem; max-width: 46ch; }
.ben-num {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4rem); line-height: .85; letter-spacing: -0.06em;
  margin-bottom: .9rem;
}
.ben-stat { margin-top: 2rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .8rem; }
.ben-stat b {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.4rem); line-height: 1; letter-spacing: -0.05em;
  color: var(--lime-500); font-variant-numeric: tabular-nums;
}
.ben-stat-sfx {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--lime-500); margin-left: -.6rem;
}
.ben-stat span:last-child { flex: 1 1 14ch; min-width: 14ch; font-size: .88rem; }

.ben-dark { background: var(--forest-800); color: var(--white); }
.ben-dark .ben-num { color: rgba(168,212,95,.28); }
.ben-dark p { color: var(--mute-on-dark); }
.ben-dark .ben-stat span:last-child { color: var(--mute-on-dark); }

.ben-light { background: var(--paper); }
.ben-light .ben-num { color: rgba(14,42,31,.14); }
.ben-light p { color: var(--mute); }
.ben-light .ben-stat b { color: var(--forest-800); }
.ben-light .ben-stat span:last-child { color: var(--mute); }

.ben-lime { background: var(--lime-500); color: var(--forest-900); }
.ben-lime .ben-num { color: rgba(7,26,18,.22); }
.ben-lime p { color: rgba(7,26,18,.75); }
.ben-stat-dark b { color: var(--forest-800) !important; }
.ben-lime .ben-stat span:last-child { color: rgba(7,26,18,.72); }

.ben-visual { position: relative; }
.viz { width: 100%; height: auto; overflow: visible; }
.viz-cap, .viz-lbl {
  font-family: var(--display); font-size: 12px; font-weight: 500;
  fill: currentColor; opacity: .6;
}

/* 01 — lluvia de transferencias hacia una sola cuenta */
.viz-rain {
  position: relative;
  min-height: clamp(330px, 44vw, 400px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.rain-field { position: absolute; inset: 0 0 128px 0; overflow: hidden; pointer-events: none; }
.rain-chip {
  position: absolute; top: -34px;
  padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-family: var(--display); font-weight: 500; font-size: .76rem;
  color: var(--lime-200); white-space: nowrap;
  will-change: transform, opacity;
}
.rain-target {
  position: relative;
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--lime-500); color: var(--forest-900);
  box-shadow: 0 30px 66px -34px rgba(7,26,18,.6);
}
.rain-target::before {
  content: ""; position: absolute; left: 50%; top: -1px; translate: -50% -100%;
  width: 60%; height: 46px;
  background: linear-gradient(to top, rgba(168,212,95,.5), transparent);
  filter: blur(10px); pointer-events: none;
}
.rain-k { font-family: var(--display); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.rain-alias { display: block; margin-top: .15rem; font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.025em; }
.rain-total {
  margin-top: .7rem;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1;
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
}
.rain-total em { font-style: normal; }
.rain-ops { display: block; margin-top: .5rem; font-size: .8rem; opacity: .72; }
.rain-ops i { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 02 — cuentas */
.viz-accounts { display: grid; gap: .7rem; }
.acc {
  padding: 1rem 1.15rem; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .4s var(--ease-out), box-shadow .5s var(--ease-out);
}
.acc-tag { font-family: var(--display); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.acc b { display: block; margin-top: .2rem; font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -0.025em; color: var(--forest-800); }
.acc small { display: block; margin-top: .2rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: var(--mute); }
.acc-on { background: var(--forest-800); border-color: transparent; box-shadow: 0 24px 50px -28px rgba(7,26,18,.5); }
.acc-on .acc-tag { color: var(--lime-200); }
.acc-on b { color: var(--lime-500); }
.acc-on small { color: var(--mute-on-dark); }
.acc-ghost { border-style: dashed; background: transparent; }
.acc-ghost b, .acc-ghost small { color: var(--mute); }
.acc.is-flash { border-color: var(--lime-500); transform: translateX(6px); }

/* 04 — rieles */
.viz-rails { color: var(--forest-900); }
.rail-bank { opacity: .85; }

/* 06 — API */
.viz-api { border-radius: var(--r-md); overflow: hidden; background: var(--forest-900); border: 1px solid var(--line-dark); }
.api-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem 1rem; border-bottom: 1px solid var(--line-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem;
  color: var(--mute-on-dark);
}
.api-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.api-bar span:first-child { background: var(--lime-500); margin-right: .1rem; }
.api-code { margin: 0; padding: 1.1rem 1.2rem; overflow-x: auto; min-height: 190px; }
.api-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem; line-height: 1.85; color: rgba(255,255,255,.62); white-space: pre;
}
.api-code .k { color: var(--lime-500); font-weight: 600; }
.api-code .p { color: #A9D8F0; }
.api-code .s { color: var(--lime-200); }
.api-code .n { color: #F0D68A; }
.api-status {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1.2rem; border-top: 1px solid var(--line-dark);
  font-size: .82rem; color: var(--lime-500);
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.api-status.is-on { opacity: 1; transform: none; }

/* 05 — tarjetas apiladas */
.platform-visual { position: relative; padding: 1.5rem 1.5rem 2rem; }
.stack-card { border-radius: var(--r-lg); }
.stack-back, .stack-mid { position: absolute; left: 50%; translate: -50% 0; width: 88%; height: 100%; top: 0; }
.stack-back { background: var(--lime-200); transform: rotate(-4deg); }
.stack-mid  { background: var(--white); border: 1px solid var(--line); transform: rotate(2.5deg); }
.stack-front {
  position: relative; padding: clamp(1.35rem, 2.6vw, 1.85rem);
  background: var(--forest-800); color: var(--white);
  box-shadow: 0 36px 76px -34px rgba(7,26,18,.55);
}
.sc-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .95rem; border-bottom: 1px solid var(--line-dark); font-size: .82rem; }
.sc-head b { font-family: var(--display); font-weight: 600; }
.sc-head span { color: var(--mute-on-dark); }
.sc-rows { margin-top: 1rem; display: grid; gap: .4rem; }
.sc-rows li {
  display: grid; grid-template-columns: 8px minmax(0,1fr) auto;
  align-items: center; gap: .7rem; padding: .62rem .8rem;
  border-radius: var(--r-sm); background: rgba(255,255,255,.06); font-size: .85rem;
}
.sc-rows span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-rows b { font-family: var(--display); font-weight: 500; font-variant-numeric: tabular-nums; }
.sc-foot { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); display: flex; align-items: center; gap: .75rem; font-size: .82rem; color: var(--mute-on-dark); }
.sc-bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.sc-bar i { display: block; height: 100%; width: 0; background: var(--lime-500); border-radius: 999px; transition: width 1.6s var(--ease-out); }
.sc-foot b { color: var(--lime-500); font-family: var(--display); }

/* =============================================================
   10. MAPA
   ============================================================= */
.map-sec {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--forest-900); color: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  min-height: clamp(560px, 82vh, 800px);
  display: flex; align-items: center;
}
/* El mapa ocupa el grueso de la sección; se recorta arriba y abajo a propósito */
.map-fig {
  margin: 0; position: absolute; inset: 0; z-index: -2;
  display: grid; place-items: center;
  pointer-events: none;
}
.map-fig::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46% 54% at 62% 50%, rgba(168,212,95,.16), transparent 72%);
  filter: blur(34px);
}
.map-svg {
  position: relative;
  height: 128%; width: auto; max-width: none;
  opacity: .78;
}
/* Velo vertical en mobile, para que el texto se lea sobre el mapa */
.map-sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(7,26,18,.9) 0%, rgba(7,26,18,.6) 45%, rgba(7,26,18,.15) 75%, transparent 100%);
}

.map-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
}
.map-copy h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 13ch; }
.map-copy p { margin-top: 1.15rem; max-width: 38ch; color: var(--mute-on-dark); }
.map-copy .cur-row { margin-top: 1.8rem; }

.map-dot { fill: var(--lime-500); }
.map-arc { fill: none; stroke: var(--lime-500); stroke-width: .26; opacity: .45; }
.map-node { fill: var(--lime-500); }
.map-halo { fill: none; stroke: var(--lime-500); stroke-width: .26; opacity: .55; }
.map-mover { fill: var(--white); }

/* =============================================================
   11. SECTORES — índice editorial
   ============================================================= */
.sectors { background: var(--paper); padding: clamp(4.5rem, 11vw, 7.5rem) 0; overflow: hidden; }
.sec-head {
  max-width: var(--maxw); margin: 0 auto clamp(2.25rem, 4vw, 3rem);
  padding-inline: var(--gutter);
  display: grid; gap: 1.25rem; align-items: end;
}
.sec-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); max-width: 14ch; }
.sec-lead { max-width: 46ch; font-size: .97rem; color: var(--mute); }

/* --- Grilla de rubros: los nueve a la vista --- */
.sgrid {
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid; gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.scard {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--forest-800);
  isolation: isolate;
}
.scard img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
/* Velo verde: une las fotos con la marca y deja legible el texto */
.scard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,26,18,.1) 0%, rgba(7,26,18,.55) 46%, rgba(7,26,18,.94) 100%),
    linear-gradient(180deg, rgba(14,42,31,.35), rgba(14,42,31,.35));
}
.scard-body {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(.95rem, 2vw, 1.35rem);
  color: var(--white);
}
.scard-body h3 {
  font-size: clamp(.98rem, 1.6vw, 1.22rem);
  letter-spacing: -0.03em;
}
/* La descripción se revela al pasar el cursor: la grilla queda limpia */
.scard-body p {
  margin-top: .4rem; font-size: .82rem; line-height: 1.45;
  color: rgba(255,255,255,.8);
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .4s var(--ease-out), max-height .5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .scard:hover img { transform: scale(1.07); }
  .scard:hover .scard-body p { opacity: 1; max-height: 6rem; }
}
/* En touch no hay hover: la descripción se muestra siempre */
@media (hover: none) {
  .scard-body p { opacity: 1; max-height: none; }
}

.sectors-note {
  max-width: 60ch; margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0;
  padding-inline: var(--gutter); font-size: .94rem; color: var(--mute);
}

/* =============================================================
   11b. MÉTODOS DE RECAUDACIÓN
   ============================================================= */
.methods { background: var(--paper-2); padding: clamp(4.5rem, 11vw, 7.5rem) 0; }
.mgrid {
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid; gap: 1rem;
}
.mcard {
  padding: clamp(1.5rem, 2.8vw, 1.9rem);
  border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .35s var(--ease-out);
}
.mcard-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--lime-050); color: var(--forest-700);
  border: 1px solid rgba(14,42,31,.08);
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.mcard-ico svg { width: 22px; height: 22px; }
.mcard h3 {
  display: flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem; font-size: 1.1rem; letter-spacing: -0.03em; color: var(--forest-800);
}
/* Flechita diagonal que se corre en hover */
.mcard h3 i {
  width: 14px; height: 14px; flex: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M4.6 4H10v5.4' fill='none' stroke='%230E2A1F' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform .4s var(--ease-out);
}
.mcard p { margin-top: .5rem; font-size: .91rem; color: var(--mute); }
@media (hover: hover) and (pointer: fine) {
  .mcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px -32px rgba(7,26,18,.32);
    border-color: rgba(168,212,95,.6);
  }
  .mcard:hover .mcard-ico { background: var(--lime-500); color: var(--forest-900); }
  .mcard:hover h3 i { transform: translate(3px, -3px); }
}

/* =============================================================
   12. EQUIPOS
   ============================================================= */
/* Fondo lima suave: separa de la sección clara de arriba
   y del verde oscuro de abajo, sin repetir ningún tono. */
.teams {
  background: var(--lime-050); color: var(--forest-800);
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter);
  border-block: 1px solid rgba(14,42,31,.08);
}
.teams-inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.teams-copy h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); max-width: 13ch; }
.teams-copy p { margin-top: 1.15rem; max-width: 46ch; color: var(--mute); }

.teams-cards { display: grid; gap: 1rem; }
.tcard {
  position: relative; overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border-radius: var(--r-lg);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.tcard-n {
  position: absolute; top: .6rem; right: 1.1rem;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.2rem, 7vw, 4.6rem); line-height: 1;
  letter-spacing: -0.06em; pointer-events: none;
}
.tcard-ico { display: block; width: 48px; height: 48px; }
.tcard-ico svg { width: 100%; height: 100%; }
.tcard b {
  display: block; margin-top: 1.4rem;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem); letter-spacing: -0.03em;
}
.tcard-txt { display: block; margin-top: .55rem; font-size: .93rem; max-width: 34ch; }

.tcard-lime { background: var(--lime-500); color: var(--forest-900); }
.tcard-lime .tcard-n { color: rgba(7,26,18,.14); }
.tcard-lime .tcard-txt { color: rgba(7,26,18,.75); }
.tcard-dark { background: var(--forest-900); color: var(--white); border: 1px solid var(--line-dark); }
.tcard-dark .tcard-ico { color: var(--lime-500); }
.tcard-dark .tcard-n { color: rgba(168,212,95,.16); }
.tcard-dark .tcard-txt { color: var(--mute-on-dark); }

@media (hover: hover) and (pointer: fine) {
  .tcard:hover { transform: translateY(-5px); box-shadow: 0 30px 64px -34px rgba(0,0,0,.7); }
}

/* =============================================================
   13. FAQ
   ============================================================= */
.faq { background: var(--paper-2); padding: clamp(4.5rem, 11vw, 8rem) 0; }
.faq-list { max-width: 880px; margin-inline: auto; padding-inline: var(--gutter); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.45rem 2.75rem 1.45rem 0; position: relative;
  font-family: var(--display); font-weight: 500; font-size: clamp(1.01rem, 1.8vw, 1.16rem);
  letter-spacing: -0.02em; color: var(--forest-800); transition: color .3s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--forest-600); }
.faq-item summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 26px; height: 26px; translate: 0 -50%;
  border-radius: 50%; background-color: var(--lime-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.5l4 4 4-4' fill='none' stroke='%230E2A1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px;
  transition: transform .4s var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item p { padding-bottom: 1.55rem; max-width: 66ch; color: var(--mute); }

/* =============================================================
   14. CONTACTO
   ============================================================= */
.contact { background: var(--forest-800); color: var(--white); padding: clamp(4.5rem, 11vw, 8rem) var(--gutter); }
.contact-inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.contact-copy h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); max-width: 14ch; }
.contact-copy p { margin-top: 1.15rem; max-width: 42ch; color: var(--mute-on-dark); }
.contact-direct { margin-top: 2rem; display: grid; gap: .8rem; }
.contact-direct li { display: flex; align-items: center; gap: .8rem; }
.cd-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--lime-500); flex: none; }
.cd-ico svg { width: 19px; height: 19px; }
.contact-direct a { font-family: var(--display); font-weight: 500; font-size: .95rem; transition: color .3s var(--ease-out); }
.contact-direct a:hover { color: var(--lime-500); }

.form {
  display: grid; gap: .85rem; padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
}
.field { display: grid; gap: .38rem; }
.field label { font-family: var(--display); font-size: .77rem; font-weight: 500; color: var(--mute-on-dark); }
.field input, .field textarea {
  width: 100%; padding: .88rem 1.05rem; border-radius: var(--r-sm);
  font: inherit; font-size: .93rem; color: var(--white);
  background: rgba(255,255,255,.07); border: 1px solid var(--line-dark);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime-500); background: rgba(255,255,255,.1); }
.form-note { font-size: .85rem; color: var(--lime-500); min-height: 1.2em; text-align: center; }

/* =============================================================
   15. FOOTER
   ============================================================= */
.footer { background: var(--forest-900); color: var(--white); padding: clamp(3rem, 7vw, 5rem) var(--gutter) 0; overflow: hidden; }
.footer-top { max-width: var(--maxw); margin-inline: auto; display: grid; gap: 1.4rem; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.footer-logo {
  width: auto; height: clamp(30px, 4vw, 38px);
  margin-bottom: .5rem;
}
.footer-nav, .footer-contact { display: flex; flex-wrap: wrap; gap: 1.3rem; font-size: .89rem; }
.footer-nav a { color: var(--mute-on-dark); transition: color .3s var(--ease-out); }
.footer-nav a:hover { color: var(--lime-500); }
.footer-contact a { color: var(--lime-500); }
.wordmark-wrap { overflow: hidden; height: clamp(3rem, 14vw, 11rem); }
.wordmark {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(4.2rem, 22vw, 18rem); line-height: .78; letter-spacing: -0.06em;
  color: rgba(168,212,95,.16); text-align: center; user-select: none; white-space: nowrap;
}
.footer-legal {
  max-width: var(--maxw); margin-inline: auto;
  padding-block: clamp(1.75rem, 3vw, 1.5rem) .75rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .76rem; line-height: 1.7; color: rgba(255,255,255,.42);
}
.credits {
  max-width: var(--maxw); margin-inline: auto;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-size: .74rem; color: rgba(255,255,255,.42);
}
.credits summary { cursor: pointer; color: rgba(255,255,255,.55); }
.credits summary:hover { color: var(--lime-500); }
.credits p { margin-top: .6rem; line-height: 1.7; max-width: 90ch; }

/* Título de sección a dos columnas */
.sec-head-copy { min-width: 0; }

/* =============================================================
   16. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .form { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .field-wide, .form .btn, .form-note { grid-column: 1 / -1; }
  .viz-accounts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rep-rows li { grid-template-columns: 20px minmax(0,1fr) auto auto; }
  .rep-state { grid-column: auto; justify-self: end; }
}

@media (min-width: 720px) {
  .teams-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-burger { display: none; }

  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .ben-inner { grid-template-columns: 1fr 1fr; }
  .ben-flip .ben-copy { order: 2; }
  .ben-flip .ben-visual { order: 1; }
  .contact-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .teams-inner { grid-template-columns: .85fr 1.15fr; align-items: center; }
  .mgrid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sgrid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
  .sec-head { grid-template-columns: 1.15fr .85fr; gap: 2.5rem; }
  /* En desktop el mapa crece y se corre al centro-derecha */
  .map-svg { height: 185%; transform: translateX(16%); }
  /* Velo horizontal: protege la columna de texto de la izquierda */
  .map-sec::before {
    background: linear-gradient(90deg,
      rgba(7,26,18,.96) 0%, rgba(7,26,18,.9) 26%, rgba(7,26,18,.45) 48%, transparent 68%);
  }
}

/* =============================================================
   17. Reduced motion — sólo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .float-pill { animation: none; }
  .tag i, .panel-live i { animation: none; }
  .panel-rows li { animation: none; }
  mark::before { transform: scaleX(1); transition: none; }
  .ben-dark mark, .teams mark, .contact mark, .map-copy mark { color: var(--forest-900); transition: none; }
  .mark-dark { color: var(--lime-500); transition: none; }
}
