/* ==========================================================================
   TEATRO TRÄWÜN — SISTEMA DE DISEÑO TEATRAL Y ESCÉNICO
   Inspirado en la atmósfera del teatro en vivo, la calidez de la luz de tungsteno
   y la raíz ancestral de Träwün (Encuentro).
   ========================================================================== */

/* --- Variables y Paleta de Color --- */
:root {
  /* Fuentes */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Luz de Función (Modo Oscuro / Terciopelo Teatral - Predeterminado) */
  --bg-main: #0c0a10;
  --bg-surface: #15131c;
  --bg-surface-elevated: #1e1b27;
  --bg-glass: rgba(21, 19, 28, 0.75);
  --border-color: rgba(232, 168, 72, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-primary: #f5f2eb;
  --text-secondary: #b5af9f;
  --text-muted: #807a6d;

  /* Acentos de Escena */
  --theatre-gold: #e8a848;
  --theatre-gold-light: #f7cb7e;
  --theatre-gold-glow: rgba(232, 168, 72, 0.25);
  --theatre-crimson: #c44536;
  --theatre-crimson-dark: #8c281c;
  --theatre-terracotta: #a34e3b;
  --theatre-amber: #ff9e2c;

  /* Sombras y Luces */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);

  /* Curvas y Transiciones */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modo Luz de Sala (Luminoso Papel Editorial) */
[data-theme="light"] {
  --bg-main: #f9f6f0;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f2eee5;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-color: rgba(196, 69, 54, 0.18);
  --border-subtle: rgba(0, 0, 0, 0.08);

  --text-primary: #1c1815;
  --text-secondary: #595248;
  --text-muted: #857c70;

  --theatre-gold: #b87b22;
  --theatre-gold-light: #966114;
  --theatre-gold-glow: rgba(184, 123, 34, 0.18);
  --theatre-crimson: #a83324;
  --theatre-crimson-dark: #731e13;

  --shadow-sm: 0 4px 12px rgba(40, 30, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(40, 30, 20, 0.09);
  --shadow-lg: 0 16px 40px rgba(40, 30, 20, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
}

/* Foco de luz ambiental que sigue al cursor */
.stage-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--theatre-gold-glow) 0%, rgba(196, 69, 54, 0.05) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}

[data-theme="light"] .stage-spotlight {
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Barra de Anuncio Superior --- */
.top-announcement {
  background: linear-gradient(90deg, #18121f 0%, #291216 50%, #18121f 100%);
  border-bottom: 1px solid rgba(232, 168, 72, 0.18);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 50;
}

[data-theme="light"] .top-announcement {
  background: linear-gradient(90deg, #eee6d8 0%, #fae9e5 50%, #eee6d8 100%);
  border-bottom: 1px solid rgba(196, 69, 54, 0.15);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--theatre-gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--theatre-gold);
  animation: pulseLight 2s infinite;
}

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

.announcement-text {
  color: var(--text-primary);
}

.quick-link {
  color: var(--theatre-gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.quick-link:hover {
  color: var(--theatre-gold-light);
  transform: translateX(3px);
}

.quick-link i {
  width: 14px;
  height: 14px;
}

/* --- Encabezado y Navegación Principal --- */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.main-header.scrolled {
  background-color: rgba(12, 10, 16, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-color);
}

[data-theme="light"] .main-header.scrolled {
  background-color: rgba(249, 246, 240, 0.96);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-symbol {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(232, 168, 72, 0.3));
  transition: transform 0.4s ease;
}

.brand-logo:hover .logo-symbol {
  transform: rotate(-6deg) scale(1.06);
}

.brand-names {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--theatre-gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--theatre-gold);
  transition: width 0.3s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.nav-btn-outline {
  border: 1px solid var(--theatre-gold);
  color: var(--theatre-gold);
  background: transparent;
}

.nav-btn-outline:hover {
  background: var(--theatre-gold);
  color: #0c0a10;
  box-shadow: 0 0 16px var(--theatre-gold-glow);
}

.nav-btn-outline i {
  width: 15px;
  height: 15px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Conmutador de luz de sala / función */
.theme-toggle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--theatre-gold);
  transform: scale(1.05);
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; width: 18px; height: 18px; color: var(--theatre-gold); }

[data-theme="light"] .theme-toggle .sun-icon { display: block; width: 18px; height: 18px; color: var(--theatre-crimson); }
[data-theme="light"] .theme-toggle .moon-icon { display: none; }

.theme-tooltip {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover .theme-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.nav-whatsapp-btn {
  background: #25d366;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.nav-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

.nav-whatsapp-btn i {
  width: 20px;
  height: 20px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.close-drawer {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: auto;
}

.drawer-item {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--transition);
}

.drawer-item:hover {
  color: var(--theatre-gold);
  transform: translateX(4px);
}

.drawer-cta {
  background: var(--theatre-crimson);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  margin-top: 1rem;
}

.drawer-contact {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) contrast(1.15) saturate(1.1);
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(196, 69, 54, 0.25) 0%, transparent 60%),
              linear-gradient(to top, var(--bg-main) 10%, rgba(12, 10, 16, 0.65) 50%, rgba(12, 10, 16, 0.85) 100%);
}

[data-theme="light"] .hero-overlay {
  background: radial-gradient(circle at 70% 30%, rgba(196, 69, 54, 0.18) 0%, transparent 60%),
              linear-gradient(to top, var(--bg-main) 15%, rgba(249, 246, 240, 0.8) 60%, rgba(249, 246, 240, 0.92) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(232, 168, 72, 0.12);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theatre-gold-light);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--theatre-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.text-gold-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--theatre-gold-light) 0%, var(--theatre-gold) 50%, var(--theatre-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 0.2em;
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.hero-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Botones Principales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--theatre-crimson) 0%, var(--theatre-crimson-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(196, 69, 54, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(196, 69, 54, 0.6);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(232, 168, 72, 0.12);
  border-color: var(--theatre-gold);
  color: var(--theatre-gold);
  transform: translateY(-3px);
}

.btn-tertiary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-tertiary:hover {
  color: var(--text-primary);
  border-color: var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.btn-play-icon {
  width: 18px;
  height: 18px;
  fill: var(--theatre-gold);
  color: var(--theatre-gold);
}

/* Barra de Estadísticas de Impacto */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  box-shadow: var(--shadow-md);
  max-width: 760px;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--theatre-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.775rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background-color: var(--border-subtle);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  transition: var(--transition);
}

.scroll-cue:hover {
  color: var(--theatre-gold);
}

.scroll-icon {
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* --- SECCIONES GENERALES --- */
.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.tag-number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--theatre-crimson);
}

.tag-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--theatre-gold);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.highlight-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--theatre-gold);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.65;
}

.section-header-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- 01. MANIFIESTO & FILOSOFÍA --- */
.manifesto-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: start;
}

.word-definition {
  background: var(--bg-surface-elevated);
  border-left: 3px solid var(--theatre-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0 2rem;
}

.etymology {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--theatre-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.35rem;
}

.definition-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.manifesto-p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.manifesto-p strong {
  color: var(--text-primary);
}

.mission-vision-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.mv-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.mv-box:hover {
  border-color: var(--border-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.mv-icon {
  width: 20px;
  height: 20px;
  color: var(--theatre-gold);
}

.mv-box h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
}

.mv-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Visual Card Column */
.manifesto-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.manifesto-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(229, 169, 59, 0.25);
  background: #14111a;
}

.manifesto-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 16, 0.85) 0%, rgba(12, 10, 16, 0.25) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

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

.manifesto-image-wrapper:hover .manifesto-img {
  transform: scale(1.05);
}

.manifesto-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(18, 14, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 169, 59, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.manifesto-badge-float i {
  width: 32px;
  height: 32px;
  color: var(--theatre-crimson);
  flex-shrink: 0;
}

.manifesto-badge-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
}

.manifesto-badge-float span {
  font-size: 0.8rem;
  color: var(--theatre-gold);
}

/* Timeline Milestones */
.milestones-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.milestones-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.milestones-title::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--theatre-gold);
  border-radius: 50%;
}

.milestone-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.milestone-list::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4px;
  width: 2px;
  background: var(--border-color);
}

.milestone-item {
  position: relative;
}

.milestone-item::before {
  content: '';
  position: absolute;
  left: -1.25rem;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theatre-crimson);
  border: 2px solid var(--bg-surface);
}

.milestone-year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--theatre-gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.milestone-body strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.milestone-body span {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}

/* --- 02. REPERTORIO Y CARTELERA --- */
.repertoire-section {
  background-color: var(--bg-main);
}

.repertoire-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.filter-btn.active {
  background: var(--theatre-gold);
  color: #0c0a10;
  border-color: var(--theatre-gold);
  box-shadow: 0 4px 14px var(--theatre-gold-glow);
}

/* Obras Cards Grid */
.plays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.play-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.play-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg);
}

.play-media {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: #000;
}

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

.play-card:hover .play-poster {
  transform: scale(1.06);
}

.play-tags-float {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.badge-tag {
  background: rgba(12, 10, 16, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tag-accent {
  background: rgba(196, 69, 54, 0.9);
  border-color: var(--theatre-crimson);
}

.tag-health {
  background: rgba(46, 125, 50, 0.9);
  border-color: #4caf50;
}

.tag-music {
  background: rgba(184, 123, 34, 0.9);
  border-color: var(--theatre-gold);
}

.play-quick-trailer {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(12, 10, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--theatre-gold);
  color: var(--theatre-gold);
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  z-index: 2;
}

.play-quick-trailer:hover {
  background: var(--theatre-gold);
  color: #0c0a10;
  transform: scale(1.05);
}

.play-quick-trailer i {
  width: 14px;
  height: 14px;
}

.play-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.play-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.play-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.play-meta i {
  width: 13px;
  height: 13px;
  color: var(--theatre-gold);
}

.play-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.play-synopsis {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.play-themes {
  font-size: 0.825rem;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-top: auto;
  margin-bottom: 1.25rem;
  border-left: 2px solid var(--border-color);
}

.play-themes strong {
  color: var(--theatre-gold);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--theatre-gold);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-text-link:hover {
  color: var(--theatre-gold-light);
  transform: translateX(4px);
}

.btn-text-link i {
  width: 15px;
  height: 15px;
}

/* Dossier Bar */
.repertoire-dossier-bar {
  background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, rgba(196, 69, 54, 0.12) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.dossier-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 680px;
}

.dossier-icon {
  width: 44px;
  height: 44px;
  color: var(--theatre-gold);
  flex-shrink: 0;
}

.dossier-info h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dossier-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--theatre-gold);
  color: var(--theatre-gold);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--theatre-gold);
  color: #0c0a10;
  box-shadow: 0 0 20px var(--theatre-gold-glow);
}

/* --- 03. SALA DE CINE & VIDEO SHOWCASE --- */
.cinema-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.cinema-player-box {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cinema-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

.cinema-screen iframe,
.cinema-screen video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: contain;
  background: #000;
}

.cinema-playlist {
  display: flex;
  flex-direction: column;
}

.playlist-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--theatre-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.playlist-title i {
  width: 16px;
  height: 16px;
}

.playlist-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  max-height: 480px;
  padding-right: 0.5rem;
}

.playlist-items::-webkit-scrollbar {
  width: 4px;
}
.playlist-items::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  color: var(--text-primary);
}

.playlist-item:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-color);
  transform: translateX(4px);
}

.playlist-item.active {
  background: rgba(232, 168, 72, 0.12);
  border-color: var(--theatre-gold);
}

.pl-thumb {
  position: relative;
  width: 90px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

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

.pl-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.pl-info {
  display: flex;
  flex-direction: column;
}

.pl-info strong {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.pl-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- 04. REGISTRO FOTOGRÁFICO (GALERÍA VIVA) --- */
.gallery-section {
  background-color: var(--bg-main);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item.item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.item-medium {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 16, 0.9) 0%, rgba(12, 10, 16, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--theatre-gold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.gallery-desc {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.35;
}

.gallery-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-zoom:hover {
  background: var(--theatre-gold);
  color: #0c0a10;
  transform: scale(1.1);
}

.gallery-zoom i {
  width: 18px;
  height: 18px;
}

/* --- 05. ELENCO ESTABLE --- */
.team-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.team-featured {
  grid-column: span 1;
  border-color: var(--theatre-gold);
}

.team-photo-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #1a1622;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.06);
}

.team-badge-director {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--theatre-gold);
  color: #0c0a10;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.team-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--theatre-gold);
  margin-bottom: 0.85rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- 06. ALIANZAS & CONFIANZA INSTITUCIONAL --- */
.clients-section {
  background-color: var(--bg-main);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.client-badge-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  transition: var(--transition);
}

.client-badge-card:hover {
  border-color: var(--border-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.client-logo {
  max-width: 90px;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: var(--transition);
}

.client-badge-card:hover .client-logo {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}

.client-name {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25;
}

.trust-guarantee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.guarantee-item i {
  width: 28px;
  height: 28px;
  color: var(--theatre-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.guarantee-item span {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --- 07. COTIZADOR INTERACTIVO --- */
.quote-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
}

.quote-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theatre-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.quote-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.quote-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.quote-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-label i {
  width: 15px;
  height: 15px;
  color: var(--theatre-gold);
}

.form-control {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.925rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--theatre-gold);
  box-shadow: 0 0 12px var(--theatre-gold-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control {
  cursor: pointer;
}

.quote-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.btn-email {
  background: var(--theatre-crimson);
  color: #ffffff;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(196, 69, 54, 0.35);
  transition: var(--transition);
}

.btn-email:hover {
  background: var(--theatre-crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 69, 54, 0.5);
}

.quote-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quote-disclaimer i {
  width: 16px;
  height: 16px;
  color: var(--theatre-gold);
}

/* --- 08. CONTACTO DIRECTO --- */
.contact-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.contact-card-glass {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--theatre-crimson);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--theatre-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-icon i {
  width: 20px;
  height: 20px;
}

.c-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.c-item span, .c-item a {
  font-size: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.c-item a:hover {
  color: var(--theatre-gold);
}

.seal-frame {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.seal-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(232, 168, 72, 0.3));
}

.seal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.seal-sub {
  font-size: 0.8rem;
  color: var(--theatre-gold);
  margin-bottom: 1.5rem;
}

.seal-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

/* --- FOOTER --- */
.main-footer {
  background-color: #08060a;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

[data-theme="light"] .main-footer {
  background-color: #1a1622;
  color: #d1c9ba;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.f-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.f-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.f-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.f-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--theatre-gold);
  letter-spacing: 0.12em;
}

.f-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #9c9488;
  max-width: 380px;
}

.footer-links-group h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-group a {
  color: #9c9488;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links-group a:hover {
  color: var(--theatre-gold);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #7a7267;
}

/* --- MODALES (VIDEO Y FOTO LIGHTBOX) --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 12, 0.88);
  backdrop-filter: blur(14px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  width: 100%;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-box {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--bg-surface-elevated);
  color: var(--theatre-crimson);
}

.modal-body-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.modal-body-video iframe,
.modal-body-video video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: contain;
  background: #000;
}

/* Lightbox de Fotografías */
.photo-modal-box {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 1100px;
  position: relative;
}

.photo-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 36px;
  height: 36px;
}

.photo-modal-close:hover {
  background: var(--theatre-crimson);
}

.modal-body-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-body-photo img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #ffffff;
  text-align: center;
}

/* --- RESPONSIVIDAD Y MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cinema-player-box {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item.item-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item.item-medium {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding: 3.5rem 0 3rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

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

  .quote-card {
    padding: 2rem 1.5rem;
  }

  .contact-card-glass {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .trust-guarantee {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mission-vision-boxes {
    grid-template-columns: 1fr;
  }

  .repertoire-dossier-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APERTURA DE TELÓN TEATRAL — SALA CON BUTACAS Y PÚBLICO APLAUDIENDO
   ========================================================================== */

body.intro-active,
body.curtain-active {
  overflow: hidden !important;
  touch-action: none;
}

.theatre-curtain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: auto;
  background-color: #030205;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s 0s;
}

.theatre-curtain-overlay.curtain-opened {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s,
              visibility 0s 2.3s;
}

.curtain-no-transition,
.curtain-no-transition * {
  transition: none !important;
}

.curtain-stage-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  perspective: 1200px;
  transform-origin: center 40%;
  transition: transform 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Efecto Dolly-in (Zoom de cámara hacia el escenario) */
.curtain-opened .curtain-stage-viewport {
  transform: scale(1.12);
}

/* --- Marco del Proscenio Clásico --- */
.theatre-proscenium {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 35;
}

.proscenium-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, #18120d 0%, #2e2316 60%, #150f08 100%);
  border-bottom: 3px solid #d49337;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.proscenium-crest {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, #f7cb7e 0%, #d49337 50%, #7a4f10 100%);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(232, 168, 72, 0.5);
  transform: translateY(12px);
}

.crest-monogram {
  font-size: 1.25rem;
}

.proscenium-pillar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  background: linear-gradient(90deg, #18120d 0%, #332617 40%, #150f08 100%);
  border-bottom: none;
  z-index: 35;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.85);
}

.pillar-left {
  left: 0;
  border-right: 2px solid rgba(212, 147, 55, 0.7);
}

.pillar-right {
  right: 0;
  border-left: 2px solid rgba(212, 147, 55, 0.7);
}

/* --- Focos Cenitales / Spotlights en el Escenario --- */
.theatre-spotlight-beams {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 25;
  opacity: 0.65;
  mix-blend-mode: screen;
  transition: opacity 1s ease;
}

.curtain-opened .theatre-spotlight-beams {
  opacity: 0.95;
}

.light-beam {
  position: absolute;
  top: -50px;
  height: 120%;
  width: 280px;
  background: linear-gradient(180deg, rgba(255, 240, 180, 0.55) 0%, rgba(232, 168, 72, 0.18) 40%, transparent 80%);
  filter: blur(14px);
  transform-origin: top center;
  animation: spotlightSway 6s ease-in-out infinite alternate;
}

.beam-1 {
  left: 15%;
  transform: rotate(20deg);
}

.beam-2 {
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  animation-delay: -2s;
  width: 340px;
}

.beam-3 {
  right: 15%;
  transform: rotate(-20deg);
  animation-delay: -4s;
}

@keyframes spotlightSway {
  0% { transform: rotate(16deg) scaleX(1); opacity: 0.6; }
  100% { transform: rotate(26deg) scaleX(1.15); opacity: 0.85; }
}

/* --- Faldón Superior de Terciopelo (Valance) --- */
.curtain-valance {
  position: absolute;
  top: 38px;
  left: 36px;
  right: 36px;
  height: 85px;
  z-index: 30;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9);
  transition: transform 1.6s cubic-bezier(0.75, 0, 0.25, 1);
}

.curtain-opened .curtain-valance {
  transform: translateY(-80px);
}

.valance-fabric {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, #a82432 0%, #6b0f1a 50%, #36050b 100%);
  border-bottom: 4px solid var(--theatre-gold);
  position: relative;
}

.valance-fringe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, #d49337 0px, #f7cb7e 4px, #a36c1e 8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* --- Hojas Izquierda y Derecha del Telón --- */
.curtain-panel {
  position: absolute;
  top: 38px;
  bottom: 0;
  width: 50.5vw;
  z-index: 10;
  overflow: hidden;
  transition: transform 1.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain-left {
  left: 36px;
  transform-origin: left top;
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.95);
}

.curtain-right {
  right: 36px;
  transform-origin: right top;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.95);
}

.curtain-opened .curtain-left {
  transform: translateX(-105%) scaleX(0.7);
}

.curtain-opened .curtain-right {
  transform: translateX(105%) scaleX(0.7);
}

.curtain-fabric {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    #2c0409 0px,
    #4a0810 22px,
    #7a111e 48px,
    #9c1c28 72px,
    #b82836 88px,
    #7a111e 108px,
    #3f060d 132px,
    #220306 150px
  );
  filter: contrast(1.15) brightness(0.95);
}

.curtain-folds {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.5) 75%,
    rgba(0, 0, 0, 0.9) 100%
  );
  pointer-events: none;
}

.curtain-shadow-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
}

.curtain-left .curtain-shadow-edge {
  right: 0;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.8));
}

.curtain-right .curtain-shadow-edge {
  left: 0;
  background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.8));
}

/* --- Medallón Central de Gala --- */
.curtain-center-badge {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  width: 90%;
  padding: 2.5rem 2rem;
  background: rgba(12, 10, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(232, 168, 72, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95),
              0 0 50px var(--theatre-gold-glow);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.curtain-opened .curtain-center-badge {
  opacity: 0;
  transform: translate(-50%, -65%) scale(0.85);
  pointer-events: none;
}

.badge-glow-ring {
  position: absolute;
  inset: -12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 168, 72, 0.25);
  pointer-events: none;
  animation: pulseBorder 3s infinite;
}

@keyframes pulseBorder {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.02); opacity: 0.85; }
}

.curtain-badge-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 22px rgba(232, 168, 72, 0.5));
}

.curtain-presents {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--theatre-gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.curtain-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.curtain-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--theatre-gold-light);
  margin-bottom: 2rem;
}

.curtain-enter-btn {
  background: linear-gradient(135deg, var(--theatre-gold) 0%, #c48a30 100%);
  color: #0c0a10;
  border: none;
  padding: 0.95rem 2.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 25px rgba(232, 168, 72, 0.5);
  transition: var(--transition);
}

.curtain-enter-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 35px rgba(232, 168, 72, 0.7);
  background: linear-gradient(135deg, var(--theatre-gold-light) 0%, var(--theatre-gold) 100%);
}

.curtain-enter-btn i {
  width: 18px;
  height: 18px;
}

.curtain-auto-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* --- PLATEA CON BUTACAS Y PÚBLICO (AUDIENCE PIT) --- */
.theatre-audience-pit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  z-index: 50;
  pointer-events: none;
  overflow: visible;
  transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 1.4s ease;
}

.curtain-opened .theatre-audience-pit {
  transform: translateY(160px);
  opacity: 0;
}

.audience-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Animación de aplausos en las manos del público */
.clapping-hands {
  animation: audienceClap 0.28s ease-in-out infinite alternate;
  transform-origin: 40px 60px;
}

@keyframes audienceClap {
  0% {
    transform: rotate(-6deg) scale(0.96);
  }
  100% {
    transform: rotate(7deg) translateY(-8px) scale(1.08);
  }
}

/* Botón de repetición en barra superior */
.curtain-replay-link {
  background: rgba(232, 168, 72, 0.15);
  border: 1px solid var(--border-color);
  color: var(--theatre-gold);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.curtain-replay-link:hover {
  background: var(--theatre-gold);
  color: #0c0a10;
  transform: scale(1.05);
}

.curtain-replay-link i {
  width: 13px;
  height: 13px;
}

@media (max-width: 768px) {
  .proscenium-pillar { width: 18px; }
  .curtain-left { left: 18px; }
  .curtain-right { right: 18px; }
  .curtain-valance { left: 18px; right: 18px; }
  .theatre-audience-pit { height: 180px; }
  .curtain-center-badge { padding: 2rem 1.5rem; }
}

/* ==========================================================================
   VIDEO INTRO INICIAL (videotrawuninicio.mp4 - Últimos 4 segundos: seg 6 al 10)
   ========================================================================== */

.intro-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: #050308;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s 0.9s;
}

.intro-video-overlay.video-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Resplandor ambiental de sala teatral detrás del marco */
.intro-ambient-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse at 50% 50%, rgba(196, 69, 54, 0.22) 0%, rgba(232, 168, 72, 0.08) 35%, rgba(12, 10, 16, 0.95) 70%, #030206 100%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  animation: ambientBreath 6s ease-in-out infinite alternate;
}

@keyframes ambientBreath {
  0% { transform: scale(0.96); opacity: 0.8; }
  100% { transform: scale(1.04); opacity: 1; }
}

.intro-stage-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.7) 80%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
  z-index: 2;
}

.intro-video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 1.5rem;
  box-sizing: border-box;
}

/* MARCO RESPONSIVO DE VIDEO (Adaptación Perfecta a Escala de Pantallas) */
.intro-video-frame {
  position: relative;
  /* Relación nativa vertical 9:16 (1080x1920) */
  height: min(84vh, 760px);
  width: calc(min(84vh, 760px) * (9 / 16));
  max-width: calc(100vw - 3rem);
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  border: 1.5px solid rgba(232, 168, 72, 0.45);
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.95),
    0 0 60px rgba(196, 69, 54, 0.35),
    0 0 120px rgba(232, 168, 72, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-video-frame:hover {
  box-shadow: 
    0 35px 100px rgba(0, 0, 0, 0.98),
    0 0 75px rgba(196, 69, 54, 0.5),
    0 0 140px rgba(232, 168, 72, 0.25),
    inset 0 0 0 1px rgba(232, 168, 72, 0.3);
}

#introVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000000;
}

/* Prompt Interactivo para Activar Sonido */
.intro-sound-prompt {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 14, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 168, 72, 0.6);
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(232, 168, 72, 0.3);
  z-index: 25;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: promptPulse 2.2s infinite ease-in-out;
  white-space: nowrap;
}

.intro-sound-prompt i {
  width: 17px;
  height: 17px;
  color: var(--theatre-gold);
}

.intro-sound-prompt:hover {
  background: rgba(232, 168, 72, 0.25);
  border-color: var(--theatre-gold);
  transform: translateX(-50%) scale(1.05);
  color: var(--theatre-gold-light);
}

.intro-sound-prompt.sound-unmuted {
  background: rgba(24, 60, 36, 0.9);
  border-color: #4ade80;
  color: #dcfce7;
  animation: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
}

@keyframes promptPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(232, 168, 72, 0.25);
  }
  50% {
    transform: translateX(-50%) scale(1.04);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 30px rgba(232, 168, 72, 0.55);
  }
}

/* Barra de Progreso Theatrical Gold */
.intro-video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 20;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--theatre-crimson) 0%, var(--theatre-gold) 100%);
  transition: width 0.08s linear;
  box-shadow: 0 0 14px var(--theatre-gold);
}

/* Barra Superior de Controles Flotantes */
.video-overlay-controls {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
  pointer-events: none;
}

.video-overlay-controls > * {
  pointer-events: auto;
}

.video-brand-tag {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(12, 10, 16, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.5rem 1.1rem 0.5rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(232, 168, 72, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.v-tag-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(232, 168, 72, 0.6));
}

.v-tag-info {
  display: flex;
  flex-direction: column;
}

.v-brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  line-height: 1.2;
}

.v-brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--theatre-gold);
  letter-spacing: 0.05em;
}

.video-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.v-btn {
  background: rgba(18, 14, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.v-btn:hover {
  background: rgba(232, 168, 72, 0.22);
  border-color: var(--theatre-gold);
  color: var(--theatre-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(232, 168, 72, 0.35);
}

.v-btn-sound i {
  width: 17px;
  height: 17px;
  color: var(--theatre-gold);
}

.v-btn-skip {
  background: linear-gradient(135deg, rgba(196, 69, 54, 0.95) 0%, rgba(154, 38, 25, 0.95) 100%);
  border-color: rgba(232, 168, 72, 0.5);
  font-weight: 700;
}

.v-btn-skip:hover {
  background: linear-gradient(135deg, var(--theatre-crimson) 0%, #b3392a 100%);
  color: #ffffff;
  border-color: var(--theatre-gold);
  box-shadow: 0 8px 24px rgba(196, 69, 54, 0.6);
  transform: translateY(-2px);
}

.v-btn-skip i {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.v-btn-skip:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   MENSAJE DE BIENVENIDA AL ABRIRSE EL TELÓN (Sin conteo numérico previo)
   ========================================================================== */
.intro-welcome-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  pointer-events: none;
  text-align: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-welcome-overlay.show-welcome {
  opacity: 1;
  transform: scale(1);
}

.welcome-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 90%;
  max-width: 330px;
  padding: 1.35rem 1.25rem;
  background: radial-gradient(ellipse at center, rgba(10, 8, 14, 0.92) 0%, rgba(10, 8, 14, 0.65) 58%, transparent 100%);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  backdrop-filter: blur(3px);
}

.welcome-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.8vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 
    0 0 20px rgba(255, 255, 255, 0.95),
    0 0 45px rgba(232, 168, 72, 0.85),
    0 0 80px rgba(196, 69, 54, 0.7),
    0 6px 20px rgba(0, 0, 0, 0.95);
  animation: welcomeGlow 2s ease-in-out infinite alternate;
}

@keyframes welcomeGlow {
  0% {
    text-shadow: 
      0 0 20px rgba(255, 255, 255, 0.9),
      0 0 45px rgba(232, 168, 72, 0.75),
      0 10px 30px rgba(0, 0, 0, 0.95);
  }
  100% {
    text-shadow: 
      0 0 35px rgba(255, 255, 255, 1),
      0 0 75px rgba(232, 168, 72, 0.95),
      0 0 115px rgba(196, 69, 54, 0.8),
      0 10px 35px rgba(0, 0, 0, 0.95);
  }
}

.welcome-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 2.4vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--theatre-gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(232, 168, 72, 0.65);
}

/* Flash de Luz y Sorpresa al Revelar */
.intro-surprise-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 1) 0%, rgba(232, 168, 72, 0.6) 45%, rgba(196, 69, 54, 0.3) 70%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 28;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-surprise-flash.flash-active {
  opacity: 1;
}

/* ==========================================================================
   ADAPTACIÓN A TODAS LAS ESCALAS DE PANTALLAS (MEDIA QUERIES)
   ========================================================================== */

/* 1. MÓVILES (Smartphones en orientación vertical y horizontal, pantallas <= 640px) */
@media (max-width: 640px) {
  .intro-video-container {
    padding: 0;
  }

  .intro-video-frame {
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    aspect-ratio: auto;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  #introVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
  }

  .video-overlay-controls {
    top: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
  }

  .v-brand-tagline {
    display: none;
  }

  .v-brand-name {
    font-size: 0.82rem;
  }

  .v-tag-logo {
    width: 30px;
    height: 30px;
  }

  .video-brand-tag {
    padding: 0.4rem 0.75rem 0.4rem 0.5rem;
  }

  .v-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    gap: 0.4rem;
  }

  .v-btn-sound span {
    display: none;
  }

  .v-btn-sound {
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }

  .intro-sound-prompt {
    bottom: 2.5rem;
    font-size: 0.78rem;
    padding: 0.55rem 1.1rem;
  }

  .intro-video-footer {
    bottom: 0.75rem;
  }

  .intro-status-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
  }
}

/* 2. TABLETS Y PANTALLAS MEDIANAS (iPad, tablets de 641px a 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .intro-video-frame {
    height: min(80vh, 700px);
    width: calc(min(80vh, 700px) * (9 / 16));
    max-width: 86vw;
    border-radius: 18px;
  }

  .video-overlay-controls {
    top: 1rem;
    left: 1.25rem;
    right: 1.25rem;
  }
}

/* 3. PANTALLAS ULTRA-WIDE (21:9, monitores anchos de escritorio) */
@media (min-aspect-ratio: 18/9) {
  .intro-video-frame {
    height: 82vh;
    width: calc(82vh * (9 / 16));
  }
}

