/* === SINILOS PRODUCCIONS — main.css === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral: #ed6b58;
  --coral-dim: #ed6b5844;
  --coral-ghost: #ed6b5818;
  --bg: #000;
  --bg-mid: #0a0a0a;
  --text: #fff;
  --text-mid: #ccc;
  --text-dim: #999;
  --text-mute: #666;
}

body {
  background: var(--bg);
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.5;
}

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #f2ebe0;
  border-bottom: 1px solid #ddd5c5;
  display: flex; align-items: stretch; height: 100px; padding: 5px 0;
}
.nav-logo {
  flex: 0 0 auto; display: flex; align-items: center; padding: 0 32px;
  border-right: 1px solid #ddd5c5;
}
.nav-logo img { height: 77px; width: auto; display: block; }
.nav-right { flex: 1; display: flex; align-items: stretch; min-width: 0; justify-content: flex-end; }
.nav-tabs { display: flex; }
.nav-tab {
  display: flex; align-items: center; justify-content: center;
  padding: 0 18px;
  color: #555; font-size: 15px; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border-right: 1px solid #ddd5c5;
  transition: color .2s, background .2s;
}
.nav-tab:first-child { border-left: 1px solid #ddd5c5; }
.nav-tab:hover { color: #000; background: #f7f7f7; }
.nav-tab.active { color: var(--coral); box-shadow: inset 0 -2px 0 var(--coral); }
.nav-lang {
  padding: 0 20px; display: flex; align-items: center; gap: 8px;
  border-left: 1px solid #ddd5c5; flex-shrink: 0;
}
.nav-lang a {
  color: #999; font-size: 14px; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none; transition: color .2s;
}
.nav-lang a:hover { color: #000; }
.nav-lang a.active { color: var(--coral); font-weight: 700; }
.nav-lang a + a::before { content: '·'; margin-right: 8px; color: #ccc; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0 20px; color: var(--coral); font-size: 20px; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: flex-end;
  background: var(--bg); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0.4;
}
.hero-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.92) 40%, rgba(0,0,0,0.15) 100%),
    linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 55%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 0 60px 64px; max-width: 580px;
}
.hero-eyebrow {
  color: var(--coral); font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--coral); }
.hero-title { font-size: 72px; font-weight: 800; line-height: 0.95; letter-spacing: -3px; margin-bottom: 20px; }
.hero-subtitle { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin-bottom: 32px; max-width: 400px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--coral); color: #000; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; padding: 14px 28px;
  text-decoration: none; display: inline-block; transition: opacity .2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  border: 1px solid #ffffff22; color: var(--text); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; padding: 14px 28px;
  text-decoration: none; display: inline-block; transition: border-color .2s, color .2s;
  background: none; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--coral); color: var(--coral); }

/* ── SECTION DIVIDER ── */
.section-divider {
  height: 6px;
  background: linear-gradient(to right, #000 0%, var(--coral) 100%);
  margin-top: 72px;
}
.section-header + .section-divider,
.section-header.pb + .section-divider { margin-top: 0 !important; }
.prod-section + .section-divider { margin-top: 72px !important; }
.section-divider + .prod-section { margin-top: 72px !important; }
.fora-grid + .section-divider { margin-top: 72px !important; }
main > .section-divider:last-child { margin-bottom: 72px; }

/* ── SECTION HEADER ── */
.section-header { padding: 56px 60px 0; }
.section-header.pb { padding-bottom: 56px; }
.section-label {
  color: var(--coral); font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 12px; position: relative; padding-left: 40px;
}
.section-label::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 28px; height: 1px; background: var(--coral); }
.section-title { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 12px; }
.section-sub { color: var(--text); font-size: 16px; line-height: 1.6; max-width: 560px; }

/* ── EDITORIAL HEADER (title + secondary tagline) ── */
.editorial-header { display: flex; flex-direction: column; justify-content: center; padding: 68px 60px 0; margin-bottom: -10px; gap: 12px; }
.editorial-header h1 { font-size: 56px; font-weight: 800; letter-spacing: -2px; line-height: 1.05; }
.editorial-sub { font-size: 28px; font-weight: 700; letter-spacing: -1px; line-height: 1.2; color: var(--text-dim); }
.editorial-sub .accent { color: var(--coral); }

/* ── HOME — TAULER DE CAMERINO (inici) ── */
.home-stage {
  background:
    radial-gradient(ellipse 65% 50% at 50% 0%, var(--coral-ghost), transparent 65%),
    var(--bg);
}
.home-top { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding: 56px 60px 0; }
.stage-intro { flex: 1 1 320px; max-width: 380px; }
.stage-intro h1 { font-size: 48px; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: 14px; }
.stage-intro p { color: var(--text-dim); font-size: 16px; line-height: 1.6; max-width: 380px; }
.hero-eyebrow { margin-bottom: 10px; }

.pinboard-top, .pinboard-bottom {
  position: relative; display: flex; flex-wrap: wrap;
  align-items: flex-start; justify-content: center;
  gap: 40px;
}
.pinboard-top { flex: 1 1 520px; }
.pinboard-bottom { padding: 38px 60px 100px; }

.pin-card {
  --tx: 0px; --ty: 0px; --rot: 0deg; --s: 1;
  position: relative; width: 281px; flex-shrink: 0;
  background: #f2ebe0; padding: 16px 16px 0;
  text-decoration: none; display: block;
  box-shadow: 0 20px 36px rgba(0,0,0,.55);
  transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(var(--s));
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
}
.pin-card:hover {
  --s: 1.16;
  box-shadow: 0 36px 54px rgba(0,0,0,.65), 0 0 0 1px var(--coral-dim);
  z-index: 5;
}
.pin-card:hover .pin-card-pin { transform: translateX(-50%) scale(1.35) rotate(8deg); }
.pin-card:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.pinboard-top .pin-card:nth-child(1) { --rot: -3deg; --tx: -70px; }
.pinboard-top .pin-card:nth-child(2) { --rot: 2deg; --tx: 30px; --ty: -20px; margin-top: 14px; }
.pinboard-bottom .pin-card:nth-child(1) { --rot: -2deg; --tx: -130px; --ty: -110px; }
.pinboard-bottom .pin-card:nth-child(2) { --rot: 2deg; --tx: -60px; margin-top: 10px; }
.pinboard-bottom .pin-card:nth-child(3) { --rot: -1.5deg; --tx: 70px; }

.pin-card-pin {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #ff9686, var(--coral) 60%, #b8473a 100%);
  box-shadow: 0 3px 6px rgba(0,0,0,.5);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.pin-card-photo { display: block; width: 100%; aspect-ratio: 4/5; overflow: hidden; background: #000; }
.pin-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin-card-photo--solid {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #161616 0%, #000 100%);
}
.pin-card-monogram { font-family: 'Caveat', cursive; font-size: 100px; line-height: 1; color: var(--coral); transform: rotate(-4deg); }
.pin-card-photo--ticket {
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.pin-card-photo--ticket::before {
  content: ''; position: absolute; inset: 16px;
  border: 1.5px dashed rgba(0,0,0,.35);
}
.pin-card-photo--ticket span { font-family: 'Caveat', cursive; font-size: 72px; color: #fff; transform: rotate(-3deg); }

.pin-card-cap { display: block; padding: 14px 8px 18px; text-align: center; }
.pin-card-label { display: block; font-family: 'Caveat', cursive; font-weight: 700; font-size: 34px; color: #181210; line-height: 1; margin-bottom: 7px; }
.pin-card-sub { display: block; font-family: system-ui, sans-serif; font-size: 12px; letter-spacing: .3px; color: #6b6258; line-height: 1.5; }

@media (max-width: 1200px) {
  .pin-card { width: 223px; }
}
@media (max-width: 900px) {
  .home-top { flex-direction: column; align-items: stretch; padding: 72px 24px 0; gap: 4px; }
  .stage-intro { flex: none; max-width: none; }
  .pinboard-top { flex: none; justify-content: center; padding-top: 16px; }
  .pinboard-bottom { padding: 30px 24px 64px; }
  .pin-card { width: 233px; --tx: 0px !important; --ty: 0px !important; }
}
@media (max-width: 600px) {
  .stage-intro h1 { font-size: 36px; letter-spacing: -1.5px; }
  .pin-card { width: 150px; }
  .pin-card-label { overflow-wrap: anywhere; }
  .pinboard-top, .pinboard-bottom { gap: 18px; }
}

/* ── SHOW GRID (Teatre) ── */
.show-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 36px; }
.show-card { position: relative; overflow: hidden; aspect-ratio: 2/3; background: #111; display: block; text-decoration: none; }
.show-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: opacity .4s, transform .5s; display: block; }
.show-card:hover img { opacity: 0.85; transform: scale(1.04); }
.show-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.05) 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 20px;
}
.show-tag { font-size: 9px; letter-spacing: 2px; color: var(--coral); text-transform: uppercase; margin-bottom: 8px; }
.show-name { font-size: 20px; font-weight: 800; line-height: 1.15; margin-bottom: 6px; letter-spacing: -0.5px; color: var(--text); }
.show-age { font-size: 11px; color: #777; }
.show-card.fora img { filter: grayscale(60%); opacity: 0.35; }
.show-card.fora .show-tag { color: #555; }

/* ── TV GRID ── */
.tv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 36px; }
.tv-card { position: relative; overflow: hidden; aspect-ratio: 16/9; background: #111; display: block; text-decoration: none; }
.tv-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity .3s; display: block; }
.tv-card:hover img { opacity: 0.85; }
.tv-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 20px;
}
.tv-award { font-size: 9px; color: var(--coral); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.tv-name { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 5px; color: var(--text); }
.tv-desc { font-size: 12px; color: #888; }

/* ── COMPANYIA BLOCK ── */
.company-inner { display: grid; grid-template-columns: 1fr 1.1fr; margin-top: 36px; }
.company-img { position: relative; overflow: hidden; min-height: 380px; }
.company-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; display: block; }
.company-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent 60%, #000); }
.company-text { padding: 48px 60px 64px 40px; display: flex; flex-direction: column; justify-content: center; }
.company-year { font-size: 88px; font-weight: 800; color: #ed6b5810; letter-spacing: -5px; line-height: 1; margin-bottom: -18px; user-select: none; }
.company-body { color: var(--text-dim); font-size: 14px; line-height: 1.85; margin-bottom: 28px; }
.company-body em { color: var(--coral); font-style: normal; }
.company-names { display: flex; gap: 32px; padding-top: 20px; border-top: 1px solid #ffffff08; margin-top: 8px; }
.company-person-name { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.company-person-role { font-size: 10px; color: var(--coral); letter-spacing: 1px; text-transform: uppercase; }

/* ── ESCOLA ── */
.escola-block { padding: 80px 60px; text-align: center; }
.escola-badge { display: inline-block; border: 1px solid var(--coral-dim); color: var(--coral); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; padding: 5px 14px; margin-bottom: 20px; }
.escola-title { font-size: 36px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; }
.escola-text { color: var(--text); font-size: 16px; line-height: 1.8; max-width: 500px; margin: 0 auto 32px; }
.escola-img { max-width: 150px; opacity: 0.3; display: block; margin: 0 auto; filter: grayscale(100%); }

/* ── SHOW DETAIL PAGE ── */
.show-hero { position: relative; min-height: 75vh; display: flex; align-items: flex-end; background: #000; overflow: hidden; }
.show-hero .hero-bg { opacity: 1; }
.show-hero .hero-gradient {
  background:
    linear-gradient(to right, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0) 80%),
    linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 35%);
}

/* Intro block: 2 cols (text | slider), floats below hero with breathing room */
.show-intro {
  margin: 56px 60px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.show-intro-text .section-label { margin-bottom: 16px; }
.show-intro h1 { font-size: 48px; font-weight: 800; letter-spacing: -2px; line-height: 0.95; margin-bottom: 20px; }
.show-intro-lead { color: var(--text-dim); font-size: 18px; line-height: 1.8; margin-bottom: 28px; }
.show-intro video { width: 100%; display: block; background: #000; }

/* Inline slider inside intro */
.slider-inline { aspect-ratio: 3/2; }
.slider-inline .slider-track { height: 100%; }
.slider-inline .slider-slide { height: 100%; }
.slider-inline .slider-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }

/* Fitxa tècnica — fila horitzontal amb respiració, sense línies separadores */
.show-ficha-bar {
  margin: 48px 60px 0;
  background: #222;
  border-top: 2px solid var(--coral);
  padding: 28px 36px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 0;
}
.show-ficha-bar-title {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--coral);
  padding-right: 36px; flex-shrink: 0; white-space: nowrap;
}
.show-ficha-bar-item {
  display: flex; flex-direction: column; gap: 5px; padding: 0 20px;
  border-left: 1px solid #ffffff12;
}
.show-ficha-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #888; }
.show-ficha-value { font-size: 14px; color: #ddd; line-height: 1.5; }
.show-ficha-value strong { color: #fff; font-weight: 600; }

/* Sinopsi */
.show-synopsis { padding: 56px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; border-top: 1px solid #ffffff06; }
.show-synopsis-text { display: flex; flex-direction: column; justify-content: center; }
.show-synopsis-text h2 { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.show-synopsis-text p { color: var(--text-dim); font-size: 17px; line-height: 1.85; margin-bottom: 16px; }
.show-synopsis-img { position: relative; overflow: hidden; }
.show-synopsis-img img { width: 100%; display: block; }

/* Galeria */
.show-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 3px; }
.show-gallery-item { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #111; }
.show-gallery-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity .3s, transform .4s; display: block; }
.show-gallery-item:hover img { opacity: 1; transform: scale(1.05); }

/* ── SHOW MEDIA (vídeo + àudio) ── */
.show-media { padding: 56px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.show-media video { width: 100%; display: block; background: #000; }
.show-media-audio { display: flex; flex-direction: column; }
.show-media-audio iframe { width: 100%; flex: 1; min-height: 400px; display: block; }

/* ── GUIA DIDÀCTICA ── */
.show-guia { padding: 56px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; border-top: 1px solid #ffffff06; }
.show-guia-text { display: flex; flex-direction: column; }
.show-guia-text h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.show-guia-text p { color: var(--text-dim); font-size: 17px; line-height: 1.8; margin-bottom: 16px; }
.show-guia-img { display: flex; align-items: center; justify-content: center; }
.show-guia-img img { width: 100%; max-width: 480px; height: auto; display: block; opacity: 0.92; }

/* CTA booking */
.show-cta { padding: 80px 60px; display: flex; flex-direction: column; align-items: center; gap: 24px; border-top: 3px solid var(--coral); text-align: center; margin-top: 56px; }
.show-cta-text h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 10px; }
.show-cta-text p { color: var(--text-dim); font-size: 15px; }

.show-fora-badge { display: inline-block; border: 1px solid rgba(255,255,255,0.5); color: #fff; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; padding: 7px 18px; margin-bottom: 24px; background: rgba(0,0,0,0.35); }

/* Legal pages (Aviso legal / Privacidad / Cookies) */
.legal-content { padding: 0 60px 64px; max-width: 820px; }
.legal-content h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin: 40px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-mid); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--coral); }
@media (max-width: 600px) { .legal-content { padding: 0 24px 48px; } }

/* Legacy (keep for other pages) */
.show-detail { padding: 56px 60px; max-width: 760px; }
.show-detail h1 { font-size: 52px; font-weight: 800; letter-spacing: -2px; margin-bottom: 16px; }
.show-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.show-meta-item { font-size: 11px; color: var(--coral); letter-spacing: 2px; text-transform: uppercase; display: flex; flex-direction: column; gap: 4px; }
.show-meta-item span { color: var(--text-mid); letter-spacing: 0; text-transform: none; font-size: 13px; }
.show-body { color: var(--text-mid); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }

/* ── SHOW FEATURES ── */
.show-features {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; background: #f2ebe0; margin-top: 56px;
}
.show-feature {
  padding: 48px 40px; text-align: center;
  border-right: 1px solid rgba(0,0,0,0.08);
}
.show-feature:last-child { border-right: none; }
.show-feature-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 1px solid var(--coral-dim);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--coral);
}
.show-feature-icon svg { width: 28px; height: 28px; }
.show-feature h3 { font-size: 20px; font-weight: 800; color: #000; margin-bottom: 12px; letter-spacing: -0.5px; }
.show-feature p { font-size: 16px; color: #555; line-height: 1.7; }

/* ── SLIDER ── */
.slider-section { padding: 0; }
.slider-wrap {
  position: relative; overflow: hidden; background: #000; user-select: none;
}
.slider-track {
  display: flex; transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.slider-slide {
  flex: 0 0 100%; min-width: 0; position: relative;
}
.slider-slide img {
  width: 100%; height: 600px; object-fit: contain; background: #000; display: block;
  cursor: zoom-in;
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.55); color: #fff; border: none; cursor: pointer;
  width: 48px; height: 48px; font-size: 20px; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.slider-btn:hover { background: rgba(0,0,0,0.85); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px;
}
.slider-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dot.active { background: var(--coral); transform: scale(1.3); }

/* ── LIGHTBOX ── */
@keyframes lbPop {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85); align-items: center; justify-content: center; gap: 16px;
}
.lightbox.open { display: flex; }
.lightbox-dialog {
  position: relative; background: #0a0a0a;
  max-width: min(85vw, 960px); max-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 48px rgba(0,0,0,0.9);
  animation: lbPop 0.28s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.lightbox-img { max-width: min(85vw, 960px); max-height: 85vh; object-fit: contain; display: block; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px;
  background: var(--coral); border: none; color: #000;
  font-size: 13px; font-weight: 700; cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 1001;
}
.lightbox-close:hover { opacity: 0.85; }
.lightbox-prev, .lightbox-next {
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  font-size: 24px; cursor: pointer; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ── COMPANYIA PAGE ── */
.timeline { padding: 8px 60px 56px; max-width: 900px; }
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid #ffffff08; }
.timeline-item:first-child { padding-top: 0; }
.timeline-year { font-size: 30px; font-weight: 800; color: var(--coral); letter-spacing: -1px; padding-top: 4px; }
.timeline-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.team-card { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #111; }
.team-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; display: block; }
.team-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.team-name { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.team-role { font-size: 10px; color: var(--coral); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

/* ── CONTACTE PAGE ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.contact-info { padding: 64px 60px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #ffffff08; }
.contact-info h1 { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 24px; }
.contact-info p { color: var(--text-dim); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.contact-info a { color: var(--coral); text-decoration: none; }
.contact-form { padding: 64px 60px; }
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%; background: #0a0a0a; border: 1px solid #ffffff15; color: var(--text);
  font-family: inherit; font-size: 14px; padding: 12px 16px;
  transition: border-color .2s; outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--coral-dim); }
.form-textarea { min-height: 180px; resize: vertical; }
.form-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--coral); flex-shrink: 0; }
.form-check label { font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.form-check a { color: var(--coral); }

/* ── PRODUCTION SECTIONS (listing pages) ── */
.prod-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 520px;
  border-bottom: 1px solid #ffffff06;
}
.prod-section.reverse { direction: rtl; }
.prod-section.reverse > * { direction: ltr; }
.prod-section-img {
  position: relative;
  overflow: hidden;
}
.prod-section-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity .5s, transform .6s;
  display: block;
}
.prod-section:hover .prod-section-img img {
  opacity: 0.9;
  transform: scale(1.04);
}
.prod-section-content {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-mid);
}
.prod-section-tag {
  color: var(--coral);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.prod-section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--coral);
  flex-shrink: 0;
}
.prod-section-title {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.92;
  margin-top: 2px;
  margin-bottom: 24px;
}
.prod-section-desc {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 400px;
}
.prod-section.fora .prod-section-img img {
  filter: grayscale(80%);
  opacity: 0.28;
}
.prod-section.fora .prod-section-title { color: var(--text-dim); }
.prod-section.fora .prod-section-tag { color: #555; }
.prod-section.fora .prod-section-tag::before { background: #555; }

/* ── FOOTER ── */
.site-footer { padding: 24px 60px; background: #111; border-top: 2px solid #2a2a2a; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #888; font-size: 13px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: #777; font-size: 12px; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: #111; border-top: 2px solid var(--coral-dim);
  padding: 18px 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cookie-banner p { color: var(--text-dim); font-size: 13px; line-height: 1.5; flex: 1; }
.cookie-banner a { color: var(--coral); text-decoration: none; }
.cookie-accept { padding: 10px 24px !important; font-size: 10px !important; flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nav-logo { flex: 1; padding: 0 24px; }
  .nav-right { display: none; flex-direction: column; position: absolute; top: 100px; left: 0; right: 0; background: #f2ebe0; border-bottom: 1px solid #ddd5c5; }
  .nav-right.open { display: flex; }
  .nav-tabs { flex-direction: column; }
  .nav-tab { justify-content: flex-start; padding: 16px 24px; border-right: none; border-left: none; border-bottom: 1px solid #f0f0f0; font-size: 16px; letter-spacing: 1px; }
  .nav-lang { padding: 16px 24px; border-left: none; border-top: 1px solid #e8e8e8; gap: 16px; }
  .nav-toggle { display: flex; align-items: center; }
  .hero-title { font-size: 44px; letter-spacing: -2px; }
  .hero-content { padding: 0 24px 48px !important; max-width: 100%; }
  .section-header { padding: 40px 24px 0; }
  .section-header.pb { padding-bottom: 40px; }
  .show-grid { grid-template-columns: 1fr; }
  .tv-grid { grid-template-columns: 1fr; }
  .company-inner { grid-template-columns: 1fr; }
  .company-img { min-height: 240px; }
  .company-img::after { background: linear-gradient(to top, #000 0%, transparent 50%); }
  .company-text { padding: 32px 24px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { border-right: none; padding: 40px 24px; }
  .contact-form { padding: 0 24px 48px; }
  .escola-block { padding: 48px 24px; }
  .timeline { padding: 8px 24px 40px; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .show-detail { padding: 40px 24px; }
  .show-detail h1 { font-size: 36px; }
  .show-intro { margin: 32px 24px 0; grid-template-columns: 1fr; gap: 28px; }
  .show-intro h1 { font-size: 40px; }
  .slider-inline { aspect-ratio: 4/3; }
  .show-ficha-bar { margin: 32px 24px 0; padding: 20px 20px; }
  .show-ficha-bar-item { padding: 8px 16px; }
  .show-ficha-bar-title { padding-right: 24px; }
  .show-synopsis { grid-template-columns: 1fr; padding: 40px 24px; }
  .show-gallery { grid-template-columns: 1fr 1fr; }
  .show-cta { padding: 48px 24px; align-items: center; }
  .cookie-banner { padding: 16px 24px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .show-features { grid-template-columns: 1fr; }
  .show-feature { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.12); padding: 32px 24px; }
  .show-feature:last-child { border-bottom: none; }
  .slider-slide img { height: 220px; }
  .slider-inline .slider-slide img { height: 220px; }
  .show-media { grid-template-columns: 1fr; padding: 40px 24px; }
  .show-media-audio iframe { min-height: 260px; }
  .show-guia { grid-template-columns: 1fr; padding: 40px 24px; }
  .prod-section { grid-template-columns: 1fr; height: auto; min-height: auto; direction: ltr; }
  .prod-section-img { min-height: 300px; }
  .prod-section-content { padding: 40px 24px !important; }
  .prod-section-title { font-size: 40px !important; letter-spacing: -1.5px; }
  .prod-section-desc { max-width: 100% !important; font-size: 15px !important; }
  .site-footer { padding: 24px; flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 32px; }
  .show-hero { min-height: 55vh; }
  .show-hero .hero-content { padding: 0 24px 40px !important; }
}

/* ── FORA GRID (teatre listing) ── */
.fora-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 80px; }
@media (max-width: 600px) {
  .fora-grid { grid-template-columns: 1fr; }
}

/* ── STUDIO SERVICE BLOCKS ── */
.studio-block { padding: 72px 80px; border-bottom: 1px solid #ffffff06; }
.studio-block.alt { background: var(--bg-mid); }
.studio-block-title { font-size: 48px; font-weight: 800; letter-spacing: -2px; line-height: 1; margin-bottom: 24px; }
.studio-block-desc { color: var(--text-dim); font-size: 16px; line-height: 1.85; max-width: 640px; }
.studio-block-desc + .studio-block-desc { margin-top: 16px; }
.studio-cta { padding: 80px; text-align: center; }
.studio-cta-title { font-size: 36px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.studio-cta-desc { color: var(--text-dim); font-size: 16px; line-height: 1.7; max-width: 480px; margin: 0 auto 32px; }
@media (max-width: 768px) {
  .studio-block, .studio-cta { padding: 40px 24px; }
  .studio-block-title { font-size: 36px; }
  .studio-cta-title { font-size: 28px; }
  .editorial-header { min-height: 0; padding: 32px 24px; gap: 8px; }
  .editorial-header h1 { font-size: 36px; }
  .editorial-sub { font-size: 18px; }
}
