/* ============================================================
   Antonio de la Luz 157 — sistema visual
   Paleta tomada de los materiales reales de la casa:
   granito verde de la barra, piso de piedra pulida espresso,
   muro de cantera gris y el cedro del plafón.
   ============================================================ */

:root {
  /* --- superficie --- */
  --paper:        #F2F0EB;   /* cantera clara, sesgo taupe (no crema) */
  --paper-2:      #E8E5DE;
  --paper-3:      #DCD8CF;
  --ink:          #141718;   /* casi negro, frío como la piedra en sombra */
  --ink-2:        #333937;   /* 10.35:1 sobre papel */
  --ink-3:        #545A58;   /*  6.19:1 sobre papel — antes fallaba AA */
  --line:         #BDB8AD;
  --line-soft:    #D6D1C7;

  /* --- acento: granito verde --- */
  --verde:        #1D3A30;
  --verde-2:      #2A5343;
  --verde-lit:    #6FBF98;   /* 8.47:1 sobre fondo oscuro */
  --verde-wash:   #E3EBE6;

  /* --- notas cálidas, uso restringido --- */
  --cedro:        #8A5433;
  --brass:        #A8854F;

  /* --- semánticos (datos) --- */
  --pos:          #2F6B4F;
  --warn:         #8A6410;

  /* --- superficies oscuras (hero, secciones ancla) --- */
  --dark:         #101413;
  --dark-2:       #1B211F;
  --dark-line:    #333D39;
  --dark-text:    #EDEAE2;
  --dark-text-2:  #B7BDB9;   /* 9.72:1 sobre fondo oscuro */

  /* --- tipografía ---
     Newsreader: serif editorial diseñada para pantalla, con trazos sólidos.
     Sustituye a Bodoni Moda, cuyos trazos finos se perdían sobre foto. */
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- escala --- */
  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem;   --s7: 3rem;   --s8: 4.5rem; --s9: 7rem;
  --maxw: 1220px;
  --readw: 64ch;
  --radius: 3px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #141817;
    --paper-2:    #1C2321;
    --paper-3:    #262E2B;
    --ink:        #EDEAE2;
    --ink-2:      #CBD0CB;
    --ink-3:      #A2A9A4;
    --line:       #3A433F;
    --line-soft:  #2A322F;
    --verde-wash: #1B2622;
    --verde-lit:  #7FCCA6;
    --brass:      #D0AC73;
    --cedro:      #C88B60;
    --pos:        #7FCCA6;
    --warn:       #D4AF57;
    --dark:       #0C100F;
    --dark-2:     #161B1A;
  }
}

:root[data-theme="dark"] {
  --paper:      #141817;
  --paper-2:    #1C2321;
  --paper-3:    #262E2B;
  --ink:        #EDEAE2;
  --ink-2:      #CBD0CB;
  --ink-3:      #A2A9A4;
  --line:       #3A433F;
  --line-soft:  #2A322F;
  --verde-wash: #1B2622;
  --verde-lit:  #7FCCA6;
  --brass:      #D0AC73;
  --cedro:      #C88B60;
  --pos:        #7FCCA6;
  --warn:       #D4AF57;
  --dark:       #0C100F;
  --dark-2:     #161B1A;
}

/* ============================================================ base */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--verde-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 860px); margin-inline: auto; }

.stack { display: flex; flex-direction: column; }
.stack-3 { gap: var(--s3); } .stack-4 { gap: var(--s4); }
.stack-5 { gap: var(--s5); } .stack-6 { gap: var(--s6); } .stack-7 { gap: var(--s7); }

.section { padding-block: var(--s9); }
.section-tight { padding-block: var(--s8); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--wash { background: var(--verde-wash); }
.section--paper2 { background: var(--paper-2); }

/* ============================================================ tipografía */

.eyebrow {
  font-size: .78rem;
  letter-spacing: .12em;      /* menos tracking = más legible */
  text-transform: uppercase;
  font-weight: 700;
  color: var(--verde-2);
  margin: 0;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--verde-lit); }

.display-xl {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6.8vw, 4.7rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  font-weight: 600;
}
.display-l {
  font-family: var(--display);
  font-size: clamp(1.95rem, 4.2vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.014em;
  font-weight: 600;
}
.display-m {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  line-height: 1.22;
  letter-spacing: -.01em;
  font-weight: 600;
}
.h-sm {
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -.005em;
}

.lede { font-size: clamp(1.1rem, 1.9vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: var(--readw); }
.section--dark .lede, .hero .lede { color: var(--dark-text-2); }
.prose { max-width: var(--readw); color: var(--ink-2); }
.prose p + p { margin-top: var(--s4); }
.small { font-size: .88rem; color: var(--ink-2); }
.footnote { font-size: .82rem; line-height: 1.55; color: var(--ink-3); }
strong { font-weight: 600; color: var(--ink); }
.section--dark strong { color: var(--dark-text); }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ============================================================ nav */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; gap: var(--s5);
  min-height: 62px;
}
.nav-brand {
  font-family: var(--display);
  font-size: 1.02rem; font-weight: 600;
  text-decoration: none; letter-spacing: -.01em;
  white-space: nowrap;
}
.nav-brand span { color: var(--ink-2); font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; display: block; margin-top: -2px; }
.nav-links { display: flex; gap: var(--s1); margin-left: auto; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  text-decoration: none; font-size: .89rem; font-weight: 600;
  padding: .45rem .7rem; border-radius: var(--radius);
  color: var(--ink-2); white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--paper-3); color: var(--ink); }
.nav-link[aria-current="page"] { background: var(--verde); color: #F2F0EB; }
.nav-cta {
  text-decoration: none; font-size: .84rem; font-weight: 600;
  padding: .5rem .9rem; border-radius: var(--radius);
  border: 1px solid var(--verde); color: var(--verde-2);
  white-space: nowrap; transition: background .15s, color .15s;
}
.nav-cta:hover { background: var(--verde); color: #F2F0EB; }
@media (max-width: 900px) { .nav-cta { display: none; } }

/* ============================================================ hero */

.hero { position: relative; background: var(--dark); color: var(--dark-text); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1;                                   /* la foto va a plena luz */
  filter: brightness(1.1) saturate(1.04) contrast(1.02);
}
/* Scrim en dos capas: horizontal donde vive el texto, y un pie suave para la
   franja de datos. Deja la mitad derecha de la fotografía casi limpia. */
.hero-media::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgba(8,11,10,.95) 0%,
      rgba(8,11,10,.92) 38%,
      rgba(8,11,10,.86) 58%,
      rgba(8,11,10,.58) 74%,
      rgba(8,11,10,.22) 90%,
      rgba(8,11,10,.12) 100%);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,11,10,.55) 0%, rgba(8,11,10,0) 22%),
    linear-gradient(0deg,  rgba(8,11,10,.80) 0%, rgba(8,11,10,0) 30%);
}
@media (max-width: 820px) {
  /* en móvil el texto ocupa todo el ancho, así que el scrim vuelve a ser vertical */
  .hero-media::before {
    background: linear-gradient(175deg, rgba(8,11,10,.80) 0%, rgba(8,11,10,.72) 50%, rgba(8,11,10,.88) 100%);
  }
}
.hero-body { position: relative; padding-block: clamp(4rem, 13vh, 8rem); }
.hero h1 {
  color: var(--dark-text);
  max-width: 20ch;
  text-shadow: 0 1px 2px rgba(8,11,10,.55), 0 2px 18px rgba(8,11,10,.45);
}
.hero .lede {
  color: #DCE0DB;                 /* más claro que --dark-text-2 sobre foto */
  max-width: 48ch;                /* no invade la zona clara del scrim */
  text-shadow: 0 1px 2px rgba(8,11,10,.6), 0 1px 12px rgba(8,11,10,.4);
}
.hero .eyebrow { text-shadow: 0 1px 3px rgba(8,11,10,.7); }
.hero .fact-n, .hero .fact-l { text-shadow: 0 1px 3px rgba(8,11,10,.65); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: var(--s6) var(--s7);
  padding-top: var(--s6); margin-top: var(--s6);
  border-top: 1px solid var(--dark-line);
}
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact-n { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1; font-weight: 500; }
.fact-l { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-text-2); font-weight: 500; }
.fact--hero .fact-n { color: var(--brass); }

/* ============================================================ botones */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .92rem; font-weight: 600;
  padding: .8rem 1.4rem; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--verde); color: #F2F0EB; border-color: var(--verde); }
.btn-primary:hover { background: var(--verde-2); border-color: var(--verde-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--paper-2); }
.section--dark .btn-ghost, .hero .btn-ghost { color: var(--dark-text); border-color: var(--dark-line); }
.section--dark .btn-ghost:hover, .hero .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--dark-text-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ============================================================ rejillas */

.grid { display: grid; gap: var(--s5); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-wide { grid-template-columns: 1fr; gap: var(--s6); }
}
@media (max-width: 560px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  :root { --s9: 4.5rem; --s8: 3.25rem; }
}

/* ============================================================ tarjetas */

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s3);
}
.section--paper2 .card, .section--wash .card { background: var(--paper); }
.card-t { font-size: 1rem; font-weight: 600; }
.card-b { font-size: .96rem; color: var(--ink-2); line-height: 1.6; }
.card--accent { border-left: 2px solid var(--verde); }

.statcard {
  display: flex; flex-direction: column; gap: var(--s1);
  padding: var(--s5) 0;
  border-top: 1px solid var(--line);
}
.statcard-n { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1; font-weight: 500; }
.statcard-l { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.statcard-note { font-size: .9rem; line-height: 1.55; color: var(--ink-2); margin-top: var(--s1); }
.statcard--hi .statcard-n { color: var(--verde-2); }

/* ============================================================ tablas */

.table-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 540px; }
caption { text-align: left; font-size: .84rem; color: var(--ink-3); line-height: 1.55; padding: var(--s3) var(--s4) 0; caption-side: bottom; }
th, td { padding: .72rem var(--s4); text-align: left; border-bottom: 1px solid var(--line-soft); }
thead th {
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-2);
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
}
tbody tr:last-child td { border-bottom: none; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
tr.is-subject { background: var(--verde-wash); }
tr.is-subject td { font-weight: 600; color: var(--verde-2); border-bottom-color: var(--line); }
tr.is-total td { font-weight: 600; background: var(--paper-2); }

/* ============================================================ comparador antes/después */

/* El recorte se hace con clip-path sobre una capa que SIEMPRE mide el 100 %
   del contenedor. Antes se animaba el width de .compare-top, lo que comprimía
   horizontalmente la imagen superior conforme se arrastraba el control. */
.compare {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-3); user-select: none; touch-action: pan-y;
  border: 1px solid var(--line);
  aspect-ratio: 850 / 637;          /* = 1700x1274, la proporción exacta de los pares */
  cursor: ew-resize;
}
.compare > img,
.compare-top > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; pointer-events: none;
}
.compare-top {
  position: absolute; inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.compare-handle {
  position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px;
  background: #FFFFFF; cursor: ew-resize; z-index: 3;
  box-shadow: 0 0 0 1px rgba(10,13,12,.45), 0 0 14px rgba(10,13,12,.35);
}
.compare-knob {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 46px; height: 46px; border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(10,13,12,.45), 0 0 0 1px rgba(10,13,12,.14);
  display: grid; place-items: center; color: #141718;
  font-size: 1rem; font-weight: 700;
}
.compare-handle:focus-visible { outline: 3px solid var(--verde-lit); outline-offset: 2px; }
.compare-tag {
  position: absolute; bottom: 14px; z-index: 2;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: .4rem .72rem; border-radius: 2px;
  background: rgba(10,13,12,.86); color: #FFFFFF;
  backdrop-filter: blur(6px);
}
.compare-tag--a { left: 14px; }
.compare-tag--b { right: 14px; }
.compare-cap { font-size: .9rem; color: var(--ink-2); margin-top: var(--s3); font-weight: 500; }

/* ============================================================ galería */

/* Galería en columnas, no en rejilla fija. Antes cada foto se forzaba a 4/3 con
   object-fit:cover: el baño principal es vertical (896x1200) y perdía 44 % arriba
   y abajo. Ahora cada imagen conserva su proporción real y no se recorta nada. */
.gallery { columns: 3; column-gap: var(--s3); }
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 520px) { .gallery { columns: 1; } }
.shot {
  margin: 0 0 var(--s3); position: relative; overflow: hidden;
  break-inside: avoid; -webkit-column-break-inside: avoid;
  border-radius: var(--radius); background: var(--paper-3);
  border: 1px solid var(--line-soft);
  cursor: zoom-in; display: block;
}
.shot img { width: 100%; height: auto; display: block; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem .85rem .6rem;
  font-size: .84rem; font-weight: 600; color: #FFFFFF;
  background: linear-gradient(180deg, transparent, rgba(8,11,10,.92));
  text-shadow: 0 1px 3px rgba(8,11,10,.8);
}
/* .shot--tall ya no hace falta: la proporción real la da la propia imagen. */

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(10,13,12,.96); padding: var(--s5);
  place-items: center;
}
.lb[open], .lb.is-open { display: grid; }
.lb img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: var(--radius); }
.lb-cap { color: #D9DEDA; font-size: .9rem; text-align: center; margin-top: var(--s3); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(242,240,235,.1); border: 1px solid rgba(242,240,235,.22);
  color: #F2F0EB; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; font-size: 1.1rem;
}
.lb-close { top: var(--s5); right: var(--s5); }
.lb-prev { left: var(--s5); top: 50%; translate: 0 -50%; }
.lb-next { right: var(--s5); top: 50%; translate: 0 -50%; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(242,240,235,.22); }

/* ============================================================ plano de conversión */

.plano { display: flex; flex-direction: column; gap: var(--s5); }
.plano-nivel { display: flex; flex-direction: column; gap: var(--s3); }
.plano-h { display: flex; align-items: baseline; gap: var(--s3); }
.plano-h b { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.plano-h span { font-size: .86rem; color: var(--ink-2); }
.plano-rows { display: flex; flex-direction: column; }
.plano-row {
  display: grid; grid-template-columns: 1fr auto 1.15fr; gap: var(--s4);
  align-items: center; padding: .62rem 0;
  border-bottom: 1px solid var(--line-soft); font-size: .92rem;
}
.plano-row:last-child { border-bottom: none; }
.plano-from { color: var(--ink-2); }
.plano-arrow { color: var(--verde-lit); font-size: .95rem; }
.plano-to { font-weight: 600; color: var(--verde-2); }
@media (max-width: 620px) {
  .plano-row { grid-template-columns: 1fr; gap: 2px; padding: .55rem 0; }
  .plano-arrow { display: none; }
}

/* ============================================================ escenarios */

.escenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
@media (max-width: 860px) { .escenarios { grid-template-columns: 1fr; } }
.esc {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: var(--s5); background: var(--paper);
  display: flex; flex-direction: column; gap: var(--s3);
}
.esc--base { border-color: var(--verde); border-width: 1px; box-shadow: 0 0 0 1px var(--verde); }
.esc-tag { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.esc--base .esc-tag { color: var(--verde-2); }
.esc-cap { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 500; }
.esc--base .esc-cap { color: var(--verde-2); }
.esc-lines { display: flex; flex-direction: column; gap: .34rem; font-size: .91rem; color: var(--ink-2); }
.esc-line { display: flex; justify-content: space-between; gap: var(--s3); }
.esc-line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.esc-sep { border-top: 1px solid var(--line-soft); padding-top: .45rem; margin-top: .2rem; font-weight: 600; color: var(--ink); }

/* ============================================================ barra de comparación (cap rate) */

.bars { display: flex; flex-direction: column; gap: var(--s4); }
.bar-row { display: grid; grid-template-columns: 200px 1fr 68px; gap: var(--s4); align-items: center; font-size: .93rem; }
.bar-track { height: 26px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--ink-3); border-radius: 2px; }
.bar-fill--hi { background: var(--verde); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 640px) { .bar-row { grid-template-columns: 1fr 52px; } .bar-track { grid-column: 1 / -1; order: 3; } }

/* ============================================================ ubicación */

.poi-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s6); }
@media (max-width: 700px) { .poi-list { grid-template-columns: 1fr; } }
.poi {
  display: grid; grid-template-columns: 1fr auto auto; gap: var(--s3);
  align-items: baseline; padding: .58rem 0;
  border-bottom: 1px solid var(--line-soft); font-size: .92rem;
}
.poi-d { font-variant-numeric: tabular-nums; font-weight: 600; }
.poi-t { font-size: .86rem; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }

/* ============================================================ audiencias (index) */

.audiencias { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
@media (max-width: 820px) { .audiencias { grid-template-columns: 1fr; } }
.aud {
  position: relative; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; color: var(--dark-text); display: block;
  background: var(--dark); min-height: 300px;
  border: 1px solid var(--dark-line);
}
.aud img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .4s, transform .6s cubic-bezier(.2,.7,.3,1); }
.aud:hover img { opacity: .74; transform: scale(1.04); }
.aud-body { position: relative; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); height: 100%; justify-content: flex-end; min-height: 300px;
  background: linear-gradient(180deg, rgba(8,11,10,.30) 0%, rgba(8,11,10,.72) 52%, rgba(8,11,10,.94) 88%); }
.aud-k { text-shadow: 0 1px 3px rgba(8,11,10,.8); font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 600; color: var(--verde-lit); }
.aud-t { font-family: var(--display); font-size: 1.75rem; line-height: 1.12; font-weight: 600; text-shadow: 0 1px 4px rgba(8,11,10,.7); }
.aud-d { font-size: .95rem; line-height: 1.55; color: #DCE0DB; text-shadow: 0 1px 3px rgba(8,11,10,.65); max-width: 42ch; }
.aud-m { font-size: .85rem; font-weight: 600; color: var(--dark-text); margin-top: var(--s2); display: inline-flex; gap: .4rem; align-items: center; }

/* ============================================================ recorrido por niveles */

.nivel { display: flex; flex-direction: column; gap: var(--s5); }
.nivel-head { display: flex; align-items: baseline; gap: var(--s4); border-bottom: 1px solid var(--line); padding-bottom: var(--s3); }
.nivel-n { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 500; color: var(--verde-2); }
.nivel-t { font-size: 1.15rem; font-weight: 600; }
.nivel-m { margin-left: auto; font-size: .84rem; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }
.espacios { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s6); }
@media (max-width: 760px) { .espacios { grid-template-columns: 1fr; } }
.espacio { display: flex; gap: var(--s3); padding: .55rem 0; border-bottom: 1px solid var(--line-soft); font-size: .93rem; }
.espacio b { font-weight: 600; }
.espacio i { font-style: normal; color: var(--ink-3); font-size: .89rem; display: block; }

/* ============================================================ FAQ */

.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s4) 0;
  font-weight: 600; font-size: 1rem; display: flex; gap: var(--s4);
  align-items: baseline; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--verde-lit); font-size: 1.2rem; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 var(--s5); max-width: var(--readw); color: var(--ink-2); font-size: .95rem; }
.faq-a p + p { margin-top: var(--s3); }

/* ============================================================ CTA + footer */

.cta-band { background: var(--verde); color: #F2F0EB; }
.cta-band .eyebrow { color: rgba(242,240,235,.7); }
.cta-band .display-l { color: #F2F0EB; }
.cta-band .lede { color: rgba(242,240,235,.82); }
.cta-band .btn-primary { background: #F2F0EB; color: var(--verde); border-color: #F2F0EB; }
.cta-band .btn-primary:hover { background: #fff; border-color: #fff; }
.cta-band .btn-ghost { color: #F2F0EB; border-color: rgba(242,240,235,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(242,240,235,.7); }

.footer { background: var(--dark); color: var(--dark-text-2); padding-block: var(--s7) var(--s6); font-size: .9rem; }
.footer a { color: var(--dark-text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; gap: var(--s6); justify-content: space-between; padding-bottom: var(--s5); border-bottom: 1px solid var(--dark-line); }
.footer-cols { display: flex; gap: var(--s7); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: .4rem; }
.footer-col b { color: var(--dark-text); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: .2rem; }
.footer-legal { padding-top: var(--s5); font-size: .8rem; line-height: 1.65; max-width: 80ch; }

/* ============================================================ misc */

.rule { border: none; border-top: 1px solid var(--line); margin: 0; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: .3rem .6rem; border-radius: 2px;
  background: var(--verde-wash); color: var(--verde-2);
  border: 1px solid color-mix(in srgb, var(--verde) 22%, transparent);
}
.badge--brass { background: color-mix(in srgb, var(--brass) 14%, transparent); color: var(--brass); border-color: color-mix(in srgb, var(--brass) 34%, transparent); }

.note {
  border-left: 3px solid var(--brass);
  padding: var(--s3) 0 var(--s3) var(--s5);
  font-size: .95rem; line-height: 1.6; color: var(--ink-2); background: transparent;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--verde); color: #F2F0EB; padding: .6rem 1rem; z-index: 200;
}
.skip:focus { left: var(--s4); top: var(--s4); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--verde); color: #F2F0EB; text-decoration: none;
  padding: .78rem 1.1rem; border-radius: 40px; font-size: .88rem; font-weight: 600;
  box-shadow: 0 6px 24px rgba(16,20,19,.28);
  transition: transform .15s;
}
.wa-float:hover { transform: translateY(-2px); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   Comparadores en columna: menos piezas, mucho más grandes.
   ============================================================ */
.compare-stack { display: flex; flex-direction: column; gap: var(--s7); }
.compare-item { display: flex; flex-direction: column; gap: var(--s3); }
.compare-item .compare { width: 100%; }
.compare-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s5); }
.compare-head h3 { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; letter-spacing: -.01em; }
.compare-head p { font-size: .95rem; color: var(--ink-2); }
.section--dark .compare-head p { color: var(--dark-text-2); }
.compare-hint {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  color: var(--ink-3);
}
.section--dark .compare-hint { color: var(--dark-text-2); }


/* ============================================================
   Cifra destacada en prosa. `strong` normal no bastaba para que
   el 38 % resaltara sobre la fotografía de portada.
   ============================================================ */
/* Marcador, no texto de color. El texto en latón sobre papel daba 3.01:1 —
   reprobaba AA. Ahora el texto va en tinta y el latón es el fondo: 12.30:1. */
.hl {
  color: var(--ink);
  font-weight: 700;
  padding: .06em .22em;
  border-radius: 2px;
  background: color-mix(in srgb, var(--brass) 26%, transparent);
  box-shadow: inset 0 -.16em 0 color-mix(in srgb, var(--brass) 85%, transparent);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section--dark .hl, .hero .hl, .cta-band .hl {
  color: #FFFFFF;
  background: color-mix(in srgb, #E8C689 24%, transparent);
  box-shadow: inset 0 -.16em 0 rgba(232,198,137,.9);
}

/* Sello del argumento principal, debajo del texto de portada */
.hero-claim {
  display: inline-flex; align-items: center; gap: .7rem;
  align-self: flex-start;
  padding: .68rem 1.1rem;
  border: 1px solid rgba(232,198,137,.42);
  border-radius: 2px;
  background: rgba(232,198,137,.10);
  backdrop-filter: blur(6px);
}
.hero-claim b {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1; font-weight: 700;
  color: #E8C689;
  font-variant-numeric: tabular-nums;
}
.hero-claim span {
  font-size: .88rem; line-height: 1.3; font-weight: 600;
  color: var(--dark-text); max-width: 22ch;
}

/* Línea que revela a qué asesor lleva el CTA. La rellena contact.js según las
   reglas de contacto de la entidad; oculta si no se pudo resolver. */
.contact-line {
  font-size: .92rem;
  color: rgba(242,240,235,.78);
}
.contact-line b { color: #F2F0EB; font-weight: 600; }
.contact-line[hidden] { display: none; }
