/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --navy-950: #060f1e;
  --navy-900: #0c1e3a;
  --navy-800: #122a4d;
  --navy-700: #1c3a6b;
  --blue-600: #2c58d6;
  --blue-500: #3b6ff0;
  --blue-400: #6b9bf7;
  --blue-100: #e8eefc;
  --blue-50:  #f2f6fd;

  --bg:        #f5f8fc;
  --paper:     #ffffff;
  --ink:       #0a1626;
  --ink-soft:  #28374f;
  --ink-mute:  #5b6b85;
  --ink-faint: #8695ac;
  --line:      rgba(10, 22, 38, 0.09);
  --line-dark: rgba(242, 246, 253, 0.14);

  --positive: #17945f;
  --cream:    #f2f6fd;

  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-card: 0 24px 50px -26px rgba(9, 22, 46, 0.28), 0 4px 16px -6px rgba(9, 22, 46, 0.08);
  --shadow-card-hover: 0 34px 70px -26px rgba(9, 22, 46, 0.34), 0 10px 24px -8px rgba(9, 22, 46, 0.12);
  --shadow-btn: 0 14px 30px -10px rgba(44, 88, 214, 0.45);

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 92px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}
ul { list-style: none; padding: 0; }
::selection { background: var(--blue-500); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.2rem; background: var(--navy-900); color: #fff;
  border-radius: 8px; font-weight: 600; font-size: .9rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 1rem;
}
.kicker.on-dark { color: var(--blue-400); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section-head p { color: var(--ink-mute); font-size: 1.05rem; margin-top: 1rem; }

.eyebrow-lede { color: var(--ink-mute); font-size: 1.05rem; max-width: 60ch; }

section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }

/* =============================================================
   4. Buttons & chips
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem;
  font-weight: 700; font-size: .95rem;
  border-radius: 100px;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), background-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -12px rgba(44, 88, 214, 0.55); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue-400); background: var(--blue-50); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: var(--line-dark); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 1rem; }

.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 100px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
}

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(246, 248, 252, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(9,22,46,0.35);
}
.nav-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; width: 100%; }
.nav-logo { display: flex; align-items: center; height: 56px; flex: none; }
.nav-logo img { height: 100%; width: auto; }
@media (min-width: 720px) { :root { --nav-h: 112px; } .nav-logo { height: 72px; } }
@media (min-width: 960px) { :root { --nav-h: 148px; } .nav-logo { height: 136px; } }
.nav-links { display: none; align-items: center; justify-content: center; gap: 2.1rem; }
.nav-link {
  padding: .38rem 1.1rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft);
  border-radius: 9999px;
  background: rgba(10,22,38,0.055);
  border: 1px solid rgba(10,22,38,0.10);
  transition: background .22s, color .22s, border-color .22s;
}
.nav-link:hover {
  background: var(--blue-500); color: #fff; border-color: transparent;
}
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 100px; background: var(--blue-50); border: 1px solid var(--line);
}
.lang-btn {
  padding: .4rem .7rem; border-radius: 100px; font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; color: var(--ink-mute);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.lang-btn.is-active { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff; }
.nav-burger {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper);
}
.nav-burger span, .nav-burger::before, .nav-burger::after { display: none; }
.nav-burger-icon { width: 18px; height: 12px; position: relative; }
.nav-burger-icon span {
  display: block; position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .35s var(--ease-soft), opacity .3s;
}
.nav-burger-icon span:nth-child(1) { top: 0; }
.nav-burger-icon span:nth-child(2) { top: 5px; }
.nav-burger-icon span:nth-child(3) { top: 10px; }
.nav-burger[aria-expanded="true"] .nav-burger-icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-icon span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 190;
  background: var(--navy-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile a {
  font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: #fff;
}
.nav-mobile .btn-primary { margin-top: 1rem; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: -10% -10% auto -10%; height: 130%;
  z-index: -1;
  background:
    radial-gradient(52% 46% at 82% 8%, rgba(59, 111, 240, 0.16), transparent 68%),
    radial-gradient(40% 40% at 4% 30%, rgba(12, 30, 58, 0.08), transparent 70%);
}
.hero-grid {
  display: grid; gap: 3rem; align-items: stretch;
}
.hero-eyebrow { display: flex; align-items: center; gap: .6rem; }
.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  max-width: 15ch;
  margin-bottom: 1.4rem;
}
.hero-title em { font-style: normal; color: var(--blue-600); }
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-mute);
  max-width: 46ch;
  margin-bottom: 2.1rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

/* --- Dashboard signature panel --- */
.hero-visual { position: relative; display: flex; }
.dash-panel {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  padding: 1.8rem;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 960px) { .dash-panel { height: 100%; } }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }

.dash-client-badge { display: flex; align-items: center; gap: .6rem; }
.dash-client-logo {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
}
.dash-client-logo svg { width: 18px; height: 18px; }
.dash-client-text { display: flex; flex-direction: column; }
.dash-client-name { font-weight: 700; font-size: .92rem; color: var(--ink); }
.dash-client-tag { font-size: .66rem; color: var(--ink-faint); font-weight: 600; }

.dash-live-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem; border-radius: 100px;
  background: rgba(23,148,95,0.1); border: 1px solid rgba(23,148,95,0.26);
  font-size: .72rem; font-weight: 700; color: #127249;
  white-space: nowrap;
}
.dash-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--positive); flex: none;
  box-shadow: 0 0 0 3px rgba(23, 148, 95, 0.18);
  animation: dashPulse 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .dash-live-dot { animation: none; } }
@keyframes dashPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.dash-body { display: flex; gap: 1rem; flex: 1; min-height: 0; }

.dash-sidebar { display: flex; flex-direction: column; gap: .3rem; flex: 0 0 112px; }

.dash-overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
.dash-overview-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .08rem;
  padding: .4rem .3rem;
  border-radius: 11px;
  border: 1px solid rgba(23,148,95,0.28);
  background: rgba(23,148,95,0.06);
}
.dash-overview-card.is-warn { border-color: rgba(217,122,31,0.35); background: rgba(217,122,31,0.07); }
.dash-overview-icon {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center; margin-bottom: .08rem;
  background: var(--paper); color: var(--positive);
}
.dash-overview-card.is-warn .dash-overview-icon { color: #b5650f; }
.dash-overview-icon svg { width: 11px; height: 11px; }
.dash-overview-name { font-size: .54rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-mute); }
.dash-overview-value { font-family: var(--display); font-size: .82rem; font-weight: 700; color: var(--ink); }
.dash-overview-sub { font-size: .54rem; color: var(--ink-faint); font-weight: 600; }

.dash-side-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .55rem; border-radius: 10px;
  background: transparent; text-align: left; width: 100%;
  transition: background-color .35s var(--ease-out);
}
.dash-side-item.is-active { background: var(--blue-50); }
.dash-side-icon {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--ink-faint);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.dash-side-item.is-active .dash-side-icon { background: var(--blue-600); color: #fff; }
.dash-side-icon svg { width: 13px; height: 13px; }
.dash-side-label {
  font-size: .7rem; font-weight: 700; color: var(--ink-faint); flex: 1;
  transition: color .35s var(--ease-out);
}
.dash-side-item.is-active .dash-side-label { color: var(--ink); }
.dash-side-status { width: 6px; height: 6px; border-radius: 50%; background: var(--positive); flex: none; }
.dash-side-status.warn { background: #d97a1f; }

.dash-content { position: relative; flex: 1; min-width: 0; min-height: 360px; }
.dash-content-module {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease-soft);
}
.dash-content-module.is-active { opacity: 1; pointer-events: auto; }

.dash-content-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.dash-content-icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600);
}
.dash-content-icon svg { width: 20px; height: 20px; }
.dash-content-name { display: block; font-size: .74rem; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }
.dash-content-kpi { font-family: var(--display); font-size: 1.65rem; font-weight: 700; color: var(--ink); }
.dash-content-kpi .up { color: var(--positive); font-size: 1.1rem; }

.dash-mini-chart { display: flex; align-items: flex-end; gap: .4rem; height: 68px; margin-bottom: .9rem; }
.dash-mini-bar {
  flex: 1; background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
  border-radius: 4px 4px 2px 2px;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .8s var(--ease-soft);
}
.dash-content-module.is-active .dash-mini-bar { transform: scaleY(1); }

.dash-content-alert {
  display: flex; align-items: center; gap: .4rem;
  font-size: .76rem; font-weight: 700;
  padding: .5rem .65rem; border-radius: 8px;
  margin-bottom: .6rem;
}
.dash-content-alert svg { width: 14px; height: 14px; flex: none; }
.dash-content-alert.is-ok { background: rgba(23,148,95,0.1); color: #127249; }
.dash-content-alert.is-warn { background: rgba(217,122,31,0.12); color: #8a4c0c; }

.dash-content-desc { font-size: .8rem; color: var(--ink-mute); line-height: 1.5; max-width: 42ch; }

@media (max-width: 539px) {
  .dash-panel { padding: 1.1rem 0.85rem; }
  .dash-body { gap: 0.6rem; }
  .dash-sidebar { flex-basis: 104px; }
  .dash-side-label { display: block; font-size: .62rem; }
  .dash-side-item { justify-content: flex-start; padding: .45rem .4rem; }
  .dash-side-icon { width: 22px; height: 22px; }
  .dash-side-icon svg { width: 11px; height: 11px; }
  .dash-client-tag { display: none; }
  .dash-client-name { font-size: .82rem; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 2rem; }
  .hero-visual { padding-left: 1.5rem; }
}

/* =============================================================
   7. Problema / Respuesta duo panel
   ============================================================= */
.duo {
  display: grid; gap: 1.1rem; margin-bottom: 3.2rem;
}
.duo-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.duo-panel-problem {
  background: var(--navy-900);
  color: var(--cream);
}
.duo-panel-problem::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(59,111,240,0.28), transparent 68%);
  z-index: -1;
}
.duo-panel-answer {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600) 70%);
  color: #fff;
}
.duo-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .78; margin-bottom: .9rem; }
.duo-panel h3 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 1.2rem; }
.duo-list { display: flex; flex-direction: column; gap: .85rem; }
.duo-list li { display: flex; gap: .7rem; font-size: .95rem; color: rgba(242,246,253,0.86); }
.duo-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--blue-400); }
.duo-pipeline { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .2rem; }
.duo-pipe-step { background: rgba(255,255,255,0.11); border: 1px solid rgba(255,255,255,0.18); border-radius: 13px; padding: .75rem .8rem; display: flex; flex-direction: column; gap: .28rem; transition: background .2s; }
.duo-pipe-step:hover { background: rgba(255,255,255,0.17); }
.duo-pipe-icon { width: 30px; height: 30px; background: rgba(255,255,255,0.16); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: .15rem; }
.duo-pipe-icon svg { width: 14px; height: 14px; color: #fff; }
.duo-pipe-num { font-size: .58rem; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,0.5); }
.duo-pipe-label { font-size: .92rem; font-weight: 700; color: #fff; line-height: 1.2; }
/* Accent colors per step */
.duo-pipe-step:nth-child(1) .duo-pipe-icon { background: rgba(34,211,238,.22); }
.duo-pipe-step:nth-child(1) .duo-pipe-icon svg { color: #22d3ee; }
.duo-pipe-step:nth-child(1) .duo-pipe-num { color: rgba(34,211,238,.8); }
.duo-pipe-step:nth-child(2) .duo-pipe-icon { background: rgba(167,139,250,.22); }
.duo-pipe-step:nth-child(2) .duo-pipe-icon svg { color: #c4b5fd; }
.duo-pipe-step:nth-child(2) .duo-pipe-num { color: rgba(196,181,253,.8); }
.duo-pipe-step:nth-child(3) .duo-pipe-icon { background: rgba(251,191,36,.22); }
.duo-pipe-step:nth-child(3) .duo-pipe-icon svg { color: #fcd34d; }
.duo-pipe-step:nth-child(3) .duo-pipe-num { color: rgba(252,211,77,.8); }
.duo-pipe-step:nth-child(4) .duo-pipe-icon { background: rgba(52,211,153,.22); }
.duo-pipe-step:nth-child(4) .duo-pipe-icon svg { color: #6ee7b7; }
.duo-pipe-step:nth-child(4) .duo-pipe-num { color: rgba(110,231,183,.8); }

.value-strip {
  display: grid; gap: .9rem;
}
.value-item {
  display: flex; align-items: center; gap: .8rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.value-item-icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600);
}
.value-item-icon svg { width: 20px; height: 20px; }
.value-item span:last-child { font-weight: 700; font-size: .92rem; color: var(--ink); }

@media (min-width: 720px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .value-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .value-strip { grid-template-columns: repeat(6, 1fr); }
  .value-item { flex-direction: column; align-items: flex-start; gap: .9rem; }
}

/* =============================================================
   8. Reflexión (stacked big questions)
   ============================================================= */
.reflect-list { display: flex; flex-direction: column; }
.reflect-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line);
}
.reflect-item:last-child { border-bottom: 1px solid var(--line); }
.reflect-num {
  font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--blue-500);
  padding-top: .3rem;
}
.reflect-q {
  font-family: var(--display); font-weight: 600; color: var(--ink);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.28;
}
.reflect-note {
  margin-top: 2.4rem;
  color: var(--ink-mute);
  font-size: 1.02rem;
  max-width: 62ch;
  padding-left: clamp(0px, 0px, 0px);
}
.reflect-note strong { color: var(--ink); }

@media (min-width: 720px) {
  .reflect-num { font-size: 1.15rem; }
}

/* =============================================================
   9. Nosotros — mission/vision cards
   ============================================================= */
.mv-grid { display: grid; gap: 1.1rem; }
.mv-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.mv-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600); margin-bottom: 1.3rem;
}
.mv-icon svg { width: 24px; height: 24px; }
.mv-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .5rem; }
.mv-card h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.mv-motto { font-style: normal; color: var(--ink-mute); font-weight: 600; font-size: .92rem; margin-bottom: .8rem; }
.mv-card p:last-child { color: var(--ink-mute); font-size: .93rem; }

@media (min-width: 720px) { .mv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .mv-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   10. Equipo
   ============================================================= */
.team-grid { display: grid; gap: 1.4rem; margin-bottom: 1.4rem; }
.team-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.team-card-icon {
  width: 60px; height: 60px; border-radius: 16px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-100), #dde8ff);
  color: var(--blue-600);
}
.team-card-icon svg { width: 28px; height: 28px; }
.team-card-area { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.team-badge {
  display: inline-flex; align-items: center; padding: .5rem .9rem;
  border-radius: 100px; background: var(--navy-900); color: #fff;
  font-weight: 700; font-size: .84rem;
}
.team-desc { color: var(--ink-mute); font-size: .94rem; }

.team-callout {
  background: var(--navy-900); color: var(--cream);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; gap: 1rem; align-items: flex-start;
}
.team-callout-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,0.1); color: var(--blue-400);
}
.team-callout-icon svg { width: 22px; height: 22px; }
.team-callout p { font-size: .96rem; color: rgba(242,246,253,0.86); }
.team-callout strong { color: #fff; }

@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================
   11. Proceso — timeline
   ============================================================= */
.timeline {
  display: flex; gap: 1.1rem; overflow-x: auto; overflow-y: visible;
  padding-block: .5rem 1.4rem;
  scroll-snap-type: x proximity;
  margin-inline: -1.25rem; padding-inline: 1.25rem;
  scrollbar-width: thin;
}
.timeline-step {
  scroll-snap-align: start;
  flex: 0 0 240px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.timeline-step.is-optional { border-style: dashed; }
.timeline-num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-900); color: #fff; font-family: var(--display); font-weight: 700; font-size: .92rem;
  margin-bottom: 1rem;
}
.timeline-step h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.timeline-step p { font-size: .87rem; color: var(--ink-mute); margin-bottom: .9rem; }
.timeline-tag {
  display: inline-flex; font-size: .72rem; font-weight: 700; color: var(--blue-600);
  background: var(--blue-50); padding: .35rem .6rem; border-radius: 100px;
}
.timeline-hint { text-align: center; font-size: .82rem; color: var(--ink-faint); margin-top: -.4rem; }

@media (min-width: 1280px) {
  .timeline { overflow: visible; flex-wrap: wrap; margin-inline: 0; padding-inline: 0; }
  .timeline-step { flex: 1 1 0; min-width: 0; }
}

/* =============================================================
   12. Beneficios
   ============================================================= */
.roi-grid { display: grid; gap: 1.2rem; margin-bottom: 1.4rem; }
.roi-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-card);
}
.roi-card h3 { font-size: 1.15rem; margin-bottom: 1.2rem; }
.roi-list { display: flex; flex-direction: column; gap: .95rem; }
.roi-list li { display: flex; gap: .7rem; font-size: .95rem; color: var(--ink-soft); }
.roi-list svg { width: 20px; height: 20px; flex: none; color: var(--positive); }

.roi-callout {
  display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem);
}
.roi-callout-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,0.16);
}
.roi-callout-icon svg { width: 22px; height: 22px; }
.roi-callout p { font-size: .98rem; }
.roi-callout strong { font-weight: 700; }

@media (min-width: 860px) { .roi-grid { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   13. Contacto / CTA final
   ============================================================= */
.cta-final {
  background: var(--navy-950);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4.5rem);
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center;
}
.cta-final::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(45% 55% at 20% 20%, rgba(59,111,240,0.32), transparent 65%),
    radial-gradient(40% 50% at 85% 80%, rgba(59,111,240,0.22), transparent 65%);
}
.cta-final .kicker { justify-content: center; color: var(--blue-400); }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); max-width: 20ch; margin-inline: auto; }
.cta-final p { color: rgba(242,246,253,0.78); max-width: 54ch; margin: 1.3rem auto 2.2rem; font-size: 1.05rem; }
.cta-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2.6rem; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem 2.4rem; }
.cta-contact-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .92rem; font-weight: 600; color: rgba(242,246,253,0.86);
}
.cta-contact-item svg { width: 18px; height: 18px; color: var(--blue-400); }
.cta-contact-item:is(a):hover { color: #fff; }

/* =============================================================
   14. Footer
   ============================================================= */
.footer { padding-block: 3.5rem 2.2rem; background: var(--navy-950); color: rgba(242,246,253,0.72); }
.footer-top {
  display: flex; flex-direction: column; gap: 2.2rem;
  padding-bottom: 2.4rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 115px; width: auto; margin-top: -16px; }
.footer-cols { display: grid; gap: 2rem; }
.footer-col h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,246,253,0.5); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a, .footer-col span { font-size: .9rem; color: rgba(242,246,253,0.78); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: rgba(242,246,253,0.5); }

@media (min-width: 720px) {
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); min-width: 420px; }
}

/* =============================================================
   15. WhatsApp floating button
   ============================================================= */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #22c35e;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(34, 195, 94, 0.55);
  transition: transform .4s var(--ease-soft);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* =============================================================
   16. Reveal / reduced-motion
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

[data-i18n-fade] { transition: opacity .18s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .dash-content-module, .dash-mini-bar { transition-duration: .01s; }
}

/* =============================================================
   17. Responsive helpers
   ============================================================= */
@media (max-width: 959px) {
  .container { padding-inline: 1.25rem; }
}

/* ============================================================
   MOBILE — ajustes generales
   ============================================================ */
@media (max-width: 767px) {
  section { padding-block: 2.8rem; }

  .nav-inner {
    grid-template-columns: 1fr;
    position: relative;
    justify-items: center;
  }
  .nav-logo {
    height: 56px;
    justify-self: center;
  }
  .nav-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-burger { display: none; }
  .nav-links  { display: none; }
}
