/* Layout: left-aligned editorial grid; dark ink hero bands alternate with cool paper sections.
   Signature element: the "libro de solicitudes" ledger that shows the filter at work. */
:root {
  --ink: #13202f;
  --ink-2: #1c2c3f;
  --ink-line: #2d405a;
  --paper: #f1f4f8;
  --card: #ffffff;
  --line: #d3dae4;
  --text: #17222f;
  --muted: #566577;
  --on-ink: #e9eef5;
  --on-ink-muted: #9fb0c4;
  --orange: #f28a00;
  --orange-deep: #a85500;
  --orange-soft: #fff1de;
  --reject: #8794a4;
  --ok: #1f7a4d;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 24px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--font);
  font-variation-settings: "wdth" 116;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.65rem); }
h3 { font-size: 1.25rem; font-variation-settings: "wdth" 108; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0.8em 1.4em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  font-variation-settings: "wdth" 106;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--orange); color: #1a1205; }
.btn-primary:hover { background: #ff9d1f; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(127,140,160,.12); }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 700; color: var(--orange-deep); text-underline-offset: 4px; }
.band-ink .textlink { color: var(--orange); }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; font-weight: 800; font-size: 1.35rem; font-variation-settings: "wdth" 125; letter-spacing: -0.03em; color: #fff; }
.brand b { color: var(--orange); font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a, .nav summary { color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 10px 12px; border-radius: var(--radius); cursor: pointer; }
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { background: var(--ink-2); color: #fff; }
.nav .btn { margin-left: 8px; min-height: 44px; padding: .6em 1.1em; color: #1a1205; }
.nav .btn:hover { background: #ff9d1f; color: #1a1205; }
.nav details { position: relative; }
.nav summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.nav .sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: var(--card); color: var(--text); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(10,20,35,.28); padding: 8px; display: grid; }
.nav .sub a { color: var(--text); padding: 10px 12px; display: grid; gap: 2px; }
.nav .sub a span { font-weight: 400; color: var(--muted); font-size: .88rem; }
.nav .sub a:hover { background: var(--paper); color: var(--text); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink-line); color: #fff; border-radius: var(--radius); min-height: 44px; padding: 0 14px; font: inherit; font-weight: 700; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--ink-line); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a, .nav summary { padding: 14px 8px; }
  .nav details[open] .sub, .nav .sub { position: static; box-shadow: none; background: transparent; min-width: 0; padding: 0 0 0 12px; }
  .nav .sub a { color: var(--on-ink); }
  .nav .sub a span { color: var(--on-ink-muted); }
  .nav .sub a:hover { background: var(--ink-2); color: #fff; }
  .nav .btn { margin: 12px 0 0; }
}

/* ---------- Bands ---------- */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink .muted { color: var(--on-ink-muted); }
.band-white { background: var(--card); }
.band-tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(44px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: start; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-copy .lead { color: #cdd7e3; }
.hero-note { color: var(--on-ink-muted); font-size: .92rem; max-width: 52ch; }
.crumbs { font-size: .9rem; color: var(--on-ink-muted); }
.crumbs a { color: var(--on-ink-muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Ledger (signature) ---------- */
.ledger { margin: 0; background: var(--card); color: var(--text); border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; min-width: 0; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px 12px; border-bottom: 2px solid var(--text); }
.ledger-head strong { font-variation-settings: "wdth" 112; font-size: 1.02rem; }
.ledger-head span { font-size: .8rem; color: var(--muted); }
.ledger ol { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.ledger .req { font-weight: 650; font-size: .98rem; line-height: 1.35; }
.ledger .sig { grid-column: 1; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.ledger .stamp { grid-column: 2; grid-row: 1 / span 2; font-size: .78rem; font-weight: 800; font-variation-settings: "wdth" 112; padding: 5px 9px; border-radius: 4px; white-space: nowrap; border: 2px solid; animation: stamp .45s cubic-bezier(.2,.9,.3,1.3) backwards; }
.ledger li:nth-child(1) .stamp { animation-delay: .25s; }
.ledger li:nth-child(2) .stamp { animation-delay: .55s; }
.ledger li:nth-child(3) .stamp { animation-delay: .85s; }
.ledger li:nth-child(4) .stamp { animation-delay: 1.15s; }
.ledger li:nth-child(5) .stamp { animation-delay: 1.45s; }
.ledger li:nth-child(6) .stamp { animation-delay: 1.75s; }
.stamp.pass { color: #1a1205; background: var(--orange); border-color: var(--orange); }
.stamp.drop { color: var(--reject); border-color: var(--line); background: transparent; }
.stamp.info { color: var(--ink-2); border-color: var(--ink-2); background: transparent; }
.ledger li.is-drop .req { color: var(--reject); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.ledger-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--orange-soft); font-size: .92rem; }
.ledger-foot b { font-variant-numeric: tabular-nums; }
@keyframes stamp { from { transform: scale(1.5) rotate(-4deg); opacity: .15; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ledger .stamp { animation: none; } }

/* ---------- Generic grids & lists ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ledger li { padding: 12px 14px; } .ledger-head, .ledger-foot { padding-inline: 14px; } }
.sticky-col { position: sticky; top: 100px; display: grid; gap: 16px; }
@media (max-width: 860px) { .sticky-col { position: static; } }

.pain { list-style: none; margin: 0; padding: 0; display: grid; }
.pain li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.pain li:last-child { border-bottom: 1px solid var(--line); }
.pain strong { font-size: 1.1rem; font-variation-settings: "wdth" 106; }
.pain span { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--text); }
.steps > li { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; counter-increment: step; }
.steps > li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps > li::before { content: counter(step); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 3rem; line-height: 1; color: var(--orange); }
.steps ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 4px; font-size: .97rem; }
.band-ink .steps { border-top-color: var(--on-ink); }
.band-ink .steps > li + li { border-left-color: var(--ink-line); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps > li, .steps > li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: t; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; padding: 20px 0; border-top: 1px solid var(--ink-line); }
.timeline li::before { content: counter(t, decimal-leading-zero); grid-row: 1 / span 2; font-weight: 800; font-variation-settings: "wdth" 125; font-size: 1.5rem; color: var(--orange); line-height: 1.2; }
.timeline strong { font-size: 1.12rem; font-variation-settings: "wdth" 108; }
.timeline span { color: var(--on-ink-muted); }

.sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--text); }
.sectors a { display: grid; gap: 8px; padding: 28px 28px 28px 0; text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.sectors a:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.sectors a:hover { background: var(--card); }
.sectors h3 { font-size: 1.5rem; display: flex; justify-content: space-between; gap: 12px; }
.sectors h3::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 8px; border-top: 3px solid var(--orange); border-right: 3px solid var(--orange); transform: rotate(45deg); }
.sectors p { color: var(--muted); }
@media (max-width: 760px) { .sectors { grid-template-columns: 1fr; } .sectors a, .sectors a:nth-child(even) { padding: 24px 0; border-left: 0; } }

.cases { display: grid; gap: 0; border-top: 2px solid var(--text); }
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 4vw, 56px); padding: 36px 0; border-bottom: 1px solid var(--line); }
.case > * { min-width: 0; }
.case-who { display: grid; gap: 6px; align-content: start; }
.case-who h3 { font-size: 1.6rem; }
.case-who .tag { font-size: .9rem; color: var(--muted); }
.case-body { display: grid; gap: 20px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.figure { display: grid; gap: 4px; align-content: start; }
.figure b { font-weight: 800; font-variation-settings: "wdth" 120; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.figure span { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.case blockquote { margin: 0; padding-left: 18px; border-left: 3px solid var(--orange); color: var(--text); font-size: 1.02rem; }
.case blockquote footer { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.case-meta { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } .figures { grid-template-columns: 1fr; gap: 14px; } .figure { grid-template-columns: auto 1fr; align-items: baseline; gap: 12px; } }

.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.fit > div { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 8px; }
.fit .yes { background: var(--card); border: 2px solid var(--text); }
.fit .no { border: 1px dashed var(--reject); }
.fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit li { padding-left: 28px; position: relative; }
.fit .yes li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 3px solid var(--orange-deep); border-bottom: 3px solid var(--orange-deep); transform: rotate(-45deg); }
.fit .no li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 14px; height: 2px; background: var(--reject); }
.fit .no li { color: var(--muted); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .96rem; }
.band-ink .chips li { background: var(--ink-2); border-color: var(--ink-line); }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.cols-2 > div { display: grid; gap: 8px; align-content: start; }
.cols-2 p { color: var(--muted); }
.band-ink .cols-2 p { color: var(--on-ink-muted); }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink-line); }
.metrics div { padding: 22px 20px 4px 0; display: grid; gap: 6px; }
.metrics div + div { padding-left: 20px; border-left: 1px solid var(--ink-line); }
.metrics strong { font-variation-settings: "wdth" 110; font-size: 1.08rem; color: #fff; }
.metrics span { color: var(--on-ink-muted); font-size: .94rem; }
@media (max-width: 860px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metrics div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 480px) { .metrics { grid-template-columns: 1fr; } .metrics div, .metrics div + div { padding: 18px 0 4px; border-left: 0; border-bottom: 1px solid var(--ink-line); } }

.prose { display: grid; gap: 18px; max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 16px; }
.prose h3 { margin-top: 8px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

.note { padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; font-size: .97rem; }
.band-ink .note { background: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; font-size: 1.1rem; font-variation-settings: "wdth" 106; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.7rem; font-weight: 400; color: var(--orange-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 70ch; display: grid; gap: 10px; }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta-band .cta-copy { display: grid; gap: 14px; max-width: 640px; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .86rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid #b7c2cf; border-radius: var(--radius); padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,138,0,.35); }
.field .err { color: #b3261e; font-size: .88rem; font-weight: 600; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #b3261e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange-deep); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; }
.form-status.error { color: #b3261e; }
.panel { background: var(--card); border-radius: 8px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { color: var(--muted); font-size: .9rem; }
.contact-list a, .contact-list b { font-weight: 700; font-size: 1.1rem; text-decoration: none; }

/* ---------- Audit tool ---------- */
.audit { max-width: 760px; }
.audit-progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.audit-progress div { height: 100%; background: var(--orange); width: 0; transition: width .3s; }
.audit-step { display: grid; gap: 18px; }
.audit-step h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.options { display: grid; gap: 10px; }
.options button {
  text-align: left; font: inherit; font-weight: 600; padding: 15px 18px; min-height: 54px;
  border: 1.5px solid #b7c2cf; border-radius: var(--radius); background: #fff; color: var(--text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.options button:hover { border-color: var(--ink); }
.options button[aria-pressed="true"] { border-color: var(--orange-deep); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange-deep); }
.options button[aria-pressed="true"]::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--orange-deep); border-bottom: 3px solid var(--orange-deep); transform: rotate(-45deg); flex: none; }
.audit-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-plain { background: none; border: 0; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; padding: 12px 4px; min-height: 48px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--text); }
.result-grid div { padding: 18px 16px 6px 0; display: grid; gap: 4px; }
.result-grid div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.result-grid b { font-weight: 800; font-variation-settings: "wdth" 118; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); font-variant-numeric: tabular-nums; line-height: 1.1; }
.result-grid span { font-size: .88rem; color: var(--muted); }
.result-grid.potential b { color: var(--orange-deep); }
@media (max-width: 560px) { .result-grid { grid-template-columns: 1fr; } .result-grid div, .result-grid div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
.opp-tag { display: inline-block; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 4px; font-weight: 800; font-variation-settings: "wdth" 115; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 56px 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-size: 1rem; color: #fff; font-variation-settings: "wdth" 108; letter-spacing: 0; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--on-ink-muted); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-grid p { max-width: 40ch; margin-top: 12px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp + cookie bar ---------- */
.wa {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa svg { width: 28px; height: 28px; }
.cookie {
  position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
  background: var(--card); color: var(--text); border-top: 2px solid var(--text);
  padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -10px 30px rgba(10,20,35,.15);
}
.cookie .wrap { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; justify-content: space-between; padding: 0; }
.cookie p { max-width: 70ch; font-size: .94rem; }
.cookie .btn { min-height: 44px; padding: .55em 1.1em; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--orange); color: #1a1205; padding: 10px 14px; border-radius: 4px; font-weight: 700; }
.skip:focus { left: 8px; }

.preview-note { background: var(--orange-soft); color: var(--text); font-size: .9rem; padding: 8px 0; }

/* Timeline on light sections (contact page) */
.band:not(.band-ink) .timeline li { border-top-color: var(--line); }
.band:not(.band-ink) .timeline span { color: var(--muted); }
@media (max-width: 860px) { .split > .panel { order: -1; } }
