@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blanco: #ffffff; --gris-bg: #f5f3f0; --gris-claro: #ece9e4; --gris-linea: rgba(0,0,0,0.07); --gris-linea2: rgba(0,0,0,0.11);
  --negro: #1a1a1a; --rojo: #FF3838; --rojo-dark: #cc2020; --texto-muted: rgba(26,26,26,0.38); --texto-sec: rgba(26,26,26,0.62);
  --font-d: 'Cormorant Garamond', Georgia, serif; --font-b: 'Jost', sans-serif;
}

body { 
  background: var(--blanco); 
  color: var(--negro); 
  font-family: var(--font-b); 
  font-weight: 300; 
  overflow-x: hidden; 
  scroll-behavior: smooth;
}

body::-webkit-scrollbar { width: 6px; }
body::-webkit-scrollbar-thumb { background: var(--rojo); border-radius: 3px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--gris-linea); padding: 16px 44px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 40px; object-fit: contain; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--texto-muted); text-decoration: none; transition: color 0.2s; cursor: pointer; font-weight: 400; }
.nav-links a:hover { color: var(--rojo); }
.nav-btn { border: 1px solid var(--rojo); color: var(--rojo); padding: 10px 24px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; background: transparent; font-family: var(--font-b); transition: all 0.3s; }
.nav-btn:hover { background: var(--rojo); color: #fff; }

/* HERO CON VIDEO */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--negro); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 1; }
#magic-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }

.hero-content { position: relative; z-index: 3; text-align: center; padding: 0 2rem; max-width: 800px; }
.hero-eyebrow { font-size: 11px; letter-spacing: 0.44em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 20px; opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
.hero-title { font-family: var(--font-d); font-size: clamp(48px, 8vw, 96px); font-weight: 300; line-height: 0.97; color: #ffffff; margin-bottom: 24px; opacity: 0; animation: fadeUp 0.9s 0.4s forwards; }
.hero-title em { font-style: italic; color: var(--rojo); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 36px; line-height: 1.76; opacity: 0; animation: fadeUp 0.9s 0.6s forwards; }
.hero-btns { display: flex; gap: 16px; justify-content: center; opacity: 0; animation: fadeUp 0.9s 0.8s forwards; }

/* BOTONES */
.btn-primary { padding: 14px 32px; font-family: var(--font-b); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; background: var(--rojo); color: #fff; border: 1px solid var(--rojo); cursor: pointer; transition: all 0.3s; }
.btn-primary:hover { background: var(--rojo-dark); border-color: var(--rojo-dark); }
.btn-outline { padding: 14px 32px; font-family: var(--font-b); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; background: transparent; color: var(--rojo); border: 1px solid var(--rojo); cursor: pointer; transition: all 0.3s; }
.btn-outline:hover { background: var(--rojo); color: #fff; }
.btn-outline-w { padding: 14px 32px; font-family: var(--font-b); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.btn-outline-w:hover { background: rgba(255,255,255,0.1); }

/* DECORACIONES HERO */
.hero-deco-l { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; animation: fadeIn 1s 1s forwards; z-index: 3; }
.hero-deco-l::before { content: ''; display: block; width: 1px; height: 50px; background: linear-gradient(to bottom, transparent, var(--rojo)); }
.hero-deco-l span { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.5); writing-mode: vertical-rl; }
.hero-deco-r { position: absolute; right: 44px; bottom: 80px; font-family: var(--font-d); font-size: 14px; color: rgba(255,56,56,0.8); letter-spacing: 0.1em; opacity: 0; animation: fadeIn 1s 1.1s forwards; z-index: 3; }
.scroll-ind { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fadeIn 1s 1.2s forwards; z-index: 3; }
.scroll-ind span { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--rojo), transparent); animation: pulse 2s ease-in-out infinite; }

/* ANIMACIONES */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* REVEALS */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

/* ORNAMENTOS */
.orn { display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 16px; }
.orn::before, .orn::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--rojo); opacity: 0.35; }
.orn span { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--rojo); }
.orn-left { justify-content: flex-start; } .orn-left::before { display: none; }

/* CIFRAS */
.cifras { background: var(--gris-bg); border-top: 1px solid var(--gris-linea2); border-bottom: 1px solid var(--gris-linea2); display: grid; grid-template-columns: repeat(4, 1fr); }
.cifra { text-align: center; padding: 40px 20px; border-right: 1px solid var(--gris-linea2); }
.cifra:last-child { border-right: none; }
.cifra-n { font-family: var(--font-d); font-size: clamp(32px, 4vw, 56px); font-weight: 300; color: var(--rojo); display: block; line-height: 1; }
.cifra-l { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-muted); margin-top: 10px; display: block; }

/* SOBRE MÍ */
.sobre { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; padding: 100px 8%; background: var(--blanco); max-width: 1400px; margin: 0 auto; }
.sobre-img { width: 100%; aspect-ratio: 3/4; background: var(--gris-bg); position: relative; overflow: hidden; }
.sobre-img-borde { position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px; border: 1px solid rgba(255,56,56,0.18); z-index: -1; }
.linea-d { width: 60px; height: 1px; background: var(--rojo); margin: 24px 0; opacity: 0.45; }
.sobre-txt h2 { font-family: var(--font-d); font-size: clamp(32px, 4vw, 56px); font-weight: 300; line-height: 1.15; color: var(--negro); margin-bottom: 16px; }
.sobre-txt h2 em { font-style: italic; color: var(--rojo); }
.sobre-txt p { font-size: 16px; line-height: 1.8; color: var(--texto-sec); margin-bottom: 20px; }

/* SHOWS */
.shows-header { text-align: center; padding: 80px 44px 24px; background: var(--gris-bg); }
.shows-header h2 { font-family: var(--font-d); font-size: clamp(32px, 4vw, 56px); font-weight: 300; color: var(--negro); }
.shows-header h2 em { font-style: italic; color: var(--rojo); }
.shows { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; background: var(--gris-linea2); }
.show { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; background: var(--blanco); text-decoration: none; display: block; }
.show-bg { position: absolute; inset: 0; transition: transform 0.7s ease; }
.show:hover .show-bg { transform: scale(1.04); }
.s1 .show-bg { background: linear-gradient(135deg, #fdf9f9, #f5eaea); }
.s2 .show-bg { background: linear-gradient(135deg, #fdf8f2, #f5eddf); }
.s3 .show-bg { background: linear-gradient(135deg, #f5f8fd, #e5edf8); }
.s4 .show-bg { background: linear-gradient(135deg, #f5fdf8, #e5f5ec); }
.show-icon-dec { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.show-icon-dec span { font-size: 120px; opacity: 0.07; color: var(--rojo); transition: opacity 0.4s; }
.show:hover .show-icon-dec span { opacity: 0.12; }
.show-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.15) 65%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; }
.show-tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: #ffffff; margin-bottom: 8px; }
.show-title { font-family: var(--font-d); font-size: 32px; font-weight: 300; color: var(--negro); line-height: 1.15; margin-bottom: 12px; }
.show-desc { font-size: 14px; color: var(--texto-sec); opacity: 0; transform: translateY(10px); transition: all 0.3s; line-height: 1.6; }
.show:hover .show-desc { opacity: 1; transform: translateY(0); }
.show-link { position: absolute; top: 24px; right: 24px; background: var(--rojo); color: #fff; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 16px; opacity: 0; transform: translateY(-8px); transition: all 0.3s; }
.show:hover .show-link { opacity: 1; transform: translateY(0); }

/* VIDEO IN-PAGE */
.video-reel { background: var(--blanco); padding: 100px 44px; text-align: center; border-top: 1px solid var(--gris-linea); }
.video-reel h2 { font-family: var(--font-d); font-size: clamp(32px, 4vw, 56px); font-weight: 300; color: var(--negro); margin-bottom: 40px; }
.video-reel h2 em { font-style: italic; color: var(--rojo); }
.video-mock { max-width: 900px; margin: 0 auto; aspect-ratio: 16/9; background: var(--gris-bg); position: relative; overflow: hidden; cursor: pointer; border: 1px solid var(--gris-linea2); }
.video-mock:hover .play-circle { background: var(--rojo); border-color: var(--rojo); }
.video-mock:hover .play-circle svg { color: #fff; }
.play-btn-big { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.play-circle { width: 80px; height: 80px; border: 1px solid var(--rojo); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.play-circle svg { color: var(--rojo); transition: color 0.3s; width: 24px; height: 24px; }
.play-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-muted); }

/* TESTIMONIOS */
.testimonios { padding: 100px 8%; background: var(--gris-bg); max-width: 1400px; margin: 0 auto; }
.testimonios h2 { font-family: var(--font-d); font-size: clamp(32px, 4vw, 56px); font-weight: 300; color: var(--negro); text-align: center; margin-bottom: 50px; }
.testimonios h2 em { font-style: italic; color: var(--rojo); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 50px; }
.testi { background: var(--blanco); padding: 40px 32px; position: relative; }
.testi::before { content: '"'; font-family: var(--font-d); font-size: 90px; color: var(--rojo); opacity: 0.13; position: absolute; top: 10px; left: 20px; line-height: 1; }
.testi-txt { font-family: var(--font-d); font-size: 18px; font-style: italic; color: var(--negro); line-height: 1.6; margin-bottom: 24px; position: relative; z-index: 1; }
.testi-autor { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rojo); }
.testi-cargo { font-size: 12px; color: var(--texto-muted); margin-top: 4px; }
.testi-stars {
  color: #FFD700; /* Color dorado para las estrellas */
  font-size: 20px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

/* CARRUSEL DE LOGOS */
.logos-wrap { overflow: hidden; border-top: 1px solid var(--gris-linea2); padding: 30px 0; }
.logos-track { display: flex; gap: 0; width: max-content; animation: scrollLogos 30s linear infinite; }
.logos-track:hover { animation-play-state: paused; }
.logo-item { display: flex; align-items: center; justify-content: center; padding: 10px 50px; border-right: 1px solid var(--gris-linea2); min-width: 180px; }
.logo-item span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-muted); white-space: nowrap; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
/* ESTILOS PARA LOS LOGOS DEL CARRUSEL */
.logo-item {
  flex-shrink: 0; /* IMPRESCINDIBLE: Evita que el navegador los aplaste al ser muchos */
  padding: 0 40px; /* Separación horizontal entre logos */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-height: 50px; 
  width: auto;
  max-width: 150px;
  filter: grayscale(100%) opacity(0.5); 
  transition: all 0.3s ease;
  object-fit: contain;
}

.logo-item img:hover {
  filter: grayscale(0%) opacity(1); 
  transform: scale(1.05); 
}
/* CALENDARIO MINI */
.cal-mini { padding: 100px 44px; background: var(--blanco); border-top: 1px solid var(--gris-linea); }
.cal-mini h2 { font-family: var(--font-d); font-size: clamp(32px, 4vw, 56px); font-weight: 300; color: var(--negro); text-align: center; margin-bottom: 12px; }
.cal-mini h2 em { font-style: italic; color: var(--rojo); }
.cal-mini-sub { text-align: center; font-size: 16px; color: var(--texto-muted); margin-bottom: 50px; }
.eventos-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto 40px; }
.evento-card { background: var(--gris-bg); padding: 24px; border-left: 3px solid var(--rojo); cursor: pointer; transition: background 0.2s; }
.evento-card:hover { background: var(--gris-claro); }
.evento-fecha { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.evento-dia { font-family: var(--font-d); font-size: 36px; font-weight: 300; color: var(--rojo); line-height: 1; }
.evento-mes { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-muted); }
.evento-nombre { font-family: var(--font-d); font-size: 20px; color: var(--negro); margin-bottom: 8px; font-weight: 300; }
.evento-lugar { font-size: 13px; color: var(--texto-muted); }
.cal-link { display: flex; justify-content: center; }
.cal-link a { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rojo); text-decoration: none; border-bottom: 1px solid rgba(255,56,56,0.3); padding-bottom: 4px; transition: border-color 0.3s; }
.cal-link a:hover { border-color: var(--rojo); }

/* CTA */
.cta { position: relative; padding: 120px 44px; text-align: center; background: var(--negro); overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,56,56,0.15) 0%, transparent 65%); }
.cta h2 { font-family: var(--font-d); font-size: clamp(40px, 6vw, 80px); font-weight: 300; line-height: 1.06; color: #fff; position: relative; z-index: 1; margin-bottom: 16px; }
.cta h2 em { font-style: italic; color: var(--rojo); }
.cta-tagline { font-family: var(--font-d); font-size: 24px; font-style: italic; color: rgba(255,255,255,0.45); position: relative; z-index: 1; margin-bottom: 16px; }
.cta p { font-size: 16px; color: rgba(255,255,255,0.48); max-width: 500px; margin: 0 auto 40px; position: relative; z-index: 1; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 1; }
.btn-gr { background: var(--rojo); color: #fff; padding: 16px 36px; font-family: var(--font-b); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; border: 1px solid var(--rojo); transition: all 0.3s; }
.btn-gr:hover { background: var(--rojo-dark); border-color: var(--rojo-dark); }
.btn-ww { border: 1px solid rgba(255,255,255,0.22); color: #fff; padding: 16px 36px; font-family: var(--font-b); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; background: transparent; transition: all 0.3s; }
.btn-ww:hover { background: rgba(255,255,255,0.07); }

/* FOOTER */
.footer { background: var(--gris-bg); border-top: 1px solid var(--gris-linea2); padding: 60px 8% 24px; max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 40px; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--texto-muted); max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--rojo); margin-bottom: 20px; font-weight: 400; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--texto-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--rojo); }
.footer-bottom { border-top: 1px solid var(--gris-linea2); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: var(--texto-muted); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: 12px; letter-spacing: 0.1em; color: var(--texto-muted); text-decoration: none; transition: color 0.2s;}
.footer-social a:hover { color: var(--rojo); }
.footer-link {
  color: inherit; /* Mantiene el color gris del texto del footer */
  text-decoration: none;
  margin-left: 10px;
  transition: color 0.3s ease;
  font-size: 12px;
}

.footer-link:hover {
  color: var(--rojo); /* Se pone rojo al pasar el ratón para dar feedback */
  text-decoration: underline;
}


/* ESTILOS PÁGINAS INTERIORES */
.hero-int { position: relative; height: 60vh; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--negro); text-align: center; }
.hero-int-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s ease; }
.hero-int-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.hero-int-content { position: relative; z-index: 5; padding: 0 20px; }

.container-int { max-width: 1200px; margin: 0 auto; padding: 80px 5%; }
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.show-info h2 { font-family: var(--font-d); font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; font-weight: 300; }
.show-info p { font-size: 16px; line-height: 1.8; color: var(--texto-sec); margin-bottom: 20px; }

.tech-specs { margin-top: 40px; padding: 30px; background: var(--gris-bg); border-left: 3px solid var(--rojo); }
.tech-specs h3 { font-family: var(--font-d); font-size: 24px; margin-bottom: 15px; }
.tech-specs ul { list-style: none; }
.tech-specs li { font-size: 14px; margin-bottom: 10px; color: var(--texto-sec); }
.tech-specs strong { color: var(--negro); font-weight: 500; }

.show-media img { width: 100%; border-radius: 2px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.cta-int { background: var(--gris-bg); padding: 80px 20px; text-align: center; }
.cta-int h2 { font-family: var(--font-d); font-size: 36px; margin-bottom: 30px; font-weight: 300; }

@media (max-width: 900px) {
  .show-grid { grid-template-columns: 1fr; }
  .hero-int { height: 40vh; }
}
/* ESTILOS CATÁLOGO DE TEATRO (Múltiples Secciones) */
.shows-detalle-teatro { position: relative; padding-bottom: 80px; }
.show-section { padding-top: 80px; padding-bottom: 80px; border-bottom: 1px solid var(--gris-linea2); }
.show-section:last-child { border-bottom: none; }

/* MENÚ LATERAL DE NAVEGACIÓN RÁPIDA */
.shows-sidebar { position: fixed; top: 50%; right: 44px; transform: translateY(-50%); z-index: 60; width: 120px; text-align: right; }
.shows-sidebar ul { list-style: none; padding: 0; }
.shows-sidebar li { margin-bottom: 15px; }
.shows-sidebar a { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--texto-muted); text-decoration: none; transition: color 0.3s; padding-right: 10px; border-right: 2px solid transparent; }
.shows-sidebar a:hover, .shows-sidebar a.active { color: var(--rojo); border-color: var(--rojo); }

/* Ajuste de Espaciado para que no tenga tanto padding replicado */
.container-int { max-width: 1200px; margin: 0 auto; padding-left: 5%; padding-right: 5%; }
.hero-int { height: 60vh; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--negro); text-align: center; }
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.show-info h2 { font-family: var(--font-d); font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; font-weight: 300; }
.show-info p { font-size: 16px; line-height: 1.8; color: var(--texto-sec); margin-bottom: 20px; }
.tech-specs { margin-top: 40px; padding: 30px; background: var(--gris-bg); border-left: 3px solid var(--rojo); }
.tech-specs h3 { font-family: var(--font-d); font-size: 24px; margin-bottom: 15px; }
.tech-specs ul { list-style: none; }
.tech-specs li { font-size: 14px; margin-bottom: 10px; color: var(--texto-sec); }
.tech-specs strong { color: var(--negro); font-weight: 500; }
.show-media img { width: 100%; border-radius: 2px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.cta-int { background: var(--gris-bg); padding: 80px 20px; text-align: center; }
.cta-int h2 { font-family: var(--font-d); font-size: 36px; margin-bottom: 30px; font-weight: 300; }

/* SOBRE MÍ */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.sobre-img-large img { width: 100%; border-radius: 2px; }
/* =========================================
   AVISO DE COOKIES (VERSIÓN CORREGIDA)
========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto; /* Fuerza a que no ocupe toda la pantalla */
  top: auto;    /* Asegura que no se estire hacia arriba */
  background: var(--negro);
  color: #fff;
  z-index: 9999;
  padding: 20px 5%;
  box-sizing: border-box; /* Evita que el padding desborde la pantalla */
  box-shadow: 0 -5px 20px rgba(0,0,0,0.4);
  
  /* Animación súper segura usando Transform en lugar de Bottom */
  transform: translateY(150%);
  visibility: hidden;
  transition: transform 0.5s ease-out, visibility 0.5s;
}

.cookie-banner.visible {
  transform: translateY(0);
  visibility: visible;
}
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-content p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gris-linea2);
  margin: 0;
}

.cookie-content strong {
  color: #fff;
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: normal;
  margin-right: 10px;
}

@media (max-width: 900px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .cookie-btns button {
    width: 100%;
  }
}
/* TIMELINE */
.trayectoria { margin-top: 60px; position: relative; padding-left: 30px; border-left: 1px solid var(--gris-linea2); }
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 20px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 0; width: 10px; height: 10px; background: var(--rojo); border-radius: 50%; }
.year { font-family: var(--font-d); font-size: 24px; color: var(--rojo); display: block; margin-bottom: 10px; }
.timeline-content h3 { font-family: var(--font-d); font-size: 20px; margin-bottom: 10px; }

/* EVENTOS FULL */
.calendario-full { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 60px; }
.cta-mini { text-align: center; padding: 40px; background: var(--gris-bg); border-radius: 2px; }

/* CONTACTO */
.contacto-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.info-item { margin-top: 30px; }
.info-item strong { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--rojo); margin-bottom: 5px; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 11px; text-transform: uppercase; margin-bottom: 8px; color: var(--texto-muted); }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid var(--gris-linea2); background: #fff; font-family: var(--font-b); font-size: 14px; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--rojo); }

@media (max-width: 900px) {
  .sobre-grid, .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* =========================================
   CALENDARIO DE EVENTOS (CUADRÍCULA)
========================================= */
.calendar-wrapper { background: #fff; border: 1px solid var(--gris-linea2); box-shadow: 0 10px 40px rgba(0,0,0,0.04); margin-bottom: 60px; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background: var(--negro); color: #fff; }
.cal-month-title { font-family: var(--font-d); font-size: 28px; font-weight: 300; text-transform: capitalize; }
.cal-nav-btn { background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: all 0.3s; font-size: 18px; }
.cal-nav-btn:hover { background: var(--rojo); border-color: var(--rojo); }

.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; background: var(--gris-bg); border-bottom: 1px solid var(--gris-linea2); }
.calendar-weekdays div { padding: 15px 10px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; color: var(--texto-sec); border-right: 1px solid var(--gris-linea2); }
.calendar-weekdays div:last-child { border-right: none; }

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: minmax(120px, auto); }
.calendar-day { border-right: 1px solid var(--gris-linea2); border-bottom: 1px solid var(--gris-linea2); padding: 10px; background: #fff; transition: background 0.2s; }
.calendar-day:nth-child(7n) { border-right: none; } /* Quitar borde derecho al domingo */
.calendar-day.empty { background: var(--gris-bg); }
.calendar-day:hover:not(.empty) { background: #faf9f8; }

.day-num { font-size: 14px; color: var(--texto-muted); font-weight: 500; text-align: right; margin-bottom: 10px; display: block; }

/* Tarjeta de evento dentro del calendario */
.event-chip { background: var(--rojo); color: #fff; font-size: 11px; padding: 6px 8px; border-radius: 3px; margin-bottom: 4px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform 0.2s; box-shadow: 0 2px 5px rgba(255,56,56,0.3); }
.event-chip:hover { transform: translateY(-2px); background: var(--rojo-dark); }
.event-chip.privado { background: var(--negro); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.event-chip.privado:hover { background: #333; }

/* VENTANA EMERGENTE (MODAL) */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 100; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { background: #fff; width: 90%; max-width: 500px; padding: 40px; position: relative; border-radius: 4px; transform: translateY(20px); transition: transform 0.3s ease; }
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 28px; color: var(--texto-muted); cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: var(--rojo); }
.modal-info { font-size: 13px; color: var(--negro); margin-bottom: 8px; font-weight: 500; }

@media (max-width: 900px) {
  .calendar-weekdays div { font-size: 9px; padding: 10px 2px; }
  .calendar-grid { grid-auto-rows: minmax(80px, auto); }
  .event-chip { font-size: 9px; padding: 4px; }
  .cal-month-title { font-size: 20px; }
}
/* BOTÓN HAMBURGUESA (Oculto en escritorio) */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 100; }
.menu-toggle .bar { width: 24px; height: 2px; background-color: var(--negro); transition: all 0.3s ease; }
/* =========================================
   ESTILOS ESPECÍFICOS DE "SOBRE MÍ"
========================================= */
.bio-extensa { padding: 60px 0; }
.bio-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.lead-text { font-size: 18px !important; color: var(--negro) !important; font-style: italic; font-family: var(--font-d); line-height: 1.6; margin-bottom: 24px; border-left: 2px solid var(--rojo); padding-left: 20px; }
.bio-texto p { font-size: 15px; line-height: 1.8; color: var(--texto-sec); margin-bottom: 16px; }
.bio-imagen img { width: 100%; border-radius: 4px; box-shadow: -15px 15px 0 var(--gris-bg), -15px 15px 0 1px var(--gris-linea2); }

.timeline-section { padding: 60px 0; border-top: 1px solid var(--gris-linea2); }
.trayectoria { max-width: 800px; margin: 0 auto; position: relative; padding-left: 40px; border-left: 2px solid rgba(255,56,56,0.2); }
.timeline-item { position: relative; margin-bottom: 50px; }
.timeline-item::before { content: ''; position: absolute; left: -46px; top: 5px; width: 10px; height: 10px; background: var(--blanco); border: 2px solid var(--rojo); border-radius: 50%; box-shadow: 0 0 0 4px var(--blanco); }
.year { display: inline-block; background: var(--rojo); color: #fff; padding: 4px 12px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 2px; margin-bottom: 15px; }
.timeline-content h3 { font-family: var(--font-d); font-size: 24px; color: var(--negro); margin-bottom: 10px; font-weight: 400; }
.timeline-content p { font-size: 14px; line-height: 1.7; color: var(--texto-sec); }

.proyectos-section { padding: 60px 0; border-top: 1px solid var(--gris-linea2); }
.proyectos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.proyecto-card { background: var(--gris-bg); padding: 40px 30px; text-align: center; border-radius: 2px; transition: transform 0.3s, background 0.3s; }
.proyecto-card:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.proyecto-icon { font-size: 40px; margin-bottom: 20px; }
.proyecto-card h3 { font-family: var(--font-d); font-size: 22px; color: var(--negro); margin-bottom: 15px; font-weight: 300; }
.proyecto-card p { font-size: 13.5px; line-height: 1.6; color: var(--texto-sec); 
}
/* ========================================== */
/* FIX: CALL TO ACTION MINI (Eventos)         */
/* ========================================== */
.cta-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 25px; /* Este es el secreto: 25px de separación obligatoria */
  padding: 40px 20px;
  margin-top: 40px;
}

.cta-mini p {
  margin: 0; /* Quitamos el margen por defecto para que funcione el gap */
  font-size: 18px;
  color: var(--texto-sec);
}

/* =========================================
   RESPONSIVE Y MENÚ MÓVIL (UNIFICADO)
========================================= */
@media (max-width: 900px) {
  /* Estructura general de la web */
  .sobre, .footer-grid, .contacto-grid, .sobre-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 5%;}
  .cifras { grid-template-columns: repeat(2, 1fr); }
  .cifra { border-bottom: 1px solid var(--gris-linea2); }
  .cifra:nth-child(even) { border-right: none; }
	.bio-layout { grid-template-columns: 1fr; gap: 40px; }
  .bio-imagen img { box-shadow: none; }
  .proyectos-grid { grid-template-columns: 1fr; }
  
  /* Ajustes Teatro y Calendario */
  .show-grid { grid-template-columns: 1fr; }
  .hero-int { height: 40vh; }
  .shows-sidebar { display: none; }
  .show-section { padding-top: 60px; padding-bottom: 60px; }
  .calendar-weekdays div { font-size: 9px; padding: 10px 2px; }
  .calendar-grid { grid-auto-rows: minmax(80px, auto); }
  .event-chip { font-size: 9px; padding: 4px; }
  .cal-month-title { font-size: 20px; }

  /* CABECERA Y MENÚ MÓVIL (Hamburguesa) */
  .nav { padding: 16px 5%; }
  .nav-btn-desktop { display: none; }
  .menu-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    gap: 40px;
    z-index: 90;
  }
  
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 16px; font-weight: 500; letter-spacing: 0.2em; }
  
  /* Animación del botón a una "X" */
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* ESTILOS ESPECÍFICOS EMPRESAS */
.grid-empresas {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil */
  gap: 20px;
}

.empresa-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(100%); /* Efecto elegante en blanco y negro */
  transition: all 0.4s ease;
  opacity: 0.7;
}

.empresa-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.02);
}

/* En pantallas grandes (PC), ponemos las 4 en una fila */
@media (min-width: 900px) {
  .grid-empresas {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Quitar el marco gris de la foto Sobre Mí */
.bio-imagen img {
    box-shadow: none !important;
}
/* =========================================
   PARTE MÓVIL: CORRECCIONES DE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    /* 1. Evitar que se pueda hacer scroll lateral (Menú invisible) */
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        position: relative;
    }

    /* 2. Ocultar textos decorativos del Hero para evitar amontonamientos */
    /* Nota: Si el texto vertical tiene otra clase, lo miraremos con F12 */
    .hero-vertical, .texto-rotado, .hero-bottom-text {
        display: none !important; 
    }

    /* 3. Forzar el ancho de la ventana de Cookies */
    #cookie-notice, .cookie-banner, .aviso-cookies {
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        bottom: 0 !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }

    /* 4. Ajustar el modal del Calendario para que quepa en pantalla */
    #event-modal {
        padding: 15px !important;
        align-items: center !important;
    }
    #event-modal > div {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 80vh !important;
        overflow-y: auto !important; /* Añade scroll interno si el texto es muy largo */
        margin: 0 auto !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
}
/* =========================================
   EASTER EGG: MODO MAGIA (LUCES APAGADAS)
   ========================================= */

/* Hacemos que el cambio de color sea suave y elegante (0.8 segundos) */
body {
    transition: background-color 0.8s ease, color 0.8s ease;
}

/* Cuando se active esta clase, la web se vuelve negra */
body.modo-magico {
    background-color: #111 !important; /* Un negro muy oscuro, tipo teatro */
    color: #f1f1f1 !important;
}

/* Aseguramos que los títulos también se vuelvan blancos */
body.modo-magico h1, 
body.modo-magico h2, 
body.modo-magico p,
body.modo-magico span {
    color: #f1f1f1 !important;
}

/* Le damos un brillo especial a tus textos en cursiva (los rojos) para que destaquen en la oscuridad */
body.modo-magico em,
body.modo-magico .hero-title em {
    color: #ff3333 !important;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

/* =========================================
   EASTER EGG: TINTA INVISIBLE
   ========================================= */
.tinta-invisible {
    color: transparent; /* Hace que el texto sea invisible */
    cursor: pointer;
    transition: all 0.4s ease;
    user-select: none; /* Evita que los "tramposos" lo descubran seleccionando el texto */
}

/* Al pasar el ratón (PC) o tocar con el dedo (Móvil) */
.tinta-invisible:hover, 
.tinta-invisible:active {
    color: var(--rojo, #ff3333);
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.4); /* Le da un pequeño brillo mágico */
}
/* =========================================
   DISEÑO DEL BOT INTERACTIVO
   ========================================= */
#bot-burbuja {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ffffff; /* Burbuja en blanco */
    color: #111; /* Color del icono */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* Sombra suave */
    border: 1px solid #eaeaea; /* Borde sutil para darle volumen */
    z-index: 9999;
    transition: transform 0.3s ease;
}

#bot-burbuja:hover {
    transform: scale(1.1);
}

#bot-ventana {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-width: 90vw;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.bot-oculto {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.bot-cabecera {
    background: #111;
    color: #fff;
    padding: 15px;
    position: relative;
    font-size: 14px;
}

#bot-cerrar {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.bot-cuerpo {
    padding: 20px;
    height: 250px;
    overflow-y: auto;
    background: #f9f9f9;
    font-size: 14px;
    color: #333;
}

.mensaje-bot {
    background: #eaeaea;
    padding: 10px 15px;
    border-radius: 10px 10px 10px 0;
    margin-bottom: 15px;
    display: inline-block;
    max-width: 85%;
}

.bot-opciones {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-bot {
    background: #fff;
    border: 2px solid var(--rojo, #ff3333);
    color: var(--rojo, #ff3333);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    text-align: left;
}

.btn-bot:hover {
    background: var(--rojo, #ff3333);
    color: #fff;
}
/* =========================================
   EASTER EGG: ELIGE UNA CARTA (CONTACTO)
   ========================================= */
.carta-magica-container {
    perspective: 1000px; /* Esto crea la ilusión de profundidad 3D */
    width: 100%;
    max-width: 320px;
    height: 140px;
    margin: 0 auto 40px auto; /* Centrado y con margen hacia el formulario */
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Quita el parpadeo azul en móviles */
}

.carta-magica {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1); /* Giro suave */
    transform-style: preserve-3d;
}

/* Esta clase se añade con JavaScript al hacer clic */
.carta-magica.volteada {
    transform: rotateY(180deg);
}

.carta-cara {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Oculta la parte de atrás mientras gira */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Diseño de la parte de atrás de la carta */
.carta-dorso {
    background: #111; 
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid var(--rojo, #ff3333);
}

/* Diseño de la revelación */
.carta-frente {
    background: #fff;
    color: #111;
    transform: rotateY(180deg); /* Empieza dada la vuelta */
    border: 2px solid var(--rojo, #ff3333);
    font-size: 15px;
    line-height: 1.4;
}