/* Lumen Lab · Website 4.0 — dirección editorial: negro profundo, neón #DFFF00, grotesca expandida + serif itálica.
   Código propio. Tipografías: Archivo (OFL) e Instrument Serif (OFL). Mobile first. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-wdth.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }

:root {
  --void: #030303; --ink: #0b0c09; --card: #111209; --card-2: #16170f; --paper: #f2f3ea; --soft: #c6c9bb; --muted: #9a9e8f;
  --neon: #dfff00; --neon-2: #c8e600; --hair: rgba(242,243,234,.12); --hair-2: rgba(242,243,234,.24);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 64px); --max: 1360px; --ease: cubic-bezier(.16, 1, .3, 1); --bar-h: 76px; color-scheme: dark;
  --noise: 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--void); color: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300; background-image: var(--noise); opacity: .05; mix-blend-mode: overlay; }
a { color: inherit; } button { font: inherit; color: inherit; } img, svg { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--neon); color: var(--void); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .gallery :focus-visible, .g-hero :focus-visible { outline-color: var(--void); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 400; background: var(--neon); color: var(--void); padding: 12px 16px; font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
main, .foot { overflow-x: clip; }
.num { font-size: 12px; font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--neon); }
.neon { color: var(--neon); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; line-height: 1.15; text-decoration: none; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 17px; }
.btn-neon { background: var(--neon); color: var(--void); } .btn-neon:hover { background: var(--paper); }
.btn-line { border-color: var(--hair-2); color: var(--paper); } .btn-line:hover { border-color: var(--neon); color: var(--neon); }
.btn-dark { background: var(--void); color: var(--neon); } .btn-dark:hover { background: #1c1d14; }
.btn-ghost-dark { border-color: rgba(3,3,3,.55); color: var(--void); } .btn-ghost-dark:hover { background: var(--void); color: var(--neon); }
.btn .sico { width: 20px; height: 20px; }
.cta-row, .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.arw { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: currentColor; flex: none; transition: transform .45s var(--ease); }
.arw svg { width: 16px; height: 16px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-dark .arw { background: var(--neon); } .btn-dark .arw svg { stroke: var(--void); }
a:hover > .arw, a:focus-visible > .arw { transform: rotate(45deg); }

/* ---------- barra ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 200; height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter);
  transition: background .4s var(--ease), transform .45s var(--ease); }
.bar.scrolled { background: rgba(3,3,3,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bar.hide { transform: translateY(-100%); }
.bar-l, .bar-r { display: flex; align-items: center; gap: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--void); color: var(--paper); text-decoration: none; }
/* Identidad oficial BRAND-001 (WEB-BRAND-001): logotipo e isotipo como imágenes maestras, sin reconstrucción CSS */
.logo img, .logo-mark { display: block; flex: none; } .logo .logo-sym { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: var(--void); cursor: pointer; font-weight: 650; font-size: 15px; }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 1.5px; background: var(--neon); transition: transform .35s var(--ease), background .2s; }
.burger { position: relative; } .burger::before, .burger::after { content: ""; position: absolute; left: 0; } .burger::before { top: -5px; } .burger::after { top: 5px; }
.menu-btn[aria-expanded="true"] .burger { background: transparent; }
.menu-btn[aria-expanded="true"] .burger::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger::after { transform: translateY(-5px) rotate(-45deg); }
.no-js .menu-btn { display: none; }
.pill-cta { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 18px; border-radius: 999px; background: var(--void); color: var(--paper); text-decoration: none; font-weight: 650; font-size: 15px; border: 1px solid var(--hair-2); }
.pill-cta .arw { background: var(--neon); } .pill-cta .arw svg { stroke: var(--void); }
.lang { position: relative; }
.lang > summary { list-style: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--void); color: var(--paper); font-size: 12px; font-weight: 800; letter-spacing: .1em; cursor: pointer; }
.lang > summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 54px; margin: 0; padding: 6px; list-style: none; min-width: 210px; background: var(--void); border: 1px solid var(--hair); border-radius: 16px; }
.lang a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; } .lang a:hover { background: rgba(223,255,0,.12); } .lang a[aria-current] { color: var(--neon); }
@media (max-width: 520px) { .logo .logo-full { display: none; } .logo .logo-sym { display: block; } .logo { padding: 0 12px; } .menu-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .menu-btn { padding: 0 15px; } .pill-cta { padding-left: 14px; font-size: 14px; } }
.preview-badge { position: fixed; z-index: 250; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(3,3,3,.88); border: 1px solid var(--neon);
  color: var(--neon); font-size: 12px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; pointer-events: none; }

/* overlay de menú */
.overlay { position: fixed; inset: 0; z-index: 150; background: var(--void); padding: calc(var(--bar-h) + 24px) var(--gutter) 40px; overflow-y: auto; }
.overlay:not([hidden]) { animation: ov .5s var(--ease); }
@keyframes ov { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.ov-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
@media (min-width: 960px) { .ov-in { grid-template-columns: 1.6fr 1fr; gap: 80px; } }
.ov-k { margin: 0 0 8px; color: var(--muted); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.ov-groups, .ov-links, .ov-sub { list-style: none; margin: 0; padding: 0; }
.ov-group { border-bottom: 1px solid var(--hair); padding: 14px 0; }
.ov-g { display: flex; align-items: baseline; gap: 14px; font-size: clamp(26px, 4vw, 44px); font-weight: 750; font-stretch: 110%; letter-spacing: -.02em; text-decoration: none; line-height: 1.1; }
.ov-g:hover { color: var(--neon); }
.ov-sub { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0 32px; color: var(--muted); font-size: 14px; }
.ov-links a { display: block; padding: 8px 0; font-family: var(--serif); font-style: italic; font-size: 34px; text-decoration: none; line-height: 1.1; } .ov-links a:hover { color: var(--neon); }
.ov-contact { display: grid; gap: 8px; margin: 28px 0; } .ov-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); text-decoration: none; } .ov-contact .sico { width: 18px; height: 18px; color: var(--neon); }
.menu-open { overflow: hidden; }

/* redes */
.socials, .rail-list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.socials a, .socials .soc-off, .rail-list a, .rail-list .soc-off { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair-2); color: var(--paper); }
.socials a:hover, .rail-list a:hover { background: var(--neon); color: var(--void); border-color: var(--neon); }
.soc-off { opacity: .45; cursor: default; }
.sico { width: 17px; height: 17px; }
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 120; display: none; }
.rail-list { flex-direction: column; } .rail-list a, .rail-list .soc-off { width: 38px; height: 38px; background: rgba(3,3,3,.6); backdrop-filter: blur(6px); }
@media (min-width: 1280px) { .rail { display: block; } }

/* ---------- tipografía ---------- */
.kicker { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--neon); }
.kicker.dark, .h2.dark { color: var(--void); }
.h2 { margin: 0 0 20px; font-size: clamp(34px, 5.2vw, 72px); line-height: 1.02; font-weight: 750; font-stretch: 112%; letter-spacing: -.03em; }
.h2 em, .foot-title em, .g-claim em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.lede { color: var(--soft); font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; margin: 0 0 28px; }
.fine { color: var(--muted); font-size: 14px; } .fine a { color: var(--paper); }
.sec-head { max-width: var(--max); margin: 0 auto clamp(36px, 5vw, 72px); padding: 0 var(--gutter); }
.sec-head.center { text-align: center; } .sec-head.center .h2 { margin-inline: auto; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vw, 48px);
  padding: calc(var(--bar-h) + 24px) var(--gutter) clamp(120px, 13vw, 190px); color: var(--void);
  background: linear-gradient(180deg, var(--neon) 0%, var(--neon) 52%, #b9d400 70%, #3b4500 88%, var(--void) 100%); overflow: hidden; isolation: isolate; }
.hero-noise { position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .28; mix-blend-mode: multiply; }
.hero-type { width: 100%; max-width: var(--max); margin: 0 auto; }
.hero-type p { margin: 0; }
.ht-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 clamp(8px, 1.4vw, 22px); line-height: .82; }
.ht-row .g { font-weight: 850; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.035em; font-size: clamp(40px, 7.4vw, 118px); line-height: .9; padding-bottom: .12em; }
.ht-row .s { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(80px, 14.5vw, 228px); letter-spacing: -.035em; line-height: .78; }
.ht-row .mini { display: flex; gap: 2px; margin-left: 4px; flex-direction: column; justify-content: flex-end; font-size: clamp(10px, .9vw, 14px); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; padding-bottom: .9em; }
.ht-row.r2 { justify-content: flex-end; }
.ht-bracket { display: flex; justify-content: center; margin: clamp(8px, 1.6vw, 20px) 0 !important; }
.ht-bracket span { position: relative; max-width: 30ch; padding: 4px 22px; text-align: center; font-size: clamp(15px, 1.6vw, 22px); font-weight: 550; line-height: 1.35; }
.ht-bracket span::before, .ht-bracket span::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12px; border: 2px solid currentColor; }
.ht-bracket span::before { left: 0; border-right: 0; border-radius: 12px 0 0 12px; } .ht-bracket span::after { right: 0; border-left: 0; border-radius: 0 12px 12px 0; }
.hero-ctas { max-width: var(--max); width: 100%; margin: 0 auto; }
@media (min-width: 960px) { .ht-row.r1 { padding-left: 2vw; } .ht-bracket { justify-content: flex-end; padding-right: 8vw; } }

/* ---------- intro ---------- */
.intro { position: relative; z-index: 2; max-width: var(--max); margin: clamp(-150px, -12vw, -90px) auto 0; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .intro { grid-template-columns: minmax(260px, 4fr) 8fr; gap: clamp(32px, 5vw, 80px); } }
.intro-photo .ph { display: block; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.55); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 24px 56px; margin: 0 0 36px; padding: 0; }
.fact-n { display: block; font-size: clamp(56px, 8vw, 108px); font-weight: 800; font-stretch: 118%; line-height: .9; letter-spacing: -.04em; color: var(--neon); }
.fact-t { display: block; margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--soft); }
.badge-rot { position: absolute; right: var(--gutter); top: -40px; width: clamp(120px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%; background: var(--neon); color: var(--void); display: grid; place-items: center; text-decoration: none; }
.badge-rot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-rot text { font-size: 15px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; fill: var(--void); }
.badge-rot .arw { background: var(--void); width: 44px; height: 44px; } .badge-rot .arw svg { position: static; stroke: var(--neon); width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) { .badge-rot svg { animation: spin 18s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 899px) { .badge-rot { display: none; } }

/* ---------- historia (scroll) ---------- */
.story { position: relative; }
.story-pin { padding: clamp(60px, 8vw, 110px) 0; }
.story-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.story-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 28px; }
.st-list { list-style: none; margin: 0; padding: 0; display: none; }
.st-stage { display: grid; gap: 28px; }
.st-photos { display: none; }
.st-texts { display: grid; gap: 28px; }
.st-t { border-top: 1px solid var(--hair); padding-top: 20px; }
.st-kick { margin: 0 0 6px; color: var(--neon); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.st-t h3 { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.st-t p { margin: 0; color: var(--soft); max-width: 46ch; font-size: 18px; }
.st-bar { display: none; }
/* modo animado */
.scrolly .story { height: 620vh; }
.scrolly .story-pin { position: sticky; top: 0; height: 100svh; padding: calc(var(--bar-h) + 8px) 0 28px; display: flex; flex-direction: column; overflow: hidden; }
.scrolly .story-head .h2 { font-size: clamp(28px, 3.6vw, 52px); margin-bottom: 12px; }
.scrolly .story-grid { flex: 1; min-height: 0; grid-template-rows: auto 1fr; }
.scrolly .st-list { display: flex; gap: 6px; overflow: hidden; }
.scrolly .st-i { flex: 1; display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 2px solid var(--hair); color: var(--muted); transition: color .4s, border-color .4s; }
.scrolly .st-i.on { color: var(--paper); border-color: var(--neon); }
.st-n { font-size: 11px; font-weight: 700; letter-spacing: .1em; } .st-name { font-weight: 700; font-size: 13px; }
.scrolly .st-stage { position: relative; min-height: 0; grid-template-rows: 1fr auto; gap: 18px; }
.scrolly .st-photos { display: block; position: relative; min-height: 0; border-radius: 22px; overflow: hidden; background: var(--card); }
.st-p { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); }
.st-p .ph { display: block; width: 100%; height: 100%; } .st-p img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.st-p.on, .st-p.past { clip-path: inset(0 0 0 0); } .st-p.on img { transform: scale(1); }
.scrolly .st-texts { position: relative; display: block; min-height: 150px; }
.scrolly .st-t { position: absolute; inset: 0; border: 0; padding: 0; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.scrolly .st-t.on { opacity: 1; transform: none; }
.scrolly .st-t h3 { font-size: clamp(40px, 6vw, 84px); }
.scrolly .st-bar { display: block; height: 2px; background: var(--hair); margin: 0 var(--gutter); } .st-bar span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--neon); }
@media (min-width: 960px) {
  .scrolly .story-grid { grid-template-columns: 1fr 1.4fr; grid-template-rows: 1fr; gap: 56px; }
  .scrolly .st-list { flex-direction: column; justify-content: center; gap: 0; }
  .scrolly .st-i { flex: none; flex-direction: row; align-items: baseline; gap: 18px; padding: 10px 0; border-top: 0; border-bottom: 1px solid var(--hair); }
  .scrolly .st-i.on { border-color: var(--hair); }
  .scrolly .st-name { font-size: clamp(26px, 2.8vw, 42px); font-weight: 750; font-stretch: 112%; letter-spacing: -.02em; }
  .scrolly .st-i.on .st-name { color: var(--neon); }
  .scrolly .st-stage { grid-template-rows: 1fr; }
  .scrolly .st-texts { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; min-height: 0; }
  .scrolly .st-t { position: absolute; inset: auto 0 0 0; padding: 22px 24px; border-radius: 18px; background: rgba(3,3,3,.72); backdrop-filter: blur(10px); }
}

/* ---------- galería horizontal ---------- */
.gallery { position: relative; background: var(--neon); color: var(--void); }
.gal-pin { position: relative; padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.gal-word { position: absolute; left: 0; right: 0; bottom: -0.12em; margin: 0; text-align: center; font-weight: 900; font-stretch: 125%; font-size: clamp(120px, 26vw, 420px); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(3,3,3,.22); pointer-events: none; }
.gal-head { max-width: var(--max); margin: 0 auto 36px; padding: 0 var(--gutter); }
.gal-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; }
.gal-track::-webkit-scrollbar { display: none; }
.gc { flex: none; width: min(82vw, 520px); scroll-snap-align: start; }
.gc a { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; color: var(--paper); text-decoration: none; background: var(--void); }
.gc .ph { position: absolute; inset: 0; } .gc img { transition: transform 1.2s var(--ease); } .gc a:hover img { transform: scale(1.06); }
.gc-meta { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 80px 24px 24px; background: linear-gradient(transparent, rgba(3,3,3,.92)); }
.gc-meta .num { grid-column: 1 / -1; } .gc-name { font-size: clamp(24px, 2.4vw, 34px); font-weight: 750; font-stretch: 110%; line-height: 1.05; }
.gc-short { grid-column: 1; color: var(--soft); font-size: 15px; } .gc-meta .arw { grid-column: 2; grid-row: 2 / 4; align-self: end; background: var(--neon); } .gc-meta .arw svg { stroke: var(--void); }
.hscroll .gallery { height: var(--gh, 300vh); }
.hscroll .gal-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--bar-h) 0 24px; }
.hscroll .gal-track { overflow: visible; scroll-snap-type: none; transform: translate3d(var(--gx, 0), 0, 0); will-change: transform; }
.hscroll .gc { width: min(36vw, 560px); }
.hscroll .gc a { aspect-ratio: auto; height: min(62svh, 620px); }

/* ---------- servicios ---------- */
.services { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.sv-list { list-style: none; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); border-top: 1px solid var(--hair); }
.sv a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 24px; padding: 28px 0; border-bottom: 1px solid var(--hair); text-decoration: none; transition: color .3s var(--ease); }
.sv-n { font-size: 13px; color: var(--muted); font-weight: 700; } .sv-name { font-size: clamp(28px, 4.4vw, 64px); font-weight: 750; font-stretch: 112%; letter-spacing: -.03em; line-height: 1; transition: color .3s; }
.sv-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; } .sv-tags span { padding: 4px 10px; border: 1px solid var(--hair-2); border-radius: 999px; font-size: 13px; color: var(--soft); }
.sv .arw { grid-column: 3; grid-row: 1 / 3; background: transparent; border: 1px solid var(--hair-2); width: 52px; height: 52px; } .sv .arw svg { stroke: var(--paper); }
.sv a:is(:hover, :focus-visible) .sv-name { color: var(--neon); }
.sv a:is(:hover, :focus-visible) .arw { background: var(--neon); border-color: var(--neon); } .sv a:is(:hover, :focus-visible) .arw svg { stroke: var(--void); }
@media (min-width: 900px) { .sv a { grid-template-columns: 70px 1.2fr 1fr auto; } .sv-tags { grid-column: 3; } .sv .arw { grid-column: 4; grid-row: 1; } }

@media (prefers-reduced-motion: reduce) { .sv a:is(:hover, :focus-visible) > .arw { transform: none; } }

/* ---------- bandas ---------- */
.bands { position: relative; height: clamp(220px, 24vw, 340px); overflow: hidden; display: grid; place-items: center; }
.band { position: absolute; left: -5%; right: -5%; display: flex; overflow: hidden; padding: 16px 0; }
.band ul { display: flex; flex: none; margin: 0; padding: 0; list-style: none; animation: mq 46s linear infinite; }
.band li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(22px, 3vw, 40px); font-weight: 750; font-stretch: 112%; }
.band li::after { content: "✳"; margin: 0 clamp(18px, 2.4vw, 36px); font-size: .7em; }
.b1 { background: var(--neon); color: var(--void); transform: rotate(-4deg); z-index: 2; }
.b2 { background: var(--card-2); color: var(--neon); transform: rotate(3deg); } .b2 ul { animation-direction: reverse; } .b2 li { font-family: var(--serif); font-style: italic; font-weight: 400; }
@keyframes mq { to { transform: translateX(-100%); } }

/* ---------- proceso ---------- */
.process { padding: clamp(90px, 12vw, 160px) 0; }
.pr-wrap { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.pr-path { position: absolute; left: calc(var(--gutter) + 18px); top: 0; height: 100%; width: 40px; overflow: visible; }
.pr-path path { fill: none; stroke: var(--neon); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.pr-list { list-style: none; margin: 0; padding: 0 0 0 64px; display: grid; gap: 22px; }
.pr { position: relative; padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--hair); }
.pr-n { position: absolute; right: 22px; top: 8px; font-size: 64px; font-weight: 900; font-stretch: 125%; color: transparent; -webkit-text-stroke: 1px rgba(242,243,234,.18); line-height: 1; }
.pr h3 { margin: 0 0 6px; font-size: 24px; font-weight: 700; } .pr p { margin: 0; color: var(--soft); max-width: 42ch; }
@media (min-width: 900px) {
  .pr-path { left: 50%; width: 120px; transform: translateX(-50%); }
  .pr-list { padding: 0; gap: 40px; }
  .pr { width: calc(50% - 90px); } .pr:nth-child(even) { margin-left: auto; }
}

/* ---------- por qué (tarjetas apiladas) ---------- */
.why { padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 12vw, 160px); }
.wc-list { list-style: none; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 24px; }
.wc { position: sticky; top: calc(var(--bar-h) + 16px + var(--k) * 22px); }
.wc-in { display: grid; overflow: hidden; border-radius: 28px; background: var(--card); border: 1px solid var(--hair); min-height: 360px; box-shadow: 0 -20px 60px rgba(0,0,0,.45); }
.wc:nth-child(even) .wc-in { background: var(--card-2); }
.wc-txt { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.wc h3 { margin: 12px 0 12px; font-size: clamp(32px, 4.4vw, 60px); line-height: 1; font-weight: 750; font-stretch: 112%; letter-spacing: -.03em; }
.wc p { margin: 0; color: var(--soft); font-size: 18px; max-width: 40ch; }
.wc .ph { display: block; min-height: 240px; }
@media (min-width: 900px) { .wc-in { grid-template-columns: 1fr 1fr; min-height: 460px; } }

/* ---------- FAQ ---------- */
.faq { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 8vw, 120px) var(--gutter); display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .faq { grid-template-columns: 5fr 7fr; gap: 72px; } }
.faq-photo .ph { display: block; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; }
.qa { border-radius: 18px; background: var(--card); border: 1px solid var(--hair); margin-bottom: 12px; overflow: hidden; }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 650; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa[open] summary { background: var(--neon); color: var(--void); }
.qa-i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--neon); position: relative; transition: transform .4s var(--ease); }
.qa-i::before, .qa-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--void); transform: translate(-50%, -50%); }
.qa-i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-i { background: var(--void); transform: rotate(45deg); } .qa[open] .qa-i::before, .qa[open] .qa-i::after { background: var(--neon); }
.qa p { margin: 0; padding: 18px 22px 22px; color: var(--soft); }

/* ---------- pie ---------- */
.foot { position: relative; overflow: hidden; background: var(--ink); border-top: 1px solid var(--hair); }
.foot-cta { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 60px; }
.foot-title { margin: 0 0 24px; font-size: clamp(42px, 7.4vw, 112px); line-height: .98; font-weight: 800; font-stretch: 115%; letter-spacing: -.04em; max-width: 14ch; }
.foot-title em { color: var(--neon); }
.foot-grid { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter); display: grid; gap: 36px; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.foot-grid ul:not(.socials) { list-style: none; margin: 0; padding: 0; } .foot-grid ul:not(.socials) a { display: inline-block; padding: 6px 0; color: var(--soft); text-decoration: none; overflow-wrap: anywhere; }
.foot-grid ul:not(.socials) a:hover { color: var(--neon); }
.foot-brand p { color: var(--soft); margin: 16px 0 20px; } .foot-brand .logo { padding-left: 0; background: none; }
.foot-h { margin: 0 0 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.foot-word { margin: 0; text-align: center; font-weight: 900; font-stretch: 125%; font-size: clamp(56px, 13vw, 220px); line-height: .82; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(223,255,0,.35); white-space: nowrap; }
.foot-rights { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 64px; }

/* ---------- páginas de solución ---------- */
.g-hero { background: linear-gradient(180deg, var(--neon) 0%, var(--neon) 70%, var(--neon-2) 100%); color: var(--void); padding: calc(var(--bar-h) + 40px) var(--gutter) clamp(60px, 8vw, 110px); }
.g-hero > * { max-width: var(--max); margin-inline: auto; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 auto 36px; padding: 0; font-size: 14px; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; } .crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.g-title { margin: 0 0 16px; font-size: clamp(48px, 10vw, 156px); line-height: .9; font-weight: 850; font-stretch: 118%; letter-spacing: -.045em; }
.g-claim { margin: 0 0 32px; font-size: clamp(30px, 4.6vw, 64px); line-height: 1; } .g-claim em { font-family: var(--serif); }
.g-photo { height: clamp(320px, 62vh, 720px); overflow: hidden; } .g-photo .ph { display: block; height: 120%; } .g-photo img { will-change: transform; transform: translate3d(0, var(--py, 0), 0); }
.g-sec { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 8vw, 110px) var(--gutter) 0; }
.ben, .deliv, .scope, .others-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .ben { grid-template-columns: repeat(3, 1fr); } .scope { grid-template-columns: repeat(2, 1fr); } .deliv { grid-template-columns: repeat(2, 1fr); } .others-list { grid-template-columns: repeat(4, 1fr); } }
.ben li { display: flex; gap: 14px; align-items: flex-start; padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--hair); font-size: 20px; font-weight: 600; line-height: 1.3; }
.tick { flex: none; width: 12px; height: 12px; margin-top: 6px; background: var(--neon); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.sc { padding: 28px 0; border-top: 1px solid var(--hair); } .sc h3 { margin: 0 0 6px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 750; font-stretch: 110%; } .sc p { margin: 0; color: var(--soft); }
.deliv li { display: flex; gap: 18px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--hair); font-size: 20px; font-weight: 600; }
.others { padding-bottom: clamp(70px, 9vw, 120px); }
.other { display: flex; align-items: center; gap: 12px; padding: 20px; border-radius: 18px; border: 1px solid var(--hair); text-decoration: none; font-weight: 650; height: 100%; }
.other .arw { margin-left: auto; background: var(--neon); width: 30px; height: 30px; } .other .arw svg { stroke: var(--void); } .other:hover { border-color: var(--neon); }

/* ---------- avisos y raíz ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: calc(var(--bar-h) + 48px) var(--gutter) 90px; }
.doc h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.04; font-stretch: 112%; letter-spacing: -.02em; margin: 8px 0 32px; } .doc h2 { font-size: 21px; margin: 36px 0 10px; } .doc p { color: var(--soft); }
.root-choose { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; }
.root-langs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; }

/* ---------- movimiento (solo con JS y sin preferencia de reducir) ---------- */
.anim .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.anim .reveal.in { opacity: 1; transform: none; }
.anim .hero-type .ht-row > span, .anim .hero-type .ht-bracket span { display: inline-block; opacity: 0; transform: translateY(60%); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.anim .hero-type.in .ht-row > span, .anim .hero-type.in .ht-bracket span { opacity: 1; transform: none; }
.anim .hero-type .r1 > span:nth-child(2) { transition-delay: .08s; } .anim .hero-type .r1 > span:nth-child(3) { transition-delay: .16s; }
.anim .hero-type .ht-bracket span { transition-delay: .3s; } .anim .hero-type .r2 > span:nth-child(1) { transition-delay: .4s; } .anim .hero-type .r2 > span:nth-child(2) { transition-delay: .5s; }
.anim .intro-photo .ph { transform: rotate(var(--rot, -6deg)); transition: transform .2s linear; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .band ul { animation: none; }
}
.scrolly .story-grid, .scrolly .story-head { width: 100%; }
.anim .hero-type .ht-row > span.mini { display: flex; }
/* Carga progresiva: el marco de cada foto tiene fondo propio, nunca queda un hueco vacío mientras llega la imagen */
.ph { background: radial-gradient(120% 90% at 70% 30%, #2a3000, var(--card) 60%); }
/* Hero · animación tipográfica refinada (misma composición): las palabras serif se «enfocan» y ajustan su interletrado,
   las llaves del lema se dibujan y la grotesca entra con un leve desplazamiento. Solo con JS y sin movimiento reducido. */
.anim .hero-type .ht-row > .s { filter: blur(14px); letter-spacing: .04em; transition: opacity 1.2s var(--ease), transform 1.3s var(--ease), filter 1.4s var(--ease), letter-spacing 1.6s var(--ease); }
.anim .hero-type.in .ht-row > .s { filter: blur(0); letter-spacing: -.035em; }
.anim .hero-type .ht-bracket span::before, .anim .hero-type .ht-bracket span::after { transform: scaleY(0); transition: transform .9s var(--ease) .75s; }
.anim .hero-type.in .ht-bracket span::before, .anim .hero-type.in .ht-bracket span::after { transform: scaleY(1); }
.anim .hero-type .ht-row > .g { transform: translateY(60%) skewY(4deg); }
.anim .hero-type.in .ht-row > .g { transform: none; }

/* ---------- showreel ---------- */
.reel { padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 120px); }
.reel .h2 em { color: var(--neon); }
.reel-frame { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.reel-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 26px; background: var(--card) center / cover; object-fit: cover; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px var(--hair); }
.reel-btn { position: absolute; left: calc(var(--gutter) + 20px); bottom: 20px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border: 0; border-radius: 999px;
  background: rgba(3,3,3,.72); backdrop-filter: blur(10px); color: var(--paper); font-weight: 650; cursor: pointer; }
.reel-ico { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--neon); }
.reel-ico::before { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid var(--void); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.reel-btn[aria-pressed="true"] .reel-ico::before { left: 11px; top: 10px; width: 4px; height: 14px; border: 0; background: var(--void); box-shadow: 8px 0 0 var(--void); }
.reel-btn:hover .reel-ico { background: var(--paper); }

/* ---------- especialidad (p. ej. Immersive Web & WebGL) ---------- */
.sp-card { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: radial-gradient(80% 120% at 100% 0%, rgba(223,255,0,.14), transparent 60%), var(--card); border: 1px solid rgba(223,255,0,.35); }
.sp-card .h2 em { color: var(--neon); }
.sp-value { color: var(--paper); font-size: 19px; max-width: 62ch; margin: 0 0 28px; }
.sp-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 0 32px; }
@media (min-width: 900px) { .sp-list { grid-template-columns: 1fr 1fr; } }
.sp-i { padding: 18px 0; border-top: 1px solid var(--hair); }
.sp-i h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; } .sp-i p { margin: 0; color: var(--soft); }

/* WEB-PERF-001: reserva temporal de avances finales (em) del hero aprobado.
 Archivo 850/800 + Instrument Serif 400, con su tracking final. Evita que
 métricas de reserva cambien los saltos flex durante la carga y la entrada.
 Tras fuentes + animación vuelve el tamaño intrínseco; sin bootstrap no se reserva. */
html.hero-metrics-pending .hero-type { --pre-advance: 4.496em; --mini-advance: 7.9em; --post-advance: 9.131em; --serif-advance: 2.605em; }
html[lang^="en"].hero-metrics-pending .hero-type { --pre-advance: 4.631em; --mini-advance: 6.418em; --post-advance: 5.13em; --serif-advance: 1.926em; }
html.hero-metrics-pending .hero-type .r1 > .g { width: var(--pre-advance); }
html.hero-metrics-pending .hero-type .r1 > .mini { width: var(--mini-advance); }
html.hero-metrics-pending .hero-type .r1 > .s { width: 3.525em; }
html.hero-metrics-pending .hero-type .r2 > .g { width: var(--post-advance); }
html.hero-metrics-pending .hero-type .r2 > .s { width: var(--serif-advance); }
