/* =========================================================================
   NENEBARBER7 — Sistema visual
   Negro · Blanco · Morado/lila (solo como acento de identidad)
   ========================================================================= */

:root {
  color-scheme: dark;
  --ink: #0b0b0c;
  --ink-2: #151517;
  --ink-3: #1f1f22;
  --paper: #f3f1ed;
  --paper-2: #e8e5df;
  --violet: #6e3cf0;       /* acento principal (sobre claro) */
  --lilac: #b9a5ff;        /* acento sobre oscuro */
  --violet-deep: #3a1d8f;

  --bg: var(--ink);
  --fg: var(--paper);
  --muted: rgba(243, 241, 237, 0.58);
  --line: rgba(243, 241, 237, 0.14);
  --accent: var(--lilac);

  --f-display: "Big Shoulders Display", "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1560px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-theme: 0.8s;
}

/* Temas por sección: el fondo de la página cambia suavemente al hacer scroll */
body[data-theme="light"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: rgba(11, 11, 12, 0.6);
  --line: rgba(11, 11, 12, 0.14);
  --accent: var(--violet);
}
body[data-theme="violet"] {
  --bg: var(--violet);
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.28);
  --accent: #ffffff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color var(--t-theme) var(--ease-io), color var(--t-theme) var(--ease-io);
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  padding: 10px 16px; background: var(--paper); color: var(--ink);
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------- Tipografía */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.01em;
}
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono, .eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); transition: background-color var(--t-theme);
}
.accent { color: var(--accent); transition: color var(--t-theme); }

.h-xl { font-size: clamp(56px, 11vw, 196px); }
.h-lg { font-size: clamp(48px, 7.6vw, 132px); }
.h-md { font-size: clamp(40px, 5.2vw, 88px); }
.h-sm { font-size: clamp(30px, 3.2vw, 52px); }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 38ch; }
.body-copy { color: var(--muted); max-width: 52ch; font-size: 16.5px; }
.body-copy strong { color: var(--fg); font-weight: 500; }

/* ---------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 10vw, 150px) 0; }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(36px, 5vw, 80px); }
.section-num {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted);
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; transition: background-color var(--t-theme); }

/* ---------------------------------------------------------------- Botones */
.btn {
  --b-bg: var(--fg);
  --b-fg: var(--bg);
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 28px;
  border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), background-color var(--t-theme), transform .5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--violet);
  transform: translateY(101%); border-radius: 999px;
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: #fff; }
.btn .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px transparent; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 12px; }
body[data-theme="violet"] .btn { --b-bg: var(--ink); --b-fg: #fff; }
body[data-theme="violet"] .btn::before { background: #fff; }
body[data-theme="violet"] .btn:hover { color: var(--ink); }

.link-u {
  position: relative; display: inline-block;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-u:hover { background-size: 100% 1px; }

/* ---------------------------------------------------------------- Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center;
  color: #fff;
  transition: transform .6s var(--ease), background-color .5s, color .5s;
}
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity .5s;
}
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo svg { width: 74px; height: 36px; color: #fff; }
.nav-logo span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.24em; opacity: .85; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.nav-links a {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: .7; transition: opacity .3s;
}
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a.is-active { color: var(--lilac); }
.nav .btn { --b-bg: #fff; --b-fg: var(--ink); }
.nav-burger { display: none; width: 44px; height: 44px; position: relative; }
.nav-burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 26px; }
.menu-open .nav-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: grid; gap: 2px; }
.menu nav a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 11vw, 72px); line-height: 1;
  transform: translateY(30px); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s;
}
.menu nav a small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--lilac); font-weight: 500; }
.menu nav a:hover { color: var(--lilac); }
.menu-open .menu nav a { transform: none; opacity: 1; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .04s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .12s; }
.menu-open .menu nav a:nth-child(5) { transition-delay: .16s; }
.menu-open .menu nav a:nth-child(6) { transition-delay: .2s; }
.menu-open .menu nav a:nth-child(7) { transition-delay: .24s; }
.menu-open .menu nav a:nth-child(8) { transition-delay: .28s; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.menu-foot .mono { color: rgba(243,241,237,.6); }
.menu .btn { --b-bg: var(--paper); --b-fg: var(--ink); }

/* ---------------------------------------------------------------- Reveals */
.js [data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .08em; margin: -.16em 0 -.08em; }
.js [data-split] .w > span {
  display: inline-block; transform: translateY(105%);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.045s + var(--d, 0s));
}
.js [data-split].is-in .w > span { transform: none; }

.js [data-img] { clip-path: inset(12% 8% 12% 8%); transition: clip-path 1.5s var(--ease); }
.js [data-img] img, .js [data-img] video { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js [data-img].is-in { clip-path: inset(0 0 0 0); }
.js [data-img].is-in img, .js [data-img].is-in video { transform: scale(1); }

.media { position: relative; overflow: hidden; background: var(--ink-3); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media figcaption, .cap {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-top: 12px; display: flex; justify-content: space-between; gap: 12px;
}
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Marcador de contenido de prueba / pendiente */
.tbd {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  color: var(--accent); box-shadow: inset 0 0 0 1px currentColor;
}
.tbd::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ================================================================= HERO */
.hero {
  position: relative; min-height: 100svh; height: 100svh; min-height: 640px;
  color: #fff; overflow: hidden; background: var(--ink);
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media .media { position: absolute; inset: 0; background: var(--ink); }
.hero-media img {
  object-position: 60% 30%;
  transform: scale(1.14);
  animation: heroIn 2.6s var(--ease) .1s forwards, heroDrift 22s ease-in-out 2.7s infinite alternate;
}
@keyframes heroIn { to { transform: scale(1.04); } }
@keyframes heroDrift { from { transform: scale(1.04); } to { transform: scale(1.1) translate(-1%, -1%); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 22%, rgba(11,11,12,0) 45%, rgba(11,11,12,.92) 100%),
    linear-gradient(90deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 60%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(28px, 4vw, 48px);
}
.hero-top {
  position: absolute; z-index: 2; top: calc(var(--nav-h) + 28px); left: 0; right: 0;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
}
.hero-roles { display: grid; gap: 6px; }
.hero-roles span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.hero-firma { width: clamp(150px, 16vw, 250px); color: #fff; }
.hero-firma svg { width: 100%; height: auto; }
.hero-title {
  font-size: clamp(64px, 15.2vw, 272px);
  margin: 0 0 clamp(20px, 3vw, 36px) -0.04em;
  line-height: .8;
  white-space: nowrap;
}
.hero-title .seven { color: var(--lilac); }
.hero-bottom {
  display: grid; grid-template-columns: 1.2fr auto; gap: 28px 40px; align-items: end;
  padding-top: clamp(18px, 2.4vw, 28px); border-top: 1px solid rgba(255,255,255,.2);
}
.hero-claim { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.12; max-width: 24ch; }
.hero-claim em { color: var(--lilac); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { --b-bg: #fff; --b-fg: var(--ink); }
.hero .btn--ghost { --b-bg: transparent; --b-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap; margin-top: 22px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.hero-meta b { color: #fff; font-weight: 500; }
.scroll-cue {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 50%;
  writing-mode: vertical-rl; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .3em;
  display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.7);
}
.scroll-cue i { width: 1px; height: 64px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

/* Escritorio: la foto ocupa la parte derecha del hero, entera y sin recortar la cara */
@media (min-width: 900px) {
  .hero-media { left: 38%; }
  .hero-top { justify-content: flex-start; gap: 56px; }
  .hero-firma { order: -1; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(11,11,12,.55) 22%, rgba(11,11,12,0) 50%),
      linear-gradient(180deg, rgba(11,11,12,.45) 0%, rgba(11,11,12,0) 25%, rgba(11,11,12,0) 55%, rgba(11,11,12,.9) 100%);
  }
}

/* Entrada del hero */
.hero [data-hero] { opacity: 0; transform: translateY(24px); animation: up 1.2s var(--ease) forwards; animation-delay: var(--d, .6s); }
@keyframes up { to { opacity: 1; transform: none; } }
.hero-title .ch { display: inline-block; transform: translateY(110%); animation: chUp 1.3s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .05s); }
.hero-title .clip { display: inline-block; overflow: hidden; padding-top: .04em; vertical-align: top; white-space: nowrap; }
@keyframes chUp { to { transform: none; } }
.firma-draw { clip-path: inset(0 100% 0 0); animation: firma 2.2s var(--ease-io) .5s forwards; }
@keyframes firma { to { clip-path: inset(0 0 0 0); } }

/* ================================================================= MARCA */
.marca-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); align-items: start;
}
.marca-statement { grid-column: 1 / span 10; font-size: clamp(34px, 4.6vw, 80px); line-height: 1.02; letter-spacing: -.02em; margin-bottom: clamp(40px, 5vw, 80px); font-weight: 500; }
.marca-statement .serif { font-weight: 400; }
.marca-left { grid-column: 1 / span 5; display: grid; gap: clamp(28px, 3vw, 48px); }
.marca-photo { aspect-ratio: 4 / 5.2; }
.marca-copy { grid-column: 7 / span 6; }
.marca-copy .body-copy { font-size: 18px; }
.roles { margin: 44px 0 48px; border-top: 1px solid var(--line); }
.roles li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), color .3s;
}
.roles li:hover { padding-left: 12px; color: var(--accent); }
.roles .r-name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 42px); line-height: 1; }
.roles .r-idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.marca-small { width: 46%; margin-left: auto; aspect-ratio: 3/4; }
.marca-firma { width: 100%; color: var(--fg); }
.marca-firma svg { width: 100%; height: auto; }

/* ================================================================= HORIZONTAL (experiencia / trayectoria) */
.hs { position: relative; }
.hs-sticky { position: relative; }
.hs-track { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gutter); }
.hs-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 1px; background: var(--line); }
.hs-progress i { position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); }

/* Escritorio: scroll vertical → desplazamiento horizontal */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hs.is-pinned .hs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
  .hs.is-pinned .hs-track { will-change: transform; }
}
/* Escritorio con movimiento reducido: carrusel nativo */
@media (min-width: 900px) {
  .hs:not(.is-pinned) .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; }
  .hs:not(.is-pinned) .hs-track > * { scroll-snap-align: start; }
}
.hs:not(.is-pinned) .hs-progress { display: none; }

/* --- Experiencia */
.exp { padding: clamp(96px, 12vw, 160px) 0 0; }
.hs.is-pinned.exp, .hs.is-pinned.tray { padding: 0; }
.exp-intro {
  flex: 0 0 min(560px, 86vw); display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.exp-intro h2 { font-size: clamp(52px, 5.6vw, 100px); }
.exp-intro h2 .serif { display: block; text-transform: none; font-size: .62em; line-height: 1; color: var(--accent); margin-top: .12em; font-family: var(--f-serif); font-weight: 400; letter-spacing: 0; }
.exp-panel { flex: 0 0 min(330px, 72vw); display: flex; flex-direction: column; gap: 12px; }
.exp-panel .media { aspect-ratio: 4 / 5; }
.exp-panel .media img { transition: transform 1.2s var(--ease); }
.exp-panel:hover .media img { transform: scale(1.05); }
.exp-sense { display: flex; flex-direction: column-reverse; gap: 6px; margin-top: 6px; }
.exp-sense h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 2.4vw, 40px); line-height: .95; }
.exp-sense .mono { color: var(--accent); font-size: 13px; letter-spacing: .16em; }
.exp-tags { display: none; }
.exp-panel p { color: var(--muted); max-width: 34ch; margin: 0; font-size: 15px; line-height: 1.45; }
.exp-end {
  flex: 0 0 min(520px, 86vw); display: flex; flex-direction: column; justify-content: center; gap: 26px;
  padding-right: var(--gutter);
}
.exp-end h3 { font-size: clamp(40px, 3.8vw, 68px); }
.horario-mini { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: grid; gap: 4px; }
.horario-mini b { color: var(--fg); font-weight: 500; }

/* --- Trayectoria */
.tray { padding: clamp(96px, 12vw, 160px) 0 0; }
.tray-intro { flex: 0 0 min(640px, 88vw); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
.tray-intro h2 { grid-column: 1 / -1; font-size: clamp(48px, 5vw, 92px); }
.tray-intro .media { aspect-ratio: 3/4.2; }
.tray-quote { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.2vw, 56px); line-height: .9; }
.tray-quote small { display: block; font-family: var(--f-sans); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.tray-line { display: flex; align-items: stretch; gap: 0; position: relative; }
.tray-item {
  position: relative; flex: 0 0 min(300px, 70vw);
  padding: 0 clamp(18px, 2vw, 32px) 0 0; display: flex; flex-direction: column; gap: 12px;
}
.tray-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.tray-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--fg); margin-top: -6px; position: relative; transition: background-color .6s, box-shadow .6s; }
.tray-item.is-in .tray-dot { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.tray-year { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.tray-item .media { aspect-ratio: 4 / 5; width: 100%; }
.tray-item .media .ph svg { width: 50%; }
.tray-item h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.1vw, 34px); line-height: .95; margin-top: 6px; }
.tray-item p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.45; }
.tray-item.is-now h3 { color: var(--accent); }
.hs.tray .hs-track { align-items: center; }

/* ================================================================= RECONOCIMIENTOS */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pod {
  position: relative; padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px) clamp(32px, 3vw, 44px) 0;
  border-right: 1px solid var(--line); overflow: hidden;
}
.pod + .pod { padding-left: clamp(20px, 2.4vw, 36px); }
.pod:last-child { border-right: 0; }
.pod-num { font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 15vw, 260px); line-height: .78; letter-spacing: -.03em; display: flex; align-items: flex-start; }
.pod-num sup { font-size: .28em; margin-top: .12em; color: var(--accent); font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; }
.pod-city { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 44px); line-height: 1; margin-top: 18px; }
.pod-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.pod::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease);
}
.pod:hover::after { transform: scaleX(1); }

.facetas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: clamp(64px, 8vw, 120px); border: 1px solid var(--line); }
.faceta { background: var(--bg); padding: 28px 24px 30px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; transition: background-color var(--t-theme); }
.faceta h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.2vw, 36px); line-height: .95; }
.faceta p { color: var(--muted); font-size: 14.5px; margin: 0; }

.also { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: clamp(36px, 4vw, 56px); }
.also li { display: flex; gap: 10px; align-items: baseline; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: clamp(64px, 8vw, 120px); }
.stat-n { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 6.8vw, 120px); line-height: .85; }
.stat-n .accent { font-size: .6em; vertical-align: top; }
.stat-l { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; max-width: 22ch; }

/* ================================================================= FORMACIÓN */
.form-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); align-items: center; }
.form-big {
  grid-column: 1 / span 7; font-family: var(--f-display); font-weight: 900;
  font-size: clamp(120px, 19vw, 330px); line-height: .8; letter-spacing: -.04em; margin: 0;
}
.form-big .plus { color: var(--accent); }
.form-big-l { grid-column: 8 / span 5; }
.form-big-l h2 { font-size: clamp(40px, 4.4vw, 76px); margin-bottom: 22px; }
.form-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gutter); margin-top: clamp(32px, 4vw, 64px); align-items: start; }
.form-photos { grid-column: 1 / span 6; display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: start; }
.form-photos .media:first-child { aspect-ratio: 4 / 5.2; }
.form-photos .media:last-child { aspect-ratio: 4 / 5; margin-top: 30%; }
.form-text { grid-column: 8 / span 5; }
.form-text .lead { margin-bottom: 26px; }
.valores { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 36px; }
.valores li {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1;
  padding: 11px 18px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.valores li:hover { background: var(--fg); color: var(--bg); box-shadow: none; }
.para-quien { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 40px; }
.para-quien div { background: var(--bg); padding: 20px; transition: background-color var(--t-theme); }
.para-quien b { display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; margin-bottom: 8px; }
.para-quien span { color: var(--muted); font-size: 14.5px; }

.form-types { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(48px, 6vw, 96px); }
.ftype {
  position: relative; overflow: hidden; min-height: clamp(260px, 24vw, 340px);
  background: var(--ink); color: var(--paper);
  padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  isolation: isolate;
}
.ftype .media { position: absolute; inset: 0; z-index: -1; opacity: .42; }
.ftype .media img { transition: transform 1.4s var(--ease); }
.ftype:hover .media img { transform: scale(1.06); }
.ftype::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,.2), rgba(11,11,12,.9)); }
.ftype h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4vw, 68px); line-height: .86; margin-bottom: 14px; }
.ftype p { color: rgba(243,241,237,.75); max-width: 40ch; margin: 0 0 22px; }
.ftype .mono { color: var(--lilac); }
.ftype .btn { --b-bg: var(--paper); --b-fg: var(--ink); }

/* ================================================================= PRÓXIMAS FORMACIONES */
.prox-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.prox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.fcard {
  position: relative; display: flex; flex-direction: column; min-height: 520px;
  border: 1px solid var(--line); padding: 26px; gap: 22px;
  transition: border-color .5s, transform .6s var(--ease), background-color .5s;
}
.fcard:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-6px); background: rgba(255,255,255,.02); }
.fcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fcard-type { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.fcard-date { display: flex; align-items: flex-end; gap: 14px; margin-top: 16px; }
.fcard-day { font-family: var(--f-display); font-weight: 900; font-size: 112px; line-height: .78; }
.fcard-month { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; color: var(--muted); padding-bottom: 4px; }
.fcard h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 36px; line-height: .95; }
.fcard p { color: var(--muted); margin: 0; font-size: 15px; }
.fcard-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: auto; }
.fcard-meta div { background: var(--bg); padding: 12px 14px; transition: background-color var(--t-theme); }
.fcard-meta dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fcard-meta dd { margin: 4px 0 0; font-size: 14.5px; }
.fcard-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.prox-note { margin-top: 28px; color: var(--muted); font-size: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ================================================================= TRABAJOS */
.works { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(52px, 5.6vw, 88px); gap: clamp(10px, 1.2vw, 18px); }
.work { position: relative; overflow: hidden; background: var(--ink-3); cursor: zoom-in; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.work:hover img { transform: scale(1.06); }
.work figcaption {
  position: absolute; left: 14px; bottom: 12px; right: 14px; margin: 0;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  display: flex; justify-content: space-between; opacity: 0; transform: translateY(8px);
  transition: opacity .5s, transform .5s var(--ease);
}
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,11,12,.65)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.work:hover figcaption, .work:hover::after, .work:focus-visible figcaption, .work:focus-visible::after { opacity: 1; transform: none; }
.w1 { grid-column: 1 / span 5; grid-row: span 6; }
.w2 { grid-column: 6 / span 3; grid-row: span 4; }
.w3 { grid-column: 9 / span 4; grid-row: span 5; }
.w4 { grid-column: 6 / span 3; grid-row: span 4; }
.w5 { grid-column: 9 / span 4; grid-row: span 5; }
.w6 { grid-column: 1 / span 3; grid-row: span 4; }
.w7 { grid-column: 4 / span 4; grid-row: span 5; }
.w8 { grid-column: 8 / span 5; grid-row: span 6; }
.w9 { grid-column: 1 / span 3; grid-row: span 4; }
.w10 { grid-column: 4 / span 4; grid-row: span 3; }
.works-end { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 100px); padding-top: 32px; border-top: 1px solid var(--line); }
.works-end p { font-size: clamp(24px, 2.4vw, 40px); line-height: 1.1; margin: 0; max-width: 22ch; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(11,11,12,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; padding: 70px 16px 40px; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb img { max-height: 84vh; width: auto; transform: scale(.96); transition: transform .6s var(--ease); }
.lb.is-open img { transform: none; }
.lb-close, .lb-nav { position: absolute; color: #fff; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 14px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; }

/* ================================================================= TÉCNICA */
.tec { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.tec-visual { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; }
.tec-visual .media { position: absolute; inset: 0; }
.tec-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.tec-visual img.is-active { opacity: 1; transform: scale(1); }
.tec-counter { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: #fff; mix-blend-mode: difference; }
.tec-list { border-top: 1px solid var(--line); }
.tec-item { padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; opacity: .38; transition: opacity .6s var(--ease); }
.tec-item.is-active { opacity: 1; }
.tec-item .mono { color: var(--accent); padding-top: 12px; }
.tec-item h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 3.6vw, 64px); line-height: .86; }
.tec-item p { grid-column: 2; color: var(--muted); max-width: 46ch; margin: 12px 0 0; }
.tec-item .tec-mobile-img { display: none; }

/* ================================================================= JURADO */
.jurado { position: relative; overflow: hidden; }
.jurado-bg { position: absolute; inset: 0; z-index: 0; opacity: .22; }
.jurado-bg video { width: 100%; height: 100%; object-fit: cover; }
.jurado-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(11,11,12,.3) 30%, rgba(11,11,12,.3) 70%, var(--ink) 100%); }
.jurado .wrap { position: relative; z-index: 1; }
.jurado-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gutter); align-items: start; }
.jurado-title { grid-column: 1 / span 7; }
.jurado-title h2 { font-size: clamp(56px, 8vw, 150px); }
.jurado-title h2 .serif { text-transform: none; color: var(--accent); font-size: .7em; display: block; line-height: 1; }
.jurado-intro { grid-column: 8 / span 5; align-self: end; }
.jurado-photo { grid-column: 1 / span 5; aspect-ratio: 9/14; margin-top: 30px; }
.jurado-crit { grid-column: 7 / span 6; margin-top: 30px; }
.crit-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: block; }
.crit li { display: flex; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.crit li:first-child { border-top: 1px solid var(--line); }
.crit .mono { color: var(--accent); width: 28px; }
.crit b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3vw, 50px); line-height: 1; font-weight: 800; }
.crit li { transition: padding .5s var(--ease); }
.crit li:hover { padding-left: 14px; }
.jurado-quote { margin: clamp(48px, 6vw, 80px) 0 0; }
.jurado-quote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.15; max-width: 26ch; }
.jurado-quote cite { font-family: var(--f-mono); font-style: normal; font-size: 11.5px; letter-spacing: .14em; color: var(--muted); }
.jurado-second { width: 52%; aspect-ratio: 4/5; margin-top: 40px; }

/* ================================================================= EQUIPO */
.team-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.4vw, 22px); }
.member { position: relative; }
.member .media { aspect-ratio: 3 / 4; }
.member--lead { grid-row: span 2; }
.member--lead .media { aspect-ratio: auto; height: calc(100% - 96px); min-height: 520px; }
.member .media img { transition: transform 1.2s var(--ease); }
.member:hover .media img { transform: scale(1.05); }
.member-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 14px; }
.member-info h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: .95; }
.member-info .mono { color: var(--accent); font-size: 11px; }
.member-info p { color: var(--muted); font-size: 14px; margin: 6px 0 0; max-width: 32ch; }
.ph {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(110,60,240,.28), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    var(--ink-2);
  color: rgba(243,241,237,.8);
}
.ph svg { width: 56%; opacity: .16; color: #fff; }
.ph .tbd { position: absolute; left: 14px; top: 14px; color: var(--lilac); }
.team-note { margin-top: 24px; }

/* ================================================================= ESPACIO */
.espacio-enter { position: relative; height: 150vh; }
.espacio-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.espacio-frame { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; clip-path: inset(var(--ey, 22%) var(--ex, 30%) var(--ey, 22%) var(--ex, 30%)); will-change: clip-path; }
.espacio-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--es, 1.25)); }
.espacio-frame::after { content: ""; position: absolute; inset: 0; background: rgba(11,11,12,.35); }
.espacio-word { position: relative; z-index: 2; text-align: center; color: #fff; pointer-events: none; }
.espacio-word .display { font-size: clamp(90px, 16vw, 300px); mix-blend-mode: difference; }
.espacio-word .serif { font-size: clamp(22px, 2.4vw, 38px); display: block; margin-top: 8px; }
.espacio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(40px, 6vw, 90px); }
.eg { position: relative; }
.eg .media { height: 100%; }
.eg-1 { grid-column: 1 / span 7; aspect-ratio: 16/10.5; }
.eg-2 { grid-column: 8 / span 5; }
.eg-3 { grid-column: 1 / span 4; aspect-ratio: 4/5; }
.eg-4 { grid-column: 5 / span 4; aspect-ratio: 4/5; }
.eg-7 { grid-column: 9 / span 4 !important; aspect-ratio: 4/5 !important; }
.eg-5 { grid-column: 9 / span 4; aspect-ratio: 4/5; }
.eg-6 { grid-column: 1 / span 5; aspect-ratio: 4/3; }
.eg-7 { grid-column: 6 / span 7; aspect-ratio: 16/9; }
.eg-label {
  position: absolute; z-index: 2; left: 14px; top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(11,11,12,.55); backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 999px;
}
.espacio-copy { display: grid; grid-template-columns: repeat(12, 1fr); gap: 30px var(--gutter); margin-top: clamp(48px, 6vw, 90px); }
.espacio-copy h2 { grid-column: 1 / span 6; font-size: clamp(44px, 5vw, 90px); }
.espacio-copy .body-copy { grid-column: 8 / span 5; align-self: end; font-size: 18px; }

/* ================================================================= MARCAS */
.marcas { padding: clamp(80px, 10vw, 140px) 0; }
.marcas-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 48px; }
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand {
  flex: 0 0 auto; width: clamp(180px, 18vw, 260px); height: 120px; display: grid; place-items: center;
  border-right: 1px solid var(--line); padding: 20px 28px;
  opacity: .55; filter: grayscale(1); transition: opacity .4s, filter .4s, transform .5s var(--ease);
}
.brand:hover { opacity: 1; filter: none; transform: scale(1.04); }
.brand img { max-height: 48px; width: auto; }
.brand-ph { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 26px; letter-spacing: .04em; line-height: 1; text-align: center; }
.brand-ph small { display: block; font-family: var(--f-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .16em; color: var(--accent); margin-top: 6px; }

/* ================================================================= RESERVA (banda morada) */
.reserva { padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; }
.reserva-title { font-size: clamp(70px, 14vw, 250px); }
.reserva-title .serif { text-transform: none; font-size: .5em; display: inline-block; vertical-align: .2em; margin-left: .1em; }
.reserva-bottom { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(40px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }
.horario { display: grid; gap: 4px; }
.horario .mono { color: var(--muted); }
.horario-row { display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; }
.horario-row b { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 3.4vw, 56px); line-height: 1; }
.reserva .btn { height: 72px; padding: 0 38px; font-size: 14px; }

/* ================================================================= CONTACTO + FOOTER */
.contacto { padding: clamp(90px, 11vw, 160px) 0 0; }
.contacto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cbox { background: var(--bg); padding: 26px 24px 30px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; transition: background-color var(--t-theme); }
.cbox .mono { color: var(--muted); }
.cbox-v { font-size: 19px; line-height: 1.35; }
.cbox-v a { transition: color .3s; }
.cbox-v a:hover { color: var(--accent); }
.cbox-v small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

.footer { padding: clamp(90px, 10vw, 140px) 0 28px; }
.footer-firma { color: var(--fg); width: 100%; }
.footer-firma svg { width: 100%; height: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 70px); padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.footer-links a:hover, .footer-links button:hover { color: var(--fg); }
.footer-links button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }

/* ================================================================= CTA móvil fija */
.mcta {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(11,11,12,.86); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.1);
  transform: translateY(140%); transition: transform .7s var(--ease);
}
.mcta.is-on { transform: none; }
.mcta span { white-space: nowrap; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); line-height: 1.3; }
.mcta .btn { --b-bg: var(--lilac); --b-fg: var(--ink); height: 46px; }

/* ================================================================= WHATSAPP (siempre visible) */
.wa {
  position: fixed; z-index: 65; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--lilac);
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(185,165,255,.35);
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.wa svg { width: 30px; height: 30px; }
.wa:hover { transform: translateY(-3px) scale(1.04); background: var(--violet); color: #fff; }
.wa.is-disabled { cursor: default; }

/* ================================================================= COOKIES */
.cookie {
  position: fixed; z-index: 110; left: 16px; bottom: 16px; width: min(460px, calc(100vw - 32px));
  background: var(--ink); color: var(--paper); padding: 22px; border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.1);
  transform: translateY(calc(100% + 40px)); transition: transform .8s var(--ease);
}
.cookie.is-on { transform: none; }
.cookie h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; margin-bottom: 10px; }
.cookie p { font-size: 14px; color: rgba(243,241,237,.72); margin-bottom: 16px; }
.cookie p a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .btn { --b-bg: var(--paper); --b-fg: var(--ink); height: 44px; padding: 0 18px; font-size: 11.5px; }
.cookie .btn--ghost { --b-bg: transparent; --b-fg: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.cookie-prefs { display: none; margin: 4px 0 16px; border-top: 1px solid rgba(255,255,255,.12); }
.cookie.show-prefs .cookie-prefs { display: block; }
.cpref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cpref b { font-weight: 500; font-size: 14px; display: block; }
.cpref small { color: rgba(243,241,237,.55); font-size: 12.5px; }
.switch { position: relative; width: 44px; height: 24px; flex: 0 0 auto; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: rgba(255,255,255,.18); transition: background .3s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.switch input:checked + i { background: var(--violet); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:disabled + i { opacity: .6; }


/* ================================================================= SECCIONES DIFERENCIADAS
   Cada apartado tiene su propio fondo plano: el cambio de sección se ve claro. */
[data-theme-section] { position: relative; background: var(--bg); color: var(--fg); }
[data-theme-section="dark"] {
  --bg: var(--ink); --fg: var(--paper); --muted: rgba(243,241,237,.58); --line: rgba(243,241,237,.14); --accent: var(--lilac);
}
[data-theme-section="dark2"] {
  --bg: #19181c; --fg: var(--paper); --muted: rgba(243,241,237,.6); --line: rgba(243,241,237,.16); --accent: var(--lilac);
}
[data-theme-section="light"] {
  --bg: var(--paper); --fg: var(--ink); --muted: rgba(11,11,12,.6); --line: rgba(11,11,12,.14); --accent: var(--violet);
}
[data-theme-section="violet"] {
  --bg: var(--violet); --fg: #fff; --muted: rgba(255,255,255,.72); --line: rgba(255,255,255,.28); --accent: #fff;
}
[data-theme-section="violet"] .btn { --b-bg: var(--ink); --b-fg: #fff; }
[data-theme-section="violet"] .btn::before { background: #fff; }
[data-theme-section="violet"] .btn:hover { color: var(--ink); }
/* Cortes planos entre secciones: cada una con su propio fondo, sin esquinas ni sombras */
.footer { margin-top: 0; }

/* Cabecera de sección: índice + nombre + línea a todo el ancho */
.section-head > .eyebrow:first-child,
.section-head > div > .eyebrow:first-child,
.jurado-title > .eyebrow,
.marcas-head .eyebrow,
.exp-intro > .eyebrow,
.tray-intro > .eyebrow,
.reserva .eyebrow {
  width: 100%; color: var(--fg); font-size: 12.5px; letter-spacing: .18em;
}
.section-head > .eyebrow:first-child::after,
.section-head > div > .eyebrow:first-child::after,
.jurado-title > .eyebrow::after,
.marcas-head .eyebrow::after,
.tray-intro > .eyebrow::after,
.reserva .eyebrow::after {
  content: ""; flex: 1; height: 1px; background: var(--line); min-width: 32px; transform-origin: 0 50%;
  transition: transform 1.4s var(--ease) .2s;
}
.js .eyebrow[data-reveal]:not(.is-in)::after { transform: scaleX(0); }
.eyebrow::before { width: 9px; height: 9px; }
.marcas-head > div { flex: 1; }
.prox-head > div { flex: 1 1 60%; }

/* ================================================================= GATE (acceso privado) */
.gate { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--paper); display: grid; place-items: center; padding: 24px; transition: opacity .8s var(--ease), visibility .8s; }
.gate.is-unlocked { opacity: 0; visibility: hidden; }
.gate-inner { display: grid; justify-items: center; gap: 22px; width: min(360px, 100%); }
.gate svg { width: 180px; color: #fff; }
.gate form { display: flex; width: 100%; border-bottom: 1px solid rgba(255,255,255,.3); }
.gate input { flex: 1; background: none; border: 0; color: #fff; font: 15px var(--f-mono); letter-spacing: .12em; padding: 12px 0; outline: none; min-width: 0; }
.gate button { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); padding: 0 4px; }
.gate-error { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--lilac); opacity: 0; min-height: 1em; }
.gate.is-error .gate-error { opacity: 1; }
body.gate-active { overflow: hidden; }
html.gate-ok .gate { display: none; }

/* ================================================================= LEGAL */
.legal { padding: calc(var(--nav-h) + 80px) 0 120px; }
.legal .wrap { max-width: 920px; }
.legal h1 { font-size: clamp(56px, 9vw, 120px); margin: 20px 0 40px; }
.legal h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: 1; margin: 56px 0 16px; }
.legal p, .legal li { color: var(--muted); max-width: 70ch; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal .tbd { margin-bottom: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 24px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.legal-back { margin-top: 60px; }

/* ================================================================= RESPONSIVE */
@media (max-width: 1180px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-burger { display: block; }
  .facetas { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .prox-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  .nav .btn { display: none; }
  .nav-logo svg { width: 62px; height: 30px; }
  .nav-logo span { display: none; }
  .scroll-cue { display: none; }
  .hero { height: auto; min-height: 100svh; }
  .hero-media img { object-position: 62% 30%; }
  .hero-top { top: calc(var(--nav-h) + 18px); }
  .hero-roles { display: none; }
  .hero-firma { width: 140px; margin-left: auto; }
  .hero-title { font-size: 16.6vw; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero-meta { gap: 10px 18px; }

  .marca-statement { grid-column: 1 / -1; }
  .marca-left { grid-column: 1 / span 8; }
  .marca-copy { grid-column: 1 / -1; padding-top: 48px; }
  .marca-small { position: absolute; right: var(--gutter); width: 38%; margin-top: -40%; }
  .marca-grid { position: relative; }

  .hs-track { gap: 14px; }
  .exp-intro, .tray-intro { flex-basis: 84vw; }
  .exp-panel { flex-basis: 76vw; }
  .exp-end { flex-basis: 84vw; }
  .tray-intro { grid-template-columns: 1fr; }
  .tray-intro .media { display: none; }
  .tray-item { flex-basis: 78vw; }

  .podium { grid-template-columns: 1fr; }
  .pod { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0 24px; align-items: end; padding: 26px 0 !important; }
  .pod-num { font-size: 128px; grid-row: span 2; }
  .pod-city { margin: 0; }
  .facetas { grid-template-columns: 1fr; }
  .faceta { min-height: 0; }

  .form-big { grid-column: 1 / -1; font-size: 42vw; }
  .form-big-l { grid-column: 1 / -1; padding-top: 20px; }
  .form-photos, .form-text { grid-column: 1 / -1; }
  .para-quien { grid-template-columns: 1fr; }
  .form-types { grid-template-columns: 1fr; }
  .prox-grid { grid-template-columns: 1fr; }
  .fcard { min-height: 0; }

  .works { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 64px; }
  .w1 { grid-column: 1 / span 6; grid-row: span 7; }
  .w2 { grid-column: 1 / span 3; grid-row: span 4; }
  .w3 { grid-column: 4 / span 3; grid-row: span 5; }
  .w4 { grid-column: 1 / span 3; grid-row: span 5; }
  .w5 { grid-column: 4 / span 3; grid-row: span 4; }
  .w6 { grid-column: 1 / span 6; grid-row: span 6; }
  .w7 { grid-column: 1 / span 3; grid-row: span 5; }
  .w8 { grid-column: 4 / span 3; grid-row: span 5; }
  .w9 { grid-column: 1 / span 3; grid-row: span 4; }
  .w10 { grid-column: 4 / span 3; grid-row: span 4; }
  .work figcaption { opacity: 1; transform: none; }
  .work::after { opacity: 1; }

  .tec { grid-template-columns: 1fr; }
  .tec-visual { display: none; }
  .tec-item { opacity: 1; grid-template-columns: 44px 1fr; }
  .tec-item .tec-mobile-img { display: block; grid-column: 1 / -1; margin-top: 18px; aspect-ratio: 16/11; }

  .jurado-title, .jurado-intro, .jurado-photo, .jurado-crit { grid-column: 1 / -1; }
  .jurado-photo { aspect-ratio: 4/5; }
  .jurado-second { display: none; }

  .team-grid { grid-template-columns: 1fr 1fr; }
  .member--lead { grid-column: 1 / -1; grid-row: auto; }
  .member--lead .media { height: auto; min-height: 0; aspect-ratio: 4/5; }
  .member-info h3 { font-size: 22px; }
  .member-info p { display: none; }

  .espacio-enter { height: 150vh; }
  .espacio-grid { grid-template-columns: repeat(2, 1fr); }
  .eg-1, .eg-6, .eg-7 { grid-column: 1 / -1; }
  .eg-2, .eg-3, .eg-4, .eg-5 { grid-column: span 1; aspect-ratio: 4/5; }
  .espacio-copy h2, .espacio-copy .body-copy { grid-column: 1 / -1; }

  .reserva-bottom { grid-template-columns: 1fr; }
  .reserva .btn { width: 100%; justify-content: center; }
  .contacto-grid { grid-template-columns: 1fr; }
  .cbox { min-height: 0; }
  .mcta { display: flex; right: 84px; }
  .wa { width: 54px; height: 54px; bottom: max(12px, env(safe-area-inset-bottom)); right: 12px; }
  .footer { padding-bottom: 96px; }
  .cookie { bottom: 12px; left: 12px; }
}

@media (max-width: 520px) {
  .hero-meta span:nth-child(3) { display: none; }
  .marca-small { display: none; }
  .fcard-day { font-size: 90px; }
}


/* ================================================================= MÓVIL: versión compacta y vertical */
@media (max-width: 899px) {
  /* Experiencia: lista vertical, imagen + texto en cada fila */
  .hs-track { display: grid; gap: 0; padding: 0 var(--gutter); }
  .exp-intro, .exp-panel, .exp-end, .tray-intro, .tray-item { flex: none; width: auto; }
  .exp-intro { gap: 18px; padding-bottom: 28px; }
  .exp-intro .mono { display: none; }
  .exp-panel { display: grid; grid-template-columns: 34% 1fr; gap: 6px 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
  .exp-panel .media { grid-row: span 3; aspect-ratio: 4/5; }
  .exp-sense h3 { font-size: 34px; }
  .exp-tags { display: none; }
  .exp-panel p { font-size: 14.5px; line-height: 1.5; }
  .exp-end { padding: 28px 0 0; border-top: 1px solid var(--line); gap: 16px; }
  .exp-end h3 { font-size: 40px; }

  /* Trayectoria: línea de tiempo vertical */
  .tray-intro { gap: 16px; padding-bottom: 28px; }
  .tray-intro h2 { font-size: 44px; }
  .tray-line { flex-direction: column; border-left: 1px solid var(--line); margin-left: 6px; }
  .tray-item { display: grid; grid-template-columns: 34% 1fr; grid-template-rows: auto auto 1fr; gap: 4px 16px; padding: 0 0 22px 22px; align-items: start; }
  .tray-item::before { display: none; }
  .tray-dot { position: absolute; left: -7px; top: 4px; margin: 0; }
  .tray-item .media { grid-column: 1; grid-row: 1 / span 3; }
  .tray-year { grid-column: 2; margin: 0; }
  .tray-item h3 { grid-column: 2; font-size: 24px; margin: 0; }
  .tray-item p { grid-column: 2; font-size: 14px; }
  .tray-item .ph .tbd { font-size: 8.5px; letter-spacing: .08em; left: 6px; top: 6px; padding: 3px 6px; }
  .tray-item .ph .tbd::before { display: none; }

  /* Técnica: solo texto, sin imágenes intermedias */
  .tec-item .tec-mobile-img { display: none; }
  .tec-item { padding: 18px 0; }
  .tec-item h3 { font-size: 34px; }
  .tec-item p { font-size: 14.5px; margin-top: 6px; }

  /* Trabajos: 6 imágenes en móvil (el resto se ve en la galería) */
  .w-extra { display: none; }

  /* Espacio: sin efecto fijo en móvil */
  .espacio-enter { height: auto; }
  .espacio-sticky { position: relative; height: 62vh; }
  .espacio-frame { clip-path: none !important; }
  .espacio-frame img { transform: none !important; }
  .eg-2, .eg-3, .eg-4, .eg-7 { grid-column: span 1 !important; aspect-ratio: 4/5 !important; }

  .marca-firma { display: none; }
  .marca-statement { margin-bottom: 40px; }
  .form-big { font-size: 36vw; }
  .ftype { min-height: 0; }
  .also li { font-size: 19px; }
  .jurado-quote { margin-top: 36px; }
  .jurado-title h2 { font-size: 52px; }

  /* Recortes extra de longitud en móvil */
  .roles { margin: 28px 0 32px; }
  .roles li { padding: 10px 0; }
  .roles .r-name { font-size: 24px; }
  .form-photos .media:last-child { display: none; }
  .form-photos { grid-template-columns: 1fr; }
  .form-photos .media:first-child { aspect-ratio: 16/11; }
  .valores { margin: 20px 0 24px; gap: 6px; }
  .valores li { font-size: 17px; padding: 8px 13px 7px; }
  .para-quien { margin-bottom: 0; }
  .ftype { padding: 22px; gap: 16px; }
  .ftype h3 { font-size: 36px; }
  .fcard { padding: 20px; gap: 12px; }
  .fcard-date { margin-top: 4px; }
  .fcard-day { font-size: 64px; }
  .fcard h3 { font-size: 28px; }
  .fcard p { display: none; }
  .fcard-meta div:nth-child(n+3) { display: none; }
  .member .media { aspect-ratio: 1 / 1; }
  .member-info h3 { font-size: 20px; }
  .contacto-grid { grid-template-columns: 1fr 1fr; }
  .cbox { padding: 18px 16px 20px; gap: 16px; }
  .cbox-v { font-size: 15.5px; }
  .cbox-v small { font-size: 12px; }
  .contacto .section-head { margin-bottom: 28px; }
  .footer { padding-top: 64px; }
  .reserva { padding: 80px 0; }
  .espacio-copy { margin-top: 48px; }
}

/* Movimiento reducido: todo visible, sin animaciones de desplazamiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .w > span, .js [data-img], .js [data-img] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-media img { transform: none; }
  .marquee-track { animation: none; }
  .espacio-enter { height: auto; }
  .espacio-sticky { position: relative; height: 80vh; }
  .espacio-frame { clip-path: none; }
}
