/* ==========================================================================
   NIÑO LINDO FILMS — Editorial Cinema Design System
   Minimalist · Agile · Cinematic · Responsive
   ========================================================================== */

/* Native Cross-Document View Transitions (Progressive Enhancement) */
@view-transition {
  navigation: auto;
}

/* ---- Design Tokens ---- */
:root {
  /* Core Palette (faithful to Niño Lindo Films identity) */
  --bg-obsidian:       #0f0f0f;
  --bg-dark:           #161616;
  --bg-dark-elevated:  #1f1f1f;
  --bg-cream:          #f3f2ec;
  --bg-white:          #ffffff;

  /* Accents */
  --accent-orange:     #d9690d;
  --accent-orange-soft: rgba(217, 105, 13, 0.88);
  --accent-red:        #e31c1c;
  --accent-red-hover:  #c41414;

  /* Text */
  --text-dark:         #161616;
  --text-muted:        #575752;
  --text-light:        #ffffff;
  --text-light-muted:  rgba(255, 255, 255, 0.72);
  --text-light-subtle: rgba(255, 255, 255, 0.5);

  /* Hairlines & Surfaces */
  --border-light:      rgba(22, 22, 22, 0.1);
  --border-dark:       rgba(255, 255, 255, 0.12);
  --glass-bg:          rgba(15, 15, 15, 0.82);

  /* Typography */
  --font-display:      'Red Hat Display', system-ui, -apple-system, sans-serif;
  --font-serif:        'Playfair Display', Georgia, serif;
  --font-body:         'Roboto', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --max-width:         1240px;
  --gutter:            clamp(20px, 4vw, 40px);
  --section-py:        clamp(72px, 9vw, 128px);
  --nav-height:        80px;
  --radius-sm:         6px;
  --radius-md:         12px;
  --radius-lg:         18px;

  /* Motion Curves */
  --ease-expo:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:          220ms;
  --dur-base:          450ms;
  --dur-slow:          800ms;
}

/* ---- Modern Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-obsidian);
  overflow-x: clip;
}

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

img {
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--accent-orange);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast) var(--ease-expo);
}
.skip-link:focus {
  top: 16px;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-red));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1100;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: scrollProgress linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes scrollProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* ---- Eyebrow / Kicker ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: currentColor;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition:
    background-color var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    border-color var(--dur-fast) var(--ease-smooth),
    transform var(--dur-fast) var(--ease-expo),
    box-shadow var(--dur-fast) var(--ease-smooth);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) var(--ease-expo);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent-red);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(227, 28, 28, 0.28);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  border-color: var(--text-light);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1px solid rgba(22, 22, 22, 0.24);
  color: var(--text-dark);
}

.btn-outline-dark:hover {
  border-color: var(--text-dark);
  background: var(--text-dark);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.72) 0%, rgba(15, 15, 15, 0) 100%);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--dur-base) var(--ease-smooth),
    backdrop-filter var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth),
    height var(--dur-base) var(--ease-expo);
}

.nav.is-scrolled,
.nav.nav--solid {
  height: 68px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-expo);
}

.nav__logo:hover {
  opacity: 0.85;
}

.nav__logo img {
  width: 84px;
  height: auto;
  object-fit: contain;
  transition: width var(--dur-base) var(--ease-expo);
}

.nav.is-scrolled .nav__logo img {
  width: 72px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
  transition: color var(--dur-fast) ease;
  white-space: nowrap;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent-orange);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-expo);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-light);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__social a {
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition:
    color var(--dur-fast) ease,
    background-color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-expo);
}

.nav__social a:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav__social svg {
  width: 16px;
  height: 16px;
}

.nav__cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  transition:
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}

.nav__cta:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--text-light);
}

/* Mobile Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  z-index: 601;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.8px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-expo), opacity 0.25s ease;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.nav__mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 48px;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-expo), visibility 0.35s ease;
}

.nav__mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__mobile-menu a.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  transform: translateY(16px);
  opacity: 0;
  transition:
    color var(--dur-fast) ease,
    transform 0.5s var(--ease-expo),
    opacity 0.5s var(--ease-expo);
}

.nav__mobile-menu.open a.mobile-link {
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile-menu.open a.mobile-link:nth-child(1) { transition-delay: 60ms; }
.nav__mobile-menu.open a.mobile-link:nth-child(2) { transition-delay: 120ms; }
.nav__mobile-menu.open a.mobile-link:nth-child(3) { transition-delay: 180ms; }
.nav__mobile-menu.open a.mobile-link:nth-child(4) { transition-delay: 240ms; }

.nav__mobile-menu a.mobile-link.active,
.nav__mobile-menu a.mobile-link:hover {
  color: var(--accent-orange);
}

.nav__mobile-footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav__mobile-email {
  font-size: 15px;
  color: var(--text-light-muted);
}

/* ==========================================================================
   HOME HERO — Full-bleed Cinema Staging
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(92vh, 840px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 48px) 0 88px;
  background: var(--bg-obsidian);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.06);
  animation: heroKenBurns 14s var(--ease-smooth) forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.07); }
  to   { transform: scale(1.0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(15, 15, 15, 0.35) 0%, rgba(15, 15, 15, 0.78) 100%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0.32) 45%, rgba(15, 15, 15, 0.88) 100%);
}

.hero__content {
  width: 100%;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(18px);
  animation: heroEnter 0.8s var(--ease-expo) 0.1s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(50px, 9.5vw, 108px);
  font-weight: 900;
  color: var(--text-light);
  line-height: 0.98;
  letter-spacing: -0.025em;
  opacity: 0;
  transform: translateY(24px);
  animation: heroEnter 0.9s var(--ease-expo) 0.2s forwards;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--accent-orange-soft);
  line-height: 1.2;
  margin-top: 6px;
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(22px);
  animation: heroEnter 0.9s var(--ease-expo) 0.32s forwards;
}

.hero__text {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.65;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.9s var(--ease-expo) 0.44s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(18px);
  animation: heroEnter 0.9s var(--ease-expo) 0.56s forwards;
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--dur-fast) ease;
}

.hero__scroll:hover {
  color: var(--text-light);
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-orange);
  animation: scrollPulse 2.2s var(--ease-expo) infinite;
}

@keyframes scrollPulse {
  0%   { top: -100%; }
  50%  { top: 0%; }
  100% { top: 100%; }
}

/* ==========================================================================
   SOBRE NOSOTROS (Home Section 2 — Editorial Split + Authentic BTS Gallery)
   ========================================================================== */
.sobre {
  background: var(--bg-white);
  padding-block: var(--section-py);
}

.sobre__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.sobre__title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.sobre__copy p {
  font-size: 16px;
  color: #323230;
  line-height: 1.75;
  margin-bottom: 16px;
}

.sobre__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 400;
  color: var(--text-dark);
  border-left: 2.5px solid var(--accent-orange);
  padding-left: 18px;
  margin: 28px 0 32px;
  line-height: 1.45;
}

/* 3x3 Behind-the-Scenes Gallery (Authentic Live Placement) */
.bts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bts-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
  background: #eaeae4;
  cursor: zoom-in;
}

.bts-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-expo), filter 0.45s ease;
}

.bts-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0);
  transition: background-color 0.35s ease;
  pointer-events: none;
}

.bts-grid__item:hover img {
  transform: scale(1.07);
}

.bts-grid__item:hover::after {
  background: rgba(15, 15, 15, 0.14);
}

/* ==========================================================================
   EQUIPO SECTION (Home Section 3 — Dark Atmospheric Showcase)
   ========================================================================== */
.equipo {
  position: relative;
  padding-block: var(--section-py);
  background: var(--bg-obsidian);
  isolation: isolate;
  overflow: hidden;
}

.equipo__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../assets/img/backgrounds/hero-historia.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: grayscale(35%);
}

.equipo__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.65) 50%, rgba(15, 15, 15, 0.92) 100%);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.section-title--light { color: var(--text-light); }
.section-title--dark  { color: var(--text-dark); }

.section-subtitle {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.65;
}

.section-subtitle--light { color: var(--text-light-muted); }
.section-subtitle--dark  { color: var(--text-muted); }

/* Team Grid */
.equipo__team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 36px);
}

.team-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-expo),
    border-color var(--dur-fast) ease,
    background-color var(--dur-fast) ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 105, 13, 0.42);
  background: rgba(255, 255, 255, 0.05);
}

.team-card__media {
  position: relative;
  aspect-ratio: 4 / 4.3;
  overflow: hidden;
  background: var(--bg-dark-elevated);
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-expo);
}

.team-card:hover .team-card__photo {
  transform: scale(1.045);
}

.team-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 6px;
}

.team-card__role {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.team-card__bio {
  font-size: 14.5px;
  color: var(--text-light-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: rgba(255, 255, 255, 0.75);
  transition:
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    background-color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-expo);
}

.social-row a:hover {
  color: var(--text-light);
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  transform: translateY(-2px);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   PROYECTOS SHOWCASE (Home Section 4 — Warm Alabaster Editorial)
   ========================================================================== */
.proyectos-showcase {
  background: var(--bg-cream);
  padding-block: var(--section-py);
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 36px);
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-expo),
    box-shadow 0.5s var(--ease-expo),
    border-color var(--dur-fast) ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(22, 22, 22, 0.09);
  border-color: rgba(22, 22, 22, 0.18);
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-dark);
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-expo);
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
}

.project-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
}

.project-card__body {
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.project-card__title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 12px;
  transition: color var(--dur-fast) ease;
}

.project-card:hover .project-card__title {
  color: var(--accent-orange);
}

.project-card__desc {
  font-size: 15px;
  color: #454540;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.project-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 20, 18, 0.08);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-red);
}

.project-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-expo);
}

.project-card:hover .project-card__link svg {
  transform: translateX(5px);
}

.project-card__trailer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 18, 0.16);
  background: rgba(20, 20, 18, 0.03);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-expo);
}

.project-card__trailer svg {
  width: 12px;
  height: 12px;
  color: var(--accent-orange);
  transition: color var(--dur-fast) ease;
}

.project-card__trailer:hover {
  background: var(--text-dark);
  color: var(--text-light);
  border-color: var(--text-dark);
  transform: translateY(-1px);
}

.project-card__trailer:hover svg {
  color: var(--accent-orange-bright);
}

/* ==========================================================================
   PRÓXIMAMENTE — SCREENLARGE SERIES VERTICALES
   ========================================================================== */
.proximamente {
  position: relative;
  padding-block: clamp(72px, 8vw, 112px);
  background: var(--bg-obsidian);
  isolation: isolate;
  overflow: hidden;
}

.proximamente__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../assets/img/backgrounds/hero-caracas.jpg');
  background-size: cover;
  background-position: center;
}

.proximamente__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(12, 12, 12, 0.92) 0%, rgba(12, 12, 12, 0.78) 55%, rgba(12, 12, 12, 0.58) 100%);
}

.proximamente__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.proximamente__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.proximamente__lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--bg-cream);
  line-height: 1.3;
  margin-bottom: 8px;
}

.proximamente__sub {
  font-size: 16px;
  color: var(--text-light-muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.proximamente__logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  width: fit-content;
  backdrop-filter: blur(8px);
}

.proximamente__logos img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.proximamente__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.proximamente__thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: zoom-in;
}

.proximamente__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-expo);
}

.proximamente__thumb:hover img {
  transform: scale(1.08);
}

.proximamente__right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.proximamente__right img {
  max-height: 440px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

/* ==========================================================================
   INNER PAGE HEROES (Nosotros / Proyectos)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: clamp(320px, 46vh, 460px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 48px) 0 clamp(44px, 6vw, 72px);
  background: var(--bg-obsidian);
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroKenBurns 12s var(--ease-smooth) forwards;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.65) 0%, rgba(15, 15, 15, 0.45) 45%, rgba(15, 15, 15, 0.92) 100%);
}

.page-hero__title {
  font-size: clamp(46px, 9vw, 112px);
  font-weight: 900;
  color: var(--bg-cream);
  line-height: 0.96;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.85s var(--ease-expo) 0.15s forwards;
}

/* ==========================================================================
   NUESTRA HISTORIA PAGE
   ========================================================================== */
.historia-intro {
  background: var(--bg-white);
  padding-block: var(--section-py);
}

.historia-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.historia-intro__heading {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 24px;
}

.historia-intro__text p {
  font-size: 16px;
  color: #323230;
  line-height: 1.78;
  margin-bottom: 18px;
}

.historia-intro__highlight {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.9vw, 21px);
  font-style: italic;
  color: var(--text-dark);
  border-left: 2.5px solid var(--accent-orange);
  padding-left: 20px;
  margin-top: 26px;
  line-height: 1.6;
}

.historia-intro__media {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 54px rgba(15, 15, 15, 0.12);
}

.historia-intro__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.7s var(--ease-expo);
}

.historia-intro__media:hover img {
  transform: scale(1.04);
}

/* Detailed Team Profiles */
.historia-team {
  position: relative;
  background: var(--bg-obsidian);
  padding-block: var(--section-py);
  isolation: isolate;
}

.historia-member {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(44px, 5vw, 64px);
  border-bottom: 1px solid var(--border-dark);
}

.historia-member:first-of-type {
  padding-top: 0;
}

.historia-member:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.historia-member--reverse {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.historia-member--reverse .historia-member__media {
  order: 2;
}

.historia-member__media {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  background: var(--bg-dark-elevated);
}

.historia-member__photo {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-expo);
}

.historia-member:hover .historia-member__photo {
  transform: scale(1.04);
}

.historia-member__origin {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light-subtle);
  margin-bottom: 10px;
}

.historia-member__name {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 8px;
}

.historia-member__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
}

.historia-member__role {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.historia-member__handle {
  font-size: 14px;
  color: var(--accent-orange);
  font-weight: 500;
  transition: opacity var(--dur-fast) ease;
}

.historia-member__handle:hover {
  opacity: 0.75;
}

.historia-member__bio {
  font-size: 15.5px;
  color: var(--text-light-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Historia Photo Gallery */
.historia-gallery {
  background: var(--bg-cream);
  padding-block: var(--section-py);
}

/* ==========================================================================
   NUESTROS PROYECTOS PAGE
   ========================================================================== */
.proyectos-page {
  background: var(--bg-cream);
  padding-block: var(--section-py);
}

.proyectos-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 56px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.proyectos-intro__text {
  width: 100%;
  max-width: 720px;
}

.proyectos-intro__headline {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 12px;
  text-wrap: pretty;
}

.proyectos-intro__sub {
  font-size: 17px;
  color: var(--text-muted);
}

/* Filter Pills */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(22, 22, 22, 0.18);
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease-expo);
}

.filter-btn:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.filter-btn.active {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--text-light);
}

.proyectos-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-expo),
    box-shadow 0.5s var(--ease-expo);
}

.project-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(22, 22, 22, 0.08);
}

.project-feature.is-hidden {
  display: none;
}

.project-feature__media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: var(--bg-dark);
}

.project-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-expo);
}

.project-feature:hover .project-feature__media img {
  transform: scale(1.045);
}

.project-feature__body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-feature__title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}

.project-feature__desc {
  font-size: 15.5px;
  color: #3f3f3a;
  line-height: 1.75;
  margin-bottom: 28px;
}

.project-feature__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   PROJECT DETAIL PAGES (Niño Lindo & El Bendito)
   ========================================================================== */
.film-hero {
  position: relative;
  min-height: min(76vh, 660px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 64px) 0 clamp(48px, 6vw, 72px);
  background: var(--bg-obsidian);
  overflow: hidden;
  isolation: isolate;
}

.film-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroKenBurns 13s var(--ease-smooth) forwards;
}

.film-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0.35) 35%, rgba(15, 15, 15, 0.94) 100%);
}

.film-hero__inner {
  max-width: 820px;
}

.film-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
  transition: color var(--dur-fast) ease, gap var(--dur-fast) var(--ease-expo);
}

.film-hero__back:hover {
  color: var(--accent-orange);
  gap: 12px;
}

.film-hero__title {
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.film-hero__logline {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
  max-width: 680px;
}

.film-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Film Editorial Body */
.film-details {
  background: var(--bg-white);
  padding-block: var(--section-py);
}

.film-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.film-synopsis h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}

.film-synopsis p {
  font-size: 16.5px;
  color: #30302d;
  line-height: 1.85;
  margin-bottom: 20px;
}

.film-synopsis blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--text-dark);
  line-height: 1.5;
  border-left: 3px solid var(--accent-orange);
  padding-left: 22px;
  margin: 32px 0;
}

/* Ficha Técnica Card */
.film-specs {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 96px;
}

.film-specs__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 18px;
}

.film-specs__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.film-specs__item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.film-specs__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.film-specs__label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.film-specs__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Cinema Trailer Screening Room */
.film-trailer {
  position: relative;
  background: var(--bg-obsidian);
  padding-block: clamp(64px, 8vw, 104px) clamp(32px, 4vw, 56px);
  isolation: isolate;
  scroll-margin-top: var(--nav-height);
}

.trailer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #080808;
  border: 1px solid var(--border-dark);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-facade {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.trailer-facade__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.04);
  transition: transform 0.8s var(--ease-expo), filter 0.4s ease;
}

.trailer-facade:hover .trailer-facade__poster {
  transform: scale(1.035);
  filter: brightness(0.58) contrast(1.06);
}

.trailer-facade__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 15, 15, 0.2) 0%, rgba(15, 15, 15, 0.78) 100%);
  pointer-events: none;
}

.trailer-play {
  position: relative;
  z-index: 2;
  width: clamp(68px, 8vw, 92px);
  height: clamp(68px, 8vw, 92px);
  border-radius: 50%;
  background: rgba(227, 28, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 44px rgba(227, 28, 28, 0.38);
  transition:
    transform 0.4s var(--ease-expo),
    background-color var(--dur-fast) ease,
    box-shadow 0.4s ease;
}

.trailer-play svg {
  width: 34%;
  height: 34%;
  margin-left: 4px;
}

.trailer-facade:hover .trailer-play {
  transform: scale(1.09);
  background: var(--accent-orange);
  box-shadow: 0 22px 52px rgba(217, 105, 13, 0.48);
}

.trailer-facade__meta {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.trailer-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-light-subtle);
}

.trailer-caption a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  transition: opacity var(--dur-fast) ease;
}

.trailer-caption a:hover {
  opacity: 0.78;
}

/* Film Stills Gallery */
.film-stills {
  position: relative;
  background: var(--bg-obsidian);
  padding-block: var(--section-py);
  isolation: isolate;
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.stills-grid--uniform {
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.stills-grid__item {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  cursor: zoom-in;
}

.stills-grid--uniform .stills-grid__item {
  grid-column: auto;
  aspect-ratio: 16 / 9;
}

.stills-grid--scope .stills-grid__item {
  grid-column: auto;
  aspect-ratio: 2.39 / 1;
}

.stills-grid__item--wide {
  grid-column: span 6;
  aspect-ratio: 16 / 9.5;
}

.stills-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-expo);
}

.stills-grid__item:hover img {
  transform: scale(1.045);
}

/* Next Project Bar */
.next-project {
  background: var(--bg-cream);
  padding-block: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--border-light);
}

.next-project__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.next-project__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.next-project__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--text-dark);
  transition: color var(--dur-fast) ease;
}

.next-project__card:hover .next-project__title {
  color: var(--accent-orange);
}

/* ==========================================================================
   FOOTER — Minimalist, High-Contrast, Useful
   ========================================================================== */
.footer {
  background: var(--bg-obsidian);
  color: var(--text-light);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  border-top: 1px solid var(--border-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: stretch;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-dark);
}

.footer__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.footer__left-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer__location {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-subtle);
}

.footer__contact-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  color: var(--bg-cream);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--text-light-muted);
  margin-bottom: 28px;
}

.footer__email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.footer__email {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 1.5px solid var(--accent-orange);
  padding-bottom: 3px;
  transition: color var(--dur-fast) ease;
}

.footer__email:hover {
  color: var(--accent-orange);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  padding: 7px 12px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  transition: all var(--dur-fast) ease;
}

.copy-btn:hover,
.copy-btn.copied {
  color: var(--text-light);
  border-color: var(--accent-orange);
  background: rgba(217, 105, 13, 0.18);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer__nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  transition: color var(--dur-fast) ease;
}

.footer__nav a:hover {
  color: var(--accent-orange);
}

.footer__right {
  display: flex;
  flex-direction: column;
}

/* Integrated Protagonist Cinema Showcase in Footer */
.footer-showcase {
  position: relative;
  flex: 1;
  min-height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--bg-dark);
  display: flex;
}

.footer-showcase__viewport {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  cursor: zoom-in;
}

.footer-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.65s var(--ease-expo), transform 0.9s var(--ease-expo);
  pointer-events: none;
}

.footer-showcase__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.footer-showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 0.7s var(--ease-expo), filter 0.4s ease;
}

.footer-showcase__viewport:hover .footer-showcase__slide.is-active img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.04);
}

.footer-showcase__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0) 45%, rgba(15, 15, 15, 0.86) 100%);
}

.footer-showcase__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.footer-showcase__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.footer-showcase__counter {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--accent-orange);
  white-space: nowrap;
}

.footer-showcase__label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-showcase__controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.footer-showcase__btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    transform var(--dur-fast) var(--ease-expo);
}

.footer-showcase__btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-1px);
}

.footer-showcase__dots {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 4px;
}

.footer-showcase__dot {
  width: 10px;
  height: 2.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: background-color 0.3s ease, width 0.3s var(--ease-expo);
}

.footer-showcase__dot.is-active {
  width: 24px;
  background: var(--accent-orange);
}

.footer__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.footer__logo img {
  width: 82px;
  height: auto;
  object-fit: contain;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 26px;
  padding-right: 52px;
}

.footer__company {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
}

.footer__rif {
  font-size: 13px;
  color: var(--text-light-subtle);
}

.footer__copyright {
  font-size: 12.5px;
  color: var(--text-light-subtle);
  flex: 1;
  text-align: center;
  min-width: 240px;
}

.footer__logo-small a {
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border-radius: var(--radius-xs);
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) var(--ease-expo);
}

.footer__logo-small img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--dur-fast) ease;
}

.footer__logo-small a:hover {
  transform: translateY(-1px);
}

.footer__logo-small a:hover img {
  opacity: 1;
}

/* ==========================================================================
   NATIVE <DIALOG> LIGHTBOX (Accessible · Keyboard · Gallery Nav)
   ========================================================================== */
dialog.lightbox {
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 24px;
  border: none;
  background: transparent;
  color: var(--text-light);
  overflow: hidden;
  opacity: 0;
  transition:
    opacity 0.32s var(--ease-expo),
    overlay 0.32s allow-discrete,
    display 0.32s allow-discrete;
}

dialog.lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

@starting-style {
  dialog.lightbox[open] {
    opacity: 0;
  }
}

dialog.lightbox::backdrop {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition:
    opacity 0.32s var(--ease-expo),
    overlay 0.32s allow-discrete,
    display 0.32s allow-discrete;
}

dialog.lightbox[open]::backdrop {
  opacity: 1;
}

@starting-style {
  dialog.lightbox[open]::backdrop {
    opacity: 0;
  }
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1120px;
  max-height: 82dvh;
}

.lightbox__img {
  max-width: 88vw;
  max-height: 80dvh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-expo);
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transition: background-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-expo);
  z-index: 10;
}

.lightbox__close:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-expo);
  z-index: 10;
}

.lightbox__nav:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__nav[hidden] {
  display: none;
}

.lightbox__caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-light-muted);
}

.lightbox__counter {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
}

/* ---- Back to Top Button ---- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 400;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 22, 22, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity var(--dur-fast) ease,
    transform 0.35s var(--ease-expo),
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
}

/* ==========================================================================
   FESTIVAL-GRADE ATMOSPHERE & INTERACTIVE MODULES
   ========================================================================== */

/* 1. 35mm Subtle Film Grain Overlay on Dark Cinema Sections */
.has-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.042;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.has-grain > .container,
.has-grain > .hero__content {
  position: relative;
  z-index: 3;
}

.has-grain > .hero__scroll {
  z-index: 3;
}

/* 2. Ambient Card Spotlight Glow */
.spotlight-card {
  position: relative;
  --mx: 50%;
  --my: 50%;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(217, 105, 13, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 2;
}

/* 3. Contextual Floating Cinema Cursor Pill (Desktop Fine Pointer Only) */
.cinema-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cinema-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 15, 15, 0.88);
    border: 1px solid rgba(217, 105, 13, 0.55);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0) scale(0.75);
    transition: opacity 0.22s ease, transform 0.14s var(--ease-smooth);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    will-change: transform, opacity;
  }

  .cinema-cursor::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-orange);
  }

  .cinema-cursor.is-active {
    opacity: 1;
  }
}

/* 4. Interactive "Qué Producimos" Showcase */
.servicios {
  background: var(--bg-cream);
  padding-block: var(--section-py);
  border-top: 1px solid var(--border-light);
}

.servicios__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5.5vw, 72px);
  align-items: center;
}

.servicios__list {
  display: flex;
  flex-direction: column;
}

.service-item {
  border-top: 1px solid var(--border-light);
  padding-block: 24px;
  cursor: pointer;
  transition: padding-left 0.35s var(--ease-expo);
}

.service-item:last-child {
  border-bottom: 1px solid var(--border-light);
}

.service-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
}

.service-item__left {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.service-item__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  transition: color var(--dur-fast) ease;
}

.service-item__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.15;
  transition: color var(--dur-fast) ease;
}

.service-item__arrow {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-expo), color var(--dur-fast) ease;
}

.service-item.is-active .service-item__num,
.service-item.is-active .service-item__title,
.service-item:hover .service-item__title {
  color: var(--accent-orange);
}

.service-item.is-active .service-item__arrow {
  color: var(--accent-orange);
  transform: rotate(45deg);
}

.service-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-expo);
}

.service-item.is-active .service-item__panel {
  grid-template-rows: 1fr;
}

.service-item__panel-inner {
  overflow: hidden;
}

.service-item__desc {
  padding-top: 14px;
  padding-left: 36px;
  font-size: 15.5px;
  color: #42423d;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 36px;
  margin-bottom: 18px;
}

.service-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.06);
  color: var(--text-dark);
}

.service-item__cta {
  margin-left: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-red);
  transition: gap 0.25s var(--ease-expo);
}

.service-item__cta:hover {
  gap: 12px;
}

/* Visual Preview Stage for Services */
.service-stage {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--bg-obsidian);
  box-shadow: 0 28px 60px rgba(15, 15, 15, 0.15);
}

.service-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s var(--ease-expo), transform 0.85s var(--ease-expo);
}

.service-stage__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.service-stage__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(15, 15, 15, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}

.service-stage__kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 4px;
}

.service-stage__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

/* 7. ScreenLarge Interactive Pillars & 9:16 Cinema Teaser Phone */
.sl-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.proximamente__logos {
  margin-bottom: 0;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

a.proximamente__logos:hover {
  border-color: rgba(217, 105, 13, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.sl-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sl-pillar {
  text-align: left;
  padding: 16px 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  transition:
    border-color var(--dur-fast) ease,
    background-color var(--dur-fast) ease,
    transform 0.35s var(--ease-expo);
}

.sl-pillar:hover,
.sl-pillar.is-active {
  border-color: var(--accent-orange);
  background: rgba(217, 105, 13, 0.11);
  transform: translateY(-2px);
}

.sl-pillar__num {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.sl-pillar__title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.sl-pillar__desc {
  display: block;
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.45;
}

.reel-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reel-phone {
  position: relative;
  width: min(100%, 296px);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(155deg, #2d2d2d 0%, #141414 55%, #262626 100%);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 60px rgba(227, 28, 28, 0.14);
}

.reel-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 18%, rgba(227, 28, 28, 0.22), transparent 65%),
    radial-gradient(ellipse 80% 55% at 50% 85%, rgba(217, 105, 13, 0.18), transparent 65%),
    #0b0b0c;
  isolation: isolate;
}

/* Subtle vertical 9:16 camera viewfinder corner marks */
.reel-viewfinder {
  position: absolute;
  inset: 52px 16px 86px;
  z-index: 2;
  pointer-events: none;
}

.reel-viewfinder::before,
.reel-viewfinder::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.reel-viewfinder::after {
  inset: 10px;
  border: none;
  background:
    linear-gradient(to right, rgba(255,255,255,0.45) 12px, transparent 12px) 0 0,
    linear-gradient(to bottom, rgba(255,255,255,0.45) 12px, transparent 12px) 0 0,
    linear-gradient(to left, rgba(255,255,255,0.45) 12px, transparent 12px) 100% 0,
    linear-gradient(to bottom, rgba(255,255,255,0.45) 12px, transparent 12px) 100% 0,
    linear-gradient(to right, rgba(255,255,255,0.45) 12px, transparent 12px) 0 100%,
    linear-gradient(to top, rgba(255,255,255,0.45) 12px, transparent 12px) 0 100%,
    linear-gradient(to left, rgba(255,255,255,0.45) 12px, transparent 12px) 100% 100%,
    linear-gradient(to top, rgba(255,255,255,0.45) 12px, transparent 12px) 100% 100%;
  background-repeat: no-repeat;
  background-size: 12px 1.5px, 1.5px 12px;
}

.reel-phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.9);
  z-index: 6;
}

.reel-bars {
  position: absolute;
  top: 36px;
  left: 14px;
  right: 14px;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.reel-bar {
  height: 2.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.reel-bar__fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--text-light);
}

.reel-bar.is-done .reel-bar__fill {
  width: 100%;
}

.reel-bar.is-active .reel-bar__fill {
  animation: reelFill 5.2s linear forwards;
}

.reel-phone:hover .reel-bar.is-active .reel-bar__fill {
  animation-play-state: paused;
}

@keyframes reelFill {
  from { width: 0%; }
  to   { width: 100%; }
}

.reel-slide {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 72px 26px 96px;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.55s var(--ease-expo), transform 0.65s var(--ease-expo);
  pointer-events: none;
}

.reel-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.reel-teaser__icon {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.reel-teaser__collab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.reel-teaser__collab img {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.reel-teaser__x {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-orange);
}

.reel-teaser__kicker {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 10px;
}

.reel-teaser__headline {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.18;
  margin-bottom: 12px;
  text-wrap: balance;
}

.reel-teaser__copy {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.55;
}

.reel-phone__tap {
  position: absolute;
  top: 48px;
  bottom: 86px;
  width: 42%;
  z-index: 5;
  background: transparent;
}

.reel-phone__tap--prev { left: 0; }
.reel-phone__tap--next { right: 0; }

.reel-phone__ui {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 6;
  color: var(--text-light);
}

.reel-phone__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.reel-phone__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

.reel-phone__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.reel-phone__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.reel-phone__btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.reel-phone__arrows {
  display: flex;
  gap: 6px;
}

.reel-phone__arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-fast) ease;
}

.reel-phone__arrow:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (GPU-Composited + Curtain Clip-Path)
   ========================================================================== */
.js-ready [data-reveal] {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 0.78s var(--ease-expo),
    transform 0.78s var(--ease-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready [data-reveal="up"]    { transform: translateY(28px); }
.js-ready [data-reveal="left"]  { transform: translateX(-28px); }
.js-ready [data-reveal="right"] { transform: translateX(28px); }
.js-ready [data-reveal="scale"] { transform: scale(0.95); }

/* Editorial Curtain Image Unveil */
.js-ready [data-reveal="curtain"] {
  opacity: 1;
  clip-path: inset(12% 0 0 0);
  transition: clip-path 0.95s var(--ease-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready [data-reveal="curtain"] img {
  transform: scale(1.09);
  transition: transform 1.05s var(--ease-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready [data-reveal="curtain"].is-visible {
  clip-path: inset(0 0 0 0);
}

.js-ready [data-reveal="curtain"].is-visible img {
  transform: scale(1);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile Polish)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav__links {
    gap: 24px;
  }

  .nav__actions {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .sobre__inner,
  .servicios__grid,
  .proximamente__inner,
  .historia-intro__inner,
  .film-details__grid,
  .footer__top,
  .project-feature {
    grid-template-columns: 1fr;
  }

  .equipo__team {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Center the 3rd founder card cleanly on tablet 2-column grid */
  .equipo__team .team-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
    width: 100%;
    margin-inline: auto;
  }

  .service-stage {
    aspect-ratio: 16 / 10;
  }

  .reel-stage {
    margin-top: 20px;
  }

  .historia-member,
  .historia-member--reverse {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
  }

  .historia-member--reverse .historia-member__media {
    order: 0;
  }

  .film-specs {
    position: static;
  }

  .stills-grid__item,
  .stills-grid__item--wide {
    grid-column: span 6;
  }

  .footer__left {
    gap: 28px;
  }

  .footer-showcase,
  .footer-showcase__viewport {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 70px;
    --gutter: 20px;
    --section-py: clamp(56px, 11vw, 80px);
  }

  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile-menu {
    height: 100dvh;
    padding: calc(var(--nav-height) + 28px) var(--gutter) max(36px, env(safe-area-inset-bottom));
  }

  .nav__mobile-menu a.mobile-link {
    min-height: 52px;
    display: flex;
    align-items: center;
  }

  /* Home Hero — dead-center & crisp mobile framing */
  .hero {
    min-height: min(88svh, 760px);
    padding: calc(var(--nav-height) + 40px) 0 96px;
  }

  .hero__kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
    line-height: 1.5;
    justify-content: center;
  }

  .hero__subtitle {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    margin-bottom: 20px;
  }

  .hero__text {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero__scroll {
    bottom: 18px;
  }

  .hero__scroll-line {
    height: 24px;
  }

  /* Natural full-width flow on mobile editorial headlines */
  .sobre__headline,
  .historia-intro__headline,
  .proyectos-intro__headline,
  .film-synopsis h2 {
    text-wrap: pretty;
    max-width: 100%;
  }

  .section-header {
    align-items: flex-start;
    gap: 16px;
  }

  .equipo__team,
  .proyectos-grid {
    grid-template-columns: 1fr;
  }

  .equipo__team .team-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }

  /* Nuestra Historia — full-bleed column portrait on mobile */
  .historia-member,
  .historia-member--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .historia-member__media {
    width: 100%;
    max-width: 100%;
  }

  .historia-member__photo {
    aspect-ratio: 4 / 5;
    object-position: center top;
  }

  .historia-member__role {
    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 1.5;
  }

  /* Nuestros Proyectos — single-row full-width filter pills on mobile */
  .proyectos-intro {
    gap: 20px;
    padding-bottom: 24px;
  }

  .proyectos-intro__sub {
    font-size: 15.5px;
    line-height: 1.65;
  }

  .filter-bar {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .filter-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    letter-spacing: 0.05em;
    padding: 10px 8px;
    min-height: 42px;
    white-space: nowrap;
  }

  /* ScreenLarge mobile polish */
  .sl-bar {
    width: 100%;
    gap: 12px;
  }

  .sl-pillars {
    grid-template-columns: 1fr;
  }

  .reel-phone {
    width: min(100%, 272px);
  }

  /* Film detail pages — unified 16:9 trailer & stills on mobile */
  .film-hero {
    min-height: min(74svh, 580px);
    padding: calc(var(--nav-height) + 40px) 0 44px;
  }

  .trailer-play {
    width: 60px;
    height: 60px;
  }

  .trailer-play svg {
    width: 22px;
    height: 22px;
  }

  .trailer-facade__meta {
    font-size: 10px;
    letter-spacing: 0.14em;
    bottom: 12px;
    padding: 5px 11px;
  }

  .trailer-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .stills-grid__item,
  .stills-grid__item--wide {
    grid-column: span 12;
  }

  .stills-grid--uniform {
    grid-template-columns: 1fr;
  }

  /* Footer mobile layout */
  .footer-showcase,
  .footer-showcase__viewport {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .footer__brand-row {
    gap: 16px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .footer__copyright {
    text-align: left;
    min-width: 0;
  }

  /* Unobtrusive compact back-to-top on mobile */
  .back-to-top {
    width: 40px;
    height: 40px;
    right: 14px;
    bottom: max(16px, env(safe-area-inset-bottom));
    background: rgba(15, 15, 15, 0.82);
  }

  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }

  .service-item__desc,
  .service-item__tags,
  .service-item__cta {
    padding-left: 0;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero__actions,
  .film-hero__actions,
  .project-feature__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn,
  .film-hero__actions .btn,
  .project-feature__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .project-card__actions {
    gap: 12px;
  }

  .bts-grid {
    gap: 8px;
  }
}

/* ==========================================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__kicker,
  .hero__title,
  .hero__subtitle,
  .hero__text,
  .hero__actions,
  .page-hero__title,
  .js-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
