/* =========================================================
   UNDERSTAND STUDIO — Landing
   Grafito profundo · un solo acento: el punto naranja del logo
   ========================================================= */

:root {
  /* Marca: lima (rellenos) + ciruela/magenta (itálicas y bloques) + gris oscuro de base */
  --brand: #b3dd00;            /* lima: botones, punto del logo, barras */
  --brand-2: #e1ff76;
  --brand-3: #8fb000;
  --brand-glow: rgba(179, 221, 0, 0.35);
  --on-brand: #1b1c1f;         /* texto sobre lima */
  --plum: #96004f;
  --magenta: #e5008e;

  --bg: #1b1c1f;               /* gris oscuro que corta */
  --bg-1: #202125;
  --ink: #f3f4f1;
  --ink-rgb: 243, 244, 241;
  --ink-2: rgba(var(--ink-rgb), 0.68);
  --ink-3: rgba(var(--ink-rgb), 0.44);
  --ink-4: rgba(var(--ink-rgb), 0.18);
  --line: rgba(var(--ink-rgb), 0.08);
  --line-2: rgba(var(--ink-rgb), 0.14);
  --accent: #b3dd00;           /* texto chico y trazos */
  --accent-rgb: 179, 221, 0;
  --accent-2: #e5008e;         /* itálicas de los títulos */
  --glow-rgb: 179, 221, 0;
  --glow2-rgb: 229, 0, 142;
  --s1: #26272b;
  --s2: #1f2023;
  --s3: #232428;
  --glass: rgba(30, 31, 35, 0.6);
  --overlay: rgba(27, 28, 31, 0.97);
  --shadow-nav: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-stage: 0 60px 120px -40px rgba(0, 0, 0, 0.8);
  --grain: 0.045;
  --err: #ff7aa8;
  color-scheme: dark;

  --f-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --r-xl: 2rem;
  --bz: 6px; /* grosor del doble bisel */

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --nav-h: 64px;
}

/* ---------- Modo día ---------- */
:root[data-theme="light"] {
  --bg: #f2f2f0;
  --bg-1: #e9e9e6;
  --ink: #1b1c1f;
  --ink-rgb: 27, 28, 31;
  --ink-2: rgba(var(--ink-rgb), 0.72);
  --ink-3: rgba(var(--ink-rgb), 0.52);
  --ink-4: rgba(var(--ink-rgb), 0.22);
  --line: rgba(var(--ink-rgb), 0.09);
  --line-2: rgba(var(--ink-rgb), 0.16);
  --accent: #96004f;           /* el lima no se lee sobre claro: texto en ciruela */
  --accent-rgb: 150, 0, 79;
  --accent-2: #96004f;
  --glow-rgb: 179, 221, 0;
  --glow2-rgb: 229, 0, 142;
  --brand-glow: rgba(143, 176, 0, 0.35);
  --s1: #ffffff;
  --s2: #f8f8f6;
  --s3: #eeeeeb;
  --glass: rgba(255, 255, 255, 0.64);
  --overlay: rgba(242, 242, 240, 0.97);
  --shadow-nav: 0 18px 44px -22px rgba(27, 28, 31, 0.28);
  --shadow-stage: 0 60px 110px -50px rgba(27, 28, 31, 0.45);
  --grain: 0.03;
  --err: #c0005f;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--ink-rgb), 0.24) var(--bg);
}
html.js:not(.is-ready) { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--brand); color: var(--on-brand); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 1001;
  background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 999px;
  transition: top 0.4s var(--ease);
}
.skip:focus { top: 16px; }

:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.i--fill { fill: currentColor; stroke: none; }
.loader__log .i { display: inline-block; vertical-align: -0.15em; stroke-width: 2; }

/* ---------- Utilidades ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-feature-settings: "ss01"; }
.t-dim { color: var(--ink-3); }
.t-acc { color: var(--accent); }
.section { padding-block: clamp(96px, 14vw, 180px); position: relative; }

em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent-2);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.03);
  border: 1px solid var(--line);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 12px var(--brand-glow);
}

.h2 {
  font-size: clamp(38px, 5.2vw, 84px);
  line-height: 0.98; letter-spacing: -0.045em; font-weight: 500;
  max-width: 16ch;
}
.h2 em { font-size: 1.06em; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 54ch; line-height: 1.55; }

.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; margin-bottom: clamp(56px, 7vw, 96px); }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch); align-items: end; gap: 28px clamp(40px, 6vw, 96px); }
.sec-head--split > div { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.sec-head--split .lead { max-width: 46ch; }

/* SplitText: máscaras de línea sin cortar descendentes */
.split-line-mask { padding-block: 0.04em 0.12em; margin-block: -0.04em -0.12em; }

/* ---------- Logo (máscara + punto de marca) ---------- */
.logo {
  position: relative; display: inline-block; flex: none;
  width: 118px; aspect-ratio: 1600 / 370;
  color: var(--ink);
}
.logo__mark {
  position: absolute; inset: 0;
  background: currentColor;
  -webkit-mask: url("../img/logo.png") center / contain no-repeat;
  mask: url("../img/logo.png") center / contain no-repeat;
}
.logo__dot {
  position: absolute; left: 86.5%; top: 49.6%;
  width: 3.625%; aspect-ratio: 1;
  margin: -1.8125% 0 0 -1.8125%;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 calc(var(--dot-glow, 0) * 1px) var(--brand-glow);
}

/* ---------- Doble bisel ---------- */
.bezel {
  padding: var(--bz);
  border-radius: var(--r-xl);
  background: rgba(var(--ink-rgb), 0.025);
  border: 1px solid var(--line);
  position: relative;
}
.bezel__core {
  border-radius: calc(var(--r-xl) - var(--bz));
  background: linear-gradient(180deg, var(--s1) 0%, var(--s2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(var(--ink-rgb), 0.02);
  position: relative;
  overflow: hidden;
}

/* ---------- Botones (button-in-button) ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 9px 9px 9px 28px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden;
  transition: scale 0.6s var(--ease), color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: transform 0.7s var(--ease), border-radius 0.7s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:active { scale: 0.97; }
.btn__icon {
  position: relative; overflow: hidden;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px;
  transition: transform 0.7s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.btn__icon .i { position: absolute; transition: transform 0.7s var(--ease); }
.btn__icon .i--next { transform: translate(-150%, 150%); }
.btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.06); }
.btn:hover .btn__icon .i:not(.i--next) { transform: translate(150%, -150%); }
.btn:hover .btn__icon .i--next { transform: translate(0, 0); }

.btn:hover { color: var(--bg); }
.btn:hover .btn__icon { background: var(--brand); color: var(--on-brand); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary .btn__icon { background: rgba(27, 28, 31, 0.12); }

.btn--ghost { background: rgba(var(--ink-rgb), 0.035); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost .btn__icon { background: rgba(var(--ink-rgb), 0.07); }

.btn--sm { padding: 6px 6px 6px 20px; font-size: 15px; gap: 12px; }
.btn--sm .btn__icon { width: 36px; height: 36px; font-size: 16px; }
.btn--lg { padding: 11px 11px 11px 34px; font-size: 18px; }
.btn--lg .btn__icon { width: 52px; height: 52px; font-size: 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding-bottom: 3px;
  background: linear-gradient(var(--brand), var(--brand)) left bottom / 0% 1px no-repeat;
  transition: background-size 0.7s var(--ease), color 0.4s var(--ease);
}
.link-arrow .i { transition: transform 0.6s var(--ease); color: var(--accent); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .i { transform: translate(3px, -3px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); background: rgba(var(--ink-rgb), 0.02); transition: color 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease); }
.tags li:hover { color: var(--on-brand); background: var(--brand); border-color: var(--brand); }

.rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); margin-right: 8px; vertical-align: 0.05em; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================
   PRELOADER · paneles ciruela + el punto que escribe el logo
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  overflow: hidden; color: #fff;
  animation: loaderFailsafe 0.01s 7s forwards;
}
@keyframes loaderFailsafe { to { visibility: hidden; opacity: 0; } }
.loader__panels { position: absolute; inset: 0; display: flex; }
.loader__panels i { flex: 1 1 0; margin-right: -1px; background: var(--plum); will-change: transform; }
.loader__panels i:nth-child(even) { background: #8c0049; }
.loader__brand { position: relative; }
.loader .logo { color: #fff; }
.logo--xl { width: clamp(260px, 52vw, 760px); }
.loader__step {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
}
.loader__num { color: var(--brand-2); }
.loader__dash { width: 36px; height: 1px; background: rgba(255, 255, 255, 0.45); }
.loader__word { display: inline-block; overflow: hidden; height: 1.6em; line-height: 1.6em; min-width: 11ch; text-align: left; }
.loader__word span { display: inline-block; }

/* =========================================================
   GRANO
   ========================================================= */
.grain {
  position: fixed; inset: 0; z-index: 998; pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   BOTONES FLOTANTES · WhatsApp (derecha) y volver arriba (izquierda)
   ========================================================= */
.fab {
  position: fixed; z-index: 80; bottom: max(20px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 27px;
  background: var(--brand); color: var(--on-brand);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55), 0 0 0 0 var(--brand-glow);
  transition: scale 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.5s var(--ease), visibility 0.5s;
}
.fab .i { stroke-width: 1.8; }
.fab:hover { scale: 1.08; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55), 0 0 0 8px var(--brand-glow); }
.fab:active { scale: 0.96; }
.fab--wa { right: clamp(16px, 2.4vw, 32px); font-size: 30px; animation: fabGlow 2.6s ease-in-out infinite; }
/* resplandor: un halo que late y dos anillos que se expanden */
.fab--wa::before, .fab--wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: var(--brand); opacity: 0;
  animation: fabRing 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.fab--wa::after { animation-delay: 1.3s; }
.fab--wa:hover { animation-play-state: paused; }
@keyframes fabGlow {
  0%, 100% { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55), 0 0 14px 0 rgba(179, 221, 0, 0.35); }
  50% { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55), 0 0 34px 8px rgba(179, 221, 0, 0.7); }
}
@keyframes fabRing {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2); opacity: 0; }
}
.fab--top { left: clamp(16px, 2.4vw, 32px); opacity: 0; visibility: hidden; }
.fab--top .i { transform: rotate(180deg); }
.fab--top.is-visible { opacity: 1; visibility: visible; }
html.js:not(.is-ready) .fab { opacity: 0; visibility: hidden; }
@media (max-width: 767px) { .fab { width: 52px; height: 52px; font-size: 24px; } .fab--wa { font-size: 27px; } }

/* =========================================================
   NAV · PÍLDORA
   ========================================================= */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
  padding-inline: 16px;
}
.nav__pill {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(var(--ink-rgb), 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), var(--shadow-nav);
  overflow: hidden;
}
.nav__logo { display: flex; align-items: center; margin-right: 18px; padding-block: 4px; }
.nav__logo .logo { width: 152px; }
.nav__links { position: relative; display: flex; align-items: center; }
.nav__links a {
  position: relative; z-index: 1;
  padding: 11px 18px; border-radius: 999px;
  font-size: 15px; color: var(--ink-2);
  transition: color 0.4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__indicator {
  position: absolute; left: 0; top: 50%; height: 42px; width: 60px; margin-top: -21px;
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
}
.nav__cta { margin-left: 8px; }
.nav__progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 1px; overflow: hidden; }
.nav__progress span { display: block; height: 100%; background: linear-gradient(90deg, transparent, var(--brand)); transform-origin: left; transform: scaleX(0); }

.nav__burger { display: none; flex: none; position: relative; width: 48px; height: 48px; border-radius: 50%; background: rgba(var(--ink-rgb), 0.06); }
.nav__burger span {
  position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.nav__burger span:first-child { top: 20px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 23.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 23.5px; transform: rotate(-45deg); }

html.i18n-pending body { visibility: hidden; }

/* Selector de idioma */
.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: rgba(var(--ink-rgb), 0.06); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.lang button { position: relative; padding: 0 11px; height: 36px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-3); transition: color 0.4s var(--ease), background-color 0.4s var(--ease); }
.lang button:hover { color: var(--ink); }
.lang button.is-on { background: var(--brand); color: var(--on-brand); }
.nav__lang { margin-left: 4px; }
.menu__lang { align-self: flex-start; }
.menu__lang button { height: 42px; padding: 0 18px; font-size: 13px; }
.menu .menu__lang { display: none; }

.theme-toggle {
  position: relative; width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 18px; color: var(--ink);
  background: rgba(var(--ink-rgb), 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-left: 4px; overflow: hidden;
  transition: background-color 0.5s var(--ease);
}
.theme-toggle:hover { background: rgba(var(--ink-rgb), 0.12); }
.theme-toggle .i { position: absolute; transition: transform 0.8s var(--ease), opacity 0.5s var(--ease); }
.theme-toggle .i--sun { transform: translateY(140%) rotate(-90deg); opacity: 0; }
.theme-toggle .i--moon { transform: none; opacity: 1; }
[data-theme="light"] .theme-toggle .i--sun { transform: none; opacity: 1; }
[data-theme="light"] .theme-toggle .i--moon { transform: translateY(-140%) rotate(90deg); opacity: 0; }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

/* Menú mobile */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--overlay);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 44px) 44px);
}
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 110px 24px 40px; gap: 32px; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; }
.menu__list .mono { font-size: 12px; color: var(--accent); }
.menu__label { font-size: clamp(36px, 10vw, 56px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; display: inline-block; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 15px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(128px, 19vh, 190px); padding-bottom: 40px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0 0 auto 0; height: min(100vh, 1000px); pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 10%, transparent 75%);
  opacity: 0.55;
}
.hero__plan {
  position: absolute; inset: 0; width: 100%; height: 100%;
  mask-image: radial-gradient(ellipse 75% 70% at 55% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 55% 40%, #000 20%, transparent 80%);
}
.hero__plan .ln { fill: none; stroke: rgba(var(--ink-rgb), 0.09); stroke-width: 1; }
.hero__plan .ln--solid { stroke: rgba(var(--accent-rgb), 0.3); }
.hero__plan .pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), 0.8)); }
.hero__plan .mark { fill: none; stroke: rgba(var(--accent-rgb), 0.5); stroke-width: 1; }
.hero__plan .lbl { fill: rgba(var(--ink-rgb), 0.32); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; }
.hero__glow {
  position: absolute; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: radial-gradient(circle, rgba(var(--glow-rgb), 0.12) 0%, rgba(var(--glow-rgb), 0.035) 35%, transparent 65%);
  border-radius: 50%;
  will-change: transform;
}
.hero__glow--2 {
  left: auto; right: -300px; top: -200px; margin: 0;
  width: 1100px; height: 1100px;
  background: radial-gradient(circle, rgba(var(--glow2-rgb), 0.14) 0%, transparent 60%);
}
.hero__inner { position: relative; }
.hero__h1 { font: inherit; }
.hero__title {
  display: block;
  font-size: clamp(60px, 11.4vw, 166px);
  line-height: 0.9; letter-spacing: -0.06em; font-weight: 500;
}
.hero__title em { font-size: 1.06em; letter-spacing: -0.025em; padding-right: 0.02em; white-space: nowrap; }
:root[lang="en"] .hero__title { font-size: clamp(54px, 10.4vw, 151px); }
/* el punto del logo cierra el título */
.hero__title em::after {
  content: ""; display: inline-block;
  width: 0.15em; height: 0.15em; margin-left: 0.05em;
  border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0.25em var(--brand-glow);
  transform: translateY(var(--dot-y, 0em)) scale(var(--dot-s, 1));
}
.hero__row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-top: clamp(28px, 3.6vw, 52px);
}
.hero__sub { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 44ch; }
.hero__sub b { color: var(--ink); font-weight: 500; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

/* Escenario de proyectos */
.hero__stage { margin-top: clamp(64px, 9vw, 120px); perspective: 1800px; }
.stage-tilt { position: relative; transform-style: preserve-3d; transform-origin: 50% 0%; will-change: transform; max-width: 1240px; margin-inline: auto; }
.stage { --r-xl: 1.9rem; box-shadow: var(--shadow-stage); }
.stage::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.8), transparent);
}
.stage::after {
  content: ""; position: absolute; left: 15%; right: 15%; top: -120px; height: 240px; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(var(--glow-rgb), 0.2), transparent 70%);
  pointer-events: none;
}
.stage__core { cursor: pointer; aspect-ratio: 2 / 1; background: #0c0e11; }
.stage__slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.slide.is-on { visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.55) 0%, transparent 22%, transparent 58%, rgba(8, 9, 12, 0.82) 100%);
}
.stage__hud { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(16px, 2.2vw, 28px); color: #f2f3f5; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.stage__hud .t-dim { color: rgba(242, 243, 245, 0.55); }
.stage__top, .stage__bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.stage__top { align-items: center; }
.stage__top b { font-weight: 500; color: #b3dd00; }
.stage__info { display: flex; flex-direction: column; gap: 6px; }
.stage__name { font-family: var(--f-sans); text-transform: none; letter-spacing: -0.04em; font-size: clamp(30px, 4vw, 64px); font-weight: 500; line-height: 1; }
.stage__ev { color: rgba(242, 243, 245, 0.7); }
.stage__dashes { display: flex; gap: 6px; }
.stage__dashes i { width: 26px; height: 2px; border-radius: 2px; background: rgba(242, 243, 245, 0.25); position: relative; overflow: hidden; }
.stage__dashes i::after { content: ""; position: absolute; inset: 0; background: #b3dd00; transform-origin: left; transform: scaleX(var(--p, 0)); }
.stage__corner { position: absolute; width: 18px; height: 18px; border-color: rgba(242, 243, 245, 0.6); border-style: solid; border-width: 0; }
.stage__corner--tl { left: 10px; top: 10px; border-left-width: 1px; border-top-width: 1px; }
.stage__corner--tr { right: 10px; top: 10px; border-right-width: 1px; border-top-width: 1px; }
.stage__corner--bl { left: 10px; bottom: 10px; border-left-width: 1px; border-bottom-width: 1px; }
.stage__corner--br { right: 10px; bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; }

/* Sello giratorio del escenario */
.badge {
  position: absolute; z-index: 3; right: clamp(-12px, 2vw, 40px); top: clamp(-70px, -5vw, -40px);
  width: clamp(104px, 11vw, 150px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.badge svg { width: 100%; height: 100%; overflow: visible; }
.badge text { fill: var(--ink-2); font-family: var(--f-mono); font-size: 13.5px; letter-spacing: 0.14em; }
.badge__rot { transform-origin: 100px 100px; }
.badge__ring { fill: none; stroke: var(--line-2); }
.badge__dot { fill: var(--brand); filter: drop-shadow(0 0 10px rgba(var(--glow-rgb), 0.7)); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 24px 8px 0; position: relative; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.stat dd { font-size: clamp(56px, 6vw, 96px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin: 14px 0 10px; font-variant-numeric: tabular-nums; }
.stat p { font-size: 14px; color: var(--ink-3); }

/* =========================================================
   MARCAS / MARQUEE
   ========================================================= */
.stack { padding-block: clamp(80px, 10vw, 140px) clamp(40px, 6vw, 80px); overflow: hidden; }
.stack__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.stack__platforms { color: var(--ink-2); font-size: 16px; }
.stack__platforms b { color: var(--ink); font-weight: 500; }
.marquee { overflow: hidden; padding-block: 8px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__inner { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__inner span:not(.mdot) {
  font-size: clamp(48px, 7.5vw, 124px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.1;
  padding-inline: clamp(18px, 2vw, 32px);
  white-space: nowrap;
  transition: color 0.5s var(--ease);
}
.marquee__inner span.o { color: transparent; -webkit-text-stroke: 1px rgba(var(--ink-rgb), 0.35); }
.marquee__inner span:not(.mdot):hover { color: var(--accent); -webkit-text-stroke-color: transparent; }
.marquee__inner i { font-style: normal; color: var(--accent); font-size: clamp(18px, 2vw, 30px); display: inline-flex; }
.mdot { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--brand); box-shadow: 0 0 16px var(--brand-glow); }
.marquee--sm .marquee__inner span:not(.mdot) { font-size: clamp(30px, 4vw, 64px); letter-spacing: -0.04em; }
.marquee--sm .marquee__inner i { font-size: clamp(14px, 1.4vw, 22px); }

/* =========================================================
   ESTUDIO
   ========================================================= */
.studio__intro { display: grid; grid-template-columns: 1fr; gap: 40px; }
.studio__intro .eyebrow { justify-self: start; }
.manifesto {
  font-size: clamp(28px, 3.9vw, 64px);
  line-height: 1.1; letter-spacing: -0.035em; font-weight: 400;
  max-width: 24ch;
}
.manifesto em { font-size: 1.06em; }
.studio__meta { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; flex-wrap: wrap; color: var(--ink-2); font-size: 17px; }
.studio__meta p { max-width: 46ch; }
.offices { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-2); }
.offices span { margin-right: 8px; }
.studio__media { position: relative; margin-top: clamp(56px, 7vw, 96px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; background: var(--s3); border: 1px solid var(--line); }
.studio__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.studio__media figcaption { position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(14px, 2vw, 26px); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #f2f3f5; padding: 7px 13px; border-radius: 999px; background: rgba(11, 13, 16, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* =========================================================
   SERVICIOS · tarjetas apiladas
   ========================================================= */
.services { padding-top: 0; }
.cards-stack { display: flex; flex-direction: column; gap: 48px; }
.scard { position: relative; will-change: transform; }
.scard__shell { --r-xl: 2.25rem; --dim: 0; transform-origin: 50% 0%; background: var(--bg); }
.scard__shell::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--bg); opacity: var(--dim); pointer-events: none; z-index: 2; }
.scard__core {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch;
  padding: clamp(14px, 1.4vw, 20px);
  min-height: clamp(420px, 60vh, 580px);
  background:
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(var(--glow2-rgb), 0.12), transparent 60%),
    linear-gradient(180deg, var(--s1) 0%, var(--s2) 100%);
}
.scard__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: clamp(18px, 3.4vw, 52px) 0 clamp(18px, 3vw, 44px) clamp(18px, 3.4vw, 52px); }
.scard__num { font-size: 12px; letter-spacing: 0.16em; color: var(--accent); }
.scard__title { font-size: clamp(44px, 5.6vw, 92px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.95; margin-top: auto; }
.scard__title em { font-size: 1.04em; }
.scard__txt p { font-size: clamp(16px, 1.2vw, 18.5px); color: var(--ink-2); max-width: 48ch; }
.scard__media { position: relative; border-radius: calc(var(--r-xl) - var(--bz) - 8px); overflow: hidden; min-height: 280px; background: var(--s3); }
.scard__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.scard__tag { position: absolute; left: 14px; top: 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; color: #f2f3f5; background: rgba(11, 13, 16, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* =========================================================
   PROYECTOS · horizontal
   ========================================================= */
.projects { position: relative; --ph: min(64vh, 620px); --gap: 14px; }
.projects__pin {
  height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; position: relative;
  padding-top: var(--nav-h);
}
.projects__track { display: flex; align-items: center; gap: var(--gap); width: max-content; padding-inline: var(--gutter); will-change: transform; }
.projects__intro { width: min(540px, 38vw); flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding-right: clamp(24px, 4vw, 72px); }
.projects__intro .h2 { max-width: 11ch; }
.projects__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.projects__hint .i { color: var(--accent); font-size: 16px; }
.projects__hint .hint-m { display: none; }
.projects__rail { display: flex; gap: var(--gap); height: var(--ph); flex: none; }
.pcol { display: flex; flex-direction: column; gap: var(--gap); height: 100%; flex: none; width: calc((var(--ph) - var(--gap)) / 2 * 4 / 3); }
.pcol--tall { width: calc(var(--ph) * 0.75); }
.pcol:nth-child(4n + 2) { transform: translateY(18px); }
.pcol:nth-child(4n + 4) { transform: translateY(-18px); }
.pcard {
  position: relative; display: block; width: 100%; flex: 1 1 0; min-height: 0;
  border-radius: 1.4rem; overflow: hidden;
  background: var(--s3); border: 1px solid var(--line);
  isolation: isolate;
}
.pcard__img { position: absolute; inset: 0; overflow: hidden; }
.pcard__img img { position: absolute; top: 0; left: -8%; width: 116%; height: 100%; object-fit: cover; will-change: transform; transition: scale 1.2s var(--ease); }
.pcard:hover .pcard__img img { scale: 1.06; }
.pcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 9, 12, 0.85) 100%);
  transition: opacity 0.6s var(--ease);
}
.pcard__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; padding: 16px 18px; color: #f2f3f5; }
.pcard__num { grid-row: span 2; font-size: 11px; color: #e1ff76; letter-spacing: 0.1em; }
.pcard__name { font-size: clamp(18px, 1.5vw, 24px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.pcard__ev { grid-column: 2; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242, 243, 245, 0.66); margin-top: 4px; }
.pcard__cap > * { transition: transform 0.7s var(--ease); }
.pcard:hover .pcard__cap > * { transform: translateY(-4px); }
.pcard:focus-visible { outline-offset: 4px; border-radius: 1.4rem; }

.projects__outro {
  position: relative; flex: none; isolation: isolate; overflow: hidden;
  width: calc(var(--ph) * 0.8); height: var(--ph); margin-left: clamp(16px, 3vw, 48px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 18px;
  padding: clamp(22px, 2.4vw, 34px); border-radius: 1.4rem; border: 1px solid var(--line-2); color: #f2f3f5;
}
.projects__outro-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform-origin: 50% 100%; }
.projects__outro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 9, 12, 0.92) 0%, rgba(8, 9, 12, 0.55) 38%, transparent 62%); }
.projects__outro .mono { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #e1ff76; }
.projects__outro-txt { font-size: clamp(32px, 3.2vw, 54px); letter-spacing: -0.045em; line-height: 1; font-weight: 500; }
.projects__outro-txt em { color: #e1ff76; }

.projects__progress { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3.4vh, 36px); margin-inline: auto; display: flex; align-items: center; gap: 16px; font-size: 12px; padding-inline: calc(var(--gutter) + 76px); }
.projects__bar { flex: 1; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.projects__bar span { position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1050; visibility: hidden; display: grid; place-items: center; padding: clamp(16px, 5vw, 72px); }
.lightbox__bg { position: absolute; inset: 0; background: rgba(8, 9, 12, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lightbox__fig { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 100%; }
.lightbox__img { max-width: min(1200px, 100%); max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); width: auto; height: auto; border-radius: 1.2rem; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); }
.lightbox__cap { display: flex; align-items: baseline; gap: 14px; color: #f2f3f5; flex-wrap: wrap; justify-content: center; }
.lightbox__cap .mono { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.lightbox__cap .t-acc { color: #b3dd00; }
.lightbox__cap .t-dim { color: rgba(242, 243, 245, 0.55); }
.lightbox__name { font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.035em; }
.lightbox__ui { position: absolute; inset: 0; pointer-events: none; }
.lightbox__ui .lightbox__btn { position: absolute; top: 50%; margin-top: -26px; pointer-events: auto; }
#lb-prev { left: clamp(12px, 2.5vw, 36px); }
#lb-next { right: clamp(12px, 2.5vw, 36px); }
.lightbox__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #f2f3f5; border: 1px solid rgba(242, 243, 245, 0.2); background: rgba(242, 243, 245, 0.06); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease); }
.lightbox__btn:hover { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.lightbox__ui .lightbox__close { top: clamp(16px, 3vw, 32px); right: clamp(12px, 2.5vw, 36px); margin-top: 0; }
@media (max-width: 767px) {
  .lightbox__ui .lightbox__btn { top: auto; bottom: 20px; margin-top: 0; }
  #lb-prev { left: calc(50% - 62px); }
  #lb-next { right: calc(50% - 62px); }
  .lightbox__ui .lightbox__close { top: 16px; bottom: auto; right: 16px; }
  .lightbox__fig { margin-bottom: 60px; }
}

/* =========================================================
   PROCESO · stand que se arma
   ========================================================= */
.build { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.build__shell { --r-xl: 2rem; }
.build__core { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(var(--glow-rgb), 0.07), transparent 70%), linear-gradient(180deg, var(--s1), var(--s2)); }
.build__core::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.build__bar, .build__phase { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); padding: 4px 6px; }
.build__phase { text-transform: uppercase; }
.build__phase b { font-weight: 500; color: var(--accent); }
.build__phase-name { font-family: var(--f-sans); text-transform: none; letter-spacing: -0.03em; font-size: 22px; font-weight: 500; color: var(--ink); }
.build__meter { position: relative; height: 2px; margin: 0 6px 6px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.build__meter span { position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--brand-glow); }
.iso { position: relative; width: 100%; height: auto; max-height: min(52vh, 460px); margin-inline: auto; overflow: visible; }

/* Piezas del stand (blancas, como un stand real) */
.iso .gridl { fill: none; stroke: rgba(var(--ink-rgb), 0.16); stroke-width: 0.8; }
.iso .edge { fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.iso .face { stroke: rgba(11, 13, 16, 0.18); stroke-width: 0.6; stroke-linejoin: round; }
.iso .t { fill: #f4f3f0; }
.iso .l { fill: #c9c7c2; }
.iso .r { fill: #e2e0db; }
.iso .floor .t { fill: #2a2d33; }
.iso .floor .l { fill: #1b1d21; }
.iso .floor .r { fill: #222429; }
[data-theme="light"] .iso .floor .t { fill: #3a3d44; }
.iso .panel { fill: #1d2026; }
.iso .totem .t { fill: #c4006a; }
.iso .totem .l { fill: #6e003a; }
.iso .totem .r { fill: #96004f; }
.iso .stripe { fill: #b3dd00; }
.iso .screen { fill: #0e1014; }
.iso .screen-on { fill: url(#iso-screen); }
.iso .logo-img { opacity: 0.95; }
.iso .logo-dot { fill: #b3dd00; }
.iso .beam { fill: url(#iso-beam); }
.iso .lamp { fill: #2a2d33; stroke: rgba(var(--ink-rgb), 0.4); stroke-width: 0.8; }
.iso .lamp-on { fill: #fff3e8; filter: drop-shadow(0 0 6px rgba(255, 200, 150, 0.9)); }
.iso .shadow { fill: rgba(0, 0, 0, 0.35); }
.iso .dim { fill: none; stroke: rgba(var(--ink-rgb), 0.45); stroke-width: 1; }
.iso .dimtxt { fill: var(--ink-2); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; }
.iso .ghost { fill: none; stroke: rgba(var(--accent-rgb), 0.7); stroke-width: 1; stroke-dasharray: 4 4; }

.steps-wrap { position: relative; }
.steps__rail { position: absolute; left: 14px; top: 44px; bottom: 44px; width: 1px; background: var(--line-2); }
.steps__rail span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--brand), var(--brand-3)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px var(--brand-glow); }
.step { display: grid; grid-template-columns: 29px 52px 1fr; gap: 16px; align-items: baseline; padding: clamp(26px, 3vw, 40px) 0; min-height: 46vh; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--ink-4); background: var(--bg); justify-self: center; position: relative; top: -2px; transition: all 0.6s var(--ease); }
.step__num { font-size: 12px; color: var(--ink-3); transition: color 0.6s var(--ease); }
.step h3 { font-size: clamp(32px, 3.4vw, 56px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; color: var(--ink-3); transition: color 0.6s var(--ease); }
.step p { margin-top: 14px; color: var(--ink-3); font-size: 17px; max-width: 38ch; transition: color 0.6s var(--ease); }
.step.is-active .step__dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.14), 0 0 18px var(--brand-glow); }
.step.is-active .step__num { color: var(--accent); }
.step.is-active h3 { color: var(--ink); }
.step.is-active p { color: var(--ink-2); }

/* =========================================================
   ENFOQUE · statement + bento
   ========================================================= */
.focus .eyebrow { margin-bottom: 36px; }
.statement__text { font-size: clamp(46px, 7.6vw, 132px); line-height: 0.96; letter-spacing: -0.055em; font-weight: 500; max-width: 13ch; }
.statement__text .hl { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 1.06em; color: var(--accent-2); }
.statement__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(48px, 6vw, 80px); max-width: 1100px; margin-left: auto; }
.statement__cols p { color: var(--ink-2); font-size: 17px; }
.statement__cols p + p { color: var(--ink); font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -0.02em; line-height: 1.35; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(236px, auto); gap: 14px; perspective: 1400px; margin-top: clamp(80px, 10vw, 140px); }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; display: block;
  padding: 5px; border-radius: 1.9rem;
  background: rgba(var(--ink-rgb), 0.022);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
}
.tile::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(var(--accent-rgb), 0.8), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.bento:hover .tile::before { opacity: 1; }
.tile__core {
  height: 100%; border-radius: calc(1.9rem - 5px);
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(20px, 2vw, 28px);
  background: linear-gradient(180deg, var(--s1) 0%, var(--s2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative; overflow: hidden;
}
.tile__core::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(var(--accent-rgb), 0.08), transparent 45%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.tile:hover .tile__core::after { opacity: 1; }
.tile__head { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.tag { font-size: 10.5px; letter-spacing: 0.18em; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-transform: uppercase; }
.tile__arrow {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px;
  background: rgba(var(--ink-rgb), 0.05); color: var(--ink-2);
  transition: transform 0.7s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.tile:hover .tile__arrow { background: var(--brand); color: var(--on-brand); transform: rotate(45deg) scale(1.06); }
.tile__body { margin-top: auto; position: relative; z-index: 1; }
.tile__title { font-size: clamp(24px, 2.1vw, 34px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.06; margin-bottom: 10px; }
.tile__body p { color: var(--ink-2); font-size: 15px; max-width: 40ch; }

.tile--photo { grid-column: span 7; grid-row: span 3; cursor: pointer; }
.tile--a, .tile--b, .tile--c { grid-column: span 5; }
.tile--a .tile__core, .tile--b .tile__core, .tile--c .tile__core { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; column-gap: 16px; }
.tile--a .tile__head, .tile--b .tile__head, .tile--c .tile__head { grid-column: 1 / -1; }
.tile--a .tile__body, .tile--b .tile__body, .tile--c .tile__body { grid-column: 1; grid-row: 2; align-self: end; }
.vis-target, .vis-plan, .vis-blocks { grid-column: 2; grid-row: 2; align-self: center; }
.tile--photo .tile__core { color: #f2f3f5; }
.tile__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.tile--photo:hover .tile__photo { scale: 1.05; }
.tile--photo .tile__core::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 9, 12, 0.4), transparent 28%, transparent 40%, rgba(8, 9, 12, 0.94) 88%); pointer-events: none; }
.tile--photo .tile__head, .tile--photo .tile__body { z-index: 2; }
.tile--photo .tile__title { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }
.tile--photo .tag { color: #f2f3f5; border-color: rgba(242, 243, 245, 0.35); background: rgba(8, 9, 12, 0.35); }
.tile--photo .tile__title { font-size: clamp(34px, 3.6vw, 60px); letter-spacing: -0.05em; max-width: 12ch; }
.tile--photo .tile__title em { color: #e1ff76; }
.tile--photo .tile__body p { color: rgba(242, 243, 245, 0.75); font-size: 17px; }

.vis-target { width: 120px; height: 120px; }
.vis-target svg { width: 100%; height: 100%; overflow: visible; }
.vis-target circle, .vis-target path { fill: none; stroke: rgba(var(--accent-rgb), 0.5); stroke-width: 1; }
.vis-target .fill { fill: var(--brand); stroke: none; filter: drop-shadow(0 0 12px rgba(var(--glow-rgb), 0.7)); }

.vis-plan { height: 110px; width: 190px; }
.vis-plan svg { width: 100%; height: 100%; overflow: visible; }
.vis-plan .w { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vis-plan .d { fill: none; stroke: rgba(var(--accent-rgb), 0.7); stroke-width: 1; }
.vis-plan text { fill: var(--accent); font-family: var(--f-mono); font-size: 9px; text-anchor: middle; }
.vis-plan .pen { fill: var(--brand); filter: drop-shadow(0 0 6px rgba(var(--glow-rgb), 0.8)); }

.vis-blocks { position: relative; height: 120px; width: 170px; }
.vis-blocks i { position: absolute; left: 50%; bottom: 8px; height: 26px; border-radius: 6px; background: rgba(var(--ink-rgb), 0.08); border: 1px solid var(--line-2); }
.vis-blocks i:nth-child(1) { width: 150px; margin-left: -75px; }
.vis-blocks i:nth-child(2) { width: 110px; margin-left: -55px; bottom: 38px; }
.vis-blocks i:nth-child(3) { width: 70px; margin-left: -35px; bottom: 68px; background: var(--brand); border-color: var(--brand); box-shadow: 0 0 22px -4px var(--brand-glow); }
.vis-blocks b { position: absolute; left: 50%; bottom: 98px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ink); }

/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq__head .h2 { max-width: 10ch; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.2vw, 28px) 0;
  font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.25;
  transition: color 0.4s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__ic { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease); }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; border-radius: 2px; }
.faq__ic::after { transform: rotate(90deg); transition: transform 0.5s var(--ease); }
.faq__item[open] .faq__ic { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.faq__item[open] .faq__ic::after { transform: rotate(0deg); }
.faq__a { padding: 0 64px clamp(22px, 2.4vw, 30px) 0; color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 68ch; }
@media (max-width: 960px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__a { padding-right: 0; font-size: 16px; }
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.finale { position: relative; min-height: 90vh; min-height: 90dvh; display: grid; place-items: center; padding-block: 140px; overflow: hidden; text-align: center; background: var(--plum); color: #fff; --ink-2: rgba(255, 255, 255, 0.78); }
.finale .finale__title em { color: #e1ff76; }
.finale .btn--primary:hover { color: var(--plum); }
.finale .btn::before { background: #fff; }
.finale__glow { position: absolute; left: 50%; top: 50%; width: 1400px; height: 900px; margin: -450px 0 0 -700px; background: radial-gradient(ellipse, rgba(var(--glow2-rgb), 0.55), transparent 62%); pointer-events: none; }
.finale__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.finale__title { font-size: clamp(52px, 9.4vw, 176px); font-weight: 500; letter-spacing: -0.058em; line-height: 0.92; max-width: 11ch; }
.finale__title em { font-size: 1.05em; margin-left: 0.14em; }
.finale__sub { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); max-width: 44ch; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact__info { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.contact__info .h2 { max-width: 14ch; }
.clist { width: 100%; margin-top: 12px; border-top: 1px solid var(--line); }
.clist li { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.clist li.clist__static { padding: 18px 0; }
.clist li > a { flex: 1; display: flex; align-items: center; gap: 18px; padding: 18px 0; transition: padding 0.6s var(--ease); min-width: 0; }
.clist li > a:hover { padding-left: 10px; }
.clist__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: rgba(var(--ink-rgb), 0.04); border: 1px solid var(--line); color: var(--accent); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease); }
.clist li > a:hover .clist__ic { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.clist .mono { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.clist p { font-size: 16px; overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; border: 1px solid var(--line-2); background: rgba(var(--ink-rgb), 0.02); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease); }
.socials a:hover { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

.form-shell { --r-xl: 2.2rem; }
.form { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.form__head { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form__head span:first-child { display: flex; align-items: center; gap: 8px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: blink 1.6s steps(1) infinite; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__lbl { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); transition: color 0.4s var(--ease); }
.field:focus-within .field__lbl { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(var(--ink-rgb), 0.025);
  border: 1px solid var(--line-2);
  font-size: 15.5px; outline: none;
  transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3dd00' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--s1); color: var(--ink); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(var(--ink-rgb), 0.22); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(var(--accent-rgb), 0.6); background: rgba(var(--accent-rgb), 0.03); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.08); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field.is-flash { animation: flash 0.9s var(--ease); }
@keyframes flash { 0%, 100% { transform: none; } 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.form__status { font-size: 12px; color: var(--ink-3); max-width: 32ch; }
.form__status.ok { color: var(--accent); }
.form__status.err { color: var(--err); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; padding-top: clamp(96px, 10vw, 140px); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.footer__col .mono { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.footer__col a { width: fit-content; background: linear-gradient(var(--brand), var(--brand)) left bottom / 0% 1px no-repeat; transition: color 0.4s var(--ease), background-size 0.6s var(--ease); }
.footer__col a:hover { color: var(--ink); background-size: 100% 1px; }
.footer__end { align-items: flex-end; justify-content: space-between; gap: 20px; }
.seal { flex: none; width: 128px; height: 128px; display: block; }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal text { fill: var(--ink-2); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.16em; }
.seal__rot { transform-origin: 100px 100px; }
.seal__dot { fill: var(--brand); filter: drop-shadow(0 0 10px rgba(var(--glow-rgb), 0.6)); }
.to-top { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; border: 1px solid var(--line-2); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease); }
.to-top .i { transform: rotate(180deg); }
.to-top:hover { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.footer__word { display: flex; justify-content: center; margin: clamp(64px, 8vw, 110px) 0 clamp(36px, 4.5vw, 64px); }
.logo--footer { width: min(1080px, 84vw); }
.footer__about { max-width: 70ch; margin: 0 auto clamp(28px, 3vw, 40px); text-align: center; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 84px 32px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2); letter-spacing: 0.04em; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__end { flex-direction: row; align-items: center; }
}

/* Pantallas bajas (laptops Windows con escalado 125–150 %) */
@media (min-width: 1024px) and (max-height: 860px) {
  .projects { --ph: min(56vh, 520px); }
  .projects__intro { gap: 20px; }
  .projects__intro .h2 { font-size: clamp(34px, 4.2vw, 60px); }
  .projects__intro .lead { font-size: 16px; }
  .projects__progress { bottom: 14px; }
  .iso { max-height: 38vh; }
  .build__phase-name { font-size: 18px; }
  .step { min-height: 40vh; }
}

@media (max-width: 1023px) {
  .projects { --ph: 440px; }
  .projects__pin { height: auto; overflow: visible; padding-block: clamp(24px, 6vw, 48px) clamp(96px, 14vw, 160px); }
  .projects__track { display: block; width: 100%; padding-inline: 0; }
  .projects__intro { width: 100%; padding: 0 var(--gutter); margin-bottom: 40px; }
  .projects__hint { display: inline-flex; }
  .projects__hint .hint-d { display: none; }
  .projects__hint .hint-m { display: inline; }
  .projects__rail { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; height: calc(var(--ph) + 40px); padding-block: 20px; }
  .projects__rail::-webkit-scrollbar { display: none; }
  .pcol { scroll-snap-align: start; }
  .projects__outro { width: auto; height: 520px; margin: 40px var(--gutter) 0; }
  .projects__progress { display: none; }
}

@media (max-width: 960px) {
  .sec-head--split { grid-template-columns: 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__lang { display: none; }
  .menu .menu__lang { display: inline-flex; }
  .nav__pill { width: 100%; max-width: 440px; }
  .nav__logo { margin-right: auto; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .scard__core { grid-template-columns: 1fr; }
  .scard__media { order: -1; min-height: 0; width: 100%; height: 0; padding-top: 75%; }
  .scard__txt { padding: 10px 12px 18px; }
  .scard__title { margin-top: 6px; }
  .build { grid-template-columns: 1fr; }
  .step { min-height: 30vh; }
  /* Mobile: el recuadro queda fijo y las etapas pasan por detrás */
  .build__visual { position: relative; z-index: 2; }
  .build__visual.is-sticky { position: sticky; top: var(--stick, 102px); }
  .build__visual::before {
    content: ""; position: absolute; z-index: -1;
    left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: -140px; bottom: 30%;
    background: var(--bg); opacity: 0; transition: opacity 0.25s linear; pointer-events: none;
  }
  .build__visual.is-pinned::before { opacity: 1; }
  .build__shell { background: var(--bg-1); }
  .contact__grid { grid-template-columns: 1fr; }
  .statement__cols { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--photo, .tile--a, .tile--b, .tile--c { grid-column: 1 / -1; grid-row: auto; }
  .tile--photo { min-height: 440px; }
}

@media (max-width: 767px) {
  :root { --bz: 5px; }
  .hero { padding-top: 116px; }
  .hero__plan { opacity: 0.5; }
  .hero__title { font-size: clamp(54px, 17vw, 84px); }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: space-between; }
  .stage__core { aspect-ratio: 4 / 5; }
  .stage__top > span:last-child { display: none; }
  .stage__bottom { flex-direction: column; align-items: flex-start; }
  .badge { width: 92px; top: -46px; right: 8px; }
  .projects { --ph: 380px; }
  .bento { grid-auto-rows: auto; }
  .tile__core { min-height: 220px; }
  .vis-plan { width: 130px; }
  .vis-blocks { width: 120px; transform: scale(0.8); transform-origin: right center; }
  .vis-target { width: 92px; height: 92px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: space-between; }
  .footer__bottom { flex-direction: column; padding: 26px 0 96px; }
  .cards-stack { gap: 16px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .step { grid-template-columns: 24px 30px 1fr; gap: 10px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__top .footer__col:nth-child(3), .footer__end { grid-column: 1 / -1; }
  .marquee__inner span:not(.mdot) { font-size: 44px; }
  .marquee--sm .marquee__inner span:not(.mdot) { font-size: 28px; }
  .logo--footer { width: 90vw; }
  .lightbox__img { max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); }
}

/* Celulares muy angostos */
@media (max-width: 359px) {
  .nav__pill { padding-left: 16px; }
  .nav__logo { margin-right: auto; }
  .nav__logo .logo { width: 124px; }
  .build__scale { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .loader { display: none; }
}
