:root {
    --cyan: #00f5ff;
    --magenta: #ff006e;
    --violet: #8b00ff;
    --amber: #ffb703;
    --dark: #020408;
    --dark2: #050c14;
    --dark3: #0a1628;
    --grid: rgba(0,245,255,0.025);
    --text: #f0f8ff;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Source Sans 3', sans-serif;
    overflow-x: hidden;
    cursor: crosshair;
  }
  /* SCANLINES — solo en imágenes, no en texto */
  body::before {
    display: none;
  }
  /* Scanlines solo en el hero title */
  .hero-title::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.22) 2px,
      rgba(0,0,0,0.22) 4px
    );
    pointer-events: none;
    z-index: 2;
  }
  .hero-title { position: relative; }
  .card-img-wrap::before,
  .sc-img-pane::before,
  .story-panel-img::before,
  .escena::after,
  .poster-img::after,
  .film-poster-col::after,
  .trailer-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.18) 2px,
      rgba(0,0,0,0.18) 4px
    );
    pointer-events: none;
    z-index: 5;
  }
  body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none; z-index: 0;
  }

  /* ── HERO ───────────────────────────────────────── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 8rem 2rem 6rem;
    overflow: hidden; z-index: 1;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,0,255,0.15) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 20% 80%, rgba(0,245,255,0.1) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255,0,110,0.08) 0%, transparent 60%);
    z-index: -1;
  }
  .hero-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem; letter-spacing: 0.3em; color: var(--cyan);
    border: 1px solid rgba(0,245,255,0.3);
    padding: 0.4rem 1.2rem; margin-bottom: 2rem;
    animation: blink-border 3s infinite;
  }
  .hero-tag::before { content: '[ '; color: var(--magenta); }
  .hero-tag::after  { content: ' ]'; color: var(--magenta); }
  .hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 5rem); font-weight: 900;
    line-height: 1; text-align: center; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: 0.5rem;
  }
  .hero-title .line1 { display: block; color: var(--text); text-shadow: 0 0 40px rgba(0,245,255,0.3); }
  .hero-title .line2 { display: block; color: var(--cyan); text-shadow: 0 0 20px var(--cyan), 0 0 60px rgba(0,245,255,0.5); animation: flicker 8s infinite; }
  .hero-subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(0.65rem, 1.2vw, 0.85rem);
    color: var(--magenta); letter-spacing: 0.2em;
    text-align: center; margin-bottom: 3rem;
    text-shadow: 0 0 10px var(--magenta);
  }
  .hero-divider {
    width: 100%; max-width: 700px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
    margin-bottom: 0; position: relative;
  }
  .hero-divider::before {
    content: '◆'; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: var(--amber); font-size: 0.8rem;
    background: var(--dark); padding: 0 0.5rem;
    text-shadow: 0 0 8px var(--amber);
  }

  /* ── SCROLL STORY ───────────────────────────────── */
  /* ── STORY CAROUSEL ─────────────────────────────── */
  .story-section { position: relative; z-index: 1; }
  .story-carousel {
    display: grid;
    grid-template-columns: 55% 45%;
    height: 90vh; min-height: 520px;
    position: relative; overflow: hidden;
  }
  @media (max-width: 768px) {
    .story-carousel { grid-template-columns: 1fr; grid-template-rows: 50% 50%; height: auto; min-height: 80vh; }
  }

  /* Image pane */
  .sc-img-pane { position: relative; overflow: hidden; }
  .sc-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.04);
    transition: opacity 0.65s cubic-bezier(0.23,1,0.32,1),
                transform 0.8s cubic-bezier(0.23,1,0.32,1);
    filter: saturate(0.85) contrast(1.05) brightness(0.82);
  }
  .sc-img.active {
    opacity: 1; transform: scale(1.06);
    filter: saturate(0.9) contrast(1.02) brightness(0.92);
    animation: sc-img-breathe 6s ease-in-out infinite;
  }
  @keyframes sc-img-breathe {
    0%, 100% { transform: scale(1.06); }
    50%       { transform: scale(1.10); }
  }
  .sc-img-pane::after {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to right, transparent 55%, var(--dark) 100%);
    pointer-events: none;
  }
  .sc-img-pane::before {
    content: ''; position: absolute;
    left: 0; right: 0; height: 2px; top: 0; z-index: 3;
    background: linear-gradient(90deg, transparent, rgba(0,245,255,0.5), transparent);
    box-shadow: 0 0 10px rgba(0,245,255,0.35);
    animation: scan-anim 6s linear infinite;
    pointer-events: none;
  }

  /* Text pane */
  .sc-text-pane {
    background: var(--dark);
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem 3.5rem 3rem 2.5rem;
    position: relative; z-index: 5; overflow: hidden;
  }
  @media (max-width: 768px) { .sc-text-pane { padding: 1.8rem 1.5rem 5rem; } }

  /* Accent left border */
  .sc-text-pane::before {
    content: ''; position: absolute;
    left: 0; top: 15%; bottom: 15%; width: 2px;
    background: linear-gradient(to bottom, var(--cyan), var(--violet));
    box-shadow: 0 0 8px var(--cyan);
  }

  /* Slides */
  .sc-slide {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem 3.5rem 3rem 2.5rem;
    opacity: 0; transform: translateX(24px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23,1,0.32,1);
    pointer-events: none;
  }
  .sc-slide.active {
    opacity: 1; transform: translateX(0);
    pointer-events: auto;
  }
  .sc-slide.exit-left  { opacity: 0; transform: translateX(-24px); }
  @media (max-width: 768px) { .sc-slide { padding: 1.8rem 1.5rem 5rem; } }

  .sc-badge {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.55rem; color: rgba(0,245,255,0.4);
    letter-spacing: 0.3em; margin-bottom: 1.1rem;
  }
  .sc-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.1rem, 2.4vw, 1.75rem);
    font-weight: 900; color: #fff;
    text-transform: uppercase; letter-spacing: 0.05em;
    line-height: 1.1; margin-bottom: 1.4rem;
  }
  .sc-title em {
    display: block; color: #fff; font-style: normal;
    font-weight: 400;
  }
  .sc-text {
    font-size: 0.98rem; line-height: 1.5;
    color: #fff; font-weight: 400;
    max-width: 460px;
  }
  .sc-text strong { color: #fff; font-weight: 700; }

  /* Controls */
  .sc-controls {
    position: absolute; bottom: 2rem; left: 2.5rem; right: 2.5rem;
    display: flex; align-items: center; gap: 1.2rem;
    z-index: 20;
  }
  .sc-btn {
    background: none;
    border: 1px solid rgba(0,245,255,0.3);
    color: var(--cyan);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem; letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex; align-items: center; gap: 0.4rem;
  }
  .sc-btn:hover {
    background: rgba(0,245,255,0.08);
    border-color: var(--cyan);
    box-shadow: 0 0 12px rgba(0,245,255,0.2);
  }
  .sc-btn:disabled {
    opacity: 0.2; cursor: default;
    box-shadow: none; background: none;
  }
  .sc-dots {
    display: flex; gap: 0.5rem; flex: 1; justify-content: center;
  }
  .sc-dot {
    width: 20px; height: 2px;
    background: rgba(0,245,255,0.2);
    transition: all 0.3s ease; cursor: pointer;
  }
  .sc-dot.active {
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
    width: 36px;
  }

  /* ── HERO BIG POSTER ──────────────────────────── */
  .hero-poster-big {
    position: relative;
    width: 100%; max-width: 680px;
    margin-top: 3rem;
  }
  .hero-poster-img {
    width: 100%; display: block;
    filter: saturate(0.9) contrast(1.05) brightness(0.88);
    box-shadow: 0 0 80px rgba(139,0,255,0.15), 0 0 40px rgba(0,245,255,0.08);
    animation: poster-appear 1.4s cubic-bezier(0.23,1,0.32,1) both 0.4s;
    position: relative; z-index: 1;
  }
  /* Animated corner brackets */
  .poster-border-tl,
  .poster-border-tr,
  .poster-border-bl,
  .poster-border-br {
    position: absolute; z-index: 3;
    width: 36px; height: 36px;
  }
  .poster-border-tl {
    top: -3px; left: -3px;
    border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan);
    animation: bracket-tl 3s ease-in-out infinite;
  }
  .poster-border-tr {
    top: -3px; right: -3px;
    border-top: 2px solid var(--magenta); border-right: 2px solid var(--magenta);
    animation: bracket-tr 3s ease-in-out infinite 0.5s;
  }
  .poster-border-bl {
    bottom: -3px; left: -3px;
    border-bottom: 2px solid var(--magenta); border-left: 2px solid var(--magenta);
    animation: bracket-bl 3s ease-in-out infinite 1s;
  }
  .poster-border-br {
    bottom: -3px; right: -3px;
    border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan);
    animation: bracket-br 3s ease-in-out infinite 1.5s;
  }
  @keyframes bracket-tl {
    0%,100% { width:36px; height:36px; box-shadow: -3px -3px 14px rgba(0,245,255,0.35); }
    50%      { width:56px; height:56px; box-shadow: -3px -3px 28px rgba(0,245,255,0.8); }
  }
  @keyframes bracket-tr {
    0%,100% { width:36px; height:36px; box-shadow: 3px -3px 14px rgba(255,0,110,0.35); }
    50%      { width:56px; height:56px; box-shadow: 3px -3px 28px rgba(255,0,110,0.8); }
  }
  @keyframes bracket-bl {
    0%,100% { width:36px; height:36px; box-shadow: -3px 3px 14px rgba(255,0,110,0.35); }
    50%      { width:56px; height:56px; box-shadow: -3px 3px 28px rgba(255,0,110,0.8); }
  }
  @keyframes bracket-br {
    0%,100% { width:36px; height:36px; box-shadow: 3px 3px 14px rgba(0,245,255,0.35); }
    50%      { width:56px; height:56px; box-shadow: 3px 3px 28px rgba(0,245,255,0.8); }
  }
  /* Running border line that travels around the poster */
  .poster-border-runner {
    position: absolute; inset: -3px; z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(0,245,255,0.07);
  }
  /* Top runner */
  .poster-border-runner::before {
    content: '';
    position: absolute;
    top: -1px; left: -100%;
    width: 50%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
    box-shadow: 0 0 16px var(--cyan), 0 0 30px rgba(0,245,255,0.4);
    animation: runner-h 2.8s cubic-bezier(0.4,0,0.6,1) infinite;
  }
  /* Right runner */
  .poster-border-runner::after {
    content: '';
    position: absolute;
    right: -1px; top: -100%;
    width: 2px; height: 50%;
    background: linear-gradient(180deg, transparent, var(--magenta), var(--violet), transparent);
    box-shadow: 0 0 16px var(--magenta), 0 0 30px rgba(255,0,110,0.4);
    animation: runner-v 2.8s cubic-bezier(0.4,0,0.6,1) infinite 1.4s;
  }
  @keyframes runner-h {
    0%   { left: -50%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 150%; opacity: 0; }
  }
  @keyframes runner-v {
    0%   { top: -50%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 150%; opacity: 0; }
  }
  @keyframes corner-pulse-c {
    0%,100% { box-shadow: -2px -2px 8px rgba(0,245,255,0.3); }
    50%      { box-shadow: -2px -2px 18px rgba(0,245,255,0.8); }
  }
  @keyframes corner-pulse-m {
    0%,100% { box-shadow: 2px -2px 8px rgba(255,0,110,0.3); }
    50%      { box-shadow: 2px -2px 18px rgba(255,0,110,0.8); }
  }
  .hero-poster-vignette {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(2,4,8,0.85) 100%);
    pointer-events: none;
  }

  /* ── FILM PRESENTATION ──────────────────────────── */
  .film-presentation {
    position: relative; z-index: 1;
    padding: 6rem 2rem 6rem;
    overflow: hidden;
  }
  .film-presentation-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 100% 50% at 50% 50%, rgba(139,0,255,0.07) 0%, transparent 70%);
    pointer-events: none;
  }

  /* Horizontal rule between hero and film */
  .section-rule {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,245,255,0.15), transparent);
    margin: 0;
  }

  /* Cinematic poster + info layout */
  .film-stage {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 5rem;
    align-items: start;
  }
  @media (max-width: 960px) {
    .film-stage { grid-template-columns: 1fr; gap: 3rem; }
    .film-poster-col { max-width: 380px; margin: 0 auto; }
  }

  /* Poster column */
  .film-poster-col {
    position: relative;
  }

  /* Animated frame lines that draw in */
  .poster-frame {
    position: relative;
    animation: poster-appear 1.2s cubic-bezier(0.23,1,0.32,1) both;
    animation-delay: 0.3s;
  }
  @keyframes poster-appear {
    from { opacity: 0; transform: translateX(-40px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
  }

  .poster-frame::before {
    content: '';
    position: absolute; inset: -10px;
    border: 1px solid rgba(0,245,255,0.12);
    animation: frame-pulse 4s ease-in-out infinite;
  }
  @keyframes frame-pulse {
    0%, 100% { box-shadow: 0 0 0 rgba(0,245,255,0); border-color: rgba(0,245,255,0.12); }
    50% { box-shadow: 0 0 30px rgba(0,245,255,0.08); border-color: rgba(0,245,255,0.25); }
  }

  .poster-img {
    width: 100%; display: block;
    filter: saturate(0.92) contrast(1.03) brightness(0.95);
    border: 1px solid rgba(0,245,255,0.18);
    box-shadow: 0 0 60px rgba(0,245,255,0.06), 0 20px 80px rgba(0,0,0,0.6);
    position: relative; z-index: 1;
  }

  /* Corner brackets animated */
  .poster-corner {
    position: absolute;
    width: 24px; height: 24px;
    z-index: 3;
  }
  .poster-corner.tl { top: -2px; left: -2px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); box-shadow: -2px -2px 8px rgba(0,245,255,0.4); animation: corner-draw 0.6s ease both 0.8s; }
  .poster-corner.tr { top: -2px; right: -2px; border-top: 2px solid var(--magenta); border-right: 2px solid var(--magenta); box-shadow: 2px -2px 8px rgba(255,0,110,0.4); animation: corner-draw 0.6s ease both 1s; }
  .poster-corner.bl { bottom: -2px; left: -2px; border-bottom: 2px solid var(--magenta); border-left: 2px solid var(--magenta); box-shadow: -2px 2px 8px rgba(255,0,110,0.4); animation: corner-draw 0.6s ease both 1.2s; }
  .poster-corner.br { bottom: -2px; right: -2px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); box-shadow: 2px 2px 8px rgba(0,245,255,0.4); animation: corner-draw 0.6s ease both 1.4s; }
  @keyframes corner-draw {
    from { opacity: 0; width: 0; height: 0; }
    to   { opacity: 1; width: 24px; height: 24px; }
  }

  /* Glitch bars on hover */
  .poster-frame:hover .poster-img {
    animation: poster-glitch 0.3s steps(1) 1;
  }
  @keyframes poster-glitch {
    0%   { clip-path: none; transform: none; }
    20%  { clip-path: polygon(0 8%, 100% 8%, 100% 9%, 0 9%); transform: translateX(4px); filter: saturate(1.4) hue-rotate(10deg); }
    40%  { clip-path: none; transform: none; filter: saturate(0.92) contrast(1.03) brightness(0.95); }
    60%  { clip-path: polygon(0 55%, 100% 55%, 100% 57%, 0 57%); transform: translateX(-3px); filter: saturate(1.2); }
    80%  { clip-path: none; transform: none; filter: saturate(0.92) contrast(1.03) brightness(0.95); }
    100% { clip-path: none; transform: none; filter: saturate(0.92) contrast(1.03) brightness(0.95); }
  }

  /* Scan line that moves over poster */
  .poster-scan {
    position: absolute; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0,245,255,0.6), transparent);
    box-shadow: 0 0 12px rgba(0,245,255,0.5);
    top: 0; z-index: 4;
    animation: poster-scan-move 5s linear infinite;
  }
  @keyframes poster-scan-move {
    0%   { top: 0%; opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  /* Glow underneath poster */
  .poster-glow {
    position: absolute;
    bottom: -30px; left: 10%; right: 10%; height: 40px;
    background: radial-gradient(ellipse, rgba(0,245,255,0.15), transparent 70%);
    filter: blur(10px);
    z-index: 0;
    animation: glow-breathe 3s ease-in-out infinite;
  }
  @keyframes glow-breathe {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }

  /* Right info column */
  .film-info-col {
    display: flex; flex-direction: column; gap: 2.8rem;
    padding-top: 0.5rem;
  }

  /* Synopsis block */
  @keyframes slide-in-right {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .synopsis-block::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--cyan), var(--violet), transparent);
    box-shadow: 0 0 8px var(--cyan);
  }
  .synopsis-block::after {
    content: '';
    position: absolute; left: -1px; top: 0;
    width: 2px; height: 0%;
    background: var(--magenta);
    box-shadow: 0 0 10px var(--magenta);
    animation: syn-line-grow 2s ease both 1.2s;
  }
  @keyframes syn-line-grow {
    from { height: 0%; } to { height: 60%; }
  }

  .syn-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; color: var(--cyan);
    letter-spacing: 0.35em; margin-bottom: 0.8rem;
    padding-left: 1.5rem;
  }
  .syn-text {
    font-size: 1.05rem; line-height: 1.5;
    color: #fff; font-weight: 400;
    padding-left: 1.5rem;
  }
  .syn-text em { color: #fff; font-style: normal; font-weight: 600; }

  /* Festivals */
  .festivals-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.4em; color: var(--amber);
    text-shadow: 0 0 8px rgba(255,183,3,0.5);
    margin-bottom: 1.2rem;
    display: flex; align-items: center; gap: 0.8rem;
  }
  .festivals-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(255,183,3,0.4), transparent);
  }
  .festival-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
  .festival-item {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem; font-weight: 400;
    color: #fff;
    padding: 0.65rem 1rem;
    border-left: 1px solid rgba(0,245,255,0.12);
    border-bottom: 1px solid rgba(0,245,255,0.05);
    position: relative;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(15px);
  }
  .festival-item.visible {
    opacity: 1; transform: translateX(0);
  }
  .festival-item:last-child { border-bottom: none; }
  .festival-item::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 0;
    background: rgba(0,245,255,0.06);
    transition: width 0.3s ease;
  }
  .festival-item:hover::before { width: 100%; }
  .festival-item:hover {
    border-left-color: var(--cyan);
    color: #fff;
    padding-left: 1.4rem;
  }
  .festival-dot {
    display: inline-block; width: 5px; height: 5px;
    border-radius: 50%; background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
    margin-right: 0.7rem; vertical-align: middle;
    flex-shrink: 0;
  }
  .festival-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem; color: rgba(255,255,255,0.55);
    margin-left: 0.5rem;
  }

  /* Award */
  .award-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,183,3,0.1), 0 0 0 1px rgba(255,183,3,0.3);
  }
  .award-block::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(to bottom, var(--amber), var(--magenta));
    box-shadow: 0 0 12px var(--amber);
  }
  /* Shimmer */
  .award-block::after {
    content: '';
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,183,3,0.06), transparent);
    animation: award-shimmer 4s ease-in-out infinite 1.5s;
  }
  @keyframes award-shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
  }
  .award-trophy {
    font-size: 3rem; line-height: 1; flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(255,183,3,0.6));
    animation: trophy-float 3s ease-in-out infinite;
  }
  @keyframes trophy-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-6px) rotate(2deg); }
  }
  .award-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; color: var(--amber);
    letter-spacing: 0.35em; margin-bottom: 0.5rem;
    text-shadow: 0 0 6px var(--amber);
  }
  .award-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    font-weight: 900; color: #fff; /* award name */
    letter-spacing: 0.04em; line-height: 1.2;
  }
  .award-sub {
    display: block; color: rgba(255,255,255,0.75);
    font-size: 0.75em; font-weight: 400;
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.1em; margin-top: 0.4rem;
  }

  /* ── BUILDINGS SECTION ──────────────────────────── */
  .buildings-section {
    position: relative; z-index: 1;
    padding: 0 2rem 8rem;
    max-width: 1400px; margin: 0 auto;
  }
  .section-header {
    text-align: center; margin-bottom: 4rem;
    position: relative; z-index: 1; padding: 0 2rem;
  }
  .section-number {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem; color: var(--amber);
    letter-spacing: 0.4em; margin-bottom: 1rem;
    display: block; text-shadow: 0 0 6px var(--amber);
  }
  .section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.4rem, 3.5vw, 2.5rem);
    font-weight: 700; text-transform: uppercase;
    color: var(--text); letter-spacing: 0.1em;
  }
  .section-title span { color: var(--magenta); text-shadow: 0 0 15px var(--magenta); }
  .section-subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem; color: rgba(255,255,255,0.65);
    letter-spacing: 0.2em; margin-top: 0.8rem;
  }

  /* ── CONCEPT SECTION (below buildings) ─────────── */
  .concept-section {
    position: relative; z-index: 1;
    padding: 4rem 0;
  }
  .concept-section-inner {
    max-width: 900px; margin: 0 auto;
    padding: 0 2rem;
  }
  .concept-section .section-number { font-size: 0.55rem; }
  .concept-section-header {
    text-align: center; margin-bottom: 3rem;
  }
  .concept-inner {
    border-left: 2px solid var(--violet);
    padding-left: 2rem; position: relative;
  }
  .concept-inner::before { display: none; }
  .concept-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem; color: var(--cyan);
    letter-spacing: 0.3em; margin-bottom: 1rem; opacity: 0.8;
  }
  .concept-text {
    font-size: 1.05rem; line-height: 1.5;
    color: #fff; font-weight: 400;
  }
  .concept-title-sm { font-size: clamp(1rem, 2.2vw, 1.6rem) !important; }
  .concept-text em { color: inherit; font-style: normal; font-weight: 500; }
  .concept-text strong { color: inherit; font-weight: 600; }

  /* ── BUILDINGS GRID ─────────────────────────────── */
  .buildings-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
  }
  .building-card {
    position: relative; overflow: hidden; cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: var(--dark2);
  }
  .building-card:hover { transform: translateY(-6px); z-index: 10; }
  .card-1 { grid-column: 1 / 8; grid-row: 1; }
  .card-2 { grid-column: 8 / 13; grid-row: 1; }
  .card-3 { grid-column: 1 / 5; grid-row: 2; }
  .card-4 { grid-column: 5 / 9; grid-row: 2; }
  .card-5 { grid-column: 9 / 13; grid-row: 2; }
  .building-card::before, .building-card::after {
    content: ''; position: absolute;
    width: 16px; height: 16px; z-index: 4;
    transition: all 0.3s ease;
  }
  .building-card::before { top: 0; left: 0; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
  .building-card::after  { bottom: 0; right: 0; border-bottom: 2px solid var(--magenta); border-right: 2px solid var(--magenta); }
  .building-card:hover::before, .building-card:hover::after { width: 28px; height: 28px; }
  .card-img-wrap { position: relative; overflow: hidden; display: block; }
  .card-1 .card-img-wrap { height: 460px; }
  .card-2 .card-img-wrap { height: 460px; }
  .card-3 .card-img-wrap { height: 320px; }
  .card-4 .card-img-wrap { height: 320px; }
  .card-5 .card-img-wrap { height: 320px; }
  /* card-img-wrap img — replaced by card-img-3d and card-img-real */

  .card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(2,4,8,0.95) 0%, rgba(2,4,8,0.55) 45%, rgba(2,4,8,0.05) 100%);
    z-index: 2;
  }
  .card-scan {
    position: absolute; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    top: -10%; z-index: 3; opacity: 0;
    box-shadow: 0 0 12px var(--cyan);
    transition: opacity 0.2s;
  }
  .building-card:hover .card-scan { opacity: 1; animation: scan-anim 1.5s linear infinite; }

  .card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 3; }
  .card-index {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; color: var(--cyan);
    letter-spacing: 0.3em; margin-bottom: 0.4rem; opacity: 0.8;
  }
  .card-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.15rem); font-weight: 700;
    color: #fff; text-transform: uppercase; letter-spacing: 0.08em;
    line-height: 1.2; margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 30px rgba(0,0,0,0.9);
  }
  .card-desc {
    font-size: 0.95rem; color: #fff;
    line-height: 1.6; font-weight: 400;
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
  }
  .building-card:hover .card-desc { max-height: 80px; opacity: 1; }
  .card-tag {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; color: var(--magenta);
    border: 1px solid rgba(255,0,110,0.4);
    padding: 0.15rem 0.5rem; margin-top: 0.6rem;
    letter-spacing: 0.15em; text-shadow: 0 0 6px var(--magenta);
  }
  .card-accent {
    position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--cyan), var(--violet));
    z-index: 4; box-shadow: 0 0 8px var(--cyan);
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .building-card:hover .card-accent { transform: scaleY(1); }

  /* ── MODAL ──────────────────────────────────────── */
  .modal { display: none; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 2rem; }
  .modal.open { display: flex; }
  .modal-backdrop { position: absolute; inset: 0; background: rgba(2,4,8,0.95); backdrop-filter: blur(10px); cursor: pointer; }
  .modal-content {
    position: relative; z-index: 1;
    max-width: 1000px; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; border: 1px solid rgba(0,245,255,0.2);
    animation: modal-in 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }
  @media (max-width: 700px) { .modal-content { grid-template-columns: 1fr; } }
  .modal-img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; filter: saturate(0.9) contrast(1.1); display: block; }
  .modal-info { background: var(--dark2); padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
  .modal-info::before { content: ''; position: absolute; top: 2rem; bottom: 2rem; left: 0; width: 2px; background: linear-gradient(to bottom, var(--cyan), var(--violet), var(--magenta)); box-shadow: 0 0 12px var(--cyan); }
  .modal-num { font-family: 'Share Tech Mono', monospace; font-size: 0.6rem; color: var(--amber); letter-spacing: 0.4em; margin-bottom: 1rem; }
  .modal-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 900; text-transform: uppercase; color: #fff; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
  .modal-title span { display: block; color: var(--cyan); text-shadow: 0 0 20px var(--cyan); font-size: 0.65em; }
  .modal-body { font-size: 1.05rem; line-height: 1.5; color: #fff; font-weight: 400; margin-bottom: 1.5rem; }
  .modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
  .modal-tag { font-family: 'Share Tech Mono', monospace; font-size: 0.6rem; letter-spacing: 0.2em; padding: 0.3rem 0.7rem; border: 1px solid; }
  .modal-tag-c { color: var(--cyan); border-color: rgba(0,245,255,0.3); }
  .modal-tag-m { color: var(--magenta); border-color: rgba(255,0,110,0.3); }
  .modal-tag-v { color: var(--violet); border-color: rgba(139,0,255,0.3); }
  .modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: 1px solid rgba(255,0,110,0.4); color: var(--magenta); font-family: 'Share Tech Mono', monospace; font-size: 0.8rem; padding: 0.4rem 0.7rem; cursor: pointer; letter-spacing: 0.1em; transition: all 0.2s; z-index: 2; }
  .modal-close:hover { background: var(--magenta); color: #000; }

  /* ── DECORATIVE ─────────────────────────────────── */
  .noise {
    position: fixed; inset: 0; opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9998;
  }
  .corner-deco { position: fixed; width: 80px; height: 80px; z-index: 100; pointer-events: none; }
  .corner-deco.tl { top: 1.5rem; left: 1.5rem; border-top: 1px solid rgba(0,245,255,0.4); border-left: 1px solid rgba(0,245,255,0.4); }
  .corner-deco.tr { top: 1.5rem; right: 1.5rem; border-top: 1px solid rgba(255,0,110,0.4); border-right: 1px solid rgba(255,0,110,0.4); }
  .corner-deco.bl { bottom: 1.5rem; left: 1.5rem; border-bottom: 1px solid rgba(255,0,110,0.4); border-left: 1px solid rgba(255,0,110,0.4); }
  .corner-deco.br { bottom: 1.5rem; right: 1.5rem; border-bottom: 1px solid rgba(0,245,255,0.4); border-right: 1px solid rgba(0,245,255,0.4); }

  /* ── ANIMATIONS ─────────────────────────────────── */
  @keyframes flicker { 0%, 95%, 100% { opacity: 1; } 96% { opacity: 0.7; } 97% { opacity: 1; } 98% { opacity: 0.4; } 99% { opacity: 1; } }
  @keyframes scan-line { 0% { top: 0%; } 100% { top: 100%; } }
  @keyframes scan-anim { 0% { top: -2px; } 100% { top: 100%; } }
  @keyframes blink-border { 0%, 100% { border-color: rgba(0,245,255,0.3); } 50% { border-color: rgba(0,245,255,0.8); box-shadow: 0 0 10px rgba(0,245,255,0.3); } }
  @keyframes glitch-subtle {
    0%, 90%, 100% { clip-path: none; transform: scale(1.05); }
    91% { clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%); transform: scale(1.05) translateX(2px); }
    92% { clip-path: none; transform: scale(1.05); }
    93% { clip-path: polygon(0 60%, 100% 60%, 100% 62%, 0 62%); transform: scale(1.05) translateX(-2px); }
    94% { clip-path: none; transform: scale(1.05); }
  }
  @keyframes modal-in { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

  /* ── RESPONSIVE ─────────────────────────────────── */
  @media (max-width: 1000px) {
    .buildings-grid { grid-template-columns: 1fr 1fr; }
    .card-1 { grid-column: 1 / 3; }
    .card-2 { grid-column: 1 / 2; }
    .card-3 { grid-column: 2 / 3; }
    .card-4 { grid-column: 1 / 2; }
    .card-5 { grid-column: 2 / 3; }
    .card-1 .card-img-wrap { height: 360px; }
    .card-2 .card-img-wrap, .card-3 .card-img-wrap, .card-4 .card-img-wrap, .card-5 .card-img-wrap { height: 260px; }
  }
  @media (max-width: 600px) {
    .buildings-grid { grid-template-columns: 1fr; }
    .card-1, .card-2, .card-3, .card-4, .card-5 { grid-column: 1; }
    .card-1 .card-img-wrap, .card-2 .card-img-wrap, .card-3 .card-img-wrap, .card-4 .card-img-wrap, .card-5 .card-img-wrap { height: 280px; }
  }

  /* ── ESCENARIOS ──────────────────────────────────── */
  .escenarios-section {
    position: relative; z-index: 1;
    padding: 0 2rem 6rem;
    max-width: 1400px; margin: 0 auto;
  }

  /* Mosaic grid: 3 cols, rows vary */
  .escenarios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 420px 340px;
    gap: 3px;
  }
  @media (max-width: 900px) {
    .escenarios-grid { grid-template-columns: 1fr 1fr; grid-template-rows: unset; }
  }
  @media (max-width: 580px) {
    .escenarios-grid { grid-template-columns: 1fr; }
  }

  /* Each scene card */
  .escena {
    position: relative; overflow: hidden; cursor: default;
    background: var(--dark2);
  }
  /* Big hero tile */
  .escena-1 { grid-column: 1 / 3; grid-row: 1; }
  .escena-2 { grid-column: 3 / 4; grid-row: 1; }
  .escena-3 { grid-column: 1 / 2; grid-row: 2; }
  .escena-4 { grid-column: 2 / 3; grid-row: 2; }
  .escena-5 { grid-column: 3 / 4; grid-row: 2; }

  .escena img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    filter: saturate(0.9) contrast(1.02) brightness(0.92);
    transition: transform 0.7s cubic-bezier(0.23,1,0.32,1),
                filter 0.6s ease;
    transform: scale(1.04);
  }
  .escena:hover img {
    transform: scale(1.1);
    filter: saturate(0.95) contrast(1.0) brightness(0.98);
  }

  /* Gradient overlay */
  .escena-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
      rgba(2,4,8,0.92) 0%,
      rgba(2,4,8,0.35) 50%,
      rgba(2,4,8,0.05) 100%);
    transition: opacity 0.4s ease;
  }
  .escena-overlay { transition: background 0.25s ease; }
  .escena:hover .escena-overlay {
    background: linear-gradient(to top,
      rgba(2,4,8,0.98) 0%,
      rgba(2,4,8,0.5) 55%,
      rgba(2,4,8,0.1) 100%);
  }

  /* Info at the bottom */
  .escena-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.6rem 1.6rem 1.4rem;
    z-index: 3;
    transform: translateY(4px);
    transition: transform 0.4s ease;
  }
  .escena:hover .escena-info { transform: translateY(0); }

  .escena-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.58rem; color: var(--cyan);
    letter-spacing: 0.35em; margin-bottom: 0.35rem;
    opacity: 0.8;
  }
  .escena-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.85rem, 1.8vw, 1.15rem);
    font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 0.06em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
  }
  /* Accent line that expands on hover */
  .escena-line {
    position: absolute; bottom: 0; left: 0;
    height: 2px; width: 0;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    box-shadow: 0 0 10px var(--cyan);
    transition: width 0.5s cubic-bezier(0.23,1,0.32,1);
    z-index: 4;
  }
  .escena:hover .escena-line { width: 100%; }

  /* Corner marks top-left on hover */
  .escena::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 0; height: 0;
    border-top: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    transition: width 0.4s ease 0.1s, height 0.4s ease;
    z-index: 4;
  }
  .escena:hover::before { width: 24px; height: 24px; }

  /* 6th extra card: full-width banner at the bottom as an extra row */
  .escena-6 {
    grid-column: 1 / 4;
    height: 260px;
  }
  @media (max-width: 900px) { .escena-6 { grid-column: 1 / 3; } }
  @media (max-width: 580px) { .escena-6 { grid-column: 1; } }
  .escena-6 .escena-name { font-size: clamp(1rem, 2.5vw, 1.5rem); }

  /* ── TRAILER ─────────────────────────────────────── */
  .trailer-wrap {
    position: relative; z-index: 1;
    width: 100%; background: #000;
    overflow: hidden;
  }
  .trailer-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
  }
  .trailer-ratio iframe,
  .trailer-thumb {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: none;
  }
  .trailer-thumb {
    cursor: pointer; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .trailer-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    filter: brightness(0.55) saturate(0.8);
    transition: filter 0.4s ease;
    display: block;
  }
  .trailer-thumb:hover img { filter: brightness(0.7) saturate(0.9); }
  .trailer-play-btn {
    position: absolute; z-index: 2;
    width: 90px; height: 90px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(0,245,255,0.6));
  }
  .trailer-thumb:hover .trailer-play-btn { transform: scale(1.12); }
  .trailer-ring { animation: trailer-ring-pulse 2s ease-in-out infinite; }
  @keyframes trailer-ring-pulse {
    0%,100% { opacity: 0.2; stroke-width: 10; }
    50%      { opacity: 0.6; stroke-width: 18; }
  }
  .trailer-play-label {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem; color: rgba(0,245,255,0.7);
    letter-spacing: 0.35em; z-index: 2;
    animation: hint-fade 2.5s ease-in-out infinite;
  }
  .trailer-bottom-fade {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--dark));
    pointer-events: none; z-index: 2;
  }

  /* ── ESCENA LIGHTBOX ─────────────────────────────── */
  .escena { cursor: pointer; }
  .escena-lb {
    display: none; position: fixed; inset: 0;
    z-index: 10001; background: rgba(2,4,8,0.97);
    align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
  }
  .escena-lb.open { display: flex; }
  .escena-lb-inner {
    position: relative; max-width: 90vw; max-height: 90vh;
    animation: modal-in 0.35s cubic-bezier(0.23,1,0.32,1);
  }
  .escena-lb-img {
    display: block; max-width: 90vw; max-height: 82vh;
    object-fit: contain;
    border: 1px solid rgba(0,245,255,0.2);
    box-shadow: 0 0 60px rgba(0,245,255,0.1);
  }
  .escena-lb-caption {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem; color: var(--cyan);
    letter-spacing: 0.3em; text-align: center;
    margin-top: 0.8rem; opacity: 0.8;
  }
  .escena-lb-close {
    position: absolute; top: -2.5rem; right: 0;
    background: none; border: 1px solid rgba(255,0,110,0.4);
    color: var(--magenta); font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem; padding: 0.3rem 0.7rem;
    cursor: pointer; letter-spacing: 0.1em;
    transition: all 0.2s;
  }
  .escena-lb-close:hover { background: var(--magenta); color: #000; }

  /* ── CRÉDITOS ────────────────────────────────────── */
  .credits-section {
    position: relative; z-index: 1;
    max-width: 1000px; margin: 0 auto;
    padding: 0 2rem 6rem;
  }
  .credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1px;
    border: 1px solid rgba(0,245,255,0.08);
  }
  .credit-item {
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(0,245,255,0.05);
    background: linear-gradient(135deg, rgba(5,12,20,0.9), rgba(10,22,40,0.5));
    position: relative; overflow: hidden;
    transition: background 0.3s ease;
  }
  .credit-item:hover {
    background: linear-gradient(135deg, rgba(0,245,255,0.04), rgba(10,22,40,0.8));
  }
  .credit-item::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--cyan), var(--violet));
    opacity: 0; transition: opacity 0.3s;
  }
  .credit-item:hover::before { opacity: 1; }
  .credit-role {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.58rem; color: var(--cyan);
    letter-spacing: 0.3em; margin-bottom: 0.5rem;
    text-transform: uppercase; opacity: 0.75;
  }
  .credit-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 700; color: #fff;
    letter-spacing: 0.04em; line-height: 1.2;
  }
  /* Wide items (full row) */
  .credit-item.wide { grid-column: 1 / -1; }
  /* Credits group (multiple names) */
  .credit-names {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.88rem; color: #fff;
    line-height: 1.6; font-weight: 400; margin-top: 0.3rem;
  }
  /* Bottom tagline */
  .credits-footer {
    margin-top: 3rem; text-align: center;
    border-top: 1px solid rgba(0,245,255,0.08);
    padding-top: 2rem;
  }
  .credits-footer p {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; color: rgba(255,255,255,0.35);
    letter-spacing: 0.3em; line-height: 1.5;
  }
  .credits-footer strong { color: rgba(0,245,255,0.5); font-weight: normal; }

  }

  /* ── FADE-IN ANIMATIONS (CSS only, no JS needed) ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ══ FORCE WHITE TEXT ══════════════════════════════ */
  .syn-text, .syn-text *,
  .concept-text, .concept-text *,
  .sc-text, .sc-text *,
  .festival-item,
  .modal-body,
  .credit-names,
  .credits-footer p,
  .escena-name { color: #fff !important; }

  .festival-year { color: rgba(255,255,255,0.5) !important; }
  .award-sub     { color: rgba(255,255,255,0.75) !important; }
  .sc-title em, .story-ch-title em { color: #fff !important; font-weight: 400; }



  /* ══ DRAMATIC SCROLL ANIMATIONS ═════════════════════ */
  @keyframes animSlideLeft {
    from { opacity: 0; transform: translateX(-70px) scale(0.97); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
  }
  @keyframes animSlideRight {
    from { opacity: 0; transform: translateX(70px) scale(0.97); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
  }
  @keyframes animSlideUp {
    from { opacity: 0; transform: translateY(55px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  [data-anim] { opacity: 0; }
  [data-anim].anim-done.slide-left  {
    animation: animSlideLeft  0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  [data-anim].anim-done.slide-right {
    animation: animSlideRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  [data-anim].anim-done.slide-up {
    animation: animSlideUp    0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  /* ── CREDITS ALWAYS VISIBLE ──────────────────────── */
  .credits-section * { opacity: 1 !important; transform: none !important; }
  .credits-section .credit-item:hover { transform: translateY(-2px) !important; }

  .escena-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem; line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-top: 0.5rem;
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0; font-weight: 400;
  }
  .escena:hover .escena-desc { max-height: 80px; opacity: 1; }


  .concept-section { background: var(--dark); padding-top: 1rem; padding-bottom: 1rem; }
  .film-presentation { background: var(--dark2); }

  .escenarios-intro {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem; line-height: 1.8;
    color: rgba(255,255,255,0.88);
    max-width: 740px; margin: 1.2rem auto 0;
    font-weight: 400;
  }



  .film-info-col, .sc-text-pane, .synopsis-block,
  .festivals-block, .concept-inner, .film-poster-col {
    background: transparent;
  }

  /* ══ FINAL TYPOGRAPHY ═══════════════════════════════ */
  .syn-text {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    letter-spacing: 0 !important;
    background: transparent !important;
  }
  .concept-text {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: #ffffff !important;
  }
  .sc-text {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    max-width: 460px;
  }
  .festival-item {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    color: #ffffff !important;
  }
  .escenarios-intro {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.9) !important;
    max-width: 860px;
    margin: 2rem auto 0;
    text-align: left;
    padding-left: 2rem;
    border-left: 2px solid var(--violet);
    position: relative;
  }
  .escenarios-intro::before { display: none; }
  .modal-body, .credit-names, .credits-footer p {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: #ffffff !important;
  }
  /* Solid backgrounds — block any grid bleed */
  .synopsis-block, .concept-inner, .sc-text-pane,
  .sc-slide, .film-presentation, .concept-section,
  .story-section, .credits-section, .escenarios-section,
  .buildings-section { 
    background: var(--dark) !important;
  }
  .film-info-col { background: transparent !important; }


  .award-block {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(255,183,3,0.04), rgba(139,0,255,0.06));
    border: 1px solid rgba(255,183,3,0.2);
    padding: 1.8rem 2rem;
    display: flex; align-items: center; gap: 1.8rem;
    margin-top: 0.5rem;
  }
  .award-block::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(to bottom, var(--amber), var(--magenta));
    box-shadow: 0 0 12px var(--amber);
  }
  .award-trophy { font-size: 2.8rem; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(255,183,3,0.5)); }
  .award-label { font-family: 'Share Tech Mono', monospace; font-size: 0.6rem; color: var(--amber); letter-spacing: 0.35em; margin-bottom: 0.4rem; }
  .award-name { font-family: 'Orbitron', sans-serif; font-size: clamp(0.9rem, 1.5vw, 1.15rem); font-weight: 900; color: #fff; letter-spacing: 0.04em; }
  .award-sub { display: block; color: rgba(255,255,255,0.75); font-size: 0.8em; font-family: 'Source Sans 3', sans-serif; margin-top: 0.3rem; font-weight: 400; }

  /* ══ SECTION BACKGROUNDS — visual rhythm ════════════ */

  /* Film presentation: subtle violet tint + top glow */
  .film-presentation {
    background:
      radial-gradient(ellipse 80% 40% at 50% 0%, rgba(139,0,255,0.07) 0%, transparent 70%),
      #04050e;
    border-top: 1px solid rgba(139,0,255,0.15);
    border-bottom: 1px solid rgba(139,0,255,0.1);
    padding-top: 5rem; padding-bottom: 5rem;
  }

  /* Story / Historia: cyan edge glow, dark teal tint */
  .story-section {
    background:
      radial-gradient(ellipse 60% 50% at 0% 50%, rgba(0,245,255,0.05) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 100% 50%, rgba(0,245,255,0.04) 0%, transparent 60%),
      #020b0c !important;
    border-top: 1px solid rgba(0,245,255,0.1);
    border-bottom: 1px solid rgba(0,245,255,0.08);
    padding-top: 1rem;
  }
  /* Include La Historia header */
  .story-section .section-header {
    background: transparent !important;
  }

  /* Buildings: warm dark, magenta accent corner */
  .buildings-section {
    background:
      radial-gradient(ellipse 50% 60% at 100% 0%, rgba(255,0,110,0.06) 0%, transparent 60%),
      #07030a !important;
    border-top: 1px solid rgba(255,0,110,0.12);
    border-bottom: 1px solid rgba(255,0,110,0.08);
    padding-top: 4rem !important;
  }

  /* Concept section: slightly lighter dark, violet left glow */
  .concept-section {
    background:
      radial-gradient(ellipse 40% 80% at 0% 50%, rgba(139,0,255,0.06) 0%, transparent 60%),
      #030408 !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  /* Escenarios: dark teal, dual corner glows */
  .escenarios-section {
    background:
      radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0,245,255,0.06) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255,0,110,0.05) 0%, transparent 60%),
      #020a0b !important;
    border-top: 1px solid rgba(0,245,255,0.1);
    border-bottom: 1px solid rgba(255,0,110,0.08);
    padding-top: 4rem !important;
  }

  /* Credits: amber/violet dark, warm bottom glow */
  .credits-section {
    background:
      radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255,183,3,0.06) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 50% 0%, rgba(139,0,255,0.05) 0%, transparent 60%),
      #060408 !important;
    border-top: 1px solid rgba(255,183,3,0.1);
    padding-top: 4rem !important;
    padding-bottom: 5rem !important;
  }

  /* Trailer has its own black */
  .trailer-wrap { background: #000 !important; }

  /* ── EXHIBICIONES: editorial stack ─────────────────── */
  .exhib-section {
    position: relative; z-index: 1;
    padding: 5rem 0 5rem;
    background:
      radial-gradient(ellipse 80% 40% at 50% 100%, rgba(255,183,3,0.04) 0%, transparent 70%),
      #060309;
    border-top: 1px solid rgba(255,183,3,0.1);
  }
  .exhib-section .section-header {
    padding: 0 2rem 3rem;
    background: transparent !important;
  }

  /* Stack of full-width editorial cards */
  .exhib-stack { display: flex; flex-direction: column; }

  .exhib-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
    transition: background 0.4s ease;
  }
  .exhib-row:hover { background: rgba(255,255,255,0.02); }

  /* Alternate: odd rows image left, even rows image right */
  .exhib-row.flip .exhib-row-img { order: 2; }
  .exhib-row.flip .exhib-row-text { order: 1; }

  @media (max-width: 768px) {
    .exhib-row { grid-template-columns: 1fr; min-height: unset; }
    .exhib-row.flip .exhib-row-img { order: 0; }
    .exhib-row.flip .exhib-row-text { order: 1; }
  }

  /* Image side */
  .exhib-row-img {
    position: relative; overflow: hidden;
    min-height: 280px;
  }
  .exhib-row-img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    filter: saturate(0.75) contrast(1.1) brightness(0.72);
    transition: transform 0.8s cubic-bezier(0.23,1,0.32,1), filter 0.5s;
    transform: scale(1.03);
  }
  .exhib-row:hover .exhib-row-img img {
    transform: scale(1.08);
    filter: saturate(0.92) contrast(1.05) brightness(0.85);
  }
  /* Diagonal cut overlay */
  .exhib-row-img::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
  }
  .exhib-row:not(.flip) .exhib-row-img::after {
    background: linear-gradient(to right, transparent 70%, #060309 100%);
  }
  .exhib-row.flip .exhib-row-img::after {
    background: linear-gradient(to left, transparent 70%, #060309 100%);
  }

  /* Text side */
  .exhib-row-text {
    display: flex; flex-direction: column; justify-content: center;
    padding: 2.5rem 3rem;
    position: relative; z-index: 2;
  }

  /* Vertical counter */
  .exhib-counter {
    font-family: 'Share Tech Mono', monospace;
    font-size: 3rem; font-weight: 700;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    user-select: none;
    letter-spacing: -0.05em;
  }
  .exhib-row.flip .exhib-counter { right: auto; left: 2rem; }

  .exhib-row-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.4em;
    color: var(--amber); margin-bottom: 0.8rem;
    text-shadow: 0 0 6px rgba(255,183,3,0.4);
  }
  .exhib-row-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 900; color: #fff;
    text-transform: uppercase; letter-spacing: 0.04em;
    line-height: 1.15; margin-bottom: 0.6rem;
  }
  .exhib-row-place {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px; color: rgba(255,255,255,0.55);
    font-weight: 400; margin-bottom: 1.2rem;
  }

  /* Animated accent line */
  .exhib-row-line {
    height: 1px; width: 0;
    background: linear-gradient(90deg, var(--amber), var(--magenta));
    box-shadow: 0 0 8px var(--amber);
    transition: width 0.6s cubic-bezier(0.23,1,0.32,1);
  }
  .exhib-row:hover .exhib-row-line { width: 60px; }

  /* Left edge accent */
  .exhib-row::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--amber), transparent);
    opacity: 0;
    transition: opacity 0.4s;
  }
  .exhib-row:hover::before { opacity: 1; }

  /* ── EXHIBICIONES: tabla editorial ─────────────────── */
  .exhib-section {
    position: relative; z-index: 1;
    padding: 5rem 0 4rem;
    background:
      radial-gradient(ellipse 60% 40% at 50% 0%, rgba(139,0,255,0.06) 0%, transparent 70%),
      #06030a;
    border-top: 1px solid rgba(139,0,255,0.12);
    border-bottom: 1px solid rgba(139,0,255,0.08);
  }
  .exhib-section .section-header {
    padding: 0 2rem 3rem;
    background: transparent !important;
  }
  .exhib-table {
    max-width: 1100px; margin: 0 auto;
    padding: 0 2rem;
  }
  .fest-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 140px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    transition: background 0.3s ease;
    cursor: default;
    position: relative;
  }
  .fest-row:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
  .fest-row:hover { background: rgba(255,255,255,0.025); }
  @media (max-width: 600px) {
    .fest-row { grid-template-columns: 130px 1fr; min-height: 110px; }
  }

  .fest-row-img {
    overflow: hidden; position: relative;
  }
  .fest-row-img img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center top; display: block;
    filter: saturate(0.8) brightness(0.78) contrast(1.05);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1);
    transform: scale(1.03);
  }
  .fest-row:hover .fest-row-img img {
    filter: saturate(0.95) brightness(0.9);
    transform: scale(1.08);
  }

  .fest-row-body {
    padding: 1.6rem 2rem 1.6rem 2.5rem;
    display: flex; flex-direction: column;
    justify-content: center;
    position: relative;
  }
  /* Left separator line */
  .fest-row-body::before {
    content: ''; position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(0,245,255,0.12);
    transition: background 0.3s;
  }
  .fest-row:hover .fest-row-body::before {
    background: rgba(0,245,255,0.4);
    box-shadow: 0 0 6px rgba(0,245,255,0.3);
  }

  .fest-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; color: var(--amber);
    letter-spacing: 0.4em; margin-bottom: 0.5rem;
    text-shadow: 0 0 6px rgba(255,183,3,0.3);
  }
  .fest-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    font-weight: 700; color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em; line-height: 1.2;
  }
  .fest-city {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px; color: rgba(255,255,255,0.45);
    margin-top: 0.4rem; font-weight: 400;
  }
  /* Ghost number */
  .fest-num {
    position: absolute; right: 2rem; top: 50%;
    transform: translateY(-50%);
    font-family: 'Share Tech Mono', monospace;
    font-size: 3.5rem; color: rgba(255,255,255,0.03);
    font-weight: 700; line-height: 1; user-select: none;
    transition: color 0.3s;
  }
  .fest-row:hover .fest-num { color: rgba(255,255,255,0.06); }
  /* Accent bottom line on hover */
  .fest-row::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--cyan));
    box-shadow: 0 0 8px var(--cyan);
    transition: right 0.5s cubic-bezier(0.23,1,0.32,1);
  }
  .fest-row:hover::after { right: 0; }

  .fest-row-link svg { flex-shrink: 0; }

  /* Linked festival rows */
  .fest-row[onclick] .fest-row-img img { transition: filter 0.5s, transform 0.6s cubic-bezier(0.23,1,0.32,1); }
  .fest-row[onclick]:hover .fest-title { color: var(--cyan); }
  .fest-row[onclick]:hover::before {
    content: '↗';
    position: absolute; top: 1rem; right: 1.5rem;
    font-size: 1rem; color: rgba(0,245,255,0.4);
    font-family: sans-serif; z-index: 2;
  }

  /* ── ESCENARIOS: filmstrip horizontal ───────────────── */
  .escenarios-section {
    background:
      radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0,245,255,0.06) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255,0,110,0.05) 0%, transparent 60%),
      #020a0b !important;
    border-top: 1px solid rgba(0,245,255,0.1);
    border-bottom: 1px solid rgba(255,0,110,0.08);
    padding-top: 4rem !important;
    padding-bottom: 0 !important;
  }
  .escenarios-section .section-header,
  .escenarios-section .escenarios-intro-wrap {
    padding: 0 2rem; background: transparent !important;
    max-width: 1200px; margin-left: auto; margin-right: auto;
  }
  .escenarios-intro-wrap { max-width: 900px; margin: 0 auto 2rem; }

  /* Filmstrip container */
  .escena-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    cursor: grab;
    padding-bottom: 0;
  }
  .escena-strip:active { cursor: grabbing; }
  .escena-strip::-webkit-scrollbar { height: 3px; }
  .escena-strip::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
  .escena-strip::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }

  /* Each escena card */
  .escena {
    flex: 0 0 400px;
    height: 520px;
    scroll-snap-align: start;
    position: relative; overflow: hidden;
    cursor: pointer;
    transition: flex-basis 0.5s cubic-bezier(0.23,1,0.32,1);
  }
  /* No flex-expand on hover — fixed width for smooth drag */
  .escena:first-child { flex-basis: 460px; }

  .escena img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    filter: saturate(0.82) contrast(1.05) brightness(0.78);
    transition: transform 0.25s ease, filter 0.25s ease;
    transform: scale(1.03);
  }
  .escena:hover img {
    transform: scale(1.07);
    filter: saturate(0.92) contrast(1.02) brightness(0.88);
  }
  /* Disable ALL transitions while dragging — feels instant and natural */
  .escena-strip.is-dragging .escena,
  .escena-strip.is-dragging .escena * {
    transition: none !important;
    animation: none !important;
  }
  .escena-strip.is-dragging .escena:hover img { transform: scale(1.03) !important; filter: saturate(0.82) contrast(1.05) brightness(0.78) !important; }
  .escena-strip.is-dragging .escena:hover .escena-desc { max-height: 0 !important; opacity: 0 !important; }
  .escena-strip.is-dragging .escena:hover .escena-line { right: 100% !important; }
  .escena-strip.is-dragging .escena:hover::before { width: 0 !important; height: 0 !important; }

  .escena-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
      rgba(2,4,8,0.95) 0%,
      rgba(2,4,8,0.3) 50%,
      rgba(2,4,8,0.0) 100%);
    z-index: 1;
  }
  .escena-overlay { transition: background 0.25s ease; }
  .escena:hover .escena-overlay {
    background: linear-gradient(to top,
      rgba(2,4,8,0.98) 0%,
      rgba(2,4,8,0.5) 55%,
      rgba(2,4,8,0.1) 100%);
  }

  .escena-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.6rem 1.5rem 1.4rem; z-index: 2;
    transform: translateY(6px);
    transition: transform 0.22s ease;
  }
  .escena:hover .escena-info { transform: translateY(0); }

  .escena-year {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.55rem; color: var(--cyan);
    letter-spacing: 0.35em; margin-bottom: 0.35rem;
  }
  .escena-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.2;
  }
  .escena-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem; color: rgba(255,255,255,0.75);
    line-height: 1.5; margin-top: 0.5rem;
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    opacity: 0; font-weight: 400;
  }
  .escena:hover .escena-desc { max-height: 80px; opacity: 1; }

  /* Bottom accent line */
  .escena-line {
    position: absolute; bottom: 0; left: 0; right: 100%;
    height: 2px; z-index: 3;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    box-shadow: 0 0 8px var(--cyan);
    transition: right 0.25s ease;
  }
  .escena:hover .escena-line { right: 0; }

  /* Corner mark */
  .escena::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 0; height: 0;
    border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan);
    transition: width 0.22s ease, height 0.22s ease;
    z-index: 3;
  }
  .escena:hover::before { width: 20px; height: 20px; }

  /* Drag hint */
  .escena-hint {
    text-align: center; padding: 0.8rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.55rem; color: rgba(0,245,255,0.25);
    letter-spacing: 0.3em;
    animation: hint-fade 2.5s ease-in-out infinite;
  }

  /* ── SECTION DIVIDERS ───────────────────────────── */
  .sec-divider {
    height: 3px;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(0,245,255,0.08) 20%,
      rgba(0,245,255,0.25) 40%,
      rgba(255,0,110,0.25) 60%,
      rgba(255,0,110,0.08) 80%,
      transparent 100%
    );
    position: relative;
    overflow: hidden;
  }
  .sec-divider::after {
    content: '';
    position: absolute; top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: divider-sweep 4s ease-in-out infinite;
  }
  @keyframes divider-sweep {
    0%   { left: -60%; }
    100% { left: 120%; }
  }

  /* ── MOBILE RESPONSIVE ──────────────────────────── */
  @media (max-width: 768px) {
    /* Hero */
    .hero { padding: 5rem 1rem 3rem; }
    .hero-title { font-size: clamp(1.6rem, 10vw, 3rem); }

    /* Film stage */
    .film-stage { grid-template-columns: 1fr; gap: 2rem; }
    .film-poster-col { max-width: 320px; }
    .film-info-col { gap: 1.5rem; }
    .film-presentation { padding: 3rem 1.5rem; }

    /* Carousel */
    .story-carousel {
      grid-template-columns: 1fr !important;
      grid-template-rows: 55vw 1fr;
      height: auto !important;
      min-height: unset !important;
    }
    .sc-img-pane { height: 55vw; }
    .sc-text-pane { padding: 1.5rem 1.2rem 5rem; }
    .sc-title { font-size: 1.2rem; }
    .sc-text { font-size: 15px !important; max-width: 100%; }
    .sc-controls { left: 1rem; right: 1rem; }

    /* Filmstrip escenarios */
    .escena-strip { gap: 3px; }
    .escena { flex: 0 0 75vw; height: 60vw; min-height: 220px; }
    .escena:first-child { flex-basis: 85vw; }
    .escena-name { font-size: 0.85rem; }

    /* Buildings */
    .buildings-grid { grid-template-columns: 1fr !important; }
    .card-1, .card-2, .card-3, .card-4, .card-5 { grid-column: 1 !important; grid-row: auto !important; }
    .card-1 .card-img-wrap,
    .card-2 .card-img-wrap,
    .card-3 .card-img-wrap,
    .card-4 .card-img-wrap,
    .card-5 .card-img-wrap { height: 65vw; }

    /* Exhibiciones */
    .fest-row { grid-template-columns: 100px 1fr; }
    .fest-row-img { width: 100px; }
    .fest-title { font-size: 0.8rem; }
    .exhib-table { padding: 0 1rem; }

    /* Credits */
    .credits-section { padding: 3rem 1rem 4rem !important; }

    /* Quote */
    .director-quote { padding: 3rem 1.5rem; }
    .quote-text { font-size: 1.1rem; }

    /* Corner decos — hide on mobile */
    .corner-deco { display: none; }
  }

  /* ── FLOATING NAV ───────────────────────────────── */
  .float-nav {
    position: fixed;
    top: 50%; right: 1.5rem;
    transform: translateY(-50%);
    z-index: 800;
    display: flex; flex-direction: column; gap: 0.5rem;
  }
  @media (max-width: 768px) { .float-nav { display: none; } }

  .float-nav-item {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 0.6rem; cursor: pointer;
    text-decoration: none;
    opacity: 0.4; transition: opacity 0.25s;
  }
  .float-nav-item:hover, .float-nav-item.active { opacity: 1; }

  .float-nav-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem; letter-spacing: 0.2em;
    color: #fff; text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.2s, transform 0.2s;
  }
  .float-nav-item:hover .float-nav-label {
    opacity: 1; transform: translateX(0);
  }
  .float-nav-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.25s; flex-shrink: 0;
  }
  .float-nav-item:hover .float-nav-dot,
  .float-nav-item.active .float-nav-dot {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    border-color: var(--cyan);
    transform: scale(1.4);
  }

  /* ── BACK TO TOP ────────────────────────────────── */
  .back-top {
    position: fixed; bottom: 2rem; right: 2rem;
    z-index: 800;
    background: rgba(2,4,8,0.9);
    border: 1px solid rgba(0,245,255,0.3);
    color: var(--cyan);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; letter-spacing: 0.2em;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    opacity: 0; pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    backdrop-filter: blur(6px);
  }
  .back-top.visible {
    opacity: 1; pointer-events: auto;
    transform: translateY(0);
  }
  .back-top:hover {
    background: rgba(0,245,255,0.1);
    box-shadow: 0 0 12px rgba(0,245,255,0.2);
  }

  /* ── DIRECTOR QUOTE ─────────────────────────────────── */
  .director-quote {
    position: relative; z-index: 1;
    padding: 6rem 2rem;
    background:
      radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139,0,255,0.08) 0%, transparent 70%),
      #04020a;
    border-top: 1px solid rgba(139,0,255,0.12);
    border-bottom: 1px solid rgba(139,0,255,0.12);
    overflow: hidden;
  }
  .quote-inner {
    max-width: 780px; margin: 0 auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 2.5rem;
  }
  /* Big decorative quote mark — left aligned */
  .quote-mark {
    font-family: 'Georgia', serif;
    font-size: 8rem; line-height: 0.7;
    color: rgba(139,0,255,0.18);
    user-select: none; pointer-events: none;
    display: block;
  }
  .quote-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem; color: var(--violet);
    letter-spacing: 0.45em;
    text-shadow: 0 0 8px rgba(139,0,255,0.4);
    display: flex; align-items: center; gap: 1rem;
  }
  .quote-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(139,0,255,0.4), transparent);
  }
  .quote-body {
    border-left: 3px solid var(--violet);
    padding-left: 2rem;
    position: relative;
  }
  .quote-body::before {
    content: '';
    position: absolute; left: -1px; top: 0;
    width: 3px; height: 35%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
  }
  .quote-text {
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.75; color: rgba(255,255,255,0.88);
    font-weight: 400; font-style: italic;
    margin-bottom: 1.2rem;
  }
  .quote-text strong {
    color: #fff; font-style: normal; font-weight: 600;
  }
  .quote-footer {
    display: flex; align-items: center; gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .quote-avatar {
    width: 3px; height: 3rem;
    background: linear-gradient(to bottom, var(--violet), var(--cyan));
    box-shadow: 0 0 8px var(--violet);
    flex-shrink: 0;
  }
  .quote-author {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem; font-weight: 900;
    color: #fff; letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .quote-author span {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.58rem; color: var(--violet);
    font-weight: 400; letter-spacing: 0.25em;
    margin-top: 0.3rem; text-transform: uppercase;
  }

  /* ── BUILDING CARD: 3D/real image reveal ─────────────── */
  .card-img-wrap { position: relative; overflow: hidden; display: block; }
  .card-img-3d, .card-img-real {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    display: block;
    transition: opacity 0.45s ease;
    z-index: 1;
  }
  .card-img-3d {
    opacity: 1;
    filter: saturate(0.9) contrast(1.02) brightness(1.0);
  }
  .card-img-real {
    opacity: 0;
    filter: saturate(0.88) contrast(1.02) brightness(0.96);
  }
  .building-card:hover .card-img-3d { opacity: 0; }
  .building-card:hover .card-img-real { opacity: 1; }

  /* Version badges */
  .card-version-badge {
    position: absolute; top: 0.8rem; right: 0.8rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem; letter-spacing: 0.2em;
    padding: 0.2rem 0.5rem; z-index: 5;
    transition: opacity 0.3s;
  }
  .card-badge-3d {
    background: rgba(0,245,255,0.15);
    color: var(--cyan); border: 1px solid rgba(0,245,255,0.4);
    opacity: 1;
  }
  .card-badge-real {
    background: rgba(255,183,3,0.15);
    color: var(--amber); border: 1px solid rgba(255,183,3,0.4);
    opacity: 0;
  }
  .building-card:hover .card-badge-3d { opacity: 0; }
  .building-card:hover .card-badge-real { opacity: 1; }

  /* ── MODAL V2: side-by-side images ───────────────────── */
  .modal-content-v2 {
    position: relative; z-index: 1;
    max-width: 1100px; width: 95%;
    display: flex; flex-direction: column;
    border: 1px solid rgba(0,245,255,0.2);
    animation: modal-in 0.4s cubic-bezier(0.23,1,0.32,1);
    max-height: 92vh; overflow-y: auto;
    background: var(--dark2);
  }
  .modal-content-v2 .modal-close {
    position: absolute; top: 1rem; right: 1rem; z-index: 10;
  }
  .modal-imgs-row {
    display: grid; grid-template-columns: 1fr 1px 1fr;
    height: 55vh; min-height: 300px;
  }
  @media (max-width: 700px) {
    .modal-imgs-row { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: auto; }
    .modal-img-divider { display: none; }
  }
  .modal-img-col {
    position: relative; overflow: hidden;
  }
  .modal-img-col .modal-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    display: block;
    filter: saturate(0.9) contrast(1.05);
  }
  .modal-img-divider {
    background: linear-gradient(to bottom, transparent, var(--cyan), var(--magenta), transparent);
    box-shadow: 0 0 8px var(--cyan);
  }
  .modal-img-label {
    position: absolute; bottom: 0.8rem; left: 1rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.58rem; letter-spacing: 0.3em;
    color: var(--cyan); background: rgba(2,4,8,0.8);
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(0,245,255,0.3);
  }
  .modal-img-label-real {
    color: var(--amber);
    border-color: rgba(255,183,3,0.3);
  }
  .modal-info-v2 {
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(0,245,255,0.1);
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }
  .modal-info-v2::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
  }
  .modal-info-v2 .modal-num { grid-column: 1 / -1; }
  .modal-info-v2 .modal-title { grid-column: 1 / -1; }
  @media (max-width: 700px) { .modal-info-v2 { grid-template-columns: 1fr; padding: 1.5rem; } }

  /* ══ WORDPRESS COMPATIBILITY ══════════════════════════
     Target common WP theme containers to unlock width   */

  /* Remove WP default content max-width */
  .entry-content > *,
  .post-content > *,
  .page-content > * {
    max-width: 100% !important;
  }

  /* Full-bleed sections using reliable CSS breakout */
  .hero, .trailer-wrap, .film-presentation,
  .story-section, .buildings-section, .concept-section,
  .escenarios-section, .exhib-section, .director-quote,
  .credits-section, .sec-divider {
    width: 100vw;
    margin-left: max(-50vw + 50%, -9999px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Prevent horizontal scroll */
  body { overflow-x: hidden !important; }
