/* =============================================
   Teuffer Entertainment — Design System
   Palette: blanco · azul · rosa fuerte (tema claro)
   ============================================= */

:root {
  /* —— Azul —— */
  --blue-900: #0F1A2E;
  --blue-800: #162440;
  --blue-600: #2E5A9E;
  --blue-400: #4A7FD4;
  --blue-200: #8EB4E8;
  --blue-100: #C5D9F2;

  /* —— Rosa fuerte (magenta teatral — NO pastel) —— */
  --pink-900: #6B0F3D;
  --pink-800: #831049;
  --pink-700: #9B1456;
  --pink-600: #BE185D;
  --pink-500: #DB2777;
  --pink-400: #E11D8C;
  --pink-300: #EC4899;

  /* —— Gris —— */
  --gray-950: #0E1117;
  --gray-900: #151B26;
  --gray-800: #1E2736;
  --gray-600: #6B7789;
  --gray-500: #8892A4;
  --gray-400: #A8B2C3;
  --gray-300: #D1D8E4;
  --gray-100: #F0F3F8;
  --gray-50: #F7F9FC;

  --white: #FFFFFF;
  --white-soft: #F7F9FC;

  /* RGB para transparencias */
  --rgb-blue: 74, 127, 212;
  --rgb-pink: 190, 24, 93;
  --rgb-white: 255, 255, 255;
  --rgb-ink: 21, 27, 38;

  /* —— Semánticos (tema claro) —— */
  --color-bg: var(--white);
  --color-bg-alt: var(--gray-50);
  --color-bg-card: var(--white);
  --color-surface: var(--gray-100);
  --color-navy: var(--pink-800);
  --color-teal: var(--blue-600);
  --color-teal-light: var(--blue-600);
  --color-cyan: var(--blue-400);
  --color-gold: var(--pink-600);
  --color-gold-light: var(--pink-600);
  --color-gold-bright: var(--pink-400);
  --color-curtain: #8B1424;
  --color-curtain-dark: #4A0A12;
  --color-white: var(--gray-900);
  --color-text: var(--gray-900);
  --color-text-muted: var(--gray-600);
  --color-charcoal: var(--gray-500);

  /* Alias */
  --color-blue: var(--blue-600);
  --color-blue-light: var(--blue-400);
  --color-pink: var(--pink-600);
  --color-pink-light: var(--pink-500);
  --color-gray: var(--gray-500);
  --color-border: rgba(var(--rgb-ink), 0.1);
  --color-border-subtle: rgba(var(--rgb-ink), 0.06);
  --color-border-pink: rgba(var(--rgb-pink), 0.38);
  --color-border-blue: rgba(var(--rgb-blue), 0.32);

  /* —— Tipografía: Proxima Nova —— */
  --font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: var(--font-family);
  --font-body: var(--font-family);
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --header-height: 88px;
  --header-scrolled-bg: rgba(255, 255, 255, 0.94);
  --radius: 14px;
  --radius-lg: 24px;
  --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 16px 48px rgba(var(--rgb-ink), 0.08);
  --glow-teal: 0 0 40px rgba(var(--rgb-blue), 0.14);
  --glow-gold: 0 8px 32px rgba(var(--rgb-pink), 0.32);
  --glow-pink: 0 8px 36px rgba(var(--rgb-pink), 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  background:
    radial-gradient(ellipse 110% 65% at 50% -12%, rgba(var(--rgb-blue), 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 40%, rgba(var(--rgb-blue), 0.03) 0%, transparent 50%),
    var(--color-bg);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Solo bloquea scroll; NO mueve el layout (evita el salto horizontal) */
html.is-curtain-lock,
html.is-curtain-lock body {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }
address { font-style: normal; }

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(80px, 12vw, 130px) 0;
  position: relative;
}

.scene--dark {
  background: var(--color-surface);
}

.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-600);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-family);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.section__title em {
  font-style: normal;
  font-weight: var(--fw-semibold);
  color: var(--pink-600);
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  font-weight: var(--fw-regular);
  max-width: 520px;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__header .section__desc {
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: linear-gradient(135deg, var(--pink-500) 0%, var(--pink-700) 100%);
  color: var(--white);
  box-shadow: var(--glow-pink);
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(var(--rgb-pink), 0.42);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--color-blue-light);
  color: var(--color-blue-light);
  background: rgba(var(--rgb-blue), 0.1);
}

.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: 0.9rem;
}

/* =============================================
   CURTAIN LOADER
   ============================================= */
.curtain-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  background: #1a0508;
  overflow: hidden;
}

.curtain-loader.hidden {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease 0.7s, visibility 0.25s ease 0.7s;
}

.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  max-width: none;
  background:
    repeating-linear-gradient(
      90deg,
      var(--color-curtain-dark) 0px,
      var(--color-curtain) 8px,
      var(--color-curtain-dark) 16px
    );
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.6);
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
  will-change: transform;
}

.curtain--left {
  left: 0;
  transform: translate3d(0, 0, 0);
  border-right: 3px solid rgba(0, 0, 0, 0.4);
}

.curtain--right {
  right: 0;
  transform: translate3d(0, 0, 0);
  border-left: 3px solid rgba(0, 0, 0, 0.4);
}

/* Telón abierto (fuera de escena) */
.curtain-loader.opening .curtain--left,
.curtain-loader.is-open .curtain--left {
  transform: translate3d(-105%, 0, 0);
}

.curtain-loader.opening .curtain--right,
.curtain-loader.is-open .curtain--right {
  transform: translate3d(105%, 0, 0);
}

/* Telón cerrándose hacia el centro */
.curtain-loader.closing .curtain--left {
  transform: translate3d(0, 0, 0);
}

.curtain-loader.closing .curtain--right {
  transform: translate3d(0, 0, 0);
}

.curtain-loader__content {
  position: relative;
  z-index: 3;
  text-align: center;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.curtain-loader.opening .curtain-loader__content {
  opacity: 0;
  transition-delay: 0s;
}

.curtain-loader.closing .curtain-loader__content {
  opacity: 1;
  transition-delay: 0.18s;
}

.curtain-loader.is-exit {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: none;
}

.curtain-loader__logo {
  width: min(320px, 70vw);
  margin-inline: auto;
  filter: drop-shadow(0 10px 40px rgba(var(--rgb-blue), 0.35));
}

.curtain-loader__text {
  margin-top: 1.5rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  animation: textBlink 1.5s ease-in-out infinite;
}

@keyframes textBlink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .curtain,
  .curtain-loader__content,
  .curtain-loader.hidden {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* Spotlight cursor */
.spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-blue), 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
}

.spotlight.off {
  opacity: 0;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(var(--rgb-ink), 0.06), 0 1px 0 var(--color-border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo img {
  height: 58px;
  width: auto;
  transition: transform var(--transition);
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.12));
}

.nav__logo:hover img {
  transform: scale(1.04);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav__link {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  border-radius: 8px;
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
}

.page-home .header:not(.scrolled) .nav__link {
  color: var(--color-text-muted);
}

.page-home .header:not(.scrolled) .nav__link:hover,
.page-home .header:not(.scrolled) .nav__link.active {
  color: var(--color-text);
}

.page-home .header:not(.scrolled) .nav__toggle span {
  background: var(--color-text);
}

.page-home .header:not(.scrolled) .nav__logo img {
  filter: drop-shadow(0 2px 8px rgba(var(--rgb-ink), 0.08));
}

.page-home .header.scrolled .nav__link {
  color: var(--color-text-muted);
}

.page-home .header.scrolled .nav__link:hover,
.page-home .header.scrolled .nav__link.active {
  color: var(--color-text);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text);
}

.nav__cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.3rem;
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
  color: var(--white);
  border-radius: 50px;
  transition: all var(--transition);
  border: 1px solid rgba(var(--rgb-pink), 0.35);
}

.nav__cta:hover {
  box-shadow: var(--glow-pink);
  transform: translateY(-2px);
}

.nav__dropdown {
  position: relative;
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.nav__dropdown.open .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__submenu a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
  color: var(--color-text-muted);
}

.nav__submenu a:hover {
  background: rgba(var(--rgb-blue), 0.1);
  color: var(--color-teal-light);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

.hero .nav__toggle span {
  background: var(--white);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
  color: var(--white-soft);
}

.hero .nav__link:hover,
.hero .nav__link.active {
  color: var(--white);
}

.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.hero .btn--ghost:hover {
  border-color: var(--pink-300);
  color: var(--white);
  background: rgba(var(--rgb-pink), 0.18);
}

.hero__stage {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
}

.hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.15); }
}

.hero__backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6, 8, 15, 0.55) 0%, rgba(6, 8, 15, 0.75) 50%, rgba(6, 8, 15, 0.95) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(var(--rgb-blue), 0.15) 0%, transparent 60%);
}

.hero__floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(6, 8, 15, 1) 0%, transparent 100%);
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0 6rem;
}

.hero__logo {
  width: min(460px, 88vw);
  margin-inline: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 12px 50px rgba(var(--rgb-blue), 0.35));
}

.hero__tag {
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-300);
  margin-bottom: 1.2rem;
}

.hero__title {
  font-family: var(--font-family);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--pink-300);
  font-style: normal;
  font-weight: var(--fw-semibold);
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-inline: auto 1.5rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-family);
  font-size: 2rem;
  color: var(--pink-300);
  line-height: 1;
}

.hero__stat span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Hero claro — elenco recortado sobre fondo blanco */
.hero--light {
  background: var(--white);
  color: var(--color-text);
}

.hero--light .hero__content {
  padding-bottom: 4rem;
}

.hero--light .hero__logo {
  filter: drop-shadow(0 8px 28px rgba(var(--rgb-blue), 0.12));
}

.hero--light .hero__title-line {
  color: var(--color-text);
}

.hero--light .hero__stat span {
  color: var(--color-text-muted);
}

.hero--light .hero__stat-divider {
  background: var(--color-border-subtle);
}

.hero--light .hero__scroll {
  color: var(--pink-600);
  z-index: 3;
}

.hero--light .hero__scroll::after {
  background: linear-gradient(to bottom, var(--pink-600), transparent);
}

.hero--light .btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text);
}

.hero--light .btn--ghost:hover {
  border-color: var(--pink-600);
  color: var(--pink-700);
  background: rgba(var(--rgb-pink), 0.06);
}

.hero--light .nav__link:hover,
.hero--light .nav__link.active {
  color: var(--color-text);
}

.hero--light .nav__toggle span {
  background: var(--color-text);
}

/* Marquee */
.marquee {
  background: linear-gradient(90deg, var(--pink-900) 0%, var(--pink-800) 50%, var(--pink-900) 100%);
  border-block: 2px solid rgba(var(--rgb-pink), 0.45);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-navy), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-navy), transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
}

.marquee__track span {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.marquee__dot {
  color: var(--pink-300) !important;
  font-size: 0.7rem !important;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   ABOUT
   ============================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
}

.about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about__frame:hover img {
  transform: scale(1.06);
}

.about__frame-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-400), var(--pink-600));
  z-index: -1;
  opacity: 0.45;
  filter: blur(20px);
}

.about__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.about__badge-num {
  display: block;
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}

.about__badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about__text {
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

.about__text strong {
  color: var(--color-white);
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about__highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: rgba(var(--rgb-blue), 0.04);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.about__highlight:hover {
  border-color: rgba(var(--rgb-blue), 0.25);
  background: rgba(var(--rgb-blue), 0.05);
  transform: translateX(6px);
}

.about__highlight-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.about__highlight h3 {
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.about__highlight p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.scene__lights {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(var(--rgb-pink), 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* =============================================
   DIRECTOR
   ============================================= */
.director__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.director__portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.director__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director__spotlight-ring {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(var(--rgb-pink), 0.2) 0%, transparent 60%);
  animation: spotlightPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spotlightPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.director__bio {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.director__bio strong {
  color: var(--color-teal-light);
}

.director__quote {
  margin-top: 2rem;
  padding: 1.8rem 2rem;
  border-left: 3px solid var(--color-gold);
  background: rgba(var(--rgb-blue), 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.director__quote p {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.director__quote cite {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* =============================================
   SHOWS WALLET — Mazo de tarjetas (estilo cartera)
   ============================================= */
.shows__stack-scene {
  --shows-scroll-step: 48vh;
  position: relative;
  margin-top: 1.5rem;
}

.shows__stack-pin {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  min-height: calc(100vh - var(--header-height) - 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 2.5rem;
}

.shows__stack {
  position: relative;
  width: min(340px, 88vw);
  height: min(460px, 58vh);
  perspective: 1400px;
}

.show-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transform-origin: center 85%;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    filter 0.5s ease;
  will-change: transform, opacity;
}

.show-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
  box-shadow:
    0 28px 70px rgba(var(--rgb-ink), 0.12),
    0 0 0 1px var(--color-border-subtle);
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}

.show-card.is-front .show-card__inner {
  box-shadow:
    0 36px 80px rgba(var(--rgb-ink), 0.14),
    0 0 0 1px rgba(var(--rgb-blue), 0.35),
    0 0 40px rgba(var(--rgb-blue), 0.1);
}

.show-card.is-expanded .show-card__inner {
  transform: scale(1.02);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(var(--rgb-pink), 0.45);
}

.show-card__inner img,
.show-card__inner .ce-image-wrap,
.show-card__inner .ce-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.show-card__inner .ce-image-wrap {
  display: block;
}

.show-card.is-expanded .show-card__inner img,
.show-card.is-expanded .show-card__inner .ce-image__img {
  transform: scale(1.04);
  transition: transform 0.5s ease;
}

.show-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(9, 11, 16, 0.92) 0%, rgba(9, 11, 16, 0.2) 45%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.5rem;
  pointer-events: none;
  text-align: left;
}

.ce-visual-mode .show-card__overlay .ce-field {
  pointer-events: auto;
}

.ce-visual-mode .show-card__inner .ce-image-wrap {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.ce-visual-mode .show-card.is-front .ce-image__badge {
  opacity: 1;
}

.show-card__overlay h3 {
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.show-card__overlay p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
}

.show-card.is-front .show-card__overlay h3 {
  color: var(--pink-300);
}

.show-card.is-expanded .show-card__overlay p {
  max-height: 80px;
  opacity: 1;
  margin-top: 0.2rem;
}

.shows__stack-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  width: min(420px, 92vw);
}

.shows__stack-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(var(--rgb-pink), 0.35);
  background: rgba(var(--rgb-pink), 0.08);
  color: var(--pink-600);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.shows__stack-btn:hover:not(:disabled) {
  border-color: rgba(var(--rgb-pink), 0.55);
  background: rgba(var(--rgb-pink), 0.12);
  color: var(--pink-700);
}

.shows__stack-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.shows__stack-hint {
  flex: 1;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  opacity: 0.85;
}

.shows__counter {
  text-align: center;
  margin-top: 0.75rem;
  font-family: var(--font-family);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.shows__counter #showsCurrent {
  color: var(--color-gold-light);
  font-size: 1.15rem;
  font-weight: var(--fw-semibold);
}

/* Gallery */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
  pointer-events: none;
}

.gallery__item:hover::after {
  border-color: rgba(var(--rgb-pink), 0.4);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials__stage {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  padding: 3rem 2rem;
}

.testimonials__spotlight {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--rgb-pink), 0.1) 0%, transparent 65%);
  pointer-events: none;
  animation: spotlightPulse 5s ease-in-out infinite;
}

.testimonials__slides {
  position: relative;
  min-height: 200px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  position: relative;
}

.testimonial p {
  font-family: var(--font-family);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.testimonial p::before {
  content: '\201C';
  color: var(--color-gold);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.1em;
}

.testimonial footer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.testimonial footer strong {
  color: var(--color-teal-light);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.testimonials__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(var(--rgb-ink), 0.15);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.testimonials__dots button.active {
  background: var(--color-gold);
  box-shadow: 0 0 12px rgba(var(--rgb-pink), 0.6);
  transform: scale(1.3);
}

/* =============================================
   PRESS
   ============================================= */
.press__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.press__card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.press__card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--rgb-blue), 0.25);
  box-shadow: var(--glow-teal);
}

.press__card-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.press__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.press__card:hover .press__card-img img {
  transform: scale(1.06);
}

.press__card h3 {
  font-family: var(--font-family);
  font-size: 0.95rem;
  padding: 1rem 1.2rem 0.3rem;
  color: var(--color-white);
}

.press__card span {
  display: block;
  padding: 0 1.2rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal-light);
}

/* =============================================
   CURTAIN CALL
   ============================================= */
.curtain-call {
  position: relative;
  padding: clamp(100px, 15vw, 160px) 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--rgb-pink), 0.12) 0%, transparent 50%),
    var(--color-bg);
}

.curtain-call__lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-top: 1rem;
}

.curtain-call__lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 20px var(--color-gold);
  animation: bulbBlink 1.5s ease-in-out infinite;
}

.curtain-call__lights span:nth-child(2) { animation-delay: 0.2s; }
.curtain-call__lights span:nth-child(3) { animation-delay: 0.4s; }
.curtain-call__lights span:nth-child(4) { animation-delay: 0.6s; }
.curtain-call__lights span:nth-child(5) { animation-delay: 0.8s; }

@keyframes bulbBlink {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.curtain-call__label {
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 0.8rem;
}

.curtain-call__title {
  font-family: var(--font-family);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--color-gold-light);
  text-shadow: 0 0 60px rgba(var(--rgb-pink), 0.4);
  margin-bottom: 1rem;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 40px rgba(var(--rgb-pink), 0.3); }
  50% { text-shadow: 0 0 80px rgba(var(--rgb-pink), 0.6); }
}

.curtain-call__desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__text {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  gap: 1rem;
}

.contact__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.contact__item strong {
  display: block;
  font-family: var(--font-family);
  color: var(--color-white);
  margin-bottom: 0.3rem;
}

.contact__item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact__item a {
  color: var(--color-teal-light);
}

.contact__item a:hover {
  color: var(--color-gold-light);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) contrast(1.1);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-bg-alt);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__logo {
  height: 40px;
  width: auto;
  opacity: 0.85;
}

.footer p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer__links a:hover {
  color: var(--color-teal-light);
}

.director__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.director__role {
  color: var(--color-teal-light);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.director__cv {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
}

.cv-accordion {
  background: rgba(var(--rgb-blue), 0.03);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
  padding: 0 1.2rem;
}

.cv-accordion summary {
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1.05rem;
  color: var(--color-gold-light);
  padding: 1.1rem 0;
  list-style: none;
}

.cv-accordion summary::-webkit-details-marker { display: none; }

.cv-accordion[open] summary {
  border-bottom: 1px solid var(--color-border-subtle);
}

.cv-list {
  padding: 1rem 0 1.2rem 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.cv-list li { margin-bottom: 0.5rem; }

.director__gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}

.director__gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.director__gallery img:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-teal);
}

/* TEACHERS */
.teachers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.teacher-card__btn {
  width: 100%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.teacher-card__btn:hover {
  border-color: rgba(var(--rgb-blue), 0.3);
  transform: translateY(-4px);
  box-shadow: var(--glow-teal);
}

.teacher-card__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
}

.teacher-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.teacher-card__btn:hover .teacher-card__photo img {
  transform: scale(1.06);
}

.teacher-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 15, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.teacher-card__overlay span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.teacher-card__btn:hover .teacher-card__overlay { opacity: 1; }

.teacher-card h3 {
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.teacher-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* FAMILIA */
.familia__grid {
  columns: 4;
  column-gap: 1rem;
}

.familia__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  display: block;
  width: 100%;
}

.familia__item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.9);
}

.familia__item:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

.familia__actions {
  text-align: center;
  margin-top: 2rem;
}

/* NEWS */
.news__posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.news__poster {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.news__poster:hover { transform: translateY(-6px); }

.news__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news__card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  color: inherit;
  box-shadow: var(--shadow);
}

.news__card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--rgb-pink), 0.3);
}

.news__card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.news__card-body {
  padding: 1.2rem;
}

.news__card-body h3 {
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.news__card-body p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* PARENTS */
.parents__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin-inline: auto;
}

.parents__card {
  display: block;
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  color: inherit;
  box-shadow: var(--shadow);
}

.parents__card:hover {
  border-color: rgba(var(--rgb-blue), 0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow-teal);
}

.parents__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.parents__card h3 {
  font-family: var(--font-family);
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.parents__card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.parents__link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

/* CONTACT visual */
.contact__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.contact__text a {
  color: var(--color-teal-light);
}

.contact__text a:hover { color: var(--color-gold-light); }

.contact__map {
  aspect-ratio: 16/10;
}

/* MODALS */
.teacher-modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.teacher-modal.open,
.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.teacher-modal__backdrop,
.lightbox::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 15, 0.88);
  backdrop-filter: blur(8px);
}

.teacher-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.teacher-modal__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.teacher-modal__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(480px, 52vh);
  object-fit: contain;
  object-position: center top;
}

.teacher-modal__body h3 {
  font-family: var(--font-family);
  font-size: 1.4rem;
  color: var(--color-gold-light);
  margin-bottom: 0.8rem;
}

.teacher-modal__body p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.teacher-modal__close,
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox__close { top: 2rem; right: 2rem; }

.lightbox img {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
  .about__grid,
  .director__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .director__portrait {
    max-width: 400px;
    margin-inline: auto;
  }

  .director__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .news__posters,
  .news__cards,
  .parents__grid {
    grid-template-columns: 1fr;
  }

  .familia__grid {
    columns: 2;
  }

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

  .shows__stack {
    width: min(300px, 86vw);
    height: min(420px, 54vh);
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__item--tall {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform var(--transition);
    gap: 0.2rem;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(var(--rgb-ink), 0.08);
  }

  .nav__menu.open {
    transform: translateX(0);
  }

  .nav__link {
    padding: 1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .nav__cta {
    margin: 1rem 0 0;
    text-align: center;
    padding: 1rem;
  }

  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
  }

  .nav__dropdown.open .nav__submenu {
    display: block;
  }

  .shows__stack-hint {
    font-size: 0.65rem;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 1.2rem;
  }

  .spotlight {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}
