/* ============ Tokens ============ */
@font-face { font-family: "BigShoulders"; src: url("/assets/fonts/bigshoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0b0b0d;
  --bg-2: #141418;
  --bg-3: #1c1c21;
  --line: rgba(255, 255, 255, .12);
  --text: #f4f4f5;
  --text-2: #c4c4cb;
  --muted: #8d8d96;
  --red: #e3001b;
  --red-2: #b00016;
  --display: "BigShoulders", "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --spring: cubic-bezier(.2, 1.2, .3, 1);
  --pad: 16px;
  --max: 1320px;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    /* Resorte suave (~2% de rebote) */
    --spring: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
  }
}
@media (min-width: 700px) { :root { --pad: 32px; } }
@media (min-width: 1100px) { :root { --pad: 48px; } }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::after { /* grano de película */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: .07;
  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");
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 15px; font-weight: 600; color: var(--text);
}
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--red); flex: none; }
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 850;
  font-size: clamp(52px, 8.4vw, 132px);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: -.005em;
  max-width: 13ch;
}
.h2--story { max-width: none; font-size: clamp(38px, 10.4vw, 88px); }
@media (min-width: 900px) { .h2--story { font-size: clamp(56px, 5.9vw, 88px); } }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-2); max-width: 54ch; margin: 22px 0 0; }

/* Palabras con máscara (títulos) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .1em; margin-top: -.1em; }
.wi { display: inline-block; }
html.js [data-words] .wi { transform: translateY(105%); transition: transform 1s var(--spring); transition-delay: calc(var(--i) * 70ms); }
html.js [data-words].in .wi, html.js .in [data-words] .wi { transform: none; }

/* Aparición genérica */
html.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease-out), transform 1.1s var(--spring); transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js [data-reveal][data-words] { opacity: 1; transform: none; }

/* ============ Header ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding-inline: var(--pad);
  transition: transform .6s var(--ease-out), background-color .4s, backdrop-filter .4s;
}
.nav.is-solid { background: rgba(11, 11, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 599px) { .nav { gap: 14px; } .brand { font-size: 21px; } }
.brand span { color: var(--red); }
.nav-links { display: none; gap: 26px; margin-left: auto; }
.nav-links a, .nav-ig { position: relative; text-decoration: none; font-size: 15px; font-weight: 550; padding-block: 6px; }
.nav-links a::after, .nav-ig::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-out);
}
.nav-links a:hover::after, .nav-ig:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-ig { display: none; }
.burger { margin-left: auto; margin-right: -8px; width: 44px; height: 44px; position: relative; flex: none; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .6s var(--spring), top .6s var(--spring); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
html.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
html.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
@media (min-width: 900px) {
  .nav-links, .nav-ig { display: flex; }
  .burger { display: none; }
}
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 90px var(--pad) 40px;
  background: var(--red);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
}
html.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu a { font-family: var(--display); font-weight: 900; font-size: clamp(54px, 15vw, 96px); line-height: .95; text-transform: uppercase; text-decoration: none; overflow: hidden; }
.menu a span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--spring); transition-delay: calc(var(--i) * 60ms + 150ms); }
html.menu-open .menu a span { transform: none; }
.menu .menu-ig { margin-top: 24px; font-family: var(--body); font-size: 17px; font-weight: 600; }

/* ============ Hero ============ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; z-index: 2; pointer-events: none; background: linear-gradient(transparent, var(--bg)); }
.hero-glow {
  position: absolute; inset: -12%; z-index: 0;
  background:
    radial-gradient(30% 46% at 50% 62%, rgba(110, 0, 8, .95), transparent 74%),
    radial-gradient(44% 40% at 50% 70%, rgba(227, 0, 27, .28), transparent 72%),
    radial-gradient(26% 26% at 78% 8%, rgba(255, 255, 255, .09), transparent 70%),
    radial-gradient(26% 26% at 22% 8%, rgba(255, 255, 255, .06), transparent 70%);
}
.hero-stage { position: absolute; inset: 0; display: grid; grid-template-columns: 100%; grid-template-rows: 100%; place-items: center; }
.hero-stage > * { grid-area: 1 / 1; }
.hero-name {
  margin: 0;
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: min(17vw, 26svh); line-height: .8; letter-spacing: -.01em;
  align-self: end; padding-bottom: 12svh;
  white-space: nowrap;
}
.line { display: block; overflow: hidden; padding: .15em .05em 0; margin-top: -.15em; will-change: transform; }
.ch { display: inline-block; }
html.js .hero .ch { transform: translateY(108%); transition: transform 1.25s var(--spring); }
html.is-loaded .hero .ch { transform: none; transition-delay: calc(var(--i) * 36ms + 40ms); }
.name-back { z-index: 1; color: var(--text); }
.name-front { z-index: 3; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6); pointer-events: none; }
.hero-figure { z-index: 2; align-self: end; height: min(84svh, 1000px); aspect-ratio: 2 / 3; position: relative; will-change: transform; }
html.js .hero-figure > div { opacity: 0; transform: translateY(6%); transition: opacity .7s var(--ease-out), transform 1.2s var(--spring); }
html.is-loaded .hero-figure > div { opacity: 1; transform: none; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  /* Se funden los cuatro bordes. Antes el superior no tenía fundido y en mobile se veía
     el rectángulo de la foto (el fondo rojo de estudio cortado contra el negro). */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 11%, #000 72%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 11%, #000 72%, transparent 97%);
  mask-composite: intersect;
}
.hero-meta {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 22px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px;
  padding-inline: var(--pad);
  font-size: 14.5px; line-height: 1.4; color: var(--text-2);
}
.hero-meta p { margin: 0; }
.hero-meta strong { color: var(--text); font-weight: 650; }
.hero-meta .r { text-align: right; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; color: var(--text); }
.scroll-cue i { width: 1px; height: 44px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--red); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
html.js .hero-meta > * { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .9s var(--spring); transition-delay: .45s; }
html.is-loaded .hero-meta > * { opacity: 1; transform: none; }
@media (max-width: 699px) {
  /* Sin espacio muerto arriba de la foto: el hero mide header + foto, la foto ocupa todo
     el ancho y en pantallas bajas (navegador de Instagram) se achica para entrar */
  .hero { height: calc(68px + 150vw); min-height: 0; max-height: 100vh; max-height: 100svh; }
  .hero-figure { height: min(150vw, calc(100svh - 68px)); }
  .hero-photo img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 74%, transparent 98%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 74%, transparent 98%);
  }
  /* En mobile la foto ocupa todo el ancho: el nombre va adelante, sólido */
  .name-back { visibility: hidden; }
  .name-front { color: var(--text); -webkit-text-stroke: 0; text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
}

/* ============ Marquee ============ */
.marquee { background: var(--red); overflow: hidden; padding: 16px 0 14px; border-block: 1px solid rgba(255, 255, 255, .2); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span {
  display: flex; align-items: center; gap: 32px; padding-right: 32px;
  font-family: var(--display); font-weight: 850; font-size: clamp(34px, 5vw, 64px); line-height: 1; text-transform: uppercase; white-space: nowrap;
  transform: skewX(var(--skew, 0deg));
}
.marquee-track span::after { content: ""; width: .28em; height: .28em; border: 2px solid #fff; transform: rotate(45deg); }

/* ============ Reel (video) ============ */
.reel { position: relative; }
.reel-scrub { position: relative; height: 270vh; }
.reel-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 100%; grid-template-rows: 100%; place-items: center; overflow: hidden; background: var(--bg); }
.reel-sticky > * { grid-area: 1 / 1; }
.reel-title {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 25vw; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28);
  white-space: nowrap; will-change: transform, opacity;
}
.reel-frame {
  position: relative; z-index: 1;
  width: min(100vw, calc(100svh * 16 / 9)); aspect-ratio: 16 / 9;
  overflow: hidden; border-radius: 18px;
  background: #0d150f;
  transform: scale(.56);
  will-change: transform;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.reel-ui {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px clamp(14px, 2.4vw, 32px) 22px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6));
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .7s var(--spring);
}
.reel.is-full .reel-ui { opacity: 1; transform: none; }
.reel-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 3px;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600;
  transition: background-color .3s;
}
.reel-btn:hover { background: rgba(227, 0, 27, .85); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 100%; background: currentColor; transform-origin: bottom; transform: scaleY(.25); }
.sound[aria-pressed="true"] .eq i { animation: eq .9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.reel-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.reel-progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ============ Perfil ============ */
.section { position: relative; padding-block: 120px; }
@media (min-width: 900px) { .section { padding-block: 160px; } }
.profile-grid { display: grid; gap: 56px; margin-top: 56px; }
@media (min-width: 900px) { .profile-grid { grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: start; } }
.facts { margin: 0; display: grid; }
@media (min-width: 600px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.fact { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.fact dt { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.fact dd { margin: 0; font-family: var(--display); font-weight: 750; font-size: clamp(30px, 3vw, 42px); line-height: 1; text-transform: uppercase; }
.pitch { margin: 0; position: relative; max-width: 460px; justify-self: center; width: 100%; }
.pitch svg { width: 100%; height: auto; overflow: visible; }
.pitch .pl { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.pitch.in .pl { stroke-dashoffset: 0; }
.pitch .spot { fill: rgba(255, 255, 255, .5); }
.pos-dot { fill: var(--red); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .9s var(--spring) 1.75s; }
.pitch.in .pos-dot { transform: scale(1); }
.mate { fill: #5d5d66; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .7s var(--spring); transition-delay: calc(1s + var(--i) * 60ms); }
.pitch.in .mate { transform: scale(1); }
.pos-ring { fill: none; stroke: var(--red); stroke-width: 3; transform-box: fill-box; transform-origin: center; opacity: 0; }
.pitch.in .pos-ring { animation: ring 2.2s var(--ease-out) 2.1s infinite; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.pos-label { font: 700 30px var(--body); fill: #fff; opacity: 0; transition: opacity .8s 2s; }
.pitch.in .pos-label { opacity: 1; }

/* ============ Historia ============ */
.story { position: relative; padding-block: 120px 160px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.route { --p: 0; }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 300px 1fr; gap: 96px; }
  .route-wrap { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
  .route { position: relative; height: 70svh; width: 100%; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto 1fr auto; column-gap: 18px; }
  .route-track { grid-column: 1; grid-row: 1 / 4; justify-self: center; width: 2px; height: 100%; }
  .route-fill { transform: scaleY(var(--p)); transform-origin: top; }
  .route-dot { top: calc(var(--p) * 100%); left: 50%; }
  .route-tick { left: -6px; right: -6px; height: 1px; top: var(--t); }
  .route-end.a { grid-column: 2; grid-row: 1; }
  .route-end.b { grid-column: 2; grid-row: 3; }
  .route-km { grid-column: 2; grid-row: 2; align-self: center; }
}
@media (max-width: 899px) {
  .route-wrap { position: sticky; top: 68px; z-index: 5; margin-inline: calc(var(--pad) * -1); padding: 14px var(--pad) 16px; background: rgba(11, 11, 13, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 12px; }
  .route-track { grid-column: 1 / 4; grid-row: 2; height: 2px; width: 100%; }
  .route-fill { transform: scaleX(var(--p)); transform-origin: left; }
  .route-dot { left: calc(var(--p) * 100%); top: 50%; }
  .route-tick { top: -5px; bottom: -5px; width: 1px; left: var(--t); }
  .route-end.a { grid-column: 1; grid-row: 1; }
  .route-end.b { grid-column: 3; grid-row: 1; text-align: right; }
  .route-km { grid-column: 2; grid-row: 1; text-align: center; }
}
.route-track { position: relative; background: rgba(255, 255, 255, .14); }
.route-fill { position: absolute; inset: 0; background: var(--red); }
.route-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 6px rgba(227, 0, 27, .25); }
.route-tick { position: absolute; background: rgba(255, 255, 255, .25); }
.route-end b { display: block; font-family: var(--display); font-weight: 850; font-size: 32px; line-height: .95; text-transform: uppercase; }
.route-end span { font-size: 13.5px; color: var(--muted); }
.route.arrived .route-end.b b { color: var(--red); transition: color .4s; }
.route-km .km { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(54px, 5.5vw, 84px); line-height: .9; font-variant-numeric: tabular-nums; }
.route-km small { font-size: 13px; color: var(--muted); }
@media (max-width: 899px) {
  .route-km .km { font-size: 26px; }
  .route-km small { font-size: 11px; white-space: nowrap; }
  .route-end b { font-size: 18px; white-space: nowrap; }
  .route-end span { font-size: 11.5px; }
}
.story-text { max-width: 720px; }
.story-text p { font-size: clamp(18px, 1.55vw, 22px); color: var(--text-2); margin: 0 0 26px; max-width: 46ch; }
.story-text p strong { color: var(--text); font-weight: 650; }
.story-block { margin-top: 96px; }
.parents { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.parents div { padding: 20px 0; }
.parents div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.parents span { display: block; font-size: 14px; color: var(--muted); }
.parents b { font-family: var(--display); font-weight: 850; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; text-transform: uppercase; }

/* ============ Sueño (quote) ============ */
.dream { position: relative; height: 240vh; background: var(--red); }
.dream-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.dream blockquote { margin: 0; }
.dream-sticky > .container { position: relative; z-index: 1; }
.dream-quote {
  margin: 0; max-width: 13ch;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 7vw, 116px); line-height: .9; letter-spacing: -.005em;
}
.dream-photo {
  position: absolute; z-index: 0; bottom: 0;
  right: max(0px, calc((100vw - var(--max)) / 2));
  height: 92svh; aspect-ratio: 2 / 3;
  will-change: transform;
}
.dream-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 899px) {
  .dream-photo { right: -18vw; height: 62svh; opacity: .5; }
}
.sw { display: inline; opacity: .16; transition: opacity .15s linear; }
.dream footer { margin-top: 28px; font-size: 16px; font-weight: 600; }
.dream-kicker { margin-bottom: 28px; }
.dream-kicker::before { background: #fff; }

/* ============ Galería ============ */
.gallery { padding-block: 140px 120px; position: relative; }
.gallery-head { margin-bottom: 48px; }
.gal-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.gal-viewport.is-dragging { cursor: grabbing; }
.gal-track { display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); will-change: transform; transition: opacity .25s, filter .25s; }
.gal-card { margin: 0; flex: none; transform: skewX(var(--sk, 0deg)); outline-offset: 4px; }
.gal-card[hidden] { display: none; }
.gal-media { position: relative; overflow: hidden; height: clamp(340px, 62vh, 640px); aspect-ratio: var(--ar, 3 / 4); border-radius: 4px; background: var(--bg-3); }
.gal-media::before { /* shimmer mientras carga */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .07) 50%, transparent 65%);
  transform: translateX(-100%); animation: shimmer 2.8s ease-in-out infinite;
}
.gal-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); will-change: transform; -webkit-user-drag: none; }
.gal-controls { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.gal-btn { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; transition: background-color .3s, border-color .3s; }
.gal-btn:hover { background: var(--red); border-color: var(--red); }
.gal-btn svg { width: 20px; height: 20px; }
.gal-progress { flex: 1; height: 2px; background: var(--line); }
.gal-progress i { display: block; height: 100%; background: var(--text); transform-origin: left; transform: scaleX(.15); }

@keyframes shimmer { to { transform: translateX(100%); } }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 180; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 6, .92); opacity: 0; transition: opacity .45s; }
html.lb-open .lb-backdrop { opacity: 1; }
.lb-media { position: fixed; overflow: hidden; border-radius: 4px; transform-origin: 0 0; transition: transform .75s var(--spring); }
.lb-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-media.is-closing { transition: transform .5s var(--ease-io); }
.lb-cap, .lb-close { position: fixed; z-index: 2; opacity: 0; transition: opacity .4s .2s; }
html.lb-open .lb-cap, html.lb-open .lb-close { opacity: 1; }
.lb-cap { left: var(--pad); bottom: 22px; right: 120px; margin: 0; font-size: 14px; color: var(--text-2); }
.lb-close { top: 18px; right: var(--pad); padding: 10px 14px; border: 1px solid var(--line); border-radius: 3px; font-size: 14px; font-weight: 600; }

/* ============ Fuera de la cancha ============ */
.cards { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; overflow: hidden;
  min-height: 360px; padding: 26px;
  /* filas fijas: ícono / aire / etiqueta / título (2 líneas) / frase opcional → títulos alineados */
  display: grid; grid-template-rows: auto 1fr auto auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px;
  transform-style: preserve-3d; will-change: transform;
}
.card::after { /* brillo que sigue al mouse */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .09), transparent 45%);
}
.card:hover::after { opacity: 1; }
.card-icon { width: 76px; height: 76px; color: var(--red); grid-row: 1; }
.card-icon svg { width: 100%; height: 100%; overflow: visible; }
.card-k { grid-row: 3; margin: 40px 0 8px; font-size: 14px; color: var(--muted); }
.card h3 { margin: 0; font-family: var(--display); font-weight: 850; font-size: clamp(38px, 3.3vw, 50px); line-height: .92; text-transform: uppercase; }
.card h3 { grid-row: 4; min-height: 1.84em; }
/* micro animaciones de íconos */
.steam path { opacity: 0; }
.card:hover .steam path, .card.is-touch .steam path { animation: steam 1.8s ease-out infinite; }
.card:hover .steam path:nth-child(2), .card.is-touch .steam path:nth-child(2) { animation-delay: .4s; }
.card:hover .steam path:nth-child(3), .card.is-touch .steam path:nth-child(3) { animation-delay: .8s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.bars rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.45); transition: transform .5s var(--spring); }
.card:hover .bars rect, .card.is-touch .bars rect { animation: eq .7s ease-in-out infinite alternate; }
.card:hover .bars rect:nth-child(2) { animation-delay: -.25s; }
.card:hover .bars rect:nth-child(3) { animation-delay: -.5s; }
.card:hover .bars rect:nth-child(4) { animation-delay: -.12s; }
.cutlery { transition: transform .7s var(--spring); transform-box: fill-box; transform-origin: center; }
.card:hover .cutlery.l { transform: rotate(-14deg) translateX(-2px); }
.card:hover .cutlery.r { transform: rotate(14deg) translateX(2px); }
.cross { transition: transform .8s var(--spring), fill .5s; transform-box: fill-box; transform-origin: 50% 100%; fill: transparent; }
.card:hover .cross, .card.is-touch .cross { transform: translateY(-3px) scale(1.06); fill: rgba(227, 0, 27, .18); }

/* ============ Contacto ============ */
.contact { padding-block: 140px 0; position: relative; overflow: hidden; }
.contact-title { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(68px, 14vw, 230px); line-height: .82; }
.contact-row { display: grid; gap: 40px; margin-top: 56px; align-items: center; }
@media (min-width: 900px) { .contact-row { grid-template-columns: auto 1fr; gap: 72px; } }
.mag-wrap { display: inline-block; }
.ig-cta {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  padding: 22px 28px; border-radius: 4px; overflow: hidden;
  background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 850; font-size: clamp(30px, 4vw, 54px); line-height: 1; text-transform: lowercase;
  will-change: transform;
}
.ig-cta::before { content: ""; position: absolute; inset: 0; background: #fff; transform: translateY(101%); transition: transform .6s var(--ease-out); }
.ig-cta:hover { color: var(--red); }
.ig-cta:hover::before { transform: none; }
.ig-cta > * { position: relative; }
.ig-cta svg { width: .8em; height: .8em; transition: transform .6s var(--spring); }
.ig-cta:hover svg { transform: rotate(45deg); }
.contact-info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-info div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.contact-info b { font-weight: 600; font-size: 17px; }
.footer { margin-top: 140px; padding-bottom: 28px; }
.footer-name {
  display: flex; justify-content: center; white-space: nowrap;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 11.6vw; line-height: .8; letter-spacing: -.01em;
  padding-top: .1em; overflow: hidden;
}
.footer-name .ch { transition: transform .7s var(--spring), color .3s; }
.footer-name .ch:hover { transform: translateY(-12%); color: var(--red); }
html.js .footer-name:not(.in) .ch { transform: translateY(100%); }
html.js .footer-name.in .ch { transition-delay: calc(var(--i) * 30ms), 0s; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--text); }

/* ============ Cursor con etiqueta ============ */
.cursor { position: fixed; left: 0; top: 0; z-index: 170; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-label {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 700;
  transform: scale(0); transition: transform .55s var(--spring);
}
.cursor.on .cursor-label { transform: scale(1); }

/* ============ Accesibilidad / carga ============ */
.skip { position: absolute; left: 12px; top: -64px; z-index: 300; padding: 10px 14px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; border-radius: 3px; transition: top .2s; }
.skip:focus { top: 12px; }
.family-note { margin-top: 30px !important; }

/* ============ Preguntas frecuentes ============ */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.45fr; gap: 72px; align-items: start; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; line-height: 1.3; transition: color .3s; }
.faq-item summary:hover h3 { color: #fff; }
.faq-item summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 100% no-repeat;
  transition: transform .6s var(--spring);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 0 26px; color: var(--text-2); max-width: 62ch; font-size: 17px; }
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: faqIn .5s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ============ Movimiento reducido ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reel-scrub, .dream { height: auto; }
  .reel-sticky, .dream-sticky { position: relative; height: auto; padding-block: 80px; }
  .reel-frame { transform: none; border-radius: 0; }
  .reel-ui { opacity: 1; transform: none; }
  .sw { opacity: 1 !important; }
}
