/* ==========================================================================
   MIND MIAMI — SYSTEM v1 (home)
   Lenguaje del manual de marca: papel cálido, navy profundo, cian plano.
   Sora (titulares, variable 400–800) + Inter (texto, variable 100–900).
   Sin texturas de collage, sin bordes rasgados, sin recortes: superficies
   planas, filetes finos, numeración editorial y fotografía real.
   Paleta muestreada de los PNG oficiales del manual:
     papel #f6f4f1 · tinta #0a1a2f · navy profundo #071528 · cian #06d6dd
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f4f1;
  --paper-2: #eeebe5;
  --ink: #0a1a2f;
  --ink-soft: #41536a;
  --navy: #071528;
  --navy-2: #0c2038;
  --cyan: #06d6dd;
  --line-ink: rgba(10, 26, 47, .16);
  --line-paper: rgba(246, 244, 241, .18);
  --text-on-navy: #e9eef3;
  --muted-on-navy: #9fb0c0;
  --display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --pad-x: clamp(22px, 5vw, 90px);
  --sec-y: clamp(90px, 11vw, 170px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--cyan); color: var(--navy); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cyan); color: var(--navy);
  padding: 12px 18px; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

:is(a, button):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Barra de progreso de lectura */
.page-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 120;
  width: 100%; height: 2px;
  background: var(--cyan);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* Reveals: opt-in con .reveal; JS añade .is-in */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1); }
.reveal.is-in { opacity: 1; transform: none; }

.section-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft);
}
.section-kicker span {
  font-family: var(--display); font-weight: 700; color: var(--cyan);
  font-size: 13px; letter-spacing: .08em;
}
.section-kicker::after { content: ""; width: 44px; height: 1px; background: var(--line-ink); }
.section-kicker.light { color: var(--muted-on-navy); }
.section-kicker.light::after { background: var(--line-paper); }

.brand-logo { height: 30px; width: auto; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--navy);
  color: var(--text-on-navy);
  isolation: isolate;
  overflow: clip;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(246, 244, 241, .045) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(246, 244, 241, .045) 1px, transparent 1px) 0 0 / 25% 100%;
}
.hero-glow {
  position: absolute; z-index: -1; right: -12%; top: -18%;
  width: 58vw; height: 58vw;
  background: radial-gradient(circle, rgba(6, 214, 221, .12), transparent 62%);
}

.nav-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 26px var(--pad-x);
}
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: .05em;
  color: var(--muted-on-navy);
  padding: 10px 2px;
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line-paper); }
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  color: var(--muted-on-navy);
  font: 600 11px/1 var(--body); letter-spacing: .08em;
  padding: 10px 12px; min-height: 36px;
  transition: background .2s, color .2s;
}
.lang-toggle button.is-on { background: var(--cyan); color: var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(246, 244, 241, .34);
  padding: 13px 20px; min-height: 44px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: #fff;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-cta i { font-style: normal; color: var(--cyan); transition: color .25s ease, transform .25s ease; }
.nav-cta:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.nav-cta:hover i { color: var(--navy); transform: translate(2px, -2px); }

.hero-layout {
  flex: 1;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 4vw, 70px);
  align-items: center;
  padding: clamp(20px, 3vh, 40px) var(--pad-x) clamp(30px, 4vh, 56px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted-on-navy);
  margin-bottom: clamp(22px, 3vh, 38px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(6, 214, 221, .45); } 55% { box-shadow: 0 0 0 9px rgba(6, 214, 221, 0); } }

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  /* Calibrado para que "= GROWTH." (la línea más ancha) quepa en la columna
     de copy a cualquier ancho sin partirse. */
  font-size: clamp(54px, 6.6vw, 104px);
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.hero h1 > span { display: block; }
.hero h1 .cyan-dot { display: inline; }
.outline-line {
  color: transparent;
  -webkit-text-stroke: 2px rgba(246, 244, 241, .92);
  text-stroke: 2px rgba(246, 244, 241, .92);
}
.cyan-dot { color: var(--cyan); -webkit-text-stroke: 0; }

.hero-intro {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(26px, 4vh, 46px);
  max-width: 560px;
}
.hero-intro p { color: var(--muted-on-navy); font-size: clamp(15px, 1.2vw, 17px); }
.round-link {
  flex: none;
  width: 108px; height: 108px; border-radius: 50%;
  border: 1px solid rgba(246, 244, 241, .32);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.round-link i { font-style: normal; color: var(--cyan); font-size: 16px; transition: transform .25s ease, color .25s ease; }
.round-link:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.round-link:hover i { color: var(--navy); transform: translateY(3px); }

/* Escenario de fotos */
.hero-stage { position: relative; height: clamp(430px, 58vh, 640px); }
.hero-photo { position: absolute; margin: 0; box-shadow: 0 30px 70px rgba(0, 0, 0, .42); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 0; bottom: 0;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper); color: var(--ink);
  font-size: 10px; font-weight: 600; letter-spacing: .18em;
  padding: 8px 12px;
}
.hero-photo figcaption span { font-family: var(--display); font-weight: 700; color: var(--cyan); font-size: 11px; letter-spacing: .04em; }
.hero-photo-main { right: 0; top: 4%; width: 64%; aspect-ratio: 4 / 3; z-index: 1; }
.hero-photo-top { left: 2%; top: 0; width: 38%; aspect-ratio: 3 / 3.6; z-index: 2; }
.hero-photo-bottom { left: 12%; bottom: 0; width: 46%; aspect-ratio: 4 / 2.9; z-index: 3; }
.hero-seal {
  position: absolute; right: -2%; bottom: 6%; z-index: 4;
  width: clamp(96px, 9vw, 136px); height: auto; border-radius: 50%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  animation: seal-spin 26s linear infinite;
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
.hero-cross { position: absolute; font-family: var(--display); font-weight: 700; color: var(--cyan); z-index: 0; }
.cross-one { right: 30%; top: -2%; font-size: 30px; }
.cross-two { left: -1%; bottom: 26%; font-size: 20px; opacity: .7; }

.hero-footerline {
  display: flex; align-items: center; gap: 22px;
  border-top: 1px solid var(--line-paper);
  padding: 18px var(--pad-x) 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .24em;
  color: var(--muted-on-navy);
}
.hero-footerline i { flex: 1; height: 1px; background: var(--line-paper); }
.hero-footerline b { font-weight: 600; color: rgba(246, 244, 241, .8); }

/* ==========================================================================
   MARQUEE DE CAPACIDADES (banda cian plana)
   ========================================================================== */
.brand-marquee { background: var(--cyan); color: var(--navy); overflow: clip; padding: 15px 0; }
.brand-marquee-track {
  display: inline-flex; gap: 46px; white-space: nowrap; will-change: transform;
  animation: marquee 26s linear infinite;
  padding-left: 46px;
}
.brand-marquee-track span {
  display: inline-flex; align-items: center; gap: 46px;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .2em;
}
.brand-marquee-track i { font-style: normal; font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-marquee:hover .brand-marquee-track,
.client-marquee:hover > div { animation-play-state: paused; }

/* ==========================================================================
   01 · MINDSET
   ========================================================================== */
.main-story {
  display: grid; grid-template-columns: minmax(150px, .55fr) 1.9fr .9fr;
  gap: clamp(28px, 4vw, 70px);
  padding: var(--sec-y) var(--pad-x);
  align-items: start;
}
.story-label {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 2px solid var(--ink); padding-top: 14px;
}
.story-label span { font-family: var(--display); font-weight: 700; color: var(--cyan); }
.story-statement > p { font-size: clamp(15px, 1.25vw, 18px); color: var(--ink-soft); margin-bottom: 16px; }
.story-statement h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.14; letter-spacing: -.015em;
}
.story-statement h2 em {
  font-style: italic; font-weight: 600;
  box-shadow: inset 0 -0.16em var(--paper), inset 0 -0.3em rgba(6, 214, 221, .55);
}
.story-aside { border-left: 1px solid var(--line-ink); padding-left: clamp(18px, 2vw, 34px); }
.story-aside img { width: 74px; height: auto; border-radius: 50%; margin-bottom: 18px; }
.story-aside p { font-size: 14px; line-height: 1.9; color: var(--ink-soft); font-weight: 500; }

/* ==========================================================================
   02 · ENGINE (sticky + pasos)
   ========================================================================== */
.engine-section {
  background: var(--navy); color: var(--text-on-navy);
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 5vw, 90px);
  padding: var(--sec-y) var(--pad-x);
}
.engine-sticky { position: sticky; top: 12vh; align-self: start; display: flex; flex-direction: column; gap: 26px; }
.engine-brandline img { height: 26px; }
.engine-visual {
  position: relative;
  width: min(100%, 340px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.engine-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(246, 244, 241, .16); }
.ring-a { inset: 0; border-style: dashed; animation: spin 40s linear infinite; }
.ring-b { inset: 12%; border-color: rgba(6, 214, 221, .35); animation: spin 28s linear infinite reverse; }
.ring-c { inset: 26%; animation: spin 52s linear infinite; }
.ring-b::before {
  content: ""; position: absolute; top: -4px; left: 50%;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
}
@keyframes spin { to { transform: rotate(360deg); } }
.engine-visual > img { width: 34%; height: auto; border-radius: 50%; }
.engine-counter {
  position: absolute; right: 4%; bottom: 2%;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em;
  color: var(--cyan);
}
.engine-current p { font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); }
.engine-current h3 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.2vw, 34px); margin-top: 6px; color: #fff; }

.engine-steps { display: flex; flex-direction: column; }
.engine-step {
  display: grid; grid-template-columns: 74px 1fr; gap: clamp(16px, 2vw, 30px);
  padding: clamp(30px, 4.5vh, 52px) 0;
  border-top: 1px solid var(--line-paper);
  opacity: .38;
  transition: opacity .45s ease;
}
.engine-step:first-child { border-top: 0; }
.engine-step.is-active { opacity: 1; }
.step-number {
  font-family: var(--display); font-weight: 700; font-size: 24px;
  color: transparent; -webkit-text-stroke: 1px rgba(246, 244, 241, .55);
}
.engine-step.is-active .step-number { color: var(--cyan); -webkit-text-stroke: 0; }
.engine-step > div p { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-on-navy); }
.engine-step h3 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 38px); color: #fff; margin: 8px 0 12px; }
.engine-step > div > span { display: block; max-width: 480px; color: var(--muted-on-navy); font-size: 15px; }

/* ==========================================================================
   03 · SERVICIOS (índice sticky + paneles)
   ========================================================================== */
.services-story { padding: var(--sec-y) var(--pad-x); }
.services-intro { max-width: 880px; margin-bottom: clamp(50px, 7vw, 100px); }
.services-intro h2, .identity-copy h2, .experience-header h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.04; letter-spacing: -.02em;
  margin: 26px 0 20px;
}
.services-intro h2 em, .experience-header h2 em { font-style: italic; font-weight: 600; color: var(--ink-soft); }
.services-intro > p { max-width: 560px; color: var(--ink-soft); }

.services-layout { display: grid; grid-template-columns: minmax(210px, .62fr) 2fr; gap: clamp(30px, 4.5vw, 80px); }
.services-index { position: sticky; top: 14vh; align-self: start; }
.services-index > p { font-size: 11px; font-weight: 600; letter-spacing: .26em; color: var(--ink-soft); margin-bottom: 20px; }
.services-index ol { display: flex; flex-direction: column; }
.services-index li { border-top: 1px solid var(--line-ink); }
.services-index li:last-child { border-bottom: 1px solid var(--line-ink); }
.services-index a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 4px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color .25s ease, padding-left .25s ease;
}
.services-index a span { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--line-ink); transition: color .25s ease; }
.services-index li.is-active a { color: var(--ink); font-weight: 600; padding-left: 12px; }
.services-index li.is-active a span { color: var(--cyan); }
.service-progress { position: relative; width: 2px; height: 120px; background: var(--line-ink); margin: 26px 0 0 4px; }
.service-progress i {
  position: absolute; inset: 0;
  background: var(--cyan);
  transform-origin: 0 0; transform: scaleY(.2);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.service-panels { display: flex; flex-direction: column; gap: clamp(70px, 9vw, 140px); }
.service-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 3.5vw, 60px); align-items: end; }
.service-image { position: relative; aspect-ratio: 16 / 10.6; overflow: clip; background: var(--navy); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.service-panel:hover .service-image img { transform: scale(1.045); }
.image-index {
  position: absolute; left: 0; top: 0;
  background: var(--paper); color: var(--ink);
  font-size: 10px; font-weight: 600; letter-spacing: .2em;
  padding: 8px 12px;
}
.service-number { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.service-number span {
  font-family: var(--display); font-weight: 700; font-size: 30px;
  color: transparent; -webkit-text-stroke: 1.2px var(--ink);
}
.service-number i { font-style: normal; color: var(--cyan); font-size: 18px; }
.service-copy > p { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.service-copy h3 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.8vw, 44px); letter-spacing: -.015em; margin: 8px 0 16px; }
.service-detail p { color: var(--ink-soft); max-width: 440px; }
.service-detail ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service-detail li {
  border: 1px solid var(--line-ink);
  padding: 7px 13px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--ink);
}

/* Tableros de sistema (paneles sin fotografía: 04 AI · 05 Growth) */
.system-board { position: absolute; inset: 0; padding: clamp(18px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.board-title { font-size: 10px; font-weight: 600; letter-spacing: .24em; color: var(--muted-on-navy); margin-bottom: 6px; }
.flow-row { display: flex; align-items: center; gap: 10px; }
.flow-node {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(6, 214, 221, .5);
  background: rgba(6, 214, 221, .07);
  color: var(--text-on-navy);
  font-size: clamp(9px, .85vw, 12px); font-weight: 600; letter-spacing: .12em;
  padding: 9px 12px; white-space: nowrap;
}
.flow-node b { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none; }
.flow-line { flex: 1; min-width: 12px; height: 1px; background: rgba(6, 214, 221, .45); position: relative; }
.flow-line::after { content: ""; position: absolute; right: -1px; top: -2.5px; border: 3px solid transparent; border-left-color: rgba(6, 214, 221, .8); }
.flow-meta { display: flex; gap: 16px; margin-top: 10px; }
.flow-meta span { font-size: 10px; letter-spacing: .14em; color: var(--muted-on-navy); }
.flow-meta b { color: var(--cyan); font-weight: 700; }
.chart-bars { display: flex; align-items: flex-end; gap: clamp(8px, 1.2vw, 16px); height: 52%; border-bottom: 1px solid var(--line-paper); }
.chart-bars i {
  flex: 1; background: linear-gradient(180deg, rgba(6, 214, 221, .85), rgba(6, 214, 221, .3));
  height: calc(var(--h) * 1%);
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 1s cubic-bezier(.22, .61, .36, 1);
}
.chart-bars i:nth-child(2n) { background: rgba(246, 244, 241, .25); }
.reveal.is-in .chart-bars i, .service-panel.is-inview .chart-bars i { transform: scaleY(1); }
.chart-caption { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .16em; color: var(--muted-on-navy); }

/* ==========================================================================
   04 · IDENTIDAD (manual de marca)
   ========================================================================== */
.identity-section {
  background: var(--paper-2);
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(34px, 5vw, 90px);
  padding: var(--sec-y) var(--pad-x);
  align-items: center;
  overflow: clip;
}
.identity-copy .brand-logo { height: 40px; margin: 30px 0 8px; }
.identity-copy > p { max-width: 500px; color: var(--ink-soft); }
.brand-principles { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.brand-principles span {
  background: var(--navy); color: var(--paper);
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .18em;
  padding: 9px 15px;
}
.manual-stack { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.manual-page { position: relative; box-shadow: 0 26px 60px rgba(10, 26, 47, .22); background: var(--paper); }
.manual-page img { width: 100%; height: auto; }
.manual-page figcaption {
  position: absolute; left: 0; bottom: -30px;
  font-size: 10px; font-weight: 600; letter-spacing: .22em; color: var(--ink-soft);
}
/* Sin .reveal aquí: el transform del reveal pisaría estas rotaciones. */
.manual-stack { padding-bottom: 12%; }
.manual-one { grid-column: 2 / 9; grid-row: 1; z-index: 2; transform: rotate(-2.2deg) translateY(-10%); }
.manual-two { grid-column: 8 / 13; grid-row: 1; z-index: 1; transform: rotate(2deg) translateY(-26%); }
.manual-three { grid-column: 1 / 6; grid-row: 1; z-index: 3; transform: rotate(-1deg) translateY(42%); }
/* Páginas compuestas (specimen y aplicaciones) */
.spec-page { aspect-ratio: 1122 / 1402; padding: 9%; display: flex; flex-direction: column; }
.spec-head { display: flex; justify-content: space-between; font-size: 9px; font-weight: 600; letter-spacing: .2em; color: var(--ink-soft); border-bottom: 1px solid var(--line-ink); padding-bottom: 8px; }
.spec-head b { color: var(--cyan); }
.type-row { display: flex; align-items: baseline; gap: 14px; margin-top: 12%; }
.type-row strong { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 62px); line-height: 1; }
.type-row div p { font-size: 10px; letter-spacing: .18em; font-weight: 600; color: var(--ink-soft); }
.type-row div span { font-size: 11px; color: var(--ink-soft); }
.type-row.inter strong { font-family: var(--body); font-weight: 500; }
.swatches { display: flex; gap: 8px; margin-top: auto; }
.swatches i { flex: 1; aspect-ratio: 1 / 1.35; position: relative; }
.swatches i::after {
  content: attr(data-hex);
  position: absolute; left: 0; bottom: -18px;
  font-size: 8.5px; font-weight: 600; letter-spacing: .08em; font-style: normal; color: var(--ink-soft);
}
.sw-navy { background: var(--navy); }
.sw-cyan { background: var(--cyan); }
.sw-paper { background: var(--paper); border: 1px solid var(--line-ink); }
.app-page { background: var(--navy); }
.app-page .spec-head { color: var(--muted-on-navy); border-color: var(--line-paper); }
.app-logo { display: grid; place-items: center; flex: 1; }
.app-logo img { width: 74%; height: auto; }
.app-tag { text-align: center; font-size: 9px; font-weight: 600; letter-spacing: .3em; color: var(--muted-on-navy); }

/* ==========================================================================
   05 · EXPERIENCIA
   ========================================================================== */
.experience-section { background: var(--navy); color: var(--text-on-navy); padding: var(--sec-y) 0; }
.experience-header { padding: 0 var(--pad-x); max-width: 860px; }
.experience-header h2 { color: #fff; }
.experience-header h2 em { color: var(--muted-on-navy); }
.experience-header p { color: var(--muted-on-navy); max-width: 620px; }
.client-marquee { overflow: clip; border-block: 1px solid var(--line-paper); margin: clamp(40px, 6vw, 70px) 0; padding: 20px 0; }
.client-marquee > div {
  display: inline-flex; gap: 54px; white-space: nowrap; will-change: transform;
  animation: marquee 34s linear infinite;
  padding-left: 54px;
}
.client-marquee span {
  display: inline-flex; align-items: center; gap: 54px;
  font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .16em;
  color: rgba(246, 244, 241, .75);
}
.client-marquee i { font-style: normal; color: var(--cyan); font-size: 11px; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 var(--pad-x); }
.experience-card { border: 1px solid var(--line-paper); padding: clamp(24px, 2.6vw, 40px); min-height: 230px; display: flex; flex-direction: column; }
.experience-card > span { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--cyan); }
.experience-card h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2vw, 30px); margin: 14px 0 10px; color: #fff; }
.experience-card p { color: var(--muted-on-navy); font-size: 15px; }
.experience-card.cyan-card { background: var(--cyan); border-color: var(--cyan); }
.cyan-card > span, .cyan-card h3, .cyan-card p { color: var(--navy); }

/* ==========================================================================
   FÓRMULA
   ========================================================================== */
.formula-section {
  position: relative;
  padding: var(--sec-y) var(--pad-x);
  text-align: center;
  isolation: isolate;
  overflow: clip;
}
.formula-grid {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(10, 26, 47, .10) 1px, transparent 1px) 0 0 / 100% 50%,
    linear-gradient(90deg, rgba(10, 26, 47, .10) 1px, transparent 1px) 0 0 / 25% 100%;
}
.formula-kicker { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--ink-soft); }
.formula-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(12px, 2.4vw, 34px);
  margin: clamp(26px, 4vw, 46px) 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 7.2vw, 118px);
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
}
.formula-line i { font-style: normal; color: var(--cyan); font-weight: 700; }
.cyan-word { color: var(--cyan); }
.formula-logo { height: 32px; margin: 0 auto; }
.formula-section .formula-logo { filter: none; }

/* ==========================================================================
   06 · CONTACTO + FOOTER
   ========================================================================== */
.contact-section { background: var(--navy); color: var(--text-on-navy); padding: clamp(70px, 9vw, 130px) var(--pad-x) 40px; }
.contact-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.availability { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-navy); }
.availability i { width: 8px; height: 8px; border-radius: 50%; background: #2ee56b; animation: pulse 2.4s ease-in-out infinite; }
.contact-main {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(26px, 4vw, 60px);
  padding: clamp(46px, 7vw, 90px) 0;
  flex-wrap: wrap;
}
.contact-main > div > p { font-size: 12px; font-weight: 600; letter-spacing: .3em; color: var(--cyan); margin-bottom: 16px; }
.contact-main h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: .98; letter-spacing: -.02em; text-transform: uppercase;
  color: #fff;
}
.contact-circle {
  flex: none;
  width: clamp(170px, 16vw, 230px); height: clamp(170px, 16vw, 230px);
  border-radius: 50%;
  border: 1px solid rgba(246, 244, 241, .4);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center;
  font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.contact-circle i { font-style: normal; font-size: 22px; color: var(--cyan); transition: color .3s ease, transform .3s ease; }
.contact-circle:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); transform: scale(1.04); }
.contact-circle:hover i { color: var(--navy); transform: translate(3px, -3px); }
.contact-mail { font-size: 14px; color: var(--muted-on-navy); }
.contact-mail a { color: var(--text-on-navy); border-bottom: 1px solid var(--cyan); padding-bottom: 2px; }
.contact-mail a:hover { color: var(--cyan); }

.site-footer { border-top: 1px solid var(--line-paper); margin-top: clamp(40px, 6vw, 70px); padding-top: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 26px; align-items: start; }
.footer-brand img { height: 24px; }
.footer-brand p { margin-top: 14px; font-size: 13px; color: var(--muted-on-navy); max-width: 300px; }
.footer-dir { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-dir a { font-size: 13px; color: var(--muted-on-navy); padding: 6px 0; min-height: 34px; display: inline-flex; align-items: center; }
.footer-dir a:hover { color: var(--cyan); }
.footer-legal { text-align: right; font-size: 11px; letter-spacing: .16em; color: var(--muted-on-navy); line-height: 2; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--cyan); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { height: clamp(380px, 52vw, 520px); max-width: 640px; }
  .main-story { grid-template-columns: 1fr; gap: 30px; }
  .story-aside { border-left: 0; border-top: 1px solid var(--line-ink); padding: 24px 0 0; }
  .engine-section { grid-template-columns: 1fr; }
  .engine-sticky { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
  .engine-visual { width: 150px; }
  .engine-brandline { display: none; }
  .services-layout { grid-template-columns: 1fr; }
  .services-index { position: static; }
  .services-index ol { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .services-index li, .services-index li:last-child { border: 1px solid var(--line-ink); }
  .services-index a { padding: 9px 13px; font-size: 12.5px; }
  .services-index li.is-active a { padding-left: 13px; }
  .service-progress { display: none; }
  .identity-section { grid-template-columns: 1fr; }
  .manual-stack { max-width: 560px; margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .service-panel { grid-template-columns: 1fr; align-items: start; }
  .experience-grid { grid-template-columns: 1fr; }
  .contact-main h2 { font-size: clamp(40px, 11vw, 64px); }
}

@media (max-width: 560px) {
  .nav-cta span { display: none; }
  .nav-cta { padding: 12px 14px; }
  .nav-cta i { font-size: 15px; }
  .hero h1 { font-size: clamp(52px, 15vw, 78px); }
  .outline-line { -webkit-text-stroke-width: 1.5px; }
  .hero-intro { flex-direction: column; align-items: flex-start; }
  .round-link { width: 92px; height: 92px; }
  .hero-photo-top { display: none; }
  .hero-photo-main { width: 84%; right: 0; top: 0; }
  .hero-photo-bottom { width: 58%; left: 0; bottom: 4%; }
  .hero-seal { right: 2%; bottom: 0; }
  .hero-footerline { flex-wrap: wrap; gap: 10px; letter-spacing: .16em; }
  .hero-footerline i { display: none; }
  .brand-marquee-track span, .client-marquee span { gap: 30px; }
  .brand-marquee-track, .client-marquee > div { gap: 30px; padding-left: 30px; }
  .engine-step { grid-template-columns: 50px 1fr; }
  .manual-page figcaption { display: none; }
}

/* ==========================================================================
   MOVIMIENTO REDUCIDO — todo estático y visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand-marquee-track, .client-marquee > div,
  .hero-seal, .ring-a, .ring-b, .ring-c,
  .pulse-dot, .availability i { animation: none; }
  .chart-bars i { transform: scaleY(1); transition: none; }
  .engine-step { opacity: 1; }
  .service-panel:hover .service-image img { transform: none; }
  .page-progress { display: none; }
}
