/* ═══════════════════════════════════════════════════════════════════════════
   AptisBot — design system
   Shared across home + all sub-pages
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── reset ──────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ─── tokens ─────────────────────────────────────────────────────────────── */
:root {
  --accent: #2E7BD6;
  --bg: oklch(96.5% 0.012 80);
  --bg-warm: oklch(94% 0.018 80);
  --surface: oklch(98% 0.008 85);
  --surface-2: oklch(99% 0.004 85);
  --ink: oklch(18% 0.02 60);
  --ink-2: oklch(28% 0.02 60);
  --muted: oklch(48% 0.015 70);
  --line: oklch(86% 0.012 75);
  --line-soft: oklch(91% 0.01 75);
  --ok: oklch(56% 0.14 145);
  --warn: oklch(58% 0.16 60);
  --no: oklch(54% 0.18 25);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

/* ─── body ───────────────────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.mono { font-family: var(--mono); }
.kbd {
  font-family: var(--mono); font-size: .85em;
  background: var(--surface); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 4px;
  white-space: nowrap; color: var(--ink-2);
}

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
  padding: 14px var(--pad);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-style: italic;
  font-size: 20px; line-height: 1;
  border-radius: 8px;
}
.nav-name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.nav-name em { font-family: var(--serif); font-weight: 400; opacity: .55; font-style: italic; }
.nav-crumb {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: .03em; margin-left: 4px;
}
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.nav-links a { font-size: 13.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; }
.nav-langs { display: flex; gap: 2px; }
.nav-langs a { padding: 4px 7px; border-radius: 4px; color: var(--muted); }
.nav-langs a.active { background: var(--ink); color: var(--bg); }
@media (max-width: 1100px) { .nav-links { display: none; } }

/* ─── HERO (sub-page) ────────────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad) clamp(50px, 6vw, 80px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: .04em; margin-bottom: 28px;
}
.hero-eyebrow-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hero-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: .98;
  letter-spacing: -0.022em;
  margin: 0 0 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 32ch;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-sub strong { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-context {
  font-size: 16px; color: var(--ink-2); max-width: 56ch; line-height: 1.55;
}
.hero-context strong { font-weight: 600; color: var(--ink); }

/* ─── SECTION HEAD ───────────────────────────────────────────────────────── */
.section-head {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 80px 1fr;
  column-gap: 24px; row-gap: 12px; align-items: start;
  margin-top: clamp(80px, 10vw, 140px);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-num {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .08em; color: var(--muted);
  border-top: 1px solid var(--ink);
  padding-top: 8px; width: 60px;
}
.section-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.02; letter-spacing: -0.012em;
  margin: 0; text-wrap: balance;
}
.section-h2 em { font-style: italic; }
.section-lede {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--muted); max-width: 64ch;
  margin: 4px 0 0; grid-column: 2; line-height: 1.55;
}
.section-lede strong { color: var(--ink); font-weight: 600; }

/* ─── BOT CTA ────────────────────────────────────────────────────────────── */
.bot-cta {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 0 var(--pad);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
}
.bot-cta-note {
  font-size: 11px; color: var(--muted);
  letter-spacing: .04em; text-transform: lowercase;
}
.bot-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: all .2s;
}
.bot-cta-btn:hover { background: var(--accent); }
.bot-cta-arrow { font-family: var(--mono); transition: transform .2s; }
.bot-cta-btn:hover .bot-cta-arrow { transform: translateX(3px); }

/* ─── VERDICT / KPI BAND ─────────────────────────────────────────────────── */
.verdict, .cost-section {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
}
.verdict-inner, .cost-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.verdict-stat, .cost-stat {
  padding: 36px 28px 30px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.verdict-stat:last-child, .cost-stat:last-child { border-right: 0; }
.verdict-stat-num, .cost-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: .85; letter-spacing: -.02em;
  color: var(--ink);
}
.verdict-stat.ok .verdict-stat-num, .cost-stat.ok .cost-num { color: var(--ok); font-style: italic; }
.verdict-stat.parcial .verdict-stat-num, .cost-stat.warn .cost-num { color: var(--warn); font-style: italic; }
.verdict-stat.no .verdict-stat-num, .cost-stat.no .cost-num { color: var(--no); font-style: italic; }
.verdict-stat-lbl, .cost-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: .06em;
  text-transform: uppercase; margin-top: auto;
}
.cost-stat.alt { background: var(--ink); color: var(--bg); }
.cost-stat.alt .cost-num { color: var(--accent); font-style: italic; }
.cost-stat.warn .cost-num { color: var(--no); font-style: italic; }
.cost-label { font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.cost-foot {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
  margin-top: auto; padding-top: 16px;
}
.cost-stat.alt .cost-foot { color: color-mix(in oklab, var(--bg) 70%, var(--ink)); }
@media (max-width: 900px) {
  .verdict-inner, .cost-stats { grid-template-columns: repeat(2, 1fr); }
  .verdict-stat:nth-child(2), .cost-stat:nth-child(2) { border-right: 0; }
  .verdict-stat, .cost-stat { border-bottom: 1px solid var(--line); }
  .verdict-stat:nth-last-child(-n+2), .cost-stat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .verdict-inner, .cost-stats { grid-template-columns: 1fr; }
  .verdict-stat, .cost-stat { border-right: 0; }
}

/* ─── GENERIC DATA TABLE ─────────────────────────────────────────────────── */
.dt-table {
  max-width: var(--maxw); margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}
.dt-row {
  display: grid;
  gap: 16px; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  transition: background .15s;
}
.dt-row:last-child { border-bottom: 0; }
.dt-row:not(.dt-head):hover { background: var(--surface); }
.dt-row.dt-head {
  background: var(--bg-warm);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.dt-row.highlight {
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 10%, var(--surface-2)), var(--surface-2));
  position: relative;
}
.dt-row.highlight::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  background: var(--accent);
}

/* ─── PILLS ──────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
}
.pill.ok-sí, .pill.ok-si { background: color-mix(in oklab, var(--ok) 16%, var(--bg)); color: var(--ok); }
.pill.ok-parcial { background: color-mix(in oklab, var(--warn) 22%, var(--bg)); color: oklch(45% 0.16 60); }
.pill.ok-no { background: color-mix(in oklab, var(--no) 18%, var(--bg)); color: var(--no); }
.pill.ok-variable { background: var(--bg-warm); color: var(--muted); }

/* ─── 2-UP COMPARE BLOCK (B2 vs C1, yes vs no, etc.) ─────────────────────── */
.split-2 {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
}
.split-2-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.split-card {
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 320px;
}
.split-card.light { background: var(--surface-2); }
.split-card.dark { background: var(--ink); color: var(--bg); border-left: 1px solid var(--line); }
.split-tag {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.split-card.dark .split-tag { color: color-mix(in oklab, var(--bg) 55%, var(--ink)); }
.split-h {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  line-height: .95; letter-spacing: -.02em;
}
.split-card.dark .split-h { color: var(--accent); font-style: italic; }
.split-body { font-size: 14.5px; line-height: 1.5; }
.split-body strong { font-weight: 600; }
.split-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.split-list li { padding-left: 16px; position: relative; font-size: 14.5px; line-height: 1.45; }
.split-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }
.split-list li em { font-family: var(--serif); font-style: italic; }
@media (max-width: 800px) {
  .split-2-grid { grid-template-columns: 1fr; }
  .split-card.dark { border-left: 0; border-top: 1px solid var(--line); }
}

/* ─── 3-UP INFO CARDS ────────────────────────────────────────────────────── */
.info-3 { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.info-3-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.info-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 26px;
  background: var(--surface-2);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.info-tag {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); letter-spacing: .06em;
}
.info-h {
  font-family: var(--serif);
  font-size: 26px; line-height: 1.1; letter-spacing: -.01em;
}
.info-body { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 900px) { .info-3-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .info-3-grid { grid-template-columns: 1fr; } }

/* ─── COMPARISON TABLE (4 cols) ──────────────────────────────────────────── */
.cmp { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.cmp-table {
  border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  background: var(--surface-2);
}
.cmp-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 2.2fr;
  gap: 16px; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-row.cmp-th {
  background: var(--bg-warm);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.cmp-row.highlight {
  background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 10%, var(--surface-2)), var(--surface-2));
  position: relative;
}
.cmp-row.highlight::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; background: var(--accent);
}
.cmp-name {
  font-family: var(--serif); font-size: 21px;
  line-height: 1.18; color: var(--ink);
}
.cmp-row.highlight .cmp-name { color: var(--accent); }
.cmp-price, .cmp-wait {
  font-family: var(--mono); font-size: 14px;
  color: var(--ink-2); font-weight: 500;
}
.cmp-row.highlight .cmp-price { color: var(--ink); font-weight: 600; }
.cmp-best { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
@media (max-width: 800px) {
  .cmp-row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .cmp-row.cmp-th { display: none; }
  .cmp-best { grid-column: 1 / -1; }
}

/* ─── CCAA-specific table ────────────────────────────────────────────────── */
.ccaa-filter {
  max-width: var(--maxw); margin: 0 auto 20px;
  padding: 0 var(--pad);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ccaa-filter button {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .03em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--surface-2);
  cursor: pointer;
  transition: all .15s;
}
.ccaa-filter button:hover { border-color: var(--ink); }
.ccaa-filter button.active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.ccaa-table-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.ccaa-row {
  display: grid;
  grid-template-columns: 1.4fr .8fr .7fr 2fr 1.2fr;
  gap: 16px; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  transition: background .15s;
}
.ccaa-row:last-child { border-bottom: 0; }
.ccaa-row:not(.ccaa-head):hover { background: var(--surface); }
.ccaa-head {
  background: var(--bg-warm);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.ccaa-name {
  font-family: var(--serif); font-size: 21px; line-height: 1.18; color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.ccaa-name .gentilicio {
  font-family: var(--mono); font-style: normal; font-size: 10px;
  color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
}
.ccaa-levels { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.ccaa-note { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.ccaa-src {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
  justify-content: flex-end; text-align: right;
}
@media (max-width: 900px) {
  .ccaa-row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .ccaa-head { display: none; }
  .ccaa-note { grid-column: 1 / -1; }
  .ccaa-src { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: grid; grid-template-columns: 60px 1fr 32px;
  align-items: center; gap: 16px;
  width: 100%; padding: 22px 8px;
  text-align: left; transition: background .15s;
}
.faq-q:hover { background: var(--surface); }
.faq-q-num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.faq-q-text {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.25; color: var(--ink); text-wrap: balance;
}
.faq-item.open .faq-q-text { color: var(--accent); }
.faq-q-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%; color: var(--ink-2);
}
.faq-item.open .faq-q-icon { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-a {
  padding: 0 8px 26px 76px;
  font-size: 15px; line-height: 1.6; color: var(--ink-2);
  max-width: 76ch;
}
.faq-a a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.faq-a strong { color: var(--ink); font-weight: 600; }

/* ─── TIMELINE / STEPS ───────────────────────────────────────────────────── */
.timeline { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.timeline-list { border-top: 1px solid var(--ink); }
.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-row:last-child { border-bottom: 0; }
.timeline-step {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(48px, 6vw, 80px);
  line-height: .85;
  color: var(--accent);
}
.timeline-body { display: flex; flex-direction: column; gap: 8px; }
.timeline-h {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15; letter-spacing: -.01em;
  margin: 0;
}
.timeline-body p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }
.timeline-meta {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}

/* ─── PROSE (editorial body for long-form pages) ─────────────────────────── */
.prose { max-width: 70ch; margin: 0 auto; padding: 0 var(--pad); font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.prose h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.8vw, 36px);
  margin: 48px 0 12px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.prose h3 em { font-style: italic; color: var(--accent); }
.prose p { margin: 0 0 18px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 6px 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  margin: 28px 0;
}

/* ─── CLOSING ────────────────────────────────────────────────────────────── */
.close {
  margin-top: clamp(100px, 12vw, 160px);
  padding: clamp(80px, 12vw, 140px) var(--pad);
  text-align: center;
  background: var(--ink); color: var(--bg);
  position: relative; overflow: hidden;
}
.close::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 100%, color-mix(in oklab, var(--accent) 28%, transparent), transparent 70%);
  pointer-events: none;
}
.close-inner { position: relative; max-width: 880px; margin: 0 auto; }
.close-eyebrow {
  font-family: var(--mono); font-size: 12px;
  color: color-mix(in oklab, var(--bg) 50%, var(--ink));
  letter-spacing: .12em; text-transform: uppercase;
  display: inline-block;
  border-top: 1px solid color-mix(in oklab, var(--bg) 40%, var(--ink));
  padding-top: 8px; margin-bottom: 24px; width: 80px;
}
.close-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 8vw, 110px);
  line-height: .96; letter-spacing: -.025em;
  margin: 0; color: var(--bg);
}
.close-h em { color: var(--accent); font-style: italic; }
.close-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.4;
  margin: 28px auto 0; max-width: 50ch;
  color: color-mix(in oklab, var(--bg) 80%, var(--ink));
  font-style: italic;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 56px var(--pad) 32px;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2.4fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-name { font-weight: 600; font-size: 18px; }
.footer-name em { font-family: var(--serif); font-weight: 400; opacity: .55; }
.footer-tag {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  margin-top: 6px; letter-spacing: .03em;
}
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-h {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 6px;
}
.footer-cols a { font-size: 13.5px; color: var(--ink-2); width: fit-content; }
.footer-cols a:hover { color: var(--accent); }
.footer-slogan {
  width: 100%; font-family: var(--serif); font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink); margin-bottom: 14px;
}
.footer-bot {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 11px; color: var(--muted);
  flex-wrap: wrap; font-family: var(--mono);
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}


/* ─── PROSE extras (páginas normalizadas 25-may) ─────────────────────────── */
.prose h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px,5vw,54px); line-height:1.06; letter-spacing:-.02em; margin: 8px 0 22px; color: var(--ink); }
.prose h1 em, .prose h2 em { font-style: italic; color: var(--accent); }
.prose h2 { font-family: var(--serif); font-weight:400; font-size: clamp(24px,2.6vw,32px); margin: 44px 0 12px; letter-spacing:-.01em; color: var(--ink); }
.prose h4 { font-family: var(--serif); font-weight:600; font-size:20px; margin:28px 0 10px; color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose ol { margin: 0 0 20px; padding-left: 22px; } .prose ol li { margin-bottom: 8px; }
.prose table { width:100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--bg-warm); font-weight: 600; color: var(--ink); }
.prose-top { padding: 40px 0 0; }

/* container ancho para secciones normalizadas (precios) */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
