@font-face {
  font-family: Inter;
  src: url("inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f5f2;
  --card: #ffffff;
  --ink: #15181c;
  --muted: #4a515a;
  --soft: #5f6670;
  --line: #dddbd4;
  --line-2: #ebe9e3;
  --accent: #1f3f8a;
  --accent-hover: #18336f;
  --tint: #e6ecf7;
  --warn: #b3401f;
  --warn-tint: #f8e7e1;
  --band: #15181c;
  --band-ink: #f2f2ee;
  --band-muted: #b9bdc4;
  --band-line: #2c3036;
  --band-accent: #a9bdf0;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  font-optical-sizing: auto;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 76px; }

.wrap { width: min(100% - 48px, 1184px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--accent); }
.dot { color: var(--accent); }

.skip-link {
  position: absolute; top: .75rem; left: .75rem; z-index: 20;
  padding: .5rem .9rem; border-radius: 8px; background: var(--ink); color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Encabezado */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 68px; }
.wordmark {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: 1.2rem; font-weight: 560; letter-spacing: -.04em; line-height: 1;
  text-decoration: none; white-space: nowrap; justify-self: start;
}
.wordmark strong { font-weight: 760; }
.brand-mark { height: 22px; width: 24px; display: inline-flex; align-items: end; justify-content: center; gap: 3px; color: var(--accent); transform: skew(-17deg); }
.brand-mark i { display: block; width: 3px; background: currentColor; }
.brand-mark i:nth-child(1) { height: 10px; opacity: .55; }
.brand-mark i:nth-child(2) { height: 15px; opacity: .78; }
.brand-mark i:nth-child(3) { height: 21px; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--muted); font-size: 15px; text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.pill {
  justify-self: end; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 14.5px; font-weight: 550; text-decoration: none;
  transition: background .2s;
}
.pill:hover { background: var(--accent-hover); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 15.5px; font-weight: 560; text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--card); border-color: var(--ink); }

/* Inicio */
.hero { padding: 56px 0 104px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 56px; align-items: center; }
h1 { font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 520; letter-spacing: -.045em; line-height: 1.02; }
.lead { margin-top: 24px; max-width: 34rem; color: var(--muted); font-size: 19px; line-height: 1.6; }
.lead strong { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-text > * { animation: rise .8s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }
.hero-text > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Tablero de ejemplo */
.board {
  margin: 0; padding: 18px 20px 16px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--card);
  box-shadow: 0 1px 2px rgb(21 24 28 / 4%), 0 30px 60px -30px rgb(21 24 28 / 22%);
  animation: rise .9s .25s var(--ease) both;
}
.board-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.board-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 9px; background: var(--accent); }
.board-icon i { width: 3px; background: #fff; transform: skew(-17deg); }
.board-icon i:nth-child(1) { height: 8px; opacity: .55; }
.board-icon i:nth-child(2) { height: 12px; opacity: .78; }
.board-icon i:nth-child(3) { height: 17px; }
.board-title { display: grid; line-height: 1.3; min-width: 0; }
.board-title strong { font-size: 15px; font-weight: 600; }
.board-title span { color: var(--muted); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 13px; background: var(--paper); font-size: 12.5px; font-weight: 550; white-space: nowrap; transition: background .3s, color .3s; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
.status.alert { background: var(--warn-tint); color: var(--warn); }
.status.alert::before { background: var(--warn); }
.status.done { background: var(--tint); color: var(--accent); }
.status.done::before { animation: none; }
@keyframes pulse { 50% { opacity: .25; } }
.pause { width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); display: grid; place-items: center; cursor: pointer; }
.pause span { width: 10px; height: 10px; background: linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 7px, var(--ink) 7px); }
.pause[aria-pressed="true"] span { background: var(--ink); clip-path: polygon(12% 0, 100% 50%, 12% 100%); }
.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 16px; }
.prog i { height: 4px; border-radius: 2px; background: var(--line-2); transition: background .4s; }
.prog i.on { background: var(--ink); }
.scenes { display: grid; }
.scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.scene.show { opacity: 1; visibility: visible; transition: opacity .35s; }
.board.swap .scene.show { opacity: 0; }
.scene-label { margin: 0 0 10px; }
.js .scene [data-k] { transition: opacity .45s, transform .45s var(--ease); }
.js .scene [data-k]:not(.on) { opacity: 0; }
.js .scene [data-off].off { opacity: 0; }
.board-note { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: 13.5px; line-height: 1.45; }
.js .scene .board-note[data-k]:not(.on) { transform: translateY(6px); }
.board-foot { margin-top: 14px; color: var(--soft); font-size: 12px; line-height: 1.4; }

.cash { display: block; width: 100%; height: auto; overflow: visible; }
.cash .zero { stroke: var(--line); }
.cash .zone { fill: var(--warn-tint); }
.cash .zone-label { fill: var(--warn); font: 600 11px var(--mono); text-anchor: middle; }
.cash .axis text { fill: var(--soft); font: 10px var(--mono); text-anchor: middle; }
.cash rect { transform-box: fill-box; transform-origin: bottom; transition: transform .6s var(--ease), opacity .4s; }
.cash .bars-cash rect { fill: var(--ink); }
.cash .bars-cash rect.neg { fill: var(--warn); transform-origin: top; }
.cash .bars-plan rect { fill: var(--accent); }
.js .cash g:not(.on) rect { transform: scaleY(0); }
.js .cash rect.neg.off { opacity: .2; }

.mini { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.mini th, .mini td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line-2); }
.mini thead th { padding-top: 0; font: 500 11px var(--mono); color: var(--soft); }
.mini td:last-child { position: relative; width: 116px; }
.mini td:last-child .tag.ok { position: absolute; left: 8px; top: 50%; translate: 0 -50%; }
.mini tfoot th, .mini tfoot td { padding-top: 12px; border-bottom: 0; font-size: 14px; font-weight: 650; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11.5px; font-style: normal; font-weight: 560; white-space: nowrap; }
.tag.warn { background: var(--warn-tint); color: var(--warn); }
.tag.ok { background: var(--tint); color: var(--accent); }
.tag.solid { background: var(--ink); color: #fff; }

.channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.channels li { display: grid; grid-template-columns: 158px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 13.5px; }
.channels li > span:first-child { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.track { position: relative; height: 12px; border-radius: 6px; background: var(--line-2); }
.track::before { content: ""; position: absolute; left: 24%; top: -4px; bottom: -4px; width: 1px; background: var(--soft); }
.track b { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--ink); transform-origin: left; transition: transform .7s var(--ease), opacity .4s; }
.track b.neg { background: var(--warn); transform-origin: right; }
.track b.fix { background: var(--accent); }
.js .channels li:not(.on) b, .js .track b.fix:not(.on) { transform: scaleX(0); }
.channels .v { display: grid; justify-items: end; font-weight: 600; }
.channels .v > span { grid-area: 1 / 1; }

/* Secciones */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px 64px; align-items: end; margin-bottom: 44px; }
.section-head p, .section-copy { color: var(--muted); font-size: 18px; max-width: 31rem; }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.5rem); font-weight: 520; letter-spacing: -.042em; line-height: 1.04; }
h3 { font-size: 1.3rem; font-weight: 560; letter-spacing: -.022em; line-height: 1.25; }
.card { border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); padding: 28px; }
.note { margin-top: 22px; font-weight: 560; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.cards3 .reveal:nth-child(2), .cards2 .reveal:nth-child(2) { transition-delay: .08s; }
.cards3 .reveal:nth-child(3), .cards2 .reveal:nth-child(3) { transition-delay: .16s; }
.cards2 .reveal:nth-child(4) { transition-delay: .24s; }

/* Cuándo tiene sentido: lista de situaciones a la derecha, respuesta en azul a la izquierda */
.when { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "intro list" "answer list"; gap: 28px 72px; align-items: start; }
.when-intro { grid-area: intro; }
.situations { grid-area: list; border-top: 1px solid var(--line); }
.situations button {
  position: relative; display: block; width: 100%; padding: 15px 40px 15px 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--muted); font: inherit; font-size: 17.5px; line-height: 1.45; text-align: left; cursor: pointer; transition: color .2s;
}
.situations button:hover { color: var(--ink); }
.situations button::before { content: "→"; position: absolute; right: 4px; top: 15px; color: var(--accent); opacity: 0; translate: -6px 0; transition: opacity .25s, translate .25s var(--ease); }
.situations [aria-selected="true"] { color: var(--ink); font-weight: 560; }
.situations [aria-selected="true"]::before { opacity: 1; translate: 0 0; }
.situations [aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: left; }
.situations.auto [aria-selected="true"]::after { animation: fill-line 5s linear both; }
@keyframes fill-line { from { transform: scaleX(0); } }
.answer { grid-area: answer; min-height: 214px; padding: 26px 28px 28px; border-radius: 20px; background: var(--accent); color: #fff; }
.answer .mono { color: var(--band-accent); }
.answer-panel { animation: rise .45s var(--ease) both; }
.answer-panel[hidden] { display: none; }
.answer-text { margin-top: 10px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.answer ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; color: #d5def2; font-size: 15px; }
.answer li { display: flex; align-items: center; gap: 10px; }
.answer li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--band-accent); }

/* Formatos */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards3 .card > .mono { margin-top: 24px; }
.cards3 h3 { margin-top: 4px; }
.cards3 .card > p:last-child, .cards2 .card > p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.demo { position: relative; height: 112px; overflow: hidden; border-radius: 14px; background: var(--paper); }

.demo-interim { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 10px 0; padding: 0 18px; }
.demo-interim .d-mid { text-align: center; }
.demo-interim .d-end { text-align: right; }
.span-track { grid-column: 1 / -1; position: relative; height: 10px; border-radius: 5px; background: var(--line); }
.span-track i { position: absolute; inset: 0; border-radius: 5px; background: var(--accent); transform-origin: left; transition: transform 2s .3s var(--ease); }
.span-track b { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; border-radius: 1px; background: var(--ink); }
.js .card:not(.in) .span-track i { transform: scaleX(0); }

.demo-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 26px 18px; }
.demo-week span { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--soft); font: 500 13px var(--mono); transition: background .5s .4s, color .5s .4s, border-color .5s .4s; }
.demo-week .lit { background: var(--accent); border-color: var(--accent); color: #fff; animation: breathe 3.6s ease-in-out 1.2s infinite; }
.demo-week .lit + span + .lit { animation-delay: 3s; }
.js .card:not(.in) .demo-week .lit { background: transparent; border-color: var(--line); color: var(--soft); }
@keyframes breathe { 50% { transform: translateY(-3px); box-shadow: 0 8px 16px -8px rgb(31 63 138 / 60%); } }

.demo-long { display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr; align-items: end; padding: 0 16px 12px; }
.demo-long svg { position: absolute; left: 16px; top: 14px; width: calc(100% - 32px); height: 64px; }
.grow { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2s .3s var(--ease); }
.js .card:not(.in) .grow { stroke-dashoffset: 1; }

/* 90 días */
.plan { list-style: none; margin: 0; padding: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.plan .seg { display: block; height: 8px; margin-bottom: 20px; overflow: hidden; border-radius: 4px; background: var(--line-2); }
.plan .seg i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform 1s var(--ease); }
.plan li:nth-child(2) .seg i { transition-delay: .9s; }
.plan li:nth-child(3) .seg i { transition-delay: 1.8s; }
.plan .seg-live i { background: repeating-linear-gradient(-45deg, var(--accent) 0 6px, #4b68ad 6px 12px); background-size: 17px 17px; animation: stripes .9s linear infinite; }
@keyframes stripes { to { background-position: 17px 0; } }
.js .plan:not(.in) .seg i { transform: scaleX(0); }
.plan h3 { margin-top: 4px; }
.plan li > p:last-child { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* Áreas */
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards2 .card > p { max-width: 32rem; }
.cards2 .demo { margin-top: 24px; }
.demo-spark svg { position: absolute; left: 18px; top: 16px; width: calc(100% - 36px); height: 66px; }
.demo-spark line { stroke: var(--line); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.demo-spark .mono { position: absolute; left: 18px; bottom: 10px; }
.demo-funnel { display: grid; align-content: center; gap: 7px; padding: 0 18px; }
.demo-funnel span { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 10px; }
.demo-funnel em { order: -1; font-style: normal; }
.demo-funnel b { height: 14px; border-radius: 4px; background: var(--ink); transform-origin: left; transition: transform .9s var(--ease); }
.demo-funnel span:nth-child(2) b { width: 68%; transition-delay: .1s; }
.demo-funnel span:nth-child(3) b { width: 44%; transition-delay: .2s; }
.demo-funnel span:nth-child(4) b { width: 26%; background: var(--accent); transition-delay: .3s; }
.js .card:not(.in) .demo-funnel b { transform: scaleX(0); }
.demo-org svg, .demo-merge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-org path { fill: none; stroke: #b9b6ad; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.node, .chip { position: absolute; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); white-space: nowrap; }
.node { translate: -50% 0; }
.n-top { left: 50%; top: 6px; border-color: var(--ink); background: var(--ink); color: #fff; }
.n-1, .n-2, .n-3 { top: 70px; animation: lit 4.5s ease-in-out infinite; }
.n-1 { left: 20%; }
.n-2 { left: 50%; animation-delay: 1.5s; }
.n-3 { left: 80%; animation-delay: 3s; }
@keyframes lit { 0%, 40%, 100% { background: var(--card); color: var(--ink); border-color: var(--line); } 8%, 30% { background: var(--accent); color: #fff; border-color: var(--accent); } }
.demo-merge .flow { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.chip { border-radius: 13px; }
.c-1, .c-2, .c-3 { right: 74%; }
.c-1 { top: calc(17.4% - 13px); }
.c-2 { top: calc(50% - 13px); }
.c-3 { top: calc(82.6% - 13px); }
.c-out { left: 69%; top: calc(50% - 13px); border-color: var(--accent); background: var(--accent); color: #fff; }

/* Trayectoria */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 72px; align-items: start; }
.section-copy { margin-top: 18px; }
.years { display: flex; align-items: flex-end; gap: 16px; margin-top: 38px; }
.years-n { color: var(--accent); font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 520; letter-spacing: -.06em; line-height: .8; font-variant-numeric: tabular-nums; }
.years span:last-child { max-width: 12rem; padding-bottom: 4px; line-height: 1.4; }
.discretion { margin-top: 30px; color: var(--muted); font-size: 15px; font-style: italic; }
.results { padding: 10px 30px 28px; }
.results dl { margin: 0; }
.results dl div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.results dt { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 520; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.results dd { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.facts li { display: flex; gap: 12px; }
.facts li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--accent); }
.credentials { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 15.5px; font-weight: 600; }

/* Preguntas */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 560; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 22px 0; color: var(--muted); }
.faq-list details[open] p { animation: rise .4s var(--ease) both; }

/* Contacto */
.contact { position: relative; overflow: hidden; padding: 0 0 clamp(80px, 9vw, 120px); background: var(--band); color: var(--band-ink); }
.rumbo { display: block; width: 100%; height: clamp(160px, 19vw, 240px); }
.contact-inner { display: grid; justify-items: center; text-align: center; }
.contact h2 { max-width: 17ch; font-size: clamp(2.4rem, 5vw, 4rem); }
.contact h2 .dot { color: var(--band-accent); }
.contact-copy { margin-top: 18px; color: var(--band-muted); font-size: 18px; }
.btn-light { margin-top: 30px; background: var(--band-accent); color: var(--band); }
.btn-light:hover { background: #c3d2f6; }
.contact-tips { width: 100%; display: grid; justify-items: center; gap: 14px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--band-line); }
.contact-tips p { color: var(--band-muted); font-size: 15px; }
.contact-tips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.contact-tips li { padding: 8px 15px; border: 1px solid var(--band-line); border-radius: 999px; font-size: 15px; }

.footer { padding: 22px 0; border-top: 1px solid var(--band-line); background: var(--band); color: var(--band-muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer .wordmark { color: var(--band-ink); font-size: 1rem; }
.footer .brand-mark { color: var(--band-accent); }
.footer p { font-size: 14px; }

/* Pantallas chicas */
@media (max-width: 960px) {
  .header-inner { display: flex; justify-content: space-between; }
  .nav { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid, .section-head, .split, .cards3, .cards2, .plan { grid-template-columns: minmax(0, 1fr); }
  .when { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "list" "answer"; }
  .hero-grid { gap: 44px; }
  .section-head { margin-bottom: 32px; }
  .answer { min-height: 0; }
  .plan { gap: 28px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .lead { font-size: 17.5px; }
  .actions .btn { flex: 1 1 100%; }
  .board { padding: 14px 14px 12px; border-radius: 18px; }
  .board-head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .board-head .status { grid-column: 2 / 4; grid-row: 2; justify-self: start; }
  .channels li { grid-template-columns: 118px minmax(0, 1fr) 34px; font-size: 12.5px; }
  .card, .answer { padding: 22px; }
  .situations button { font-size: 16.5px; }
  .plan { padding: 24px; }
  .results { padding: 6px 22px 22px; }
  .results dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .node, .chip { padding: 0 7px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Tablero en pantallas medianas y chicas: los tres ejemplos con alto parejo,
   el gráfico centrado en su espacio y menos aire antes de "Cuándo tiene sentido" */
.scene { display: flex; flex-direction: column; }
.scene > .cash, .scene > .mini, .scene > .channels { margin-block: auto; }
@media (max-width: 960px) {
  .hero { padding-bottom: 48px; }
  .scene > .cash { max-width: 460px; margin-inline: auto; }
  #cuando { padding-top: 64px; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 36px; }
  #cuando { padding-top: 52px; }
  .mini { font-size: 12.5px; }
  .mini th, .mini td { padding: 6px 5px; }
  .mini thead th { font-size: 10.5px; }
  .mini td:last-child { width: 92px; }
  .mini td:last-child .tag.ok { left: 5px; }
  .mini tfoot th, .mini tfoot td { padding-top: 8px; font-size: 13px; }
  .mini .tag { height: 20px; padding: 0 7px; font-size: 11px; }
  .channels { gap: 22px; }
  .scene-label { margin-bottom: 8px; }
}
