/* ============================================================
   ROCÍO SOLÍS – DISTRIBUCIÓN CULTURAL
   Styles v1.0
   ============================================================ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Palette – matches rociosolis.es */
  --bg:          #ffeee6;
  --bg-2:        #fff5f0;
  --bg-card:     #ffffff;
  --bg-card-h:   #fdf8f5;

  --gold:        #dd183b;   /* primary red accent */
  --gold-light:  #ff4d68;   /* lighter red */
  --gold-dark:   #a8102c;   /* darker red */
  --gold-glow:   rgba(221, 24, 59, 0.18);
  --gold-glow-s: rgba(221, 24, 59, 0.07);

  --red:         #0f172a;   /* dark navy (secondary) */
  --red-glow:    rgba(15, 23, 42, 0.12);

  --text:        #0f172a;   /* dark navy – headings */
  --text-body:   #3a3a3a;   /* body copy */
  --text-muted:  #69727d;   /* muted text */
  --text-dark:   #b8c2cc;   /* placeholders */

  --border:      rgba(15, 23, 42, 0.1);
  --border-h:    rgba(221, 24, 59, 0.3);

  --ff-display:  'Montserrat', Georgia, serif;
  --ff-body:     'Montserrat', system-ui, sans-serif;
  --ff-accent:   'Montserrat', Georgia, serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.77, 0, 0.175, 1);
  --trans:       0.3s ease;
  --trans-slow:  0.7s ease;

  --r:           8px;
  --r-lg:        16px;
  --r-xl:        24px;

  --shadow:      0 4px 24px rgba(15, 23, 42, 0.1);
  --shadow-gold: 0 8px 30px rgba(221, 24, 59, 0.18);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

body.loading { overflow: hidden; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─── LOADER ─────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loader-curtain {
  position: absolute;
  top: 0;
  width: 51%;
  height: 100%;
  background: linear-gradient(160deg, #ffeee6 0%, #fff5f0 50%, #ffeee6 100%);
  transition: transform 1.3s var(--ease-inout);
  will-change: transform;
}

/* Curtain texture via repeating gradient */
.loader-curtain::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(221, 24, 59, 0.04) 0px,
    transparent 2px,
    transparent 20px
  );
}

.loader-curtain--left  { left: 0;  border-right: 2px solid rgba(221, 24, 59, 0.2); }
.loader-curtain--right { right: 0; border-left:  2px solid rgba(221, 24, 59, 0.2); }

.loader-curtain--left.open  { transform: translateX(-100%); }
.loader-curtain--right.open { transform: translateX(100%);  }

.loader-logo {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: loaderBreathe 1.2s ease-in-out infinite alternate;
}

.loader-mask-pair {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.loader-text {
  font-family: 'Ephesis', cursive;
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
  opacity: 0.9;
}

@keyframes loaderBreathe {
  from { transform: scale(0.94); opacity: 0.7; }
  to   { transform: scale(1.04); opacity: 1; }
}

/* ─── FLOATING THEATER ICONS ─────────────────────────────── */
#floating-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  bottom: -80px;
  pointer-events: none;
  animation: floatUp linear infinite;
  will-change: transform, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon i {
  line-height: 1;
}

.floating-icon.type-primary { color: var(--gold); }
.floating-icon.type-dark    { color: var(--red);  }

@keyframes floatUp {
  0%   { transform: translateY(0)       rotate(0deg)   scale(1);   opacity: 0; }
  6%   { opacity: 0.12; }
  82%  { opacity: 0.12; }
  100% { transform: translateY(-115vh)  rotate(360deg) scale(0.7); opacity: 0; }
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 900;
  padding: 22px 0;
  transition: padding 0.5s ease, background 0.5s ease, border-color 0.5s ease;
}

#navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 245, 240, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(15, 23, 42, 0.1);
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 40px;
  height: 36px;
  color: var(--gold);
  transition: var(--trans);
}
.nav-logo:hover .nav-logo-icon { color: var(--gold-light); }

.nav-logo-texts { display: flex; flex-direction: column; }

.nav-logo-name {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--r);
  transition: var(--trans);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active { color: var(--gold-light); }

.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 28px); }

.nav-link--cta {
  background: var(--gold);
  color: #ffffff !important;
  font-weight: 700;
  padding: 9px 22px;
  transition: var(--trans);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px var(--gold-glow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0f172a;
}

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

/* Spotlights */
.hero-spotlight {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: spotPulse 8s ease-in-out infinite alternate;
}

.hero-spotlight--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(221,24,59,0.22), transparent 70%);
  top: -200px; left: 15%;
  animation-delay: 0s;
}
.hero-spotlight--2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(221,24,59,0.1), transparent 70%);
  bottom: -100px; right: 10%;
  animation-delay: -4s;
}
.hero-spotlight--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(168,16,44,0.15), transparent 70%);
  top: 30%; left: 60%;
  animation-delay: -2s;
}

@keyframes spotPulse {
  from { opacity: 0.7; transform: scale(0.92); }
  to   { opacity: 1;   transform: scale(1.08); }
}

/* Theatrical curtain sides */
.hero-curtain {
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  z-index: 1;
}
.hero-curtain--left {
  left: 0;
  background: linear-gradient(to right, rgba(8,6,16,0.85) 0%, transparent 100%);
}
.hero-curtain--left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 6px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent 30%, var(--gold-dark) 70%, transparent);
  opacity: 0.5;
}
.hero-curtain--right {
  right: 0;
  background: linear-gradient(to left, rgba(8,6,16,0.85) 0%, transparent 100%);
}
.hero-curtain--right::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; width: 6px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent 30%, var(--gold-dark) 70%, transparent);
  opacity: 0.5;
}

/* Stage floor glow */
.hero-stage-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(221,24,59,0.05), transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  padding: 130px 32px 80px;
}

.hero-tagline {
  font-family: var(--ff-accent);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 32px;
}

.hero-title-line        { display: block; color: #f0ece6; }
.hero-title-ephesis     { font-family: 'Ephesis', cursive; }
.hero-title-gold {
  display: block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(210, 220, 235, 0.75);
  line-height: 1.9;
  margin-bottom: 52px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeIn 1s ease forwards 2.6s;
  opacity: 0;
}

.hero-scroll-text {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(210, 220, 235, 0.5);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50%       { transform: scaleY(0.5); opacity: 0.3; }
}

/* Hero reveal animations */
.reveal-hero {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-hero.in {
  animation: heroReveal 0.9s var(--ease-out) forwards;
}
.reveal-hero:nth-child(1) { animation-delay: 1.3s; }
.reveal-hero:nth-child(2) { animation-delay: 1.55s; }
.reveal-hero:nth-child(3) { animation-delay: 1.75s; }
.reveal-hero:nth-child(4) { animation-delay: 1.95s; }

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

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: var(--r);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn--primary {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--gold-glow);
}

.btn--outline {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(201, 169, 110, 0.5);
}
.btn--outline:hover {
  background: rgba(201, 169, 110, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn--large { padding: 18px 44px; font-size: 0.9rem; }
.btn--sm    { padding: 9px 20px;  font-size: 0.75rem; }
.btn--full  { width: 100%; justify-content: center; }

.btn--icon { gap: 10px; }

/* ─── SECTIONS SHARED ────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-deco-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-2) 100%); }

.about-content {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 100px;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.2), 0 4px 14px rgba(15, 23, 42, 0.1);
  display: block;
  border: 3px solid rgba(221, 24, 59, 0.15);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.about-photo img:hover {
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.25), 0 4px 20px rgba(221, 24, 59, 0.18);
  transform: translateY(-4px);
}

.about-quote {
  background: rgba(201,169,110,0.05);
  border-left: 3px solid var(--gold);
  padding: 26px 30px;
  margin-bottom: 36px;
  border-radius: 0 var(--r) var(--r) 0;
}

.about-quote i {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.8;
}

.about-quote p {
  font-family: var(--ff-accent);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.7;
}

.about-bio {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-bio:last-of-type { margin-bottom: 36px; }
.about-bio strong { color: var(--gold-light); font-weight: 700; }

.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Timeline */
.timeline-heading {
  font-size: 1.4rem;
  color: var(--gold-light);
  font-family: var(--ff-display);
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.timeline { position: relative; }

.timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 8px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,169,110,0.1));
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.95rem;
  flex-shrink: 0;
  z-index: 1;
  transition: var(--trans);
}

.timeline-item:hover .timeline-dot {
  border-color: var(--gold);
  background: rgba(221,24,59,0.07);
  box-shadow: 0 0 16px var(--gold-glow);
}

.timeline-body { padding-top: 10px; }

.timeline-period {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 5px;
}

.timeline-body h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
  font-family: var(--ff-display);
}

.timeline-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── SHOWS ──────────────────────────────────────────────── */
.shows { background: var(--bg); }

.shows-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 64px;
}

.show-card {
  flex: 0 1 calc(33.33% - 18px);
  min-width: 280px;
  height: 400px;
  perspective: 1200px;
  cursor: pointer;
}

.show-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease-inout);
}

.show-card:hover .show-card-inner { transform: rotateY(180deg); }

.show-card-front,
.show-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Front */
.show-card-front {
  background: #08080f;
  overflow: hidden;
}

.show-card-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.88;
  transition: transform 0.65s var(--ease-out), opacity 0.4s ease;
  will-change: transform;
}

.show-card:hover .show-card-poster {
  transform: scale(1.07);
  opacity: 1;
}

.show-card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 6, 18, 0.97) 0%,
    rgba(6, 6, 18, 0.78) 30%,
    rgba(6, 6, 18, 0.25) 58%,
    transparent 100%
  );
  z-index: 1;
}

.show-company-badge {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  padding: 12px 16px 28px;
  text-align: center;
  font-size: 0.59rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(to bottom, rgba(6, 6, 18, 0.75), transparent);
  z-index: 2;
}

.show-card-front-info {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 0 22px 22px;
  z-index: 2;
}

.show-title {
  font-family: var(--ff-display);
  font-size: 1.18rem;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 7px;
}

.show-genre {
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.show-flip-hint {
  font-size: 0.62rem;
  color: var(--gold-light);
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Back */
.show-card-back {
  background: linear-gradient(155deg, var(--bg-card-h) 0%, var(--bg-card) 100%);
  border-color: var(--border-h);
  transform: rotateY(180deg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.show-card-back h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--gold-light);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.show-card-back > p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.show-ficha {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.show-ficha-item strong { color: var(--gold-light); }

.show-card-back .btn { margin-top: auto; align-self: flex-start; }

/* CTA row */
.shows-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.shows-cta-text {
  font-family: var(--ff-accent);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ─── COMPANIES ──────────────────────────────────────────── */
.companies { background: var(--bg-2); }

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(221,24,59,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.company-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-h);
  box-shadow: 0 12px 36px rgba(15,23,42,0.12), 0 0 24px var(--gold-glow-s);
}

.company-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.75;
  transition: opacity 0.3s;
}
.company-icon--tragedy { color: var(--red); }
.company-card:hover .company-icon { opacity: 1; }

.company-info { display: flex; flex-direction: column; gap: 10px; }

.company-name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.2;
}

.company-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.company-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.company-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  background: rgba(221,24,59,0.06);
  color: var(--gold);
  border: 1px solid rgba(221,24,59,0.2);
  border-radius: 100px;
  transition: background 0.3s;
}
.company-card:hover .company-tag { background: rgba(221,24,59,0.12); }

/* ─── CALENDAR ───────────────────────────────────────────── */
.calendar-section { background: var(--bg); }

.calendar-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Widget */
.calendar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: linear-gradient(to right, rgba(221,24,59,0.05), transparent);
  border-bottom: 1px solid var(--border);
}

.cal-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--gold-light);
  text-transform: capitalize;
}

.cal-btn {
  width: 36px; height: 36px;
  background: rgba(221,24,59,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--trans);
}
.cal-btn:hover {
  background: rgba(221,24,59,0.14);
  border-color: var(--gold);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 18px;
}

.cal-day-header {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 8px 2px 12px;
}

.cal-day {
  text-align: center;
  padding: 9px 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: var(--r);
  transition: var(--trans);
  position: relative;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-day.other-month { opacity: 0.25; }

.cal-day.today {
  color: var(--gold);
  font-weight: 700;
}
.cal-day.today::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.cal-day.has-event {
  background: rgba(221,24,59,0.1);
  color: var(--gold);
  cursor: pointer;
  border: 1px solid rgba(221,24,59,0.22);
  font-weight: 700;
}
.cal-day.has-event:hover {
  background: rgba(221,24,59,0.2);
  border-color: var(--gold);
}

.cal-day.past-event {
  background: rgba(15,23,42,0.06);
  color: rgba(15,23,42,0.4);
  border: 1px solid rgba(15,23,42,0.1);
}

/* Calendar day tooltip */
#cal-tooltip {
  position: fixed;
  z-index: 9000;
  width: 230px;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 56px rgba(15,23,42,0.22), 0 4px 14px rgba(15,23,42,0.12);
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#cal-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cal-tooltip-poster {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center top;
  display: block;
}

.cal-tooltip-body {
  padding: 14px 16px 16px;
}

.cal-tooltip-title {
  font-family: var(--ff-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cal-tooltip-date {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.cal-tooltip-loc {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.cal-tooltip-loc i { margin-right: 4px; color: var(--gold); }

.cal-tooltip-company {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-top: 8px;
  opacity: 0.75;
}

.cal-tooltip-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s;
}
.cal-tooltip-close:hover { background: rgba(0,0,0,0.65); }

.calendar-legend {
  display: flex;
  gap: 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: rgba(15,23,42,0.03);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
}
.legend-dot--past     { background: rgba(155,35,53,0.4); border: 1px solid rgba(155,35,53,0.4); }
.legend-dot--upcoming { background: rgba(201,169,110,0.3); border: 1px solid rgba(201,169,110,0.4); }

/* Events panel */
.events-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}

.events-panel-title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.events-panel-title i { color: var(--gold); font-size: 1rem; }

.events-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  margin-top: 22px;
  padding: 6px 12px;
  border-radius: 4px;
}

.events-section-label.upcoming { color: var(--gold); background: rgba(221,24,59,0.06); }
.events-section-label.past     { color: var(--text-muted); background: rgba(15,23,42,0.04); }
.events-section-label:first-child { margin-top: 0; }

.event-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15,23,42,0.07);
}
.event-item:last-child { border-bottom: none; padding-bottom: 0; }

.event-badge-date {
  width: 54px; height: 54px;
  flex-shrink: 0;
  background: rgba(221,24,59,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-badge-date.past { background: rgba(15,23,42,0.05); border-color: rgba(15,23,42,0.12); }

.event-badge-day {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.event-badge-date.past .event-badge-day { color: rgba(15,23,42,0.4); }

.event-badge-mon {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.event-details { flex: 1; }

.event-title {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.event-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.event-location i { color: var(--gold); font-size: 0.7rem; }

.event-status {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 9px;
  border-radius: 100px;
}

.event-status.upcoming {
  background: rgba(221,24,59,0.08);
  color: var(--gold);
  border: 1px solid rgba(221,24,59,0.22);
}

.event-status.past {
  background: rgba(15,23,42,0.06);
  color: var(--text-muted);
  border: 1px solid rgba(15,23,42,0.12);
}

.events-empty {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--ff-accent);
  font-size: 1rem;
  padding: 32px 16px;
  opacity: 0.7;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact { background: var(--bg-2); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.contact-card:hover {
  transform: translateX(5px);
  border-color: var(--border-h);
  box-shadow: 0 6px 20px rgba(15,23,42,0.1);
}

.contact-card--whatsapp:hover { border-color: rgba(37,211,102,0.4); }
.contact-card--instagram:hover {
  border-image: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) 1;
}

.contact-card-icon {
  width: 48px; height: 48px;
  background: rgba(221,24,59,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--trans);
}
.contact-card:hover .contact-card-icon {
  background: rgba(221,24,59,0.12);
  border-color: var(--gold);
}
.contact-card--whatsapp .contact-card-icon { color: #25d366; }
.contact-card--instagram .contact-card-icon { color: #e1306c; }

.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.contact-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.contact-card-value {
  font-size: 0.9rem;
  color: var(--text);
  word-break: break-all;
}

.contact-card-ext {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group label span { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #fdf8f5;
  border: 1.5px solid rgba(15,23,42,0.15);
  border-radius: var(--r);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dark); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow-s);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23dd183b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-color: #fdf8f5;
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-feedback {
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 22px;
}

.form-feedback.success { color: #5ac87a; }
.form-feedback.error   { color: #e87070; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #3a3a3a;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-icon {
  width: 48px; height: 44px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: #f5f0ea;
}

.footer-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

.footer h4 {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--trans);
}

.footer-nav a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-info { display: flex; flex-direction: column; gap: 12px; }

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--trans);
  word-break: break-all;
}

.footer-contact-link i { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }
.footer-contact-link:hover { color: #ffffff; }

.footer-social { display: flex; gap: 12px; }

.footer-social-link {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  transition: var(--trans);
}

.footer-social-link:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--gold-glow);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}

.reveal-up    { transform: translateY(55px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: none;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .about-content { grid-template-columns: 1fr 1fr; gap: 48px; }
  .about-photo { grid-column: 1 / -1; max-width: 280px; position: static; }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-wrapper { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .show-card { flex: 0 1 calc(50% - 13px); }
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    background: rgba(255, 248, 245, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 28px;
    border-left: 1px solid var(--border);
    transition: right 0.4s var(--ease-out);
    gap: 4px;
  }

  .nav-menu.open { right: 0; }

  .nav-link { font-size: 0.9rem; padding: 12px 14px; width: 100%; }
  .nav-link--cta { margin-top: 16px; }

  .section { padding: 80px 0; }

  .shows-grid { gap: 20px; }
  .show-card { flex: 0 1 100%; min-width: unset; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 260px; margin: 0 auto; }

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

  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-content { padding: 100px 20px 70px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-actions { flex-direction: column; }
  .container { padding: 0 20px; }
}

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