:root {
  --bg: #0a0908;
  --bg-2: #131110;
  --ink: #ece8dc;
  --ink-dim: #a09a8c;
  --ink-muted: #5b5750;
  --accent: #f4cf00;
  --accent-deep: #c9a900;
  --line: #2a2723;
  --grid-gap: 24px;
  --pad-x: clamp(20px, 4vw, 80px);
  --type-mega: clamp(56px, 9vw, 168px);
  --type-display: clamp(56px, 9vw, 160px);
  --type-h2: clamp(42px, 6vw, 96px);
  --type-h3: clamp(28px, 3.4vw, 48px);
  --type-body: clamp(16px, 1.05vw, 19px);
  --type-lede: clamp(22px, 1.8vw, 30px);
  --type-label: 12px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--type-body);
  line-height: 1.5;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #000; }

/* ------ FILM GRAIN ------ */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0   0 0 0 0 0   0 0 0 0 0   0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.7s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0) }
  10%  { transform: translate(-2%,-3%) }
  20%  { transform: translate(-4%,2%) }
  30%  { transform: translate(2%,-4%) }
  40%  { transform: translate(-2%,5%) }
  50%  { transform: translate(-4%,2%) }
  60%  { transform: translate(3%,0) }
  70%  { transform: translate(0,3%) }
  80%  { transform: translate(-3%,-1%) }
  90%  { transform: translate(2%,-3%) }
}

/* Scan-line subtle */
.scanlines {
  position: fixed; inset: 0; z-index: 99; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.06) 3px,
    rgba(0,0,0,0) 4px
  );
  opacity: 0.5;
}

/* ------ LOADER ------ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--pad-x);
  padding-bottom: 60px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-dim);
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.loader::before {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; background: var(--accent);
  width: 0;
  animation: load-bar 1.6s var(--ease-out) forwards;
}
.loader-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 0.9;
}
.loader-title .y { color: var(--accent); display: block; }
.loader-right { text-align: right; line-height: 1.6; }
.loader.done { opacity: 0; visibility: hidden; }
@keyframes load-bar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ------ CUSTOM CURSOR (desktop only) ------ */
@media (pointer: fine) {
  .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 150;
    width: 28px; height: 28px; border: 1px solid var(--accent);
    border-radius: 50%; pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.18s var(--ease-out), width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
  }
  .cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 151;
    width: 4px; height: 4px; background: var(--accent);
    border-radius: 50%; pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .cursor-ring.hover { width: 64px; height: 64px; background: rgba(244, 207, 0, 0.12); }
}

/* ------ TOP NAV ------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.3s, backdrop-filter 0.3s;
  mix-blend-mode: difference;
  color: #fff;
}
.nav.scrolled {
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(14px);
  mix-blend-mode: normal;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  font-family: "Anton", sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid currentColor;
  padding: 8px 24px;
  display: inline-flex; gap: 8px; align-items: center;
}
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ------ HERO ------ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--pad-x) 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  grid-template-rows: 1fr auto;
  gap: 40px;
  position: relative;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: #000;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  filter: contrast(1.12) brightness(1.15);
  transform: scale(1.03);
}
.hero-bg-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,9,8,0.88) 0%, rgba(10,9,8,0.5) 38%, rgba(10,9,8,0.08) 65%, rgba(10,9,8,0.25) 100%),
    linear-gradient(0deg, rgba(10,9,8,0.8) 0%, rgba(10,9,8,0) 35%, rgba(10,9,8,0.35) 100%);
}
.hero > .hero-meta-top,
.hero > .hero-title,
.hero > .hero-poster,
.hero > .hero-bottom { position: relative; z-index: 1; }
.hero-meta-top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  padding-top: 40px;
}
.hero-meta-top span { display: inline-flex; gap: 10px; align-items: center; }
.hero-meta-top .pip { color: var(--accent); }

.hero-title {
  grid-column: 1;
  align-self: end;
}
.hero-title h1 {
  font-family: "Anton", sans-serif;
  font-size: var(--type-mega);
  line-height: 0.85;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero-title h1 .gray { color: var(--ink); }
.hero-title h1 .yellow { color: var(--accent); }

.hero-poster {
  grid-column: 2;
  align-self: end;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 16px;
}
.hero-poster-wrap {
  width: 100%;
  max-width: 380px;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.hero-poster-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}
.hero-poster-wrap:hover img { transform: scale(1.06); }
.hero-poster-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.hero-poster-caption {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
  max-width: 380px;
}

.hero-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.hero-tagline {
  max-width: 460px;
  font-size: var(--type-lede);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 300;
}
.hero-tagline em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 18px 26px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: #000; border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }
.btn.primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn.primary::before { background: var(--ink); }
.btn.primary:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-poster { grid-column: 1; align-self: start; align-items: flex-start; }
  .hero-poster-wrap { max-width: 280px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
}

/* ------ MARQUEE ------ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
  font-family: "Anton", sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 80px; }
.marquee-track .star { color: var(--accent); }
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ------ SECTION SHELL ------ */
section[data-section] {
  padding: clamp(80px, 12vw, 180px) var(--pad-x);
  position: relative;
}
.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  display: flex; gap: 14px; align-items: center;
}
.section-label::before {
  content: ""; width: 8px; height: 8px; background: var(--accent);
}
.section-num {
  position: absolute;
  top: 40px; right: var(--pad-x);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
}

/* ------ TRAILER ------ */
.trailer-section { background: var(--bg); }
.trailer-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.trailer-poster-bg {
  position: absolute; inset: 0;
  background-color: #000;
  background-image: url("../assets/poster.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) contrast(1.08) saturate(1.1);
  transform: scale(1.05);
  transition: transform 1.5s var(--ease-out), filter 0.6s;
}
.trailer-wrap:hover .trailer-poster-bg {
  transform: scale(1.1);
  filter: brightness(0.62) contrast(1.08) saturate(1.2);
}
.trailer-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  z-index: 2;
}
.trailer-top {
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.trailer-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(120px, 12vw, 180px);
  height: clamp(120px, 12vw, 180px);
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #000;
  font-family: "Anton", sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.4s var(--ease-out), background 0.3s;
  z-index: 3;
}
.trailer-play::after {
  content: ""; position: absolute; inset: -10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: ring-pulse 2.4s ease-out infinite;
}
@keyframes ring-pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.trailer-wrap:hover .trailer-play { transform: translate(-50%, -50%) scale(1.08); }
.trailer-bottom {
  display: flex; justify-content: space-between;
  align-items: flex-end;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.trailer-bottom .duration {
  font-family: "Anton", sans-serif;
  font-size: clamp(40px, 4vw, 64px);
  color: var(--ink);
  line-height: 0.9;
}

/* ------ SINOPSIS ------ */
.sinopsis-section { background: var(--bg-2); }
.sinopsis-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.sinopsis-body p {
  font-size: var(--type-lede);
  line-height: 1.4;
  margin-bottom: 28px;
  font-weight: 300;
  color: var(--ink);
  max-width: 60ch;
}
.sinopsis-body p.lead {
  font-size: var(--type-h3);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 40px;
}
.sinopsis-body p .accent { color: var(--accent); }
.sinopsis-side {
  position: sticky;
  top: 100px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sinopsis-side dl { display: grid; gap: 14px; }
.sinopsis-side dt { color: var(--ink-muted); font-size: 10px; }
.sinopsis-side dd { color: var(--ink); margin-top: 2px; }
.sinopsis-side .divider { border-top: 1px solid var(--line); margin: 24px 0; }

@media (max-width: 900px) {
  .sinopsis-grid { grid-template-columns: 1fr; gap: 40px; }
  .sinopsis-side { position: static; }
}

/* ------ REFRAN ------ */
.refran-section {
  padding: clamp(80px, 14vw, 200px) var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.refran {
  font-family: "Anton", sans-serif;
  font-size: var(--type-display);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 1400px;
  margin: 0 auto;
  text-wrap: balance;
}
.refran .quote-mark {
  color: var(--accent);
  display: inline-block;
}
.refran-attr {
  margin-top: 60px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
}

/* ------ GALLOS (trio) ------ */
.gallos-section { background: var(--bg); }
.gallos-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.gallos-intro h2 {
  font-family: "Anton", sans-serif;
  font-size: var(--type-h2);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.gallos-intro h2 .accent { color: var(--accent); }
.gallos-intro p {
  font-size: var(--type-lede);
  line-height: 1.35;
  color: var(--ink-dim);
  max-width: 50ch;
  font-weight: 300;
}
.gallos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.gallo {
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}
.gallo:hover { transform: translateY(-6px); }
.gallo-img {
  aspect-ratio: 3 / 4;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(244,207,0,0.04) 12px, rgba(244,207,0,0.04) 13px);
  border: 1px solid var(--line);
}
.gallo-img::before {
  content: attr(data-placeholder);
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.6;
  width: 80%;
}
.gallo-img::after {
  content: "";
  position: absolute;
  top: 16px; left: 16px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}
.gallo-img.has-img {
  background-image: none;
}
.gallo-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: filter 0.6s var(--ease-out), transform 1.2s var(--ease-out);
  transform: scale(1.02);
}
.gallo:hover .gallo-img img {
  filter: grayscale(0) contrast(1.08) brightness(1);
  transform: scale(1.06);
}
.gallo-img.has-img::before { content: none; }
.gallo-img.has-img::after { z-index: 2; }
.gallo-img .gallo-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,9,8,0) 45%, rgba(10,9,8,0.55) 100%);
  pointer-events: none;
}
.gallo-num {
  position: absolute;
  top: 20px; right: 20px;
  font-family: "Anton", sans-serif;
  font-size: 24px;
  color: #000;
  line-height: 1;
  z-index: 2;
}
.gallo-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.gallo-name {
  font-family: "Anton", sans-serif;
  font-size: clamp(36px, 3.4vw, 56px);
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.gallo-role {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .gallos-intro { grid-template-columns: 1fr; }
  .gallos-grid { grid-template-columns: 1fr; }
}

/* ------ DIRECCION ------ */
.direccion-section { background: var(--bg-2); }
.direccion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}
.director {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
}
.director-avatar {
  width: 120px; height: 120px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Anton", sans-serif;
  font-size: 40px;
  color: var(--accent);
  position: relative;
}
.director-avatar::after {
  content: ""; position: absolute; inset: -6px;
  border: 1px dashed var(--line);
  border-radius: 50%;
}
.director h3 {
  font-family: "Anton", sans-serif;
  font-size: var(--type-h3);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.director-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.director-bio {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-dim);
}

@media (max-width: 900px) {
  .direccion-grid { grid-template-columns: 1fr; }
}

/* ------ AWARDS ------ */
.awards-section {
  padding: 100px var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}
.award {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 0;
  border-right: 1px solid var(--line);
  padding-right: 32px;
}
.award:last-child { border-right: none; }
.award-icon {
  font-family: "Anton", sans-serif;
  font-size: 60px;
  color: var(--accent);
  line-height: 1;
}
.award-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
}
.award-title {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .award { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
}

/* ------ GALERIA ------ */
.galeria-section { background: var(--bg); }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 16px;
}
.gal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.gal img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05) brightness(0.9);
  transition: filter 0.6s var(--ease-out), transform 1.4s var(--ease-out);
  transform: scale(1.03);
}
.gal:hover img { filter: grayscale(0) contrast(1.08) brightness(1); transform: scale(1.08); }
.gal::before {
  content: attr(data-label);
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-shadow: 0 1px 6px rgba(0,0,0,0.85);
}
.gal::after {
  content: attr(data-num);
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: "Anton", sans-serif;
  font-size: 18px;
  color: var(--accent);
  text-shadow: 0 1px 6px rgba(0,0,0,0.85);
}
.gal-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,9,8,0.15) 0%, rgba(10,9,8,0) 35%, rgba(10,9,8,0.6) 100%);
  pointer-events: none;
}
.gal:hover { border-color: var(--accent); }
.gal-1 { grid-column: 1 / 7;  grid-row: 1 / 5; }
.gal-2 { grid-column: 7 / 13; grid-row: 1 / 3; }
.gal-3 { grid-column: 7 / 10; grid-row: 3 / 5; }
.gal-4 { grid-column: 10 / 13; grid-row: 3 / 5; }
.gal-5 { grid-column: 1 / 5;  grid-row: 5 / 9; }
.gal-6 { grid-column: 5 / 9;  grid-row: 5 / 9; }
.gal-7 { grid-column: 9 / 13; grid-row: 5 / 7; }
.gal-8 { grid-column: 9 / 13; grid-row: 7 / 9; }

@media (max-width: 900px) {
  .galeria-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gal-1, .gal-2, .gal-3, .gal-4, .gal-5, .gal-6, .gal-7, .gal-8 {
    grid-column: auto; grid-row: auto;
  }
  .gal-1 { grid-column: 1 / -1; }
}

/* ------ RESERVA / CTA ------ */
.reserva-section {
  background: var(--accent);
  color: #000;
  padding: clamp(100px, 14vw, 200px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.reserva-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,0,0,0.08) 1px, transparent 2px),
    radial-gradient(circle at 80% 60%, rgba(0,0,0,0.08) 1px, transparent 2px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
  opacity: 0.6;
}
.reserva-inner {
  position: relative; z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}
.reserva-section .section-label { color: #000; }
.reserva-section .section-label::before { background: #000; }
.reserva h2 {
  font-family: "Anton", sans-serif;
  font-size: var(--type-display);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 60px;
  text-wrap: balance;
  max-width: 16ch;
}
.reserva-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  max-width: 720px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.reserva-form input {
  background: transparent;
  border: none;
  padding: 24px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  color: #000;
  outline: none;
  font-weight: 400;
}
.reserva-form input::placeholder { color: rgba(0,0,0,0.45); }
.reserva-form button {
  background: #000;
  color: var(--accent);
  border: none;
  padding: 0 36px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s;
  display: flex; align-items: center; gap: 12px;
}
.reserva-form button:hover { background: #1a1a1a; }
.reserva-fineprint {
  margin-top: 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.6);
}

/* ------ CREDITOS ------ */
.creditos-section { background: var(--bg); }
.creditos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 60px;
}
.credito {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.credito-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.credito-name {
  font-family: "Anton", sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--ink);
}

@media (max-width: 900px) {
  .creditos-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .creditos-grid { grid-template-columns: 1fr; }
}

/* ------ FOOTER ------ */
footer {
  padding: 80px var(--pad-x) 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-mega {
  font-family: "Anton", sans-serif;
  font-size: clamp(80px, 18vw, 320px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 60px;
  text-wrap: balance;
}
.footer-meta {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-meta h4 {
  color: var(--ink-muted);
  margin-bottom: 14px;
  font-weight: 500;
  font-size: 10px;
}
.footer-meta a, .footer-meta li {
  color: var(--ink-dim);
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
  list-style: none;
}
.footer-meta a:hover { color: var(--accent); }
.footer-base {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .footer-meta { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; gap: 14px; }
}

/* ------ REVEAL ON SCROLL ------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* ------ DECORATIVE CORNER CROSSES ------ */
.corner-cross {
  position: fixed;
  width: 12px; height: 12px;
  z-index: 70;
  pointer-events: none;
}
.corner-cross::before, .corner-cross::after {
  content: "";
  position: absolute;
  background: var(--ink-muted);
}
.corner-cross::before {
  left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
}
.corner-cross::after {
  top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%);
}
.corner-cross.tl { top: 20px; left: 20px; }
.corner-cross.tr { top: 20px; right: 20px; }
.corner-cross.bl { bottom: 20px; left: 20px; }
.corner-cross.br { bottom: 20px; right: 20px; }

/* ------ MODAL ------ */
.modal {
  position: fixed; inset: 0; z-index: 250;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal.open { display: flex; }
.modal-inner {
  width: 100%; height: 100%;
  background: #000;
  position: relative;
}
.modal-close {
  position: fixed; top: 20px; right: 20px; z-index: 10;
  background: rgba(10,9,8,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.modal-close:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.modal-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-align: center;
  padding: 40px;
}

/* ------ ROTATE OVERLAY ------ */
.rotate-overlay {
  position: absolute; inset: 0; z-index: 6;
  background: #000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  padding: 40px;
}
.rotate-icon {
  width: 60px; height: 80px;
  border: 3px solid var(--accent);
  border-radius: 10px;
  position: relative;
  animation: rotate-hint 2.4s ease-in-out infinite;
  transform-origin: center center;
}
.rotate-icon::before {
  content: "";
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.rotate-icon::after {
  content: "";
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 3px;
  border-radius: 2px;
  background: var(--ink-muted);
}
@keyframes rotate-hint {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(0deg); }
  55%  { transform: rotate(90deg); }
  80%  { transform: rotate(90deg); }
  100% { transform: rotate(0deg); }
}
.rotate-label {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1;
}
.rotate-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}
@media (pointer: coarse) and (orientation: portrait) {
  .modal.open .rotate-overlay { display: flex; }
}
