/* GasperP — landing
   Dirección: sobrio, preciso, cercano. Blanco y negro estricto. */

:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #5b5b5b;
  --faint: #8a8a8a;
  --line: #e7e7e7;
  --soft: #f5f5f5;
  --ink: #0a0a0a;
  --ink-2: #161616;
  --ink-line: #2a2a2a;
  --ink-muted: #a3a3a3;

  --f-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font: 500 16px/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--dark:hover { background: #2b2b2b; }
.btn--ghost { border-color: var(--line); color: var(--fg); background: var(--bg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

.tag {
  display: inline-block; font-size: 11px; font-weight: 500; line-height: 1;
  padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); white-space: nowrap;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--f-display); letter-spacing: -0.03em; }
.brand img { width: 34px; height: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--fg); }

.menu { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--fg); transition: transform .25s var(--ease); }
.menu span:first-child { top: 18px; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .nav a:not(.btn) { padding: 14px 0; font-size: 18px; color: var(--fg); border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 20px; height: 50px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 112px); text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--muted);
}
.pill span { background: var(--fg); color: var(--bg); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.hero__title {
  margin-top: 28px;
  font-size: clamp(44px, 8.4vw, 108px);
  font-weight: 700; letter-spacing: -0.045em; line-height: .98;
}
.hero__lead { max-width: 620px; margin: 28px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.hero__visual { margin-top: clamp(56px, 7vw, 88px); }

/* Mockup de la app */
.app {
  text-align: left; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg); overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 30px 80px -30px rgba(0,0,0,.25);
  font-size: 13px;
}
.app__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.app__bar i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #cfcfcf; background: #fff; }
.app__bar span { margin-left: 12px; color: var(--faint); font-size: 12px; }
.app__body { display: grid; grid-template-columns: 210px 1fr; min-height: 420px; }
.app__side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.app__company { padding: 10px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; line-height: 1.3; }
.app__company small { display: block; font-weight: 400; color: var(--faint); font-size: 11px; }
.app__side p { padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.app__side p.is-active { background: var(--fg); color: var(--bg); }
.app__side p.is-muted { color: #b3b3b3; }
.app__side em { font-style: normal; font-size: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 6px; margin-left: 4px; }
.app__main { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.app__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app__head strong { font: 600 17px/1.2 var(--f-display); letter-spacing: -0.02em; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.kpi small { color: var(--faint); font-size: 12px; }
.kpi b { font: 600 22px/1.1 var(--f-display); letter-spacing: -0.03em; }
.kpi span { color: var(--muted); font-size: 12px; }
.chart { border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 12px; }
.chart__head { display: flex; justify-content: space-between; color: var(--faint); font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 12px; }
.bars span { flex: 1; height: 50%; background: var(--fg); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.bars span.is-proj { background: repeating-linear-gradient(135deg, var(--fg) 0 2px, transparent 2px 6px); border: 1px solid var(--fg); border-bottom: 0; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); color: var(--muted); }
.rows li span:last-child { color: var(--fg); font-weight: 500; white-space: nowrap; }

.js .hero__visual.is-visible .bars span { animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }

@media (max-width: 760px) {
  .app__body { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:last-child { grid-column: span 2; }
  .app__main { padding: 16px; }
}

/* ---------- Facts ---------- */
.facts { border-block: 1px solid var(--line); margin-top: clamp(64px, 8vw, 104px); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__list li { padding: 28px 20px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.facts__list li:first-child { border-left: 0; padding-left: 0; }
.facts__list b { font: 600 18px/1.3 var(--f-display); letter-spacing: -0.02em; }
.facts__list span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__list li { padding: 22px 16px; }
  .facts__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Statement ---------- */
.statement { padding-block: var(--section); }
.statement__text {
  max-width: 980px;
  font-size: clamp(30px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12;
}
.statement__text em { font-style: normal; background: var(--fg); color: var(--bg); padding: 0 .18em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); }
.section-head p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 560px; }
.section-head--side { margin-bottom: 0; }

/* ---------- Módulos (tabs) ---------- */
.modules { padding-bottom: var(--section); }
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.tabs__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tabs__list button {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 20px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer;
  font: 500 18px/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--faint);
  transition: color .2s, padding .25s var(--ease);
}
.tabs__list button span { font: 500 12px/1 var(--f-body); letter-spacing: 0; color: var(--faint); width: 20px; }
.tabs__list button:hover { color: var(--fg); }
.tabs__list button[aria-selected="true"] { color: var(--fg); padding-left: 12px; }
.tabs__list button[aria-selected="true"] span { color: var(--fg); }
.soon { font: 500 11px/1 var(--f-body); font-style: normal; letter-spacing: 0; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; margin-left: auto; color: var(--muted); }

.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--soft);
}
.js .panel[hidden] { display: none; }
.js .panel { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.panel h3 { font-size: clamp(26px, 2.6vw, 34px); }
.panel__text > p { margin-top: 14px; color: var(--muted); }
.checks { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--fg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8'/%3E%3C/svg%3E");
}
.checks li::after { content: ""; position: absolute; left: 5px; top: calc(.3em + 4px); width: 6px; height: 4px; border: solid var(--bg); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.checks li.is-soon { color: var(--faint); }
.checks li.is-soon::before { background: none; border: 1px solid #c4c4c4; }
.checks li.is-soon::after { display: none; }
.checks em { font-style: normal; font-size: 13px; }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.link { display: inline-block; margin-top: 22px; font-weight: 500; text-underline-offset: 4px; }

.mini { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 13px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.25); min-width: 0; }
.mini__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 12px; }
.mini__head b { font: 600 15px/1.2 var(--f-display); letter-spacing: -0.01em; }
.mini table { width: 100%; border-collapse: collapse; }
.mini th { text-align: left; font-weight: 500; color: var(--faint); font-size: 12px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.mini td { padding: 10px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mini td:first-child { color: var(--muted); }
.mini tr.total td { border-bottom: 0; font-weight: 600; color: var(--fg); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); margin-right: 6px; vertical-align: 1px; }
.dot--open { background: none; border: 1px solid var(--fg); }
.mini--soon { opacity: .75; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kanban div { background: var(--soft); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.kanban small { color: var(--faint); font-size: 12px; }
.kanban i { display: block; height: 30px; border: 1px dashed #c9c9c9; border-radius: 6px; background: var(--bg); }

@media (max-width: 960px) {
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; gap: 4px; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__list button { width: auto; flex: 0 0 auto; border-bottom: 2px solid transparent; padding: 12px 10px; font-size: 16px; }
  .tabs__list button[aria-selected="true"] { padding-left: 10px; border-bottom-color: var(--fg); }
  .tabs__list button span { display: none; }
  .soon { display: none; }
  .panel { grid-template-columns: 1fr; }
}
/* Sin JS: todos los paneles visibles uno bajo otro */
html:not(.js) .tabs__list { display: none; }
html:not(.js) .tabs { grid-template-columns: 1fr; }
html:not(.js) .tabs__panels { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Flujo integrado ---------- */
.flow { padding-bottom: var(--section); }
.flow__steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: flow; }
.flow__steps li { position: relative; padding: 28px 24px 0 0; border-top: 1.5px solid var(--fg); counter-increment: flow; }
.flow__steps li::before {
  content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--fg);
}
.flow__steps li:not(:last-child)::after {
  content: "→"; position: absolute; top: -15px; right: 12px; background: var(--bg); padding: 0 6px; font-size: 16px;
}
.flow__steps b { display: block; font: 600 22px/1.2 var(--f-display); letter-spacing: -0.02em; }
.flow__steps span { display: block; margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .flow__steps { grid-template-columns: 1fr; }
  .flow__steps li { border-top: 0; border-left: 1.5px solid var(--fg); padding: 0 0 32px 28px; }
  .flow__steps li:last-child { padding-bottom: 0; }
  .flow__steps li::before { top: 4px; left: -6px; }
  .flow__steps li:not(:last-child)::after { display: none; }
}

/* ---------- Sección oscura ---------- */
.dark { background: var(--ink); color: #fff; padding-block: var(--section); }
.dark__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.eyebrow { font-size: 14px; color: var(--ink-muted); margin-bottom: 20px; }
.dark h2 { font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.04em; }
.dark__lead { margin-top: 24px; color: var(--ink-muted); font-size: 18px; max-width: 480px; }
.proj { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proj__col { border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 24px; background: var(--ink-2); }
.proj__col h3 { font-size: 19px; letter-spacing: -0.02em; }
.proj__col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.proj__col li { color: var(--ink-muted); font-size: 15px; padding-left: 18px; position: relative; line-height: 1.45; }
.proj__col li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 1.5px; background: #fff; }
.proj__result {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 18px;
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px 24px;
}
.proj__result span { font: 600 32px/1 var(--f-display); }
.proj__result b { font: 600 clamp(20px, 2.2vw, 26px)/1.2 var(--f-display); letter-spacing: -0.02em; }
@media (max-width: 960px) { .dark__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .proj { grid-template-columns: 1fr; } }

/* ---------- Pasos ---------- */
.steps { padding-block: var(--section); }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps__list li { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--fg); font: 600 16px/1 var(--f-display); }
.steps__list h3 { margin-top: 48px; font-size: 24px; letter-spacing: -0.02em; }
.steps__list p { margin-top: 10px; color: var(--muted); }
@media (max-width: 860px) { .steps__list { grid-template-columns: 1fr; } .steps__list h3 { margin-top: 28px; } }

/* ---------- Beneficios ---------- */
.benefits { padding-bottom: var(--section); }
.benefits__grid, .faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.benefits__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.benefits__list div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.benefits__list div:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
.benefits__list dt { font: 600 19px/1.3 var(--f-display); letter-spacing: -0.02em; }
.benefits__list dd { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .benefits__grid, .faq__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .benefits__list { grid-template-columns: 1fr; }
  .benefits__list div, .benefits__list div:nth-child(even) { padding: 22px 0; border-left: 0; }
}

/* ---------- FAQ ---------- */
.faq { padding-bottom: var(--section); }
.section-head--side a { font-weight: 500; text-underline-offset: 4px; color: var(--fg); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font: 500 19px/1.35 var(--f-display); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--f-body); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 640px; }

/* ---------- CTA / formulario ---------- */
.cta { padding-block: var(--section); background: var(--soft); border-top: 1px solid var(--line); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cta__text h2 { font-size: clamp(36px, 5.2vw, 64px); letter-spacing: -0.04em; }
.cta__text > p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 460px; }
.cta__points { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.cta__points li { padding-left: 22px; position: relative; }
.cta__points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--fg); }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.opt { color: var(--faint); font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--fg);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 88px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.form [aria-invalid="true"] { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { flex-direction: row; font-weight: 400; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; transition: all .15s; user-select: none; }
.chips input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chips input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form__status { font-size: 14px; min-height: 1.4em; }
.form__status.is-error { font-weight: 500; }
.form.is-sent { align-items: flex-start; }
@media (max-width: 960px) { .cta__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.brand--light img { filter: none; }
.footer__brand p { margin-top: 18px; color: var(--ink-muted); font-size: 15px; }
.footer nav { display: flex; flex-direction: column; gap: 12px; }
.footer h2 { font: 500 13px/1 var(--f-body); letter-spacing: 0; color: var(--ink-muted); margin-bottom: 6px; }
.footer nav a { text-decoration: none; font-size: 15px; color: #e6e6e6; }
.footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px; border-top: 1px solid var(--ink-line); font-size: 13px; color: var(--ink-muted); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Página de servicios ---------- */
.nav a[aria-current="page"] { color: var(--fg); }
.btn--light { background: #fff; color: var(--ink); margin-top: 32px; }
.btn--light:hover { background: #e9e9e9; }

.hero--split { text-align: left; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero--split .hero__title { font-size: clamp(42px, 6.2vw, 84px); }
.hero--split .hero__lead { margin-inline: 0; }
.hero--split .hero__actions { justify-content: flex-start; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

.cal {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg);
  padding: clamp(20px, 2.4vw, 28px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.25);
}
.cal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.cal__head h2 { font-size: 22px; letter-spacing: -0.02em; }
.cal__list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cal__day { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 60px; border: 1px solid var(--fg); border-radius: 12px; line-height: 1; }
.cal__day b { font: 700 24px/1 var(--f-display); letter-spacing: -0.03em; }
.cal__day small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.cal__what b { display: block; font: 600 16px/1.3 var(--f-display); letter-spacing: -0.01em; }
.cal__what small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.cal__check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 14px; }
.cal__note { margin-top: 14px; font-size: 12px; color: var(--faint); }
.js .cal.is-visible .cal__check { animation: pop .5s var(--ease) both; }
.js .cal.is-visible li:nth-child(2) .cal__check { animation-delay: .15s; }
.js .cal.is-visible li:nth-child(3) .cal__check { animation-delay: .3s; }
.js .cal.is-visible li:nth-child(4) .cal__check { animation-delay: .45s; }
@keyframes pop { from { transform: scale(0); } }

.hero--split + .facts { margin-top: clamp(72px, 9vw, 120px); }

.services { padding-bottom: var(--section); }
.service {
  display: grid; grid-template-columns: 80px 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: start;
  padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--fg);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__num { font: 500 14px/1 var(--f-body); color: var(--muted); padding-top: 10px; }
.service h3 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.035em; }
.service__lead { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 440px; }
.service__list { margin-top: 6px; }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service__num { padding-top: 0; }
}

.perks { display: flex; flex-direction: column; border-top: 1px solid var(--ink-line); }
.perks li { padding: 24px 0; border-bottom: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 6px; }
.perks b { font: 600 20px/1.3 var(--f-display); letter-spacing: -0.02em; }
.perks span { color: var(--ink-muted); }

.steps__list--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { .steps__list--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps__list--4 { grid-template-columns: 1fr; } }

.faq details p a { color: var(--fg); font-weight: 500; text-underline-offset: 3px; }

.form select {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--fg); appearance: none; -webkit-appearance: none;
  padding: 12px 40px 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a0a0a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.form select:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* Alturas del gráfico del mockup (en CSS y no en style="" para cumplir la CSP) */
.bars span:nth-child(1) { height: 46%; }
.bars span:nth-child(2) { height: 58%; }
.bars span:nth-child(3) { height: 52%; }
.bars span:nth-child(4) { height: 67%; }
.bars span:nth-child(5) { height: 61%; }
.bars span:nth-child(6) { height: 74%; }
.bars span:nth-child(7) { height: 70%; }
.bars span:nth-child(8) { height: 82%; }
.bars span:nth-child(9) { height: 78%; }
.bars span:nth-child(10) { height: 88%; }
