/* MARKET LAB · sistema de diseño
   paper #0A0A0A · carbon #1F1F1F · ink #F5F5F5 · graphite #9A9A9A · line #2A2A2A
   dato #39FF88 · proporción 65/20/10/5 */

:root {
  --paper: #0A0A0A;
  --carbon: #1F1F1F;
  --ink: #F5F5F5;
  --graphite: #9A9A9A;
  --line: #2A2A2A;
  --dato: #39FF88;
  --alert: #F2B8B5;

  --light-paper: #F5F5F2;
  --light-surface: #FFFFFF;
  --light-ink: #0A0A0A;
  --light-graphite: #5E5E5A;
  --light-line: #DEDED8;
  --dato-text: #0B7A40;

  --display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Courier New', monospace;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1240px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 100;
  background: var(--dato);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- eyebrow ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dato);
  margin: 0 0 18px;
}
.light .eyebrow { color: var(--dato-text); }

/* ---------- header ---------- */

header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand svg { width: 34px; height: 34px; }
.brand .wordmark {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand .pill {
  background: var(--dato);
  color: var(--paper);
  padding: 2px 9px;
  border-radius: 8px;
  margin-left: 4px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang a {
  padding: 7px 13px;
  text-decoration: none;
  color: var(--graphite);
}
.lang a[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* En teléfono el encabezado no alcanza para el botón: el hero ya tiene su CTA. */
@media (max-width: 620px) {
  .top-row { padding: 12px var(--gutter); }
  .top-right .btn { display: none; }
  .brand svg { width: 30px; height: 30px; }
  .brand .wordmark { font-size: 17px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--dato); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sm { font-size: 14px; padding: 10px 20px; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--dato);
  outline-offset: 3px;
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(64px, 11vw, 136px) 0 clamp(56px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 8.2vw, 92px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  max-width: 17ch;
}

.hero .lede {
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.5;
  color: var(--graphite);
  max-width: 54ch;
  margin: 0 0 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.slogan {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 42px 0 0;
}
.slogan b { color: var(--dato); font-weight: 700; }

/* ---------- sections ---------- */

section {
  padding: clamp(60px, 9vw, 118px) 0;
  border-bottom: 1px solid var(--line);
}

section.light {
  background: var(--light-paper);
  color: var(--light-ink);
  border-bottom-color: var(--light-line);
}

h2 {
  font-family: var(--display);
  font-size: clamp(31px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0 0 22px;
  max-width: 26ch;
}

h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.section-lede {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: var(--graphite);
  max-width: 62ch;
  margin: 0 0 46px;
}
.light .section-lede { color: var(--light-graphite); }

.kicker {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  max-width: 64ch;
  margin: 46px 0 0;
}
.kicker b { color: var(--ink); }
.light .kicker b { color: var(--light-ink); }

/* ---------- grid + cards ---------- */

.grid {
  display: grid;
  gap: 18px;
}
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .g2 { grid-template-columns: 1fr; } }
.g3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

.card {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.card p {
  margin: 0;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.55;
}
.card .num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--dato);
  margin: 0 0 14px;
}

.light .card {
  background: var(--light-surface);
  border-color: var(--light-line);
}
.light .card p { color: var(--light-graphite); }
.light .card .num { color: var(--dato-text); }

.card.accent { border-left: 3px solid var(--dato); }
.card.invert {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.card.invert p { color: var(--graphite); }
.card.invert .num { color: var(--dato); }

.stage .num {
  font-size: 34px;
  line-height: 1;
  color: var(--dato-text);
}
.light .card.invert .num { color: var(--dato); }

/* ---------- stats ---------- */

.stat .figure {
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--dato);
  margin: 0 0 12px;
}
.stat.filled {
  background: var(--dato);
  border-color: var(--dato);
}
.stat.filled .figure,
.stat.filled h3 { color: var(--paper); }
.stat.filled p { color: rgba(10, 10, 10, 0.78); }

/* ---------- table ---------- */

.table-scroll { overflow-x: auto; }

table.build {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 16px;
}
table.build th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--line);
}
table.build td {
  padding: 19px 16px 19px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--graphite);
}
table.build td:first-child {
  color: var(--ink);
  font-weight: 600;
  width: 28%;
}
table.build td:last-child { padding-right: 0; }

/* ---------- group ---------- */

.plate {
  height: 86px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.plate span {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* ---------- form ---------- */

.form-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) {
  .form-split { grid-template-columns: 1fr; }
}

.promise {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.promise .big {
  font-family: var(--mono);
  font-size: clamp(74px, 13vw, 122px);
  font-weight: 700;
  line-height: 0.85;
  margin: 0;
}
.promise .big-label {
  font-size: 21px;
  font-weight: 600;
  color: var(--graphite);
  margin: 0;
}
.free-pill {
  align-self: flex-start;
  background: var(--dato);
  color: var(--paper);
  font-weight: 600;
  font-size: 17px;
  padding: 11px 26px;
  border-radius: 999px;
}

form {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
}

.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
label .opt {
  font-weight: 400;
  color: var(--graphite);
}

input, select, textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  padding: 13px 15px;
}
textarea { resize: vertical; min-height: 118px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239A9A9A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 40px;
}

input::placeholder, textarea::placeholder { color: #6B6B6B; }

.hint {
  font-size: 13px;
  color: var(--graphite);
  margin: 8px 0 0;
}

.err {
  font-size: 13px;
  color: var(--alert);
  margin: 7px 0 0;
  display: none;
}
.field.bad input,
.field.bad textarea,
.field.bad select { border-color: var(--alert); }
.field.bad .err { display: block; }

form .btn-primary { width: 100%; margin-top: 6px; }

.form-note {
  font-size: 13px;
  color: var(--graphite);
  margin: 16px 0 0;
  text-align: center;
}

.form-status {
  display: none;
  border-radius: 11px;
  padding: 18px 20px;
  font-size: 16px;
  margin-top: 18px;
  line-height: 1.5;
}
.form-status.ok {
  display: block;
  background: rgba(57, 255, 136, 0.1);
  border: 1px solid var(--dato);
}
.form-status.fail {
  display: block;
  background: rgba(242, 184, 181, 0.08);
  border: 1px solid var(--alert);
  color: var(--alert);
}

.sent form { display: none; }

/* ---------- navegación del encabezado ---------- */

.nav {
  display: none;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.nav a { text-decoration: none; color: var(--graphite); white-space: nowrap; }
.nav a:hover { color: var(--ink); }
@media (min-width: 1100px) { .nav { display: flex; } }

/* ---------- hero: datos rápidos ---------- */

.facts {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.facts li {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--ink);
}
.facts li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--dato);
  margin-right: 9px;
  vertical-align: 1px;
}

/* ---------- íconos de beneficios ---------- */

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(57, 255, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--dato);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- fases: etiqueta y entrega semanal ---------- */

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--dato);
  color: var(--paper);
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0 0 12px;
}
.card .tag { color: var(--paper); }

.weekly {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 760px) { .weekly { grid-template-columns: 1fr; } }
.weekly h3 { font-size: clamp(22px, 2.6vw, 28px); }

.report-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.light .card .report-head span { color: var(--light-graphite); }
.report-head b { color: var(--dato-text); }

.bar {
  height: 10px;
  border-radius: 999px;
  background: var(--light-line);
  overflow: hidden;
  margin-bottom: 18px;
}
.bar span {
  display: block;
  height: 100%;
  background: var(--dato);
  border-radius: 999px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}
.checks li {
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--light-line);
  position: relative;
  color: var(--light-ink);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  border: 1.6px solid var(--light-graphite);
}
.checks li.done::before {
  background: var(--dato);
  border-color: var(--dato);
}
.note {
  font-size: 13px !important;
  margin-top: 14px !important;
  font-style: italic;
}

/* ---------- modalidades de mantenimiento ---------- */

.plan h3 { font-size: 25px; }
.plan .bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.plan .bullets li {
  padding: 10px 0 10px 24px;
  border-top: 1px solid var(--line);
  color: var(--graphite);
  font-size: 16px;
  position: relative;
}
.plan .bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--dato);
}
.plan .fit {
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dato) !important;
  margin: 0 0 8px !important;
}

/* ---------- caso de ejemplo ---------- */

.case-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  border: 1px dashed var(--light-graphite);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 30px;
  color: var(--light-graphite);
}
.case .num { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- preguntas frecuentes ---------- */

.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1.1;
  color: var(--dato);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin: -6px 0 22px;
  color: var(--graphite);
  max-width: 70ch;
}
.light .faq details,
.light .faq details:first-child { border-color: var(--light-line); }
.light .faq summary::after { color: var(--dato-text); }
.light .faq details p { color: var(--light-graphite); }

/* ---------- aviso de versión nueva ---------- */

.update-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  animation: update-in 0.18s ease-out;
}

@keyframes update-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.update-card {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-top: 3px solid var(--dato);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.update-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dato);
  margin: 0 auto 20px;
}

.update-card h2 {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  max-width: none;
  color: var(--ink);
}

.update-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--graphite);
  margin: 0 0 26px;
}

.update-card .btn-primary { width: 100%; }

.update-cambios {
  text-align: left;
  margin: -10px 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.update-cambios-titulo {
  font-family: var(--mono);
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dato) !important;
  margin: 0 0 8px !important;
}
.update-cambios ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.update-cambios li + li { margin-top: 4px; }

.update-card .later {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--graphite);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.update-card .later:hover { color: var(--ink); }

/* ---------- footer ---------- */

footer {
  padding: clamp(50px, 7vw, 86px) 0 44px;
  border-bottom: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 32px;
  margin-bottom: 44px;
}
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 14px;
}
.foot-grid a, .foot-grid p {
  display: block;
  margin: 0 0 9px;
  font-size: 16px;
  text-decoration: none;
  color: var(--ink);
}
.foot-grid a:hover { color: var(--dato); }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--graphite);
}
.foot-base p { margin: 0; }

/* ---------- resaltado de marca ---------- */
.hl { color: var(--dato); }
.light .hl { color: var(--dato-text); }

/* ---------- diferencia ---------- */
.compara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 44px; }
.compara-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; background: var(--paper); }
.compara-col.nuestro { background: var(--carbon); border-color: rgba(57,255,136,.45); box-shadow: 0 0 0 1px rgba(57,255,136,.15), 0 24px 60px rgba(57,255,136,.06); }
.compara-tit { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--graphite); margin: 0 0 18px; }
.compara-col.nuestro .compara-tit { color: var(--dato); }
.compara ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compara li { position: relative; padding-left: 30px; font-size: 16.5px; line-height: 1.5; color: var(--graphite); }
.compara li::before { content: ''; position: absolute; left: 0; top: 9px; width: 14px; height: 2px; background: #4A4A4A; }
.compara-col.nuestro li { color: var(--ink); }
.compara-col.nuestro li::before { top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--dato); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-5-5 1.7-1.7 3.3 3.3 7.5-7.5 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-5-5 1.7-1.7 3.3 3.3 7.5-7.5 1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.compara-col.nuestro b { color: var(--ink); font-weight: 600; }
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pilares > div { padding: 28px 28px 0 0; }
.pilares > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.pilar-n { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--dato); margin: 0 0 12px; }
.pilares p:not(.pilar-n) { margin: 0; color: var(--graphite); line-height: 1.55; }
@media (max-width: 760px) {
  .compara { grid-template-columns: 1fr; }
  .compara-col { padding: 22px; }
  .pilares { grid-template-columns: 1fr; border-top: 0; }
  .pilares > div, .pilares > div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Índice del Dato ---------- */
.indice-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.indice-split .section-lede { margin-bottom: 24px; }
.ix-notas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--light-graphite); font-size: 15.5px; }
.ix-notas li { padding-left: 26px; position: relative; }
.ix-notas li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--dato-text); }
.light .card.ix-card { padding: clamp(22px, 3vw, 34px); min-height: 440px; display: grid; gap: 18px; align-content: start; box-shadow: 0 30px 70px rgba(10,10,10,.08); }
.ix-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ix-paso { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--light-graphite); margin: 0; }
.ix-area { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dato-text); background: rgba(57,255,136,.14); padding: 5px 10px; border-radius: 999px; }
.ix-barra { height: 6px; border-radius: 999px; background: var(--light-line); overflow: hidden; }
.ix-barra span { display: block; height: 100%; background: linear-gradient(90deg, #12A150, var(--dato)); border-radius: 999px; transition: width .35s ease; }
.ix-pregunta { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.ix-pregunta legend { font-family: var(--display); font-size: clamp(20px, 2.4vw, 25px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 14px; padding: 0; color: var(--light-ink); outline: none; }
.ix-opcion { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--light-line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.ix-opcion:hover { border-color: #9BC9AE; }
.ix-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.ix-marca { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B9B9B2; position: relative; transition: border-color .15s; }
.ix-opcion input:checked ~ .ix-marca { border-color: #12A150; }
.ix-opcion input:checked ~ .ix-marca::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #12A150; }
.ix-opcion:has(input:checked) { border-color: #12A150; background: rgba(57,255,136,.08); }
.ix-opcion input:focus-visible ~ .ix-marca { outline: 3px solid var(--dato-text); outline-offset: 3px; }
.ix-texto { font-size: 16px; line-height: 1.4; color: var(--light-ink); }
.ix-acciones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.ix-acciones .btn[disabled] { opacity: .4; cursor: not-allowed; }
.light .ix-acciones .btn-ghost { color: var(--light-ink); border-color: var(--light-line); }
.ix-res { display: flex; gap: 24px; align-items: center; }
.ix-anillo { --p: 0; flex: 0 0 auto; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#12A150 calc(var(--p) * 1%), var(--light-line) 0); }
.ix-num { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.ix-num strong { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--light-ink); }
.ix-num span { font-family: var(--mono); font-size: 12px; color: var(--light-graphite); }
.ix-res-txt { display: grid; gap: 6px; }
.ix-res-titulo { margin: 0; font-size: 24px; color: var(--light-ink); outline: none; }
.ix-res-txt p:not(.ix-paso) { margin: 0; color: var(--light-graphite); line-height: 1.55; font-size: 15.5px; }
.ix-areas { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); }
.ix-fila { display: grid; grid-template-columns: 110px minmax(0, 1fr) 46px; gap: 12px; align-items: center; font-size: 14.5px; }
.ix-fila-n { color: var(--light-ink); font-weight: 600; }
.ix-fila-v { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--light-graphite); }
.ix-recos ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--light-graphite); line-height: 1.55; }
.ix-recos strong { color: var(--light-ink); }
@media (max-width: 880px) { .indice-split { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .ix-res { flex-direction: column; align-items: flex-start; }
  .ix-fila { grid-template-columns: 92px minmax(0, 1fr) 40px; }
  .light .card.ix-card { min-height: 0; }
  .ix-acciones .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- barra fija de contacto (teléfono) ---------- */
.cta-fija { display: none; }
@media (max-width: 760px) {
  .cta-fija { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(20,20,20,.92); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .25s ease; }
  .cta-fija.visible { transform: none; }
  .cta-fija .btn { flex: 1 1 auto; justify-content: center; min-height: 46px; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
  .cta-wa { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #1F1F1F; border: 1px solid var(--line); color: var(--dato); }
  .cta-wa svg { width: 22px; height: 22px; fill: currentColor; }
  footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .cta-fija, .ix-barra span { transition: none; } }
.top-right .btn { white-space: nowrap; }
section[id] { scroll-margin-top: 76px; }
