/* =====================================================================
   EBEN GROUP — Sitio corporativo
   Sistema de diseño: teal industrial + editorial oscuro
   ===================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Marca (extraída del logo) */
  --teal-900: #0F3341;
  --teal-800: #144251;
  --teal-700: #184856;
  --teal-600: #1E5363;
  --teal-500: #297084;
  --teal-400: #3E93AC;
  --teal-300: #68B8CE;
  --teal-200: #A6DAE9;

  /* Neutros oscuros */
  --ink-1000: #040C10;
  --ink-900:  #071319;
  --ink-850:  #0A1B22;
  --ink-800:  #0D2129;
  --ink-700:  #14313B;

  /* Neutros claros */
  --bone:   #F4F2ED;
  --bone-2: #EAE7E0;
  --paper:  #FFFFFF;
  --gray:   #818286;

  /* Acento cálido (propuesta de ampliación de paleta) */
  --amber:   #D6A057;
  --amber-2: #EFCB94;

  /* Texto */
  --tx-dark:      #0A1B22;
  --tx-dark-mute: #556A73;
  --tx-light:     #EAF3F6;
  --tx-light-mute:#9FB6BF;

  /* Tipografía */
  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body:    'Archivo', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, monospace;
  --f-serif:   'Instrument Serif', Georgia, serif;

  --t-xs:    clamp(.72rem, .68rem + .2vw, .78rem);
  --t-sm:    clamp(.84rem, .8rem + .2vw, .92rem);
  --t-base:  clamp(1rem, .96rem + .25vw, 1.075rem);
  --t-lg:    clamp(1.12rem, 1.04rem + .45vw, 1.3rem);
  --t-xl:    clamp(1.35rem, 1.2rem + .8vw, 1.75rem);
  --t-2xl:   clamp(1.75rem, 1.4rem + 1.7vw, 2.75rem);
  --t-3xl:   clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --t-hero:  clamp(2.5rem, 1.3rem + 4.4vw, 5.3rem);

  /* Espaciado (base 8) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px;
  --s-24: 96px; --s-32: 128px; --s-40: 160px;

  --container: 1240px;
  --radius: 4px;
  --radius-lg: 10px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--tx-dark);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--teal-300);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--teal-500); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ── Tipografía compartida ──────────────────────────────────────────── */
.display {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.display em,
.hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--teal-500);
}
.display--light { color: var(--tx-light); }
.display--light em { color: var(--amber-2); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tx-dark-mute);
  margin-bottom: var(--s-6);
}
.eyebrow--light { color: var(--teal-300); }

.section { padding-block: clamp(72px, 11vw, 152px); position: relative; }
.section--bone { background: var(--bone); }
.problem, .folio, .sectors { background: var(--paper); }

.section__head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 88px); }
.section__head--split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--s-12);
  align-items: end;
  max-width: none;
}
.section__note {
  color: var(--tx-dark-mute);
  font-size: var(--t-base);
  max-width: 42ch;
  padding-bottom: var(--s-2);
}

/* ── Reveal on scroll ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Iconos ─────────────────────────────────────────────────────────── */
.ico { flex: none; }

/* ── Botones ────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 24px;
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--teal-500); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--teal-400); }

.btn--line {
  --btn-fg: var(--tx-light);
  border-color: rgba(234,243,246,.28);
  backdrop-filter: blur(6px);
}
.btn--line:hover { border-color: var(--teal-300); --btn-fg: var(--teal-200); }

.btn--ghost { --btn-fg: var(--tx-light-mute); padding-inline: 12px; }
.btn--ghost:hover { --btn-fg: var(--tx-light); }
.btn--ghost .ico { transition: none; }
.btn--ghost:hover .ico { transform: none; }

.btn--sm { padding: 10px 18px; font-size: var(--t-xs); }
.btn--lg { padding: 17px 30px; font-size: var(--t-base); }
.btn--block { width: 100%; }

/* ── Barra de progreso ──────────────────────────────────────────────── */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-300));
}

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,19,25,.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(234,243,246,.07);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-stuck { background: rgba(4,12,16,.9); border-bottom-color: rgba(234,243,246,.12); }

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; gap: var(--s-8);
}

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 26px; height: auto; }
.logo__mark .t1 { fill: var(--teal-800); }
.logo__mark .t2 { fill: var(--teal-600); }
.logo__mark .t3 { fill: var(--teal-500); }
.logo__mark .t4 { fill: var(--teal-700); }
.nav .logo__mark .t1 { fill: var(--teal-600); }
.nav .logo__mark .t2 { fill: var(--teal-400); }
.nav .logo__mark .t3 { fill: var(--teal-300); }
.nav .logo__mark .t4 { fill: var(--teal-500); }

.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__type b {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--tx-light);
}
.logo__type i {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: .42em;
  color: var(--tx-light-mute);
  margin-top: 3px;
}
.logo--lg .logo__mark { width: 40px; }
.logo--lg .logo__type b { font-size: 25px; }
.logo--lg .logo__type i { font-size: 11px; margin-top: 4px; }

.nav__links { display: flex; gap: var(--s-6); margin-inline: auto; }
.nav__links a {
  position: relative;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--tx-light-mute);
  padding-block: 6px;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--teal-300);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--tx-light); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: var(--s-2); }

.nav__burger {
  display: none; width: 40px; height: 40px; border: 0; background: none;
  cursor: pointer; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
}
.nav__burger span {
  display: block; width: 20px; height: 1.5px; background: var(--tx-light);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: sticky; top: 69px; z-index: 99;
  background: rgba(4,12,16,.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(234,243,246,.1);
  padding: var(--s-4) clamp(20px, 5vw, 48px) var(--s-8);
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu a {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--tx-light);
  padding: 12px 0;
  border-bottom: 1px solid rgba(234,243,246,.07);
}
.mobile-menu__cta {
  margin-top: var(--s-4);
  background: var(--teal-500);
  border: 0 !important;
  border-radius: var(--radius);
  text-align: center;
  padding: 15px !important;
  font-size: var(--t-base) !important;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(92svh, 900px);
  display: flex; align-items: center;
  padding-block: clamp(56px, 7vw, 92px) clamp(48px, 6vw, 80px);
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(105,184,206,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105,184,206,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
}
.hero__glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55;
}
.hero__glow--a {
  width: 62vw; height: 62vw; max-width: 780px; max-height: 780px;
  top: -22%; right: -12%;
  background: radial-gradient(circle, rgba(41,112,132,.75), transparent 66%);
}
.hero__glow--b {
  width: 48vw; height: 48vw; max-width: 620px; max-height: 620px;
  bottom: -26%; left: -14%;
  background: radial-gradient(circle, rgba(20,66,81,.85), transparent 68%);
}

.hero__skyline {
  position: absolute;
  right: 4vw; bottom: 0;
  width: min(38vw, 470px); height: auto;
  opacity: .48;
}
.hero__skyline .sky {
  transform: translateY(30%);
  opacity: 0;
  animation: skyRise 1.5s var(--ease) forwards;
}
.sky--1 { animation-delay: .15s; }
.sky--2 { animation-delay: .3s; }
.sky--3 { animation-delay: .45s; }
.sky--4 { animation-delay: .6s; }
@keyframes skyRise { to { transform: translateY(0); opacity: 1; } }

.hero__inner { position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-300);
  padding: 8px 15px 8px 12px;
  border: 1px solid rgba(105,184,206,.25);
  border-radius: 999px;
  background: rgba(105,184,206,.06);
  margin-bottom: var(--s-6);
}
.kicker__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-300);
  box-shadow: 0 0 0 0 rgba(105,184,206,.5);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(105,184,206,.5); }
  70%  { box-shadow: 0 0 0 9px rgba(105,184,206,0); }
  100% { box-shadow: 0 0 0 0 rgba(105,184,206,0); }
}

.hero__title {
  font-family: var(--f-display);
  font-size: var(--t-hero);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  color: var(--tx-light);
  max-width: 18ch;
}
.hero__title em { color: var(--amber-2); letter-spacing: -.015em; }

.hero__lead {
  margin-top: var(--s-6);
  max-width: 54ch;
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--tx-light-mute);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  margin-top: clamp(40px, 5.5vw, 72px);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(234,243,246,.12);
  max-width: 940px;
}
.hero__stats dt {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--tx-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero__stats dd {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  color: var(--tx-light-mute);
  margin-top: 9px;
  letter-spacing: .04em;
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  width: 1px; height: 46px; background: rgba(234,243,246,.14);
  overflow: hidden;
}
.hero__scroll span {
  display: block; width: 100%; height: 40%;
  background: var(--teal-300);
  animation: scrollDot 2.2s var(--ease-io) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ── Marquee ────────────────────────────────────────────────────────── */
.marquee {
  background: var(--ink-1000);
  border-block: 1px solid rgba(234,243,246,.08);
  padding-block: var(--s-4);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: var(--s-6); padding-right: var(--s-6); }
.marquee__set span {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--tx-light-mute);
  white-space: nowrap;
}
.marquee__set i { color: var(--teal-500); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Problema ───────────────────────────────────────────────────────── */
.problem__head { max-width: 980px; margin-bottom: clamp(48px, 6vw, 80px); }

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bone-2);
  border: 1px solid var(--bone-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-card {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 44px);
  transition: background .35s var(--ease);
}
.stat-card:hover { background: var(--bone); }
.stat-card p.stat-card__num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 2rem + 3.6vw, 4.6rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--teal-500);
}
.stat-card p.stat-card__num small {
  font-size: .42em; font-weight: 600; letter-spacing: -.02em;
  color: var(--amber); margin-left: 2px;
}
.stat-card h3 {
  font-size: var(--t-base);
  font-weight: 600;
  margin: var(--s-4) 0 var(--s-2);
  letter-spacing: -.01em;
}
.stat-card p { color: var(--tx-dark-mute); font-size: var(--t-sm); line-height: 1.65; }

.answer {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--bone-2);
}
.answer__mark svg { width: 100%; height: auto; opacity: .1; }
.answer__mark svg path { fill: var(--teal-800); }
.answer__quote {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.35rem);
  font-style: italic;
  line-height: 1.24;
  letter-spacing: -.015em;
  color: var(--teal-800);
  max-width: 22ch;
}
.answer__by {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tx-dark-mute);
  margin: var(--s-4) 0 var(--s-8);
}
.answer__text { max-width: 62ch; color: var(--tx-dark-mute); line-height: 1.75; }

/* ── Pilares ────────────────────────────────────────────────────────── */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
}
.pillar { position: relative; padding-top: var(--s-8); border-top: 1px solid rgba(10,27,34,.14); }
.pillar::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 0; height: 2px; background: var(--teal-500);
  transition: width .5s var(--ease);
}
.pillar:hover::before { width: 100%; }
.pillar .ico { color: var(--teal-500); margin-bottom: var(--s-6); }
.pillar h3 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: var(--s-3);
}
.pillar p { color: var(--tx-dark-mute); font-size: var(--t-sm); line-height: 1.7; }

/* ── Portafolio ─────────────────────────────────────────────────────── */
.folio__layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.folio__list { border-top: 1px solid var(--bone-2); }
.folio__item {
  border-bottom: 1px solid var(--bone-2);
}
.folio__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: var(--s-4);
  padding: 15px 4px;
  background: none; border: 0; cursor: pointer; text-align: left;
  transition: padding-left .35s var(--ease);
}
.folio__btn:hover, .folio__item.is-active .folio__btn { padding-left: 12px; }
.folio__n {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  color: var(--gray);
  transition: color .3s var(--ease);
}
.folio__name {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, .95rem + .5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--tx-dark);
  transition: color .3s var(--ease);
}
.folio__count {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  color: var(--gray);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.folio__item.is-active .folio__n,
.folio__item.is-active .folio__name { color: var(--teal-500); }
.folio__item.is-active .folio__count,
.folio__btn:hover .folio__count { opacity: 1; transform: none; }

.folio__panel {
  position: sticky; top: 108px;
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 44px);
  color: var(--tx-light);
  overflow: hidden;
  min-height: 420px;
  isolation: isolate;
}
.folio__panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(41,112,132,.55), transparent 60%),
    linear-gradient(180deg, var(--ink-850), var(--ink-1000));
}
.panel__n {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .18em;
  color: var(--teal-300);
}
.panel__title {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.06;
  margin: var(--s-4) 0 var(--s-4);
}
.panel__desc { color: var(--tx-light-mute); font-size: var(--t-sm); line-height: 1.7; max-width: 46ch; }
.panel__label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(159,182,191,.6);
  margin: var(--s-8) 0 var(--s-4);
}
.panel__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.panel__tags li {
  font-size: var(--t-xs);
  padding: 6px 12px;
  border: 1px solid rgba(105,184,206,.22);
  border-radius: 999px;
  color: var(--teal-200);
  background: rgba(105,184,206,.05);
}
.panel__foot {
  display: flex; align-items: baseline; gap: var(--s-2);
  margin-top: var(--s-8); padding-top: var(--s-6);
  border-top: 1px solid rgba(234,243,246,.1);
}
.panel__foot b {
  font-family: var(--f-display);
  font-size: var(--t-xl); font-weight: 700; letter-spacing: -.03em;
  color: var(--tx-light);
}
.panel__foot span { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--tx-light-mute); }
.panel__in { animation: panelIn .5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

/* ── Proceso ────────────────────────────────────────────────────────── */
.process__track { position: relative; }
.process__line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: rgba(10,27,34,.14);
}
.process__line span {
  display: block; height: 100%; width: 0;
  background: var(--teal-500);
  transition: width .1s linear;
}
.process__steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
  padding-top: var(--s-8);
}
.step { position: relative; }
.step__n {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  color: var(--teal-500);
  display: block; margin-bottom: var(--s-6);
}
.step h3 {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: var(--s-3);
}
.step p { color: var(--tx-dark-mute); font-size: var(--t-sm); line-height: 1.7; }
.step__meta {
  display: inline-block; margin-top: var(--s-4);
  font-family: var(--f-mono); font-size: var(--t-xs);
  color: var(--gray); letter-spacing: .04em;
}

/* ── Banda de capacidad (full-bleed con duotono) ─────────────────────── */
.band {
  position: relative;
  padding-block: clamp(88px, 12vw, 168px);
  overflow: hidden;
  isolation: isolate;
}
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.72);
  transform: scale(1.03);
}
.band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--teal-700);
  mix-blend-mode: multiply;
  opacity: .82;
}
.band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(4,12,16,.9) 12%, rgba(4,12,16,.35) 62%, rgba(4,12,16,.72) 100%);
}
.band__inner { position: relative; }
.band__copy { max-width: 62ch; }
.band__lead {
  margin-top: var(--s-8);
  font-size: var(--t-lg);
  line-height: 1.65;
  color: rgba(234,243,246,.82);
  max-width: 54ch;
}
.band__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: var(--s-8);
  border-top: 1px solid rgba(234,243,246,.22);
}
.band__stats dt {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.band__stats dd {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  color: rgba(234,243,246,.7);
  margin-top: 9px;
  letter-spacing: .04em;
}

/* ── Sectores (bento con foto duotono) ──────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.bento__card {
  position: relative;
  grid-column: span 1;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.bento__card--wide { grid-column: span 2; min-height: 380px; }
.bento__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -24px rgba(10,27,34,.5);
}

.bento__media { position: absolute; inset: 0; z-index: -2; }
.bento__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04) brightness(1.06);
  transform: scale(1.02);
  transition: transform .8s var(--ease);
}
.bento__card:hover .bento__media img { transform: scale(1.07); }
.bento__card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--teal-600);
  mix-blend-mode: multiply;
  opacity: .62;
  transition: opacity .45s var(--ease);
}
.bento__card:hover::before { opacity: .48; }
.bento__card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,12,16,.05) 0%, rgba(4,12,16,.42) 38%, rgba(4,12,16,.86) 72%, rgba(4,12,16,.96) 100%);
}

.bento__body {
  padding: clamp(24px, 2.6vw, 36px);
  color: var(--tx-light);
  text-shadow: 0 1px 14px rgba(4,12,16,.6);
}
.bento__body .ico { color: var(--teal-200); margin-bottom: var(--s-4); }
.bento__body h3 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -.028em;
  margin-bottom: var(--s-3);
  color: #fff;
}
.bento__body p { color: rgba(234,243,246,.78); font-size: var(--t-sm); line-height: 1.7; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: var(--s-6); }
.tags li {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  padding: 5px 11px;
  border: 1px solid rgba(234,243,246,.28);
  border-radius: 999px;
  color: rgba(234,243,246,.8);
}

/* ── Sector público ─────────────────────────────────────────────────── */
.public { background: var(--ink-900); overflow: hidden; isolation: isolate; }
.public__bg { position: absolute; inset: 0; z-index: -1; opacity: .7; }
.public__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.public__lead {
  color: var(--tx-light-mute);
  font-size: var(--t-lg);
  line-height: 1.65;
  margin-top: var(--s-8);
  max-width: 50ch;
}
.public__cta { margin-top: var(--s-8); }

.docs { display: grid; gap: 1px; background: rgba(234,243,246,.1); border-radius: var(--radius-lg); overflow: hidden; }
.docs li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4);
  align-items: start;
  padding: var(--s-6);
  background: rgba(10,27,34,.75);
  backdrop-filter: blur(6px);
  transition: background .3s var(--ease);
}
.docs li:hover { background: rgba(20,49,59,.85); }
.docs .ico { color: var(--teal-300); margin-top: 3px; }
.docs b {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-base);
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--tx-light);
}
.docs span { display: block; font-size: var(--t-sm); color: var(--tx-light-mute); margin-top: 3px; }

/* ── Testimonios ────────────────────────────────────────────────────── */
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.voice {
  background: var(--paper);
  border: 1px solid var(--bone-2);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: var(--s-8);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.voice:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(10,27,34,.3); }
.voice blockquote {
  font-family: var(--f-serif);
  font-size: var(--t-xl);
  font-style: italic;
  line-height: 1.32;
  letter-spacing: -.01em;
  color: var(--teal-800);
}
.voice figcaption b {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: -.01em;
}
.voice figcaption span {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  color: var(--tx-dark-mute);
  margin-top: 3px;
}

/* ── Cotizar ────────────────────────────────────────────────────────── */
.quote { background: var(--ink-1000); overflow: hidden; isolation: isolate; }
.quote__bg { position: absolute; inset: 0; z-index: -1; }
.quote__bg .hero__glow--a { opacity: .35; top: -30%; right: -20%; }
.quote__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.quote__lead {
  color: var(--tx-light-mute);
  font-size: var(--t-lg);
  line-height: 1.6;
  margin-top: var(--s-8);
  max-width: 42ch;
}
.quote__contacts { margin-top: var(--s-12); display: grid; gap: var(--s-6); }
.quote__contacts li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.quote__contacts .ico { color: var(--teal-300); margin-top: 3px; }
.quote__contacts b {
  display: block; font-family: var(--f-display); font-weight: 600;
  color: var(--tx-light); letter-spacing: -.015em;
}
.quote__contacts span { display: block; font-size: var(--t-sm); color: var(--tx-light-mute); margin-top: 2px; }

/* ── Formulario ─────────────────────────────────────────────────────── */
.form {
  background: rgba(13,33,41,.7);
  border: 1px solid rgba(234,243,246,.11);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.2vw, 40px);
  backdrop-filter: blur(10px);
}
.form__label, .field span {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--tx-light-mute);
  margin-bottom: var(--s-3);
}
.field span small { text-transform: none; letter-spacing: .02em; opacity: .7; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: var(--s-8); }
.chip {
  font-size: var(--t-xs);
  padding: 7px 13px;
  border: 1px solid rgba(234,243,246,.17);
  border-radius: 999px;
  background: transparent;
  color: var(--tx-light-mute);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--teal-400); color: var(--tx-light); }
.chip.is-on {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: #fff;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: block; margin-bottom: var(--s-4); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(4,12,16,.5);
  border: 1px solid rgba(234,243,246,.14);
  border-radius: var(--radius);
  color: var(--tx-light);
  font-size: var(--t-sm);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(159,182,191,.45); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  background: rgba(4,12,16,.8);
}
.field input:user-invalid { border-color: #C4635B; }

.check {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-3);
  align-items: start;
  margin: var(--s-6) 0 var(--s-8);
  font-size: var(--t-xs);
  color: var(--tx-light-mute);
  line-height: 1.6;
}
.check input { accent-color: var(--teal-500); width: 16px; height: 16px; margin-top: 2px; }

.form__ok {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-4);
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(41,112,132,.16);
  border: 1px solid rgba(105,184,206,.3);
  color: var(--teal-200);
  font-size: var(--t-sm);
}
.form__ok[hidden] { display: none; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { background: var(--ink-1000); color: var(--tx-light); padding-block: clamp(56px, 7vw, 88px) var(--s-8); }
.footer__top {
  display: grid; grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(40px, 6vw, 88px);
  padding-bottom: var(--s-16);
  border-bottom: 1px solid rgba(234,243,246,.1);
}
.footer .logo__mark .t1 { fill: var(--teal-600); }
.footer .logo__mark .t2 { fill: var(--teal-400); }
.footer .logo__mark .t3 { fill: var(--teal-300); }
.footer .logo__mark .t4 { fill: var(--teal-500); }
.footer__brand > p { margin-top: var(--s-6); color: var(--tx-light-mute); font-size: var(--t-sm); max-width: 40ch; line-height: 1.7; }
.footer__legal {
  font-family: var(--f-mono);
  font-size: var(--t-xs) !important;
  color: rgba(159,182,191,.65) !important;
  line-height: 1.9 !important;
  margin-top: var(--s-6) !important;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
.footer__cols h4 {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: var(--s-6);
}
.footer__cols a {
  display: block;
  font-size: var(--t-sm);
  color: var(--tx-light-mute);
  padding-block: 6px;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer__cols a:hover { color: var(--tx-light); transform: translateX(3px); }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4);
  padding-top: var(--s-8);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  color: rgba(159,182,191,.6);
}

/* ── WhatsApp flotante ──────────────────────────────────────────────── */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  padding: 14px;
  border-radius: 999px;
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(41,112,132,.85);
  transition: gap .35s var(--ease), padding .35s var(--ease), background .25s var(--ease);
  overflow: hidden;
}
.wa span {
  max-width: 0; opacity: 0; white-space: nowrap;
  font-size: var(--t-sm); font-weight: 600;
  transition: max-width .4s var(--ease), opacity .3s var(--ease);
}
.wa:hover { gap: 9px; padding-inline: 18px 22px; background: var(--teal-400); }
.wa:hover span { max-width: 220px; opacity: 1; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (min-width: 1081px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { justify-content: space-between; }
  .pillars__grid, .process__steps { grid-template-columns: repeat(2, 1fr); gap: var(--s-12) var(--s-8); }
  .process__line { display: none; }
  .folio__layout { grid-template-columns: 1fr; }
  .folio__panel { position: static; min-height: 0; order: -1; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--wide { grid-column: span 2; }
  .band__stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
  .public__inner, .quote__inner { grid-template-columns: 1fr; }
  .voices__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .section__head--split { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
  .nav__actions .btn--ghost { display: none; }
  .nav__actions .btn--sm { display: none; }
  .hero { min-height: auto; }
  .hero__skyline { width: 90vw; opacity: .28; right: -18vw; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
  .problem__grid { grid-template-columns: 1fr; }
  .answer { grid-template-columns: 1fr; }
  .answer__mark { display: none; }
  .pillars__grid, .process__steps { grid-template-columns: 1fr; }
  .bento, .footer__cols { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .bento__card, .bento__card--wide { min-height: 300px; }
  .form__row { grid-template-columns: 1fr; }
  .wa span { display: none; }
}

@media (max-width: 420px) {
  .hero__cta .btn { width: 100%; }
}
