/* ============================================================
   00 · FONTS — self-hosted (OFL, see /fonts), versioned file names.
   Fallback faces are metric-matched so the swap does not move text.
============================================================ */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/geist-latin-ext-v5.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-ext-v5.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-italic-latin-ext-v5.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/geist-latin-v5.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-v5.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-italic-latin-v5.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("ArialMT"), local("Roboto"), local("Helvetica"); size-adjust: 101.61%; ascent-override: 99.4%; descent-override: 29.53%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; font-style: normal; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Noto Serif"), local("Georgia"); size-adjust: 83.16%; ascent-override: 119.05%; descent-override: 37.28%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Noto Serif Italic"), local("Georgia Italic"); size-adjust: 87.38%; ascent-override: 113.29%; descent-override: 35.48%; line-gap-override: 0%; }

/* ============================================================
   01 · TOKENS
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F9F8;
  --ink: #0B1220;
  --ink-2: #334155;
  --muted: #475569;
  --line: #E5E7EB;
  --slate-100: #F1F5F9;
  --slate-300: #CBD5E1;
  --accent: #059669;
  --accent-strong: #047857;
  --accent-tint: #ECFDF5;
  --accent-line: #D1FAE5;
  --dark: #0A0F1A;
  --dark-1: #111827;
  --dark-2: #1A2233;
  --on-dark: #F8FAFC;
  --on-dark-2: #CBD5E1;
  --on-dark-3: #94A3B8;
  --dark-line: rgba(255,255,255,.10);
  --dark-accent: #10B981;
  --dark-accent-2: #10B981; /* sobre oscuro se usa un solo verde: #10B981 */

  --shadow-card: 0 1px 2px rgba(11,18,32,.04), 0 12px 32px rgba(11,18,32,.07);
  --shadow-feature: 0 1px 2px rgba(11,18,32,.05), 0 20px 48px rgba(5,150,105,.12);
  --shadow-mock: 0 1px 2px rgba(11,18,32,.05), 0 24px 64px rgba(11,18,32,.10);

  --r-tile: 12px;
  --r-card: 20px;
  --r-panel: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Instrument Serif", "Instrument Serif Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: only light;

  --pad: 120px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(5,150,105,.18); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }

:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; border-radius: 8px; }
.band :focus-visible { outline-color: var(--dark-accent-2); }

/* ============================================================
   02 · TYPE
============================================================ */
h1, h2 { font-family: var(--font-display); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 6.5vw, 5.75rem); line-height: 1.0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.015em; max-width: 17ch; }
h3, h4 { text-wrap: balance; }
h3 { font-family: var(--font-sans); font-size: 1.125rem; line-height: 1.35; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.accent { font-style: italic; color: var(--accent-strong); white-space: nowrap; }
.accent.wraps { white-space: normal; }

p, li, dd { text-wrap: pretty; }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.body { font-size: 1rem; line-height: 1.65; color: var(--muted); max-width: 36em; }
.small { font-size: .875rem; line-height: 1.55; color: var(--muted); }
.eyebrow {
  display: flex; align-items: baseline; gap: 12px;
  font-size: .75rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow .n { color: var(--accent-strong); }

.band h2, .band h3 { color: var(--on-dark); }
.band .accent { color: var(--dark-accent-2); }
.band .lead { color: var(--on-dark-2); }
.band .body { color: var(--on-dark-2); }
.band .small, .band .eyebrow { color: var(--on-dark-3); }
.band .eyebrow .n { color: var(--dark-accent-2); }

/* Text links: ink text, emerald underline (an active affordance, not body color). */
.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}
.link:hover { color: var(--accent-strong); }
.link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ============================================================
   03 · ICON TILES — one system everywhere
============================================================ */
.tile {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-tile);
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  color: var(--accent-strong);
  position: relative; z-index: 1;
}
.tile svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.band .tile { background: rgba(255,255,255,.06); border-color: var(--dark-line); color: var(--dark-accent-2); }
.ico-check { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   04 · LAYOUT
============================================================ */
.container { max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
section { padding: var(--pad) 0; position: relative; }
.soft { background: var(--bg-soft); }

.band-wrap { padding: 0 24px; }
.band {
  max-width: 1320px; margin-inline: auto;
  background: var(--dark);
  border-radius: 28px;
  padding: var(--pad) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.band > .container { position: relative; z-index: 1; }
.band-glow { position: absolute; z-index: 0; pointer-events: none; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(16,185,129,.16), rgba(16,185,129,0)); }

.section-head { margin-bottom: 64px; }
.section-head .lead { margin-top: 24px; }
.section-head.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: last baseline; }
.section-head.split .head-left { grid-column: 1 / 8; }
.section-head.split .lead { grid-column: 8 / 13; margin-top: 0; font-size: 1.0625rem; }

.skip-link { position: absolute; left: 16px; top: -64px; z-index: 200; background: var(--ink); color: #fff; font-weight: 600; padding: 12px 24px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
/* Visible by default. The hidden state exists only once the script has run
   and opted in (html.reveal-on); see 'Reveal on scroll' in the script. */
html.reveal-on .reveal:not(.in) { opacity: 0; transform: translateY(12px); }

/* ============================================================
   05 · BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-sans); font-weight: 600; font-size: 1.0625rem; line-height: 1.3;
  padding: 16px 28px; min-height: 56px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
/* White on --accent-strong: 5.5:1. */
.btn-primary { background: var(--accent-strong); color: #fff; box-shadow: 0 1px 2px rgba(5,150,105,.2), 0 8px 20px rgba(5,150,105,.18); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-on-dark { background: var(--dark-accent); color: var(--dark); }
.btn-on-dark:hover { background: var(--dark-accent-2); transform: translateY(-1px); }

.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--dark-accent); flex-shrink: 0; display: inline-block; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ringOut 2.4s ease-out infinite; }
@keyframes ringOut { from { transform: scale(.7); opacity: .5; } to { transform: scale(2.1); opacity: 0; } }

.caption { text-align: center; margin-top: 16px; font-size: .8125rem; letter-spacing: .02em; color: var(--muted); }
.band .caption { color: var(--on-dark-3); }

/* ============================================================
   06 · NAVBAR
============================================================ */
.nav { position: sticky; top: 0; z-index: 100; height: 72px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); --logo-accent: var(--accent); }
.wordmark .logo { display: block; width: auto; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; color: var(--muted); transition: color .2s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta { min-height: 44px; padding: 8px 18px; font-size: .9375rem; box-shadow: none; }
.nav-cta svg { width: 18px; height: 18px; }
/* Lines are SVG strokes in currentColor: forced-dark modes invert them with the text. */
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: 8px; color: var(--ink); }
.burger svg { width: 20px; height: 14px; overflow: visible; stroke: currentColor; stroke-width: 1.5; fill: none; }
.burger path { transform-box: view-box; transform-origin: 10px 7px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger.open path:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open path:nth-child(2) { opacity: 0; }
.burger.open path:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-panel { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; height: calc(100dvh - 72px); z-index: 99; background: #fff; display: none; flex-direction: column; padding: 24px max(24px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); overflow-y: auto; overscroll-behavior: contain; }
.mobile-panel.open { display: flex; }
.mobile-panel .m-link { display: flex; align-items: center; min-height: 52px; font-size: 1.125rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-panel .btn { width: 100%; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ============================================================
   07 · HERO
============================================================ */
.hero { padding: 80px 0 88px; overflow: clip; }
.hero-eyebrow { grid-column: 1 / -1; margin-bottom: 28px; }
.hero h1 { grid-column: 1 / -1; margin-bottom: 40px; }
.hl { display: block; }
@media (min-width: 1100px) { .hero h1 .hl:first-child { white-space: nowrap; } }
.hero-copy { grid-column: 1 / 7; }
.hero-visual { grid-column: 7 / 13; position: relative; }
.hero .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.assure { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.assure li { display: flex; align-items: flex-start; gap: 8px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.assure .ico-check { margin-top: 2px; }
/* The one decorative element of the hero: a soft emerald glow. */
.hero-glow { position: absolute; z-index: 0; inset: -96px -120px -64px -64px; pointer-events: none; background: radial-gradient(50% 50% at 55% 50%, rgba(16,185,129,.16), rgba(16,185,129,0) 70%); }

/* ============================================================
   08 · PROBLEMA
============================================================ */
.problem-copy { grid-column: 1 / 7; align-self: center; }
.problem-copy .lead { margin-top: 32px; }
.problem-copy .lead + .lead { margin-top: 16px; }
.problem-visual { grid-column: 8 / 13; }

/* ============================================================
   09 · SERVICIOS
============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
.svc .tile { margin-bottom: 20px; }
.svc h3 { margin-bottom: 8px; }
.sectors { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); align-items: baseline; }
.sectors .eyebrow { grid-column: 1 / 4; margin: 0; }
.sectors .body { grid-column: 4 / 13; max-width: none; }

/* ============================================================
   10 · CÓMO TRABAJAMOS
============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { position: relative; }
/* Connector: a hairline from each tile to the next, with a node midway. */
.step:not(:last-child)::before { content: ""; position: absolute; top: 21.5px; left: 56px; right: -20px; height: 1px; background: var(--slate-300); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: calc(50% + 38px); width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--slate-300); }
.step-num { display: block; margin: 24px 0 8px; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--slate-300); letter-spacing: -0.02em; }
.step h3 { margin-bottom: 8px; }

.rules-panel { margin-top: 88px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 40px; }
.rules-panel h3.panel-title { font-size: 1.25rem; margin-bottom: 32px; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rule { display: flex; gap: 16px; align-items: flex-start; }
.rule h3 { margin-bottom: 4px; font-size: 1rem; }

/* ============================================================
   11 · NOSOTROS
============================================================ */
.founder-left { grid-column: 1 / 6; }
.founder-right { grid-column: 7 / 13; }
.quote { margin-top: 40px; padding-left: 24px; border-left: 2px solid var(--accent); }
.quote p { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
.founder-id { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.avatar { --avatar-size: 144px; width: var(--avatar-size); height: var(--avatar-size); flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--slate-100); box-shadow: 0 0 0 1px var(--line), 0 0 0 6px var(--bg), 0 0 0 7px var(--accent-line); }
.avatar { position: relative; }
/* Default for a proper bust shot: just cover the circle. */
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
/* Temporary crop for Foto_CV.jpg (1224×1848, face near 657,420): shows a
   300px source window from (507,320). To swap the photo, change the src and
   drop the .avatar--cv class from the wrapper. */
.avatar--cv img { position: absolute; max-width: none; width: 408%; height: auto; left: -169%; top: -107%; object-fit: initial; }
.founder-id .small { margin-top: 2px; }
.bio .body + .body { margin-top: 16px; }
.track { margin-top: 48px; max-width: 420px; border-top: 1px solid var(--line); }
.track-label { margin: 40px 0 0; }
.track-label + .track { margin-top: 16px; }
.track > div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.track dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.track dd { font-size: .9375rem; font-weight: 500; color: var(--ink); line-height: 1.45; text-align: right; }
.founder-right .link { margin-top: 24px; }

/* ============================================================
   12 · CASOS (dark band)
============================================================ */
#casos, #contacto { padding: 0; }
/* Contacto owns one background (soft, continuing the FAQ) and frames the band
   with the same gutter on the sides and the bottom; the footer starts white
   on a full-width edge below it. */
#contacto { background: var(--bg-soft); padding-bottom: 24px; }
.casos-head { margin-bottom: 64px; }
.casos-head h2 { max-width: none; }
.casos-head .lead { margin-top: 24px; max-width: 520px; }
/* Row 1: featured case, mockup left / copy right. Copy comes first in the DOM
   so on mobile each case reads label → text → mockup. */
.case-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.case-feature .case-visual { order: -1; }
.case-feature .wa-mock { max-width: 380px; zoom: .8; }
/* Row 2: two cases side by side, mockup on top of its copy. */
.case-pair { margin-top: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.case-col { display: flex; flex-direction: column; }
.case-col .case-visual { order: -1; margin-bottom: 32px; }
.mock-slot { min-height: 426px; display: flex; align-items: center; }
.case-col .case-copy .body { max-width: none; }
.case-status { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-accent-2); }
.case-cat { margin: 16px 0 12px; font-size: .875rem; color: var(--on-dark-3); }
.case h3 { font-size: 1.5rem; margin-bottom: 16px; letter-spacing: -0.015em; }
.stack-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tags span { font-size: .8125rem; color: var(--on-dark-2); padding: 4px 12px; border-radius: 100px; background: rgba(255,255,255,.05); border: 1px solid var(--dark-line); }
.case-cta { margin-top: 96px; padding: 32px 40px; border-radius: var(--r-card); background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.case-cta .lead { color: var(--on-dark); }

/* ============================================================
   13 · INVERSIÓN
============================================================ */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 40px; box-shadow: var(--shadow-card); }
.price-card.featured { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: var(--shadow-feature); }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.price-name { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; background: var(--accent-tint); border: 1px solid var(--accent-line); color: var(--accent-strong); font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.price-row { margin-top: 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-row .small { font-size: 1rem; }
.price { font-family: var(--font-display); font-weight: 400; font-size: 3.25rem; line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.price-sub { margin-top: 8px; }
.price-list { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.price-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); line-height: 1.5; }
.price-list .ico-check { margin-top: 3px; }
.plus { align-self: center; justify-self: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.plus svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; }
.price-foot { margin-top: 48px; align-items: center; row-gap: 24px; }
.price-foot .small { grid-column: 1 / 8; max-width: 40em; }
.price-foot .btn { grid-column: 9 / 13; justify-self: end; }

/* ============================================================
   14 · FAQ
============================================================ */
.faq-head { grid-column: 1 / 5; align-self: start; position: sticky; top: 120px; }
.faq-head .lead { margin-top: 24px; }
.faq-list { grid-column: 6 / 13; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; cursor: pointer; text-align: left; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; font-size: 1.0625rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq-toggle { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.faq-toggle svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; }
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.faq-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s ease; }
.faq-panel > div { overflow: hidden; min-height: 0; }
.faq-item.open .faq-panel { grid-template-rows: 1fr; opacity: 1; }
.faq-panel p { padding: 0 56px 24px 0; }
.faq-panel a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ============================================================
   15 · CONTACTO (dark band — the one centered block)
============================================================ */
.contact-inner { max-width: 720px; margin-inline: auto; text-align: center; }
/* Optical balance: the eyebrow line box adds ~12px above its text, so the top
   padding is trimmed by that much; text-to-edge is equal top and bottom. */
#contacto .band { padding: 64px 0 76px; }
.contact-inner .eyebrow { justify-content: center; }
.contact-inner h2, .contact-inner .lead, .contact-inner .small { margin-inline: auto; }
.contact-inner .lead { margin-top: 24px; margin-bottom: 48px; }
.chip-label { margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-radius: 100px; font-size: .9375rem; background: rgba(255,255,255,.03); border: 1px solid var(--dark-line); color: var(--on-dark-2); cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chip:hover { border-color: rgba(255,255,255,.28); color: var(--on-dark); }
.chip.active { background: rgba(16,185,129,.14); border-color: var(--dark-accent-2); color: var(--on-dark); }
.chip.active::before { content: ""; width: 14px; height: 14px; margin-right: 8px; background: var(--dark-accent-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.contact-secondary { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.contact-secondary a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-dark-2); transition: color .2s var(--ease); }
.contact-secondary a:hover { color: var(--on-dark); }
.contact-secondary svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   16 · FOOTER
============================================================ */
footer { padding: 80px 0 40px; }
.footer-grid { align-items: start; row-gap: 48px; }
.footer-brand { grid-column: 1 / 5; }
.footer-nav { grid-column: 6 / 10; }
.footer-contact { grid-column: 10 / 13; }
/* Wordmark and headings share one top line: both use line-height 1 and the
   headings drop by the wordmark's cap offset (set below) so cap tops align. */
.footer-brand .wordmark { display: block; min-height: 0; line-height: 0; }
.footer-brand .wordmark .logo { height: 30px; }
.footer-brand .small { margin-top: 16px; max-width: 30em; }
.footer-h { font-size: .75rem; font-weight: 600; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); padding-top: var(--cap-offset, 1.5px); margin-bottom: 12px; }
.footer-links { display: grid; }
.footer-links.two { grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 32px; justify-content: start; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .9375rem; color: var(--muted); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-links svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.btn-outline { margin-top: 24px; min-height: 44px; padding: 10px 18px; font-size: .9375rem; gap: 10px; background: transparent; color: var(--accent-strong); border: 1.5px solid var(--accent-strong); }
.btn-outline svg { width: 18px; height: 18px; }
.btn-outline:hover { background: var(--accent-tint); }
.footer-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; }

/* ============================================================
   17 · WHATSAPP: floating circle (≥768px) / sticky bar (<768px)
============================================================ */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 98; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 8px 24px rgba(5,150,105,.28); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease); }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--accent-strong); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.m-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .3s var(--ease); }
.m-bar.show { transform: none; }
.m-bar .btn { width: 100%; }

/* ============================================================
   MOCKUPS START — illustrative UI with its own internal sizes
============================================================ */
.mock-card { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-mock); }
.skel { display: inline-block; height: 8px; border-radius: 100px; background: rgba(255,255,255,.12); vertical-align: middle; }

/* Hero activity card (about 15% larger than v6) */
.feed-card { padding: 28px; max-width: 508px; margin-left: auto; }
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.feed-title { font-weight: 600; font-size: 16px; color: var(--ink); }
.feed-sample { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 4px 10px; border-radius: 100px; background: var(--slate-100); }
.feed-sample i { width: 6px; height: 6px; border-radius: 50%; background: #94A3B8; display: block; }
.feed-item { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .5s var(--ease), opacity .5s var(--ease), transform .5s var(--ease); }
.feed-item > div { overflow: hidden; min-height: 0; }
.feed-item.enter { grid-template-rows: 0fr; opacity: 0; transform: translateY(-6px); }
.feed-item.leave { grid-template-rows: 0fr; opacity: 0; }
.feed-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feed-item:last-child .feed-row { border-bottom: none; }
.feed-row .tile { width: 40px; height: 40px; border-radius: 10px; }
.feed-row .tile svg { width: 20px; height: 20px; }
.feed-text { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.feed-time { font-size: 13px; color: var(--muted); margin-left: auto; white-space: nowrap; }

/* Switch card */
.day-card { padding: 28px; max-width: 460px; margin-left: auto; }
.ctl { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ctl-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; user-select: none; transition: color .3s var(--ease); }
.ctl-label.is-on { color: var(--ink); }
.ctl-on.is-on { color: var(--accent-strong); }
.switch { width: 60px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; border-radius: 100px; }
.switch-track { position: relative; width: 52px; height: 30px; border-radius: 100px; background: var(--slate-300); transition: background .35s var(--ease); }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11,18,32,.25); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] .switch-track { background: var(--accent); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(22px); }
.day-title { font-weight: 600; font-size: 16px; color: var(--ink); }
.day-sub { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.task-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.task-row:last-of-type { border-bottom: none; }
.task-name { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.owner { display: grid; min-width: 92px; flex-shrink: 0; }
.owner > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-weight: 600; font-size: 13px; border-radius: 100px; padding: 4px 12px; line-height: 1.4; border: 1px solid transparent; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.owner .o-tu { background: var(--slate-100); color: var(--muted); border-color: #E2E8F0; }
.owner .o-sys { background: var(--accent-tint); color: var(--accent-strong); border-color: var(--accent-line); opacity: 0; transform: scale(.94); }
.owner .o-sys svg { width: 13px; height: 13px; stroke: var(--accent-strong); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.owner.done .o-tu { opacity: 0; transform: scale(.94); }
.owner.done .o-sys { opacity: 1; transform: scale(1); }
.day-close { background: var(--slate-100); border: 1px solid #E2E8F0; border-radius: 12px; padding: 12px 16px; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; line-height: 1.45; transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.day-close.show { background: var(--accent-tint); border-color: var(--accent-line); color: var(--accent-strong); }
.day-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
/* WhatsApp chat */
.wa-mock { max-width: 320px; width: 100%; margin-inline: auto; background: #0B141A; border-radius: 24px; border: 1px solid var(--dark-line); padding: 16px; box-shadow: 0 32px 80px rgba(0,0,0,.55); display: flex; flex-direction: column; }
.wa-head { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 14px; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--dark-accent); color: var(--dark); font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-name { display: block; font-weight: 600; font-size: 13px; color: #F9FAFB; line-height: 1.4; }
.wa-status { display: block; font-size: 11px; color: var(--dark-accent); line-height: 1.4; }
.bubble { max-width: 80%; padding: 9px 12px; margin-bottom: 8px; font-size: 13px; color: #F9FAFB; line-height: 1.45; }
.bubble.in { align-self: flex-start; background: #1F2C34; border-radius: 14px 14px 14px 5px; }
.bubble.out { align-self: flex-end; background: #005C4B; border-radius: 14px 14px 5px 14px; }
.bubble time { display: block; text-align: right; font-size: 10px; color: rgba(255,255,255,.74); margin-top: 3px; }
.bubble .inline-check { display: inline-block; vertical-align: -1px; width: 12px; height: 12px; stroke: var(--dark-accent); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-right: 4px; }
.img-bubble { width: 104px; height: 128px; background: rgba(255,255,255,.07); border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.img-bubble svg { width: 30px; height: 30px; stroke: rgba(255,255,255,.35); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.img-bubble small { font-size: 10px; color: rgba(255,255,255,.62); }
.typing { align-self: flex-start; background: #1F2C34; border-radius: 14px; padding: 10px 13px; display: flex; gap: 4px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--on-dark-3); display: block; animation: typingDot 1.4s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* Fund dashboards */
.dash { max-width: 400px; width: 100%; margin-inline: auto; background: var(--dark-1); border-radius: 24px; border: 1px solid var(--dark-line); padding: 20px; box-shadow: 0 28px 70px rgba(0,0,0,.6); position: relative; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dash-name { font-weight: 600; font-size: 15px; color: var(--on-dark); }
.avatars { display: flex; align-items: center; }
.avatars i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--dark-1); display: block; margin-left: -7px; }
.avatars i:first-child { margin-left: 0; }
.plus-chip { background: var(--dark-2); border-radius: 100px; padding: 3px 8px; font-weight: 600; font-size: 10px; color: var(--on-dark-3); margin-left: 6px; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.stat { background: var(--dark-2); border-radius: 11px; padding: 12px; border: 1px solid var(--dark-line); }
.stat-label { font-weight: 600; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 6px; line-height: 1.4; }
.stat-val { font-weight: 600; font-size: 18px; color: var(--on-dark); line-height: 1.1; display: flex; align-items: center; gap: 5px; }
.chart { height: 92px; display: flex; align-items: flex-end; gap: 6px; }
.chart .bar { width: 100%; border-radius: 4px 4px 0 0; background: var(--dark-accent); opacity: .55; }
.chart-axis { height: 1px; background: var(--dark-line); margin-top: 6px; }
.chart-labels { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--on-dark-3); margin-top: 6px; margin-bottom: 18px; }
.act-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--dark-line); }
.act-row:last-child { border-bottom: none; }
.act-left { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--on-dark-2); line-height: 1.45; }
.act-left i { width: 6px; height: 6px; border-radius: 50%; display: block; flex-shrink: 0; }
.act-time { font-size: 11px; color: var(--on-dark-3); white-space: nowrap; }
.iso-badge { position: absolute; top: -13px; right: 18px; display: inline-flex; align-items: center; gap: 6px; background: var(--dark); border: 1px solid rgba(16,185,129,.35); border-radius: 100px; padding: 4px 11px; font-weight: 600; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dark-accent); line-height: 1.5; white-space: nowrap; }
.iso-badge svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fund-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 100px; padding: 6px 12px; font-weight: 600; font-size: 14px; color: var(--on-dark); line-height: 1.3; white-space: nowrap; }
.fund-pill svg { width: 12px; height: 12px; stroke: var(--on-dark-3); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dash-multi .avatars i { width: 20px; height: 20px; margin-left: -6px; }
.dash-multi .avatars i:first-child { margin-left: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); border: 1px solid var(--dark-line); border-radius: 10px; padding: 3px; margin-bottom: 14px; }
.seg span { text-align: center; font-weight: 600; font-size: 11px; color: var(--on-dark-3); padding: 6px 8px; border-radius: 7px; line-height: 1.4; }
.seg span.on { background: var(--dark-2); color: var(--on-dark); }
.partner-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.partner-table th { text-align: left; font-weight: 600; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); padding: 0 0 8px; border-bottom: 1px solid var(--dark-line); }
.partner-table td { font-size: 12.5px; color: var(--on-dark-2); padding: 9px 0; border-bottom: 1px solid var(--dark-line); line-height: 1.4; }
.partner-table th:last-child, .partner-table td:last-child { text-align: right; }
.partner-table td.num-cell { color: var(--on-dark-3); }
.ok-pill { display: inline-block; background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.3); color: var(--dark-accent); border-radius: 100px; padding: 2px 9px; font-weight: 600; font-size: 11px; line-height: 1.5; }
.import-row { display: flex; align-items: center; gap: 10px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 11px; padding: 10px 12px; font-size: 12.5px; color: var(--on-dark-2); line-height: 1.4; }
.import-row svg { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--dark-accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.import-row .act-time { margin-left: auto; }
.stat .skel { width: 72%; height: 10px; margin-top: 6px; }
.partner-table .skel { width: 56px; }
.partner-table tr:nth-child(2) .skel { width: 40px; }
.partner-table tr:nth-child(3) .skel { width: 64px; }
.partner-table tr:nth-child(4) .skel { width: 32px; }

/* MOCKUPS END */

/* ============================================================
   18 · RESPONSIVE
============================================================ */
@media (max-width: 1023px) {
  :root { --pad: 96px; }
  .nav-links { display: none; }
  .burger { display: flex; }

  .hero-copy, .hero-visual, .problem-copy, .problem-visual,
  .founder-left, .founder-right, .faq-head, .faq-list { grid-column: 1 / -1; }
  .hero-visual { margin-top: 56px; }
  .feed-card, .day-card { margin-inline: 0; }
  .problem-visual { margin-top: 48px; }
  .founder-right { margin-top: 48px; }
  .faq-head { position: static; margin-bottom: 40px; }

  .section-head.split { display: block; }
  .section-head.split .lead { margin-top: 24px; }

  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .step:nth-child(2)::before, .step:nth-child(2)::after { display: none; }
  .rules { grid-template-columns: 1fr; gap: 28px; }

  .case-feature, .case-pair { grid-template-columns: 1fr; gap: 0; }
  .case-feature .case-visual, .case-col .case-visual { order: 0; margin: 40px 0 0; }
  .case-feature .wa-mock { zoom: 1; max-width: 340px; }
  .mock-slot { min-height: 0; }
  .case-pair { margin-top: 0; }
  .case-pair .case { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--dark-line); }
  .founder-left .track { max-width: none; }

  .price-grid { grid-template-columns: 1fr; max-width: 560px; }
  .plus { margin: 16px auto; }
  .price-foot .small, .price-foot .btn { grid-column: 1 / -1; justify-self: start; }
  .sectors .eyebrow, .sectors .body { grid-column: 1 / -1; }
  .sectors .body { margin-top: 12px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { grid-column: 1 / 8; }
  .footer-contact { grid-column: 8 / 13; }
}

@media (max-width: 767px) {
  :root { --pad: 72px; }
  .band-wrap { padding: 0 8px; }
  .band { border-radius: 20px; }
  #contacto { padding-bottom: 8px; }
  #contacto .band { padding: 36px 0 48px; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { margin-bottom: 24px; }
  .hero .lead { font-size: 1.0625rem; margin-bottom: 24px; }
  .hero-ctas .btn { width: 100%; }
  .assure { flex-direction: column; gap: 10px; margin-top: 24px; padding-top: 20px; }
  .assure li { white-space: normal; }
  .hero-glow { inset: -40px -24px -40px -24px; }
  .feed-card, .day-card { padding: 20px; }
  .feed-title { font-size: 15px; }
  .feed-text { font-size: 14px; }
  .svc-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .svc .tile { grid-row: 1 / span 2; margin: 0; }
  .svc h3 { padding-top: 10px; }

  /* Timeline turns vertical: connectors run down the tile column. */
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; }
  .step .tile { grid-row: 1 / span 3; }
  .step-num { margin: 0 0 8px; font-size: 2.5rem; }
  .step:not(:last-child)::before, .step:nth-child(2)::before { display: block; top: 56px; bottom: -28px; left: 21.5px; right: auto; width: 1px; height: auto; }
  .step:not(:last-child)::after, .step:nth-child(2)::after { display: block; top: calc(50% + 28px); left: 19px; margin-left: 0; }

  .rules-panel { padding: 28px 24px; margin-top: 64px; }
  .founder-id { gap: 16px; }
  .avatar { --avatar-size: 112px; }
  .quote p { font-size: 1.5rem; }
  .case-cta { padding: 24px; margin-top: 72px; }
  .case-cta .btn { width: 100%; }
  .price-card { padding: 28px 24px; }
  .price { font-size: 2.75rem; }
  .price-foot .btn { width: 100%; }
  .faq-panel p { padding-right: 0; }
  .contact-inner .btn { width: 100%; }
  .wa-float { display: none; }
  .m-bar { display: block; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 8px 12px; min-width: 48px; }
}

@media (max-width: 640px) {
  footer { padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); }
  .footer-grid { row-gap: 40px; }
  .footer-brand, .footer-nav, .footer-contact { grid-column: 1 / -1; }
  .footer-links.two { column-gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 40px; }
  .footer-legal { gap: 20px; flex-wrap: nowrap; }
}

/* ============================================================
   20 · MOBILE & TABLET (<1024px). Desktop (>=1024px) is untouched:
   the base rules here only hide elements that exist for small screens.
============================================================ */
.case-tabs, .bio-more { display: none; }
.bio-rest { margin-top: 16px; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes caseIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  /* Header: 64px, condenses to 56px once the page scrolls. */
  :root { --nav-h: 64px; }
  html.nav-condensed { --nav-h: 56px; }
  html { scroll-padding-top: 72px; }
  .nav { height: var(--nav-h); transition: height .25s var(--ease), border-color .25s var(--ease); }
  .burger { width: 48px; height: 48px; }
  .wordmark, .btn-outline { min-height: 48px; }
  .nav-cta { min-height: 48px; }

  /* Menu: full-screen sheet, numbered sections, WhatsApp anchored at the bottom. */
  .mobile-panel { top: var(--nav-h); height: calc(100dvh - var(--nav-h)); padding-top: 8px; counter-reset: m; }
  .mobile-panel.open { animation: sheetIn .22s var(--ease); }
  .mobile-panel .m-link { counter-increment: m; gap: 16px; min-height: 56px; font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.01em; }
  .mobile-panel .m-link::before { content: counter(m, decimal-leading-zero); min-width: 20px; font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--accent-strong); }
  .mobile-panel .m-cta { margin-top: auto; flex-shrink: 0; }
  .mobile-panel .m-link:last-of-type { margin-bottom: 24px; }

  /* Hero feed: fixed-height slots, content swaps in place (no layout shift). */
  .feed-row { height: 76px; padding: 0; }
  .feed-row > * { transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .feed-list.swapping .feed-row > * { opacity: 0; transform: translateY(4px); }
  .feed-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Problema: the switch card is the star; bigger thumb target. */
  .ctl { white-space: normal; gap: 8px; }
  .ctl-label { text-align: center; line-height: 1.3; }
  .switch { width: 76px; height: 48px; }
  .switch-track { width: 64px; height: 36px; }
  .switch-knob { width: 30px; height: 30px; }
  .switch[aria-checked="true"] .switch-knob { transform: translateX(28px); }
  .task-row { min-height: 52px; }
  .day-sub, .day-close { font-size: 15px; }

  /* Casos: light section, dark mockups as objects, one case at a time. */
  #casos.band-wrap { padding: 0; background: var(--bg-soft); }
  #casos .band { max-width: none; border-radius: 0; background: transparent; }
  #casos .band-glow { display: none; }
  #casos h2, #casos h3 { color: var(--ink); }
  #casos .accent { color: var(--accent-strong); }
  #casos .lead { color: var(--ink-2); }
  #casos .body { color: var(--muted); }
  #casos .eyebrow, #casos .caption, #casos .case-cat { color: var(--muted); }
  #casos .eyebrow .n, #casos .case-status { color: var(--accent-strong); }
  #casos .stack-tags span { color: var(--ink-2); background: #fff; border-color: var(--line); }
  #casos :focus-visible { outline-color: var(--accent-strong); }
  #casos .case-pair .case { border-top-color: var(--line); }
  #casos .case-cta { background: #fff; border-color: var(--line); }
  #casos .case-cta .lead { color: var(--ink); }
  #casos .case-cta .btn-on-dark { background: transparent; color: var(--accent-strong); border: 1.5px solid var(--accent-strong); }
  #casos .case-cta .btn-on-dark:hover { background: var(--accent-tint); }
  #casos.tabs-on .case-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 40px; background: #E6ECEA; border-radius: 14px; }
  .case-tab { min-height: 52px; padding: 6px 8px; border-radius: 10px; font-size: .9375rem; font-weight: 600; line-height: 1.25; text-align: center; color: var(--muted); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
  .case-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,18,32,.08), 0 4px 12px rgba(11,18,32,.06); }
  #casos.tabs-on .case-pair { display: block; margin: 0; }
  #casos.tabs-on .case-pair .case { margin: 0; padding: 0; border: 0; }
  #casos.tabs-on .case[data-inactive] { display: none; }
  #casos.tabs-on .case.is-entering { animation: caseIn .25s var(--ease); }
  #casos.tabs-on .case-cta { margin-top: 64px; }
  #casos.tabs-on .case { touch-action: pan-y; }

  /* Mockups: every label at 12px or more. */
  .bubble time, .img-bubble small, .wa-status, .act-time, .plus-chip, .seg span, .ok-pill, .chart-labels, .iso-badge { font-size: 12px; }
  .stat-label, .partner-table th { font-size: 12px; letter-spacing: 0; text-transform: none; }
  .stat { padding: 10px; }
  .act-left, .partner-table td, .import-row { font-size: 13px; }

  .link, .footer-links a, .footer-legal a, .contact-secondary a { min-height: 48px; }
  .avatar--cv img { position: static; width: 100%; height: 100%; object-fit: cover; }
}

/* Tablet: a real two-column layout, not a stretched phone. */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-copy { grid-column: 1 / 7; }
  .hero-visual { grid-column: 7 / 13; margin-top: 0; align-self: start; }
  .problem-copy { grid-column: 1 / 7; }
  .problem-visual { grid-column: 7 / 13; margin-top: 0; }
  .founder-left { grid-column: 1 / 6; }
  .founder-right { grid-column: 7 / 13; margin-top: 0; }
  #casos.tabs-on .case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  #casos.tabs-on .case .case-visual { margin: 0; }
  .price-grid { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); max-width: none; }
  .plus { margin: 0; }
  .price-card { padding: 28px; }
  .price { font-size: 2.5rem; }
  .faq-list { max-width: 680px; }
}

/* Phone */
@media (max-width: 767px) {
  :root { --pad: 64px; }
  .container, .nav-inner { padding-inline: 20px; }
  h1 { font-size: clamp(2.75rem, 11vw, 3.25rem); line-height: 1.02; }
  h2 { font-size: clamp(2.1rem, 8.5vw, 2.4rem); line-height: 1.08; }
  .body, .lead, .hero .lead { font-size: 1.0625rem; line-height: 1.6; }
  .small { font-size: .9375rem; }
  .eyebrow { margin-bottom: 16px; }
  .section-head { margin-bottom: 40px; }

  .hero { padding: 28px 0 56px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 20px; }
  .assure li { font-size: .9375rem; }
  .hero-visual { margin-top: 40px; }
  .feed-card { max-width: none; }
  .feed-text { font-size: 15px; }
  .feed-item:nth-child(n+3) { display: none; }

  .problem-visual { margin-top: 32px; }
  .day-card { max-width: none; }

  /* Servicios: compact list, all six visible, two lines of text each. */
  .svc-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .svc { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .svc h3 { margin: 0 0 4px; padding-top: 0; font-size: 1.0625rem; }
  .svc .body { font-size: .9375rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sectors { margin-top: 40px; }

  /* Cómo trabajamos: tighter timeline. */
  .steps { gap: 28px; }
  .step { column-gap: 16px; }
  .step .tile { grid-row: 1 / span 2; }
  .step-num { margin: 0 0 4px; font-size: 1.75rem; }
  .step:not(:last-child)::before { top: 52px; bottom: -20px; }
  .step:not(:last-child)::after { top: auto; bottom: -17px; }
  .rules-panel { padding: 24px 20px; margin-top: 48px; }
  .rules-panel h3.panel-title { margin-bottom: 20px; }
  .rules { gap: 20px; }

  /* Nosotros: person first, then the quote, short bio, trayectoria, LinkedIn. */
  #nosotros .grid12 { display: flex; flex-direction: column; }
  .founder-left, .founder-right { display: contents; }
  #nosotros .eyebrow { order: 1; }
  #nosotros h2 { order: 2; margin-bottom: 32px; }
  .founder-id { order: 3; margin-bottom: 24px; }
  .quote { order: 4; margin: 0 0 24px; }
  .quote p { font-size: 1.5rem; }
  .bio { order: 5; }
  #nosotros .track-label { order: 6; margin: 32px 0 0; }
  .track { order: 7; }
  .track > div { padding: 12px 0; }
  .founder-right .link { order: 8; margin-top: 16px; align-self: flex-start; }
  .bio-more { display: inline-flex; align-items: center; min-height: 48px; margin-top: 4px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1.5px; cursor: pointer; }
  .bio-more[hidden] { display: none; }
  .bio-rest { display: none; margin-top: 8px; }
  .bio-rest.open { display: block; }
  .bio-rest:focus { outline: none; }

  .price-card { padding: 24px 20px; }
  .price { font-size: 2.5rem; }
  .price-row { margin-top: 16px; }
  .price-list { margin-top: 20px; padding-top: 20px; gap: 12px; }
  .price-list li { font-size: .9375rem; }
  .plus { width: 32px; height: 32px; margin: 12px auto; }
  .price-foot { margin-top: 32px; }

  .faq-head { margin-bottom: 32px; }
  .faq-q { padding: 18px 0; min-height: 64px; font-size: 1.0625rem; }
  .chip { min-height: 48px; padding: 10px 18px; }
}

/* ============================================================
   19 · REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   21 · SITE V2 — multi-page additions. Everything above is the
   original one-page system, unchanged; these rules only add the
   blocks and page shells that did not exist before.
============================================================ */

/* Page h1 that keeps the section-heading look (subpages). */
h1.h-section { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.015em; max-width: 17ch; }

.band h1 { color: var(--on-dark); }
/* First section of a subpage sits closer to the nav, like the hero. */
section.page-top { padding-top: 80px; }
main > #casos:first-child { padding-top: 24px; }
main > #casos:last-child { padding-bottom: 24px; }
/* Pages that end without a band get a hairline above the footer. */
main.ruled + .footer { border-top: 1px solid var(--line); }
/* h2 that keeps the h3 look (case titles, founder name on subpages). */

/* Steps on a white section: the connector node matches the background. */
section:not(.soft) .step:not(:last-child)::after { background: var(--bg); }

/* Text links on the dark band. */
.band .link { color: var(--on-dark); text-decoration-color: var(--dark-accent); }
.band .link:hover { color: var(--dark-accent); }
.link-row { display: flex; flex-wrap: wrap; gap: 4px 32px; }

/* Footer: Contacto and Síguenos share the right column. */
.footer-contact .footer-h + .footer-links + .footer-h { margin-top: 24px; }

/* ---------- Inicio · Tres caminos ---------- */

/* ---------- Inicio · Prueba corta (dark band on desktop) ---------- */

/* ---------- Inicio · Cómo trabajamos resumido ---------- */

/* ---------- Inicio · Fundador breve ---------- */

/* ---------- /asesoria ---------- */

.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- /soluciones, /casos, /precios: page links ---------- */

/* ---------- /casos · case 4 (second feature, mockup on the right) ---------- */

.mail-mock { max-width: 420px; }
.mail-row { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 14px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; }
.mail-ico { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.3); }
.mail-ico svg { width: 18px; height: 18px; stroke: var(--dark-accent); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mail-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mail-from { font-weight: 600; font-size: 13px; color: var(--on-dark); line-height: 1.4; }
.mail-subj { font-size: 12.5px; color: var(--on-dark-2); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-file { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 10px 3px 8px; border-radius: 8px; background: var(--dark); border: 1px solid var(--dark-line); font-size: 11.5px; color: var(--on-dark-2); line-height: 1.5; align-self: flex-start; }
.mail-file svg { width: 13px; height: 13px; stroke: var(--on-dark-3); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mail-row .act-time { margin-left: auto; align-self: flex-start; }
.extract-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.extract-title { font-weight: 600; font-size: 13px; color: var(--on-dark); }
.parts-table th, .parts-table td { text-align: left; padding-right: 10px; }
.parts-table th:last-child, .parts-table td:last-child { text-align: right; padding-right: 0; }
.parts-table .skel { width: 52px; }
.parts-table td:nth-child(2) .skel { width: 76px; }
.parts-table td:nth-child(3) .skel { width: 40px; }
.parts-table td:last-child .skel { width: 22px; }
.parts-table tr:nth-child(2) td:nth-child(2) .skel { width: 60px; }
.parts-table tr:nth-child(3) td:nth-child(1) .skel { width: 44px; }
.parts-table tr:nth-child(4) td:nth-child(2) .skel { width: 84px; }

/* ---------- 404 ---------- */
.nf .lead { margin-top: 24px; }
.nf .link-row { margin-top: 32px; }
.nf .btn { margin-top: 40px; }

@media (max-width: 1023px) {
  section.page-top { padding-top: 56px; }
  main > #casos.band-wrap:first-child, main > #casos.band-wrap:last-child { padding-top: 0; padding-bottom: 0; }

  /* Casos (home strip and /casos) is light below 1024px: tiles and links go light too. */
  #casos h1 { color: var(--ink); }
  #casos .band .tile { background: var(--accent-tint); border-color: var(--accent-line); color: var(--accent-strong); }
  #casos .band .link { color: var(--ink); text-decoration-color: var(--accent); }
  #casos .band .link:hover { color: var(--accent-strong); }

  .steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .steps-3 .step:nth-child(2)::before, .steps-3 .step:nth-child(2)::after { display: block; }
  /* Four case tabs: a 2×2 grid on phones, one row on tablets. */
  #casos.tabs-on .case-tabs.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}
@media (min-width: 768px) and (max-width: 1023px) {
  #casos.tabs-on .case-tabs.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

}
@media (max-width: 767px) {
  section.page-top { padding-top: 32px; }
  h1.h-section { font-size: clamp(2.1rem, 8.5vw, 2.4rem); line-height: 1.08; }

  .steps-3 { grid-template-columns: 1fr; gap: 28px; }
  .steps-3 .step:nth-child(2)::before { display: block; }

  .link-row { flex-direction: column; gap: 0; }

  .mail-mock { padding: 16px; }
}

/* Contacto continues the background of the section above it. */
section:not(.soft) + #contacto { background: var(--bg); }

/* Header WhatsApp CTA on /asesoria and /casos (keeps the mobile sticky bar hidden on the first screen) */

/* Accent phrase on its own line (long phrase in the /asesoria steps h2) */
.accent.line { display: block; }

/* ============================================================
   22 · SITE V3 — design pass. Composition per page type: fewer
   icon tiles, light closings, editorial rows. Overrides above.
============================================================ */

/* ---------- Light closing strip (every page except the home) ---------- */
section.closing { padding: 0 0 112px; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 64px; border-top: 1px solid var(--line); }
.closing-line { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.875rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); max-width: 18ch; text-wrap: balance; }
section.soft + section.closing { padding-top: 112px; }
section.soft + section.closing .closing-inner { border-top: 0; padding-top: 0; }
main.ruled + .footer { border-top: 1px solid var(--line); }

/* ---------- FAQ: one centered column ---------- */
.faq-center { max-width: 720px; margin-inline: auto; }
.faq-center .faq-head { position: static; text-align: center; margin-bottom: 48px; }
.faq-center .faq-head .eyebrow { justify-content: center; }
.faq-center .faq-head h2, .faq-center .faq-head .lead { margin-inline: auto; }

/* ---------- Footer: same content, quieter ---------- */
footer { padding: 96px 0 40px; }
.footer-grid { row-gap: 56px; }
.footer-h { font-size: .6875rem; font-weight: 500; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.footer-brand .small { font-size: .875rem; max-width: 26em; }
.footer-links a { min-height: 40px; font-size: .875rem; color: var(--ink-2); }
.footer-contact .footer-h + .footer-links + .footer-h { margin-top: 32px; }
.footer-wa { display: inline-flex; align-items: center; min-height: 40px; margin-top: 16px; font-size: .875rem; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.footer-wa:hover { color: var(--accent-strong); }
.footer-bottom { margin-top: 72px; font-size: .75rem; }

@media (max-width: 1023px) {
  .footer-links a, .footer-wa { min-height: 48px; }
}
@media (max-width: 767px) {
  section.closing { padding-bottom: 72px; }
  section.soft + section.closing { padding-top: 72px; }
  .closing-inner { padding-top: 48px; gap: 24px; }
  .closing-inner .btn { width: 100%; }
  .faq-center .faq-head { margin-bottom: 32px; }
  footer { padding-top: 72px; }
}

/* ---------- Home · Tres caminos: full-width typographic rows ---------- */
.routes { border-top: 1px solid var(--line); margin-inline: -24px; }
.routes .route { margin-inline: 0; }
.route { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 48px; align-items: center; column-gap: 40px; padding: 36px 24px; margin-inline: -24px; border-bottom: 1px solid var(--line); border-radius: 0; transition: background .25s var(--ease); }
.route-title { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); }
.route-line { font-size: 1.0625rem; line-height: 1.6; color: var(--muted); max-width: 34em; text-wrap: pretty; }
.route-arrow { justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.route-arrow svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route:hover, .route:focus-visible { background: var(--bg-soft); }
.route:hover .route-arrow, .route:focus-visible .route-arrow { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; transform: translateX(4px); }
.route:active { background: var(--accent-tint); }
.route:focus-visible { outline-offset: -2px; border-radius: 12px; }

/* ---------- Collage of mockups (home proof, /casos header) ---------- */
.collage-wrap { --k: 1; }
.collage { position: relative; width: calc(534px * var(--k)); height: calc(480px * var(--k)); margin-left: auto; }
.collage-stage { position: absolute; left: 0; top: 0; width: 534px; height: 480px; transform: scale(var(--k)); transform-origin: 0 0; }
.collage-item { position: absolute; transform-origin: 0 0; }
.collage .wa-mock, .collage .dash { box-shadow: 0 2px 6px rgba(11,18,32,.08), 0 24px 56px rgba(11,18,32,.22); }
.c-fund { left: 0; top: 72px; width: 400px; transform: scale(.7); z-index: 1; }
.c-mail { left: 248px; top: 176px; width: 420px; transform: scale(.68); z-index: 2; }
.c-chat { left: 178px; top: 0; width: 320px; transform: scale(.58); z-index: 3; }
.collage-wrap .caption { text-align: right; margin-top: 12px; }

/* ---------- Home · Prueba (light) ---------- */
section#casos.proof { padding: var(--pad) 0; }
.proof-copy { grid-column: 1 / 6; align-self: center; }
.proof-copy .lead { margin-top: 24px; }
.proof-copy .link { margin-top: 24px; }
.proof-visual { grid-column: 7 / 13; }

/* ---------- Home · Fundador: quiet strip ---------- */
section.founder-strip { padding: 88px 0; }
.strip { display: flex; align-items: center; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .avatar { --avatar-size: 72px; box-shadow: 0 0 0 1px var(--line); }
.strip-text { flex: 1 1 auto; min-width: 0; }
.strip-name { font-weight: 600; font-size: 1.0625rem; color: var(--ink); line-height: 1.4; }
.strip-text .body { margin-top: 2px; }
.strip .link { flex-shrink: 0; }

@media (max-width: 1139px) {
  .collage-wrap { --k: .88; }
}
@media (max-width: 1023px) {
  .proof-copy, .proof-visual { grid-column: 1 / -1; }
  .proof-visual { margin-top: 48px; }
  .collage-wrap { --k: .9; }
  .collage { margin-inline: auto; }
  .collage-wrap .caption { text-align: center; }
  .route { grid-template-columns: minmax(0, 1fr) 44px; row-gap: 8px; padding: 28px 24px; }
  .route-title { grid-column: 1; }
  .route-line { grid-column: 1; grid-row: 2; }
  .route-arrow { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 767px) {
  .collage-wrap { --k: .59; }
  .proof-visual { margin-top: 40px; }
  .routes { margin-inline: 0; }
  .route { padding: 24px 0; column-gap: 16px; }
  .route-title { font-size: 2rem; }
  .route-line { font-size: 1rem; }
  section.founder-strip { padding: 56px 0; }
  .strip { flex-wrap: wrap; align-items: flex-start; gap: 16px 20px; padding: 28px 0; }
  .strip-text { flex-basis: calc(100% - 92px); }
  .strip .link { margin-left: 92px; margin-top: -8px; }
}
@media (min-width: 400px) and (max-width: 767px) {
  .collage-wrap { --k: .66; }
}

/* ---------- Page header in one column (asesoría, soluciones, precios) ---------- */
.page-head { max-width: 680px; margin-bottom: 72px; }
.page-head .lead { margin-top: 24px; }
.page-head > .link { margin-top: 20px; }
.head-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Asesoría · two formats, identical structure, equal height ---------- */
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.format { display: flex; flex-direction: column; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-card); scroll-margin-top: 96px; }
.format-title { font-size: clamp(2rem, 2.6vw, 2.25rem); line-height: 1.1; max-width: none; }
.format-title .accent { display: block; }
.format-label { margin: 32px 0 10px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.format .body { max-width: none; }
.format-list { display: grid; gap: 12px; }
.format-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.format-list .ico-check { margin-top: 4px; }
.format-foot { margin-top: auto; padding-top: 32px; }
.format-foot::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 20px; }

@media (max-width: 1023px) {
  .formats { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 767px) {
  .page-head { margin-bottom: 48px; }
  .head-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .head-actions .btn { width: 100%; }
  .head-actions .link { align-self: flex-start; }
  .format { padding: 28px 24px; }
  .format-label { margin-top: 24px; }
  .format-foot { padding-top: 24px; }
}

/* Two-line h2 whose accent sits on its own line: let the accent line run long. */
h2:has(> .accent.line) { max-width: none; }

/* ---------- Soluciones · three families, editorial two-column rows ---------- */
.families { border-bottom: 1px solid var(--line); }
.family { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 56px 0; border-top: 1px solid var(--line); }
.family-head { grid-column: 1 / 6; }
.family-head .eyebrow { margin-bottom: 16px; }
.family-title { font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.08; max-width: 13ch; }
.family-list { grid-column: 7 / 13; }
.svc-row { padding: 22px 0; }
.svc-row:first-child { padding-top: 0; }
.svc-row:last-child { padding-bottom: 0; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row h3 { margin-bottom: 6px; }
.family-list .body { max-width: none; }
.family-foot { padding: 40px 0; }
.family-foot .eyebrow { margin: 4px 0 0; }
.family-foot .link { margin-top: 12px; }

/* ---------- Soluciones · rules: text only, three columns with top rules ---------- */
.rules-open { margin-top: 104px; }
.rules-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 32px; }
.rules-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rule-col { padding-top: 20px; border-top: 1px solid var(--slate-300); }
.rule-col h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--ink); margin-bottom: 8px; text-wrap: balance; }

@media (max-width: 1023px) {
  .family-head, .family-list { grid-column: 1 / -1; }
  .family-head { margin-bottom: 28px; }
  .family-title { max-width: 20ch; }
  .family-foot .family-head { margin-bottom: 12px; }
}
@media (max-width: 767px) {
  .family { padding: 40px 0; }
  .family-title { font-size: 2rem; }
  .svc-row { padding: 18px 0; }
  .svc-row h3 { font-size: 1.0625rem; }
  .family-foot { padding: 32px 0; }
  .rules-open { margin-top: 72px; }
  .rules-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Casos · light page ---------- */
section#casos.casos-page { padding: 80px 0 var(--pad); }
.casos-top { align-items: center; margin-bottom: 128px; }
.casos-intro { grid-column: 1 / 6; }
.casos-intro .lead { margin-top: 24px; }
.casos-collage { grid-column: 7 / 13; }
.case-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.case-row + .case-row { margin-top: 128px; }
.case-row .case-visual { order: -1; }
.case-row.flip .case-visual { order: 1; }
.mock-panel { display: flex; align-items: center; justify-content: center; min-height: 560px; padding: 56px 40px; background: var(--bg-soft); border-radius: 32px; }
.mock-panel .wa-mock { zoom: .8; box-shadow: 0 2px 6px rgba(11,18,32,.08), 0 28px 64px rgba(11,18,32,.2); }
.mock-panel .dash { box-shadow: 0 2px 6px rgba(11,18,32,.08), 0 28px 64px rgba(11,18,32,.2); }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.case-sector { color: var(--ink); }
.case-state { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-strong); }
h2.case-title { margin: 20px 0 16px; font-family: var(--font-sans); font-size: 1.5rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; max-width: 24ch; }
.case-row .body { max-width: 34em; }
.case-made { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 1139px) {
  .case-row { gap: 56px; }
}
@media (max-width: 1023px) {
  section#casos.casos-page { padding-top: 56px; }
  .casos-intro { grid-column: 1 / -1; }
  .casos-collage { display: none; }
  .casos-top { margin-bottom: 48px; }
  .case-row .case-visual, .case-row.flip .case-visual { order: 0; }
  .case-row + .case-row { margin-top: 0; }
  .mock-panel { min-height: 0; padding: 40px 24px; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  #casos.tabs-on .case-row { gap: 40px; }
}
@media (max-width: 767px) {
  section#casos.casos-page { padding-top: 32px; }
  .casos-top { margin-bottom: 40px; }
  .case-row { grid-template-columns: 1fr; gap: 32px; }
  .mock-panel { padding: 32px 16px; border-radius: 24px; }
  .mock-panel .wa-mock { zoom: 1; }
  h2.case-title { font-size: 1.375rem; margin: 16px 0 12px; }
}

/* ---------- Precios · three open columns (label, serif figure, text) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px 28px 32px; border-top: 1px solid var(--slate-300); }
.plan--rec { background: linear-gradient(180deg, var(--accent-tint), rgba(236,253,245,.35)); border-top: 2px solid var(--accent); border-radius: 0 0 var(--r-card) var(--r-card); }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 20px; }
.plan-name { font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan-rec { color: var(--accent-strong); }
.plan-figure { margin-top: 24px; font-family: var(--font-display); font-size: 3rem; line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }
.plan-figure--text { font-size: 1.875rem; line-height: 1.15; max-width: 17ch; text-wrap: balance; }
.plan-figure .plan-text { margin-right: 6px; }
.plan-text, .plan-list li, .plan-link { font-family: var(--font-sans); font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.plan-figure + .plan-text { margin-top: 8px; }
.plan-list { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan-list li { display: flex; gap: 12px; align-items: flex-start; }
.plan-list .ico-check { margin-top: 4px; }
.plan--rec .plan-list { border-top-color: var(--accent-line); }
.plan-link { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1.5px; align-self: flex-start; }
.plan-link:hover { color: var(--accent-strong); }
.plan-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.plans-note { max-width: 640px; margin: 64px auto 0; text-align: center; }
.plans-note .small { margin-inline: auto; }
.plans-note .btn { margin-top: 28px; }

@media (max-width: 1023px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; gap: 16px; }
  .plan-figure--text { max-width: none; }
}
@media (max-width: 767px) {
  .plan { padding: 24px 0 28px; }
  .plan--rec { padding: 24px 20px 28px; margin-inline: -20px; border-radius: 0; }
  .plan-figure { font-size: 2.5rem; }
  .plan-figure--text { font-size: 1.625rem; }
  .plans-note { margin-top: 40px; }
  .plans-note .btn { width: 100%; }
}

/* ---------- Nosotros ---------- */
.about .page-head { margin-bottom: 64px; }
.about-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 72px; align-items: start; }
.portrait { position: relative; width: var(--portrait-w, 320px); max-width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: var(--slate-100); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--crop img { position: absolute; max-width: none; height: auto; object-fit: initial; }
.about-text { max-width: 560px; }
.about-name { font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.05; max-width: none; }
.about-role { margin: 12px 0 28px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about-text .body + .body { margin-top: 16px; }
section.about-quote { padding: 0 0 var(--pad); }
.pull p { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); max-width: 26ch; text-wrap: balance; }
.pull { padding-top: 56px; border-top: 1px solid var(--line); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--slate-300); }
.timeline li { position: relative; padding-top: 32px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--slate-300); }
.timeline li:last-child::before { background: var(--accent); border-color: var(--accent); }
.tl-what { font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.tl-where { margin-top: 4px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.direct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

@media (max-width: 1023px) {
  .about-grid { gap: 48px; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .timeline li { padding: 0 0 0 32px; }
  .timeline li::before { top: 6px; }
}
@media (max-width: 767px) {
  .about .page-head { margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 82%; }
  .pull { padding-top: 40px; }
  .direct-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .direct-row .btn { width: 100%; margin-bottom: 8px; }
  .direct-row .link { align-self: flex-start; }
}

/* ============================================================
   23 · SITE V4 — spacing system, refinements. Overrides above.
   Three vertical tiers: chapter (major transitions), standard,
   compact (strips and closings). One heading-to-content gap.
============================================================ */
:root {
  --s-chapter: 160px; --s-standard: 120px; --s-compact: 80px;
  --gap-head: 56px; --gap-eyebrow: 20px; --gap-intro: 24px;
  --pad: var(--s-standard);
}
@media (max-width: 1023px) {
  :root { --s-chapter: 128px; --s-standard: 96px; --s-compact: 64px; --gap-head: 48px; --pad: var(--s-standard); }
}
@media (max-width: 767px) {
  :root { --s-chapter: 96px; --s-standard: 72px; --s-compact: 56px; --gap-head: 32px; --gap-eyebrow: 16px; --gap-intro: 20px; --pad: var(--s-standard); }
}

section.tier-chapter { padding-block: var(--s-chapter); }
section.tier-compact { padding-block: var(--s-compact); }

/* One rhythm for every section head: eyebrow → heading → intro → content. */
.eyebrow { margin-bottom: var(--gap-eyebrow); }
.section-head, .page-head, .about .page-head { margin-bottom: var(--gap-head); }
.section-head .lead, .page-head .lead, .proof-copy .lead, .casos-intro .lead { margin-top: var(--gap-intro); }
.faq-center .faq-head { margin-bottom: var(--gap-head); }

/* Body measure. */
.lead, .body { max-width: 62ch; }

/* Tier assignments for sections styled by id or component. */
section#casos.proof { padding-block: var(--s-chapter); }
section.founder-strip { padding-block: var(--s-compact); }
section.closing { padding: 0 0 var(--s-compact); }
section.soft + section.closing { padding-top: var(--s-compact); }
.closing-inner { padding-top: var(--s-compact); }
.case-row + .case-row { margin-top: 84px; }

/* ---------- Inicio · hero trust line ---------- */
.trust { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.trust img { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.hero .assure { margin-top: 28px; }

/* ---------- Inicio · proof: project index (text only) ---------- */
.proj-list { margin-top: 32px; border-top: 1px solid var(--line); }
.proj-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--ink); transition: color .2s var(--ease); }
.proj-list a:hover { color: var(--accent-strong); }
.proj-list svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.proj-list a:hover svg { transform: translateX(3px); }
.proof-copy .link { margin-top: 20px; }

/* ---------- Collage: less overlap, each mockup readable as a shape ---------- */
.c-fund { left: 0; top: 24px; transform: scale(.62); }
.c-mail { left: 96px; top: 252px; transform: scale(.62); }
.collage { height: calc(530px * var(--k)); }
.collage-stage { height: 530px; }
.c-chat { left: 352px; top: 0; transform: scale(.56); }

@media (max-width: 767px) {
  .trust { font-size: .875rem; margin-top: 14px; }
  .hero .assure { margin-top: 24px; }
}

/* ---------- Asesoría · header with illustrative deliverable (>=1024px) ---------- */
.adv-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; margin-bottom: var(--gap-head); }
.adv-top .page-head { grid-column: 1 / 7; margin-bottom: 0; }
.doc-preview { grid-column: 7 / 13; }
.doc-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-mock); }
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.doc-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.skel-l { display: inline-block; height: 8px; border-radius: 100px; background: var(--slate-100); }
.doc-cols, .doc-row { display: grid; grid-template-columns: minmax(0, 1fr) 146px 64px 64px; align-items: center; gap: 14px; }
.doc-cols { padding: 8px 0; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.doc-row { padding: 12px 0; border-top: 1px solid var(--line); }
.doc-proc { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.doc-tag { justify-self: start; padding: 3px 10px; border-radius: 100px; font-size: 11.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.doc-tag.is-first { background: var(--accent-tint); border-color: var(--accent-line); color: var(--accent-strong); }
.doc-tag.is-later { background: var(--slate-100); border-color: #E2E8F0; color: var(--ink-2); }
.doc-tag.is-skip { background: transparent; border-color: var(--line); color: var(--muted); }
.doc-bar { height: 6px; border-radius: 100px; background: var(--slate-100); overflow: hidden; }
.doc-bar i { display: block; height: 100%; border-radius: inherit; background: var(--slate-300); }
.doc-row .doc-bar:last-child i { background: var(--accent); opacity: .7; }
.doc-foot { display: flex; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc-preview .caption { margin-top: 14px; }

.formats-note { margin: 32px auto 0; text-align: center; color: var(--ink-2); max-width: none; }

@media (max-width: 1023px) {
  .adv-top { display: block; }
  .doc-preview { display: none; }
}
.adv-top h1.h-section { max-width: none; }

/* ---------- Casos · header: project index instead of the collage ---------- */
.casos-top { display: block; margin-bottom: var(--s-standard); }
.casos-intro { max-width: 680px; }
.case-index { margin-top: var(--gap-head); border-top: 1px solid var(--line); }
.case-index a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) 24px; align-items: center; column-gap: 32px; min-height: 64px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); transition: color .2s var(--ease), background .2s var(--ease); }
.ci-sector { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.ci-title { font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.case-index svg { width: 18px; height: 18px; justify-self: end; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transition: transform .25s var(--ease); }
.case-index a:hover { color: var(--accent-strong); }
.case-index a:hover svg { transform: rotate(90deg) translateX(3px); }
.case-row { scroll-margin-top: 104px; }

@media (max-width: 1023px) {
  .case-index { display: none; }
  .casos-top { margin-bottom: 40px; }
}

/* ---------- Precios · lists start on one baseline (subgrid rows: label, figure, sub, list, link) ---------- */
.plans { grid-template-rows: repeat(4, auto) 1fr; row-gap: 0; }
.plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
.plan-head { grid-row: 1; }
.plan-figure { grid-row: 2; }
.plan-sub { grid-row: 3; }
.plan-figure--text { grid-row: 2 / span 2; align-self: start; font-size: 1.625rem; max-width: 18ch; }
.plan-list { grid-row: 4; align-self: start; }
.plan-link { grid-row: 5; align-self: end; }
@media (max-width: 1023px) {
  .plans { grid-template-rows: none; row-gap: 16px; }
  .plan { display: flex; flex-direction: column; grid-row: auto; }
  .plan-link { align-self: flex-start; }
}
