/* ════════════════════════════════════════════════════════════════════
   ACCESO CULTURAL — layout & pantallas (Vino)
   ════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────  TOPBAR  ─────────────────────────── */
.topbar {
  position: sticky;
  top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
/* en la portada el topbar va TRANSPARENTE sobre el video y se desplaza con la página */
.topbar--overlay {
  position: absolute; left: 0; right: 0; top: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.topbar--overlay .brand__txt,
.topbar--overlay .brand__mark { text-shadow: 0 1px 12px rgba(10,3,7,.6); filter: drop-shadow(0 1px 8px rgba(10,3,7,.6)); }
.topbar--overlay.is-scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.topbar--overlay.is-scrolled .brand__txt,
.topbar--overlay.is-scrolled .brand__mark { text-shadow: none; filter: none; }
.topbar__in {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; color: var(--ink); flex: none; }
.brand__txt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.brand__txt .dot { color: var(--gold); font-size: 13px; line-height: 0; }
.topbar .btn--wa svg { width: 17px; height: 17px; }
/* Boletería como pill contorneada (no verde plena) — match referencia */
.topbar .btn--ghost.btn--wa { background: transparent; color: var(--gold); border: 1.5px solid var(--line); }
.topbar .btn--ghost.btn--wa:hover { border-color: var(--gold); filter: none; }
.topbar .btn--ghost.btn--wa svg { color: #25D366; }
@media (max-width: 560px) {
  .topbar .btn--wa .lbl { display: none; }
  .topbar .btn--wa { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
}

/* ───────────────────────────  HERO  ─────────────────────────── */
.hero {
  position: relative;
  min-height: min(86vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg .ph { width: 100%; height: 100%; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,8,16,.35) 0%, rgba(20,8,16,.2) 30%, rgba(20,8,16,.82) 78%, var(--bg) 100%),
    linear-gradient(95deg, rgba(20,8,16,.7) 0%, rgba(20,8,16,0) 60%);
}
.hero__in {
  position: relative; z-index: 1;
  padding: 60px 0 56px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(40px, 9vw, 86px);
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  max-width: 13ch;
  text-wrap: balance;
}
.hero h1 .em { color: var(--gold); font-style: italic; }
.hero__sub {
  margin: 20px 0 30px;
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
  background: none; border: 0; padding: 8px 2px;
}
.scroll-cue svg { width: 15px; height: 15px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ───────────────  HERO CENTRADO (variante portada)  ─────────────── */
.hero--center {
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, #2A1020 0%, #1A0714 48%, #120409 100%);
}
/* video de fondo */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  background: #1A0714;
  pointer-events: none;
}
/* velo vino para legibilidad del texto (el video ya es oscuro → velo suave) */
.hero__veil {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18,4,9,.26) 0%, rgba(18,4,9,.08) 16%, rgba(18,4,9,.08) 54%, rgba(18,4,9,.22) 82%, rgba(18,4,9,.40) 100%);
}
.hero--center .hero__in { padding: 40px 0; display: flex; flex-direction: column; align-items: center; }
/* spotlight detrás del título */
.hero__spot {
  position: absolute; z-index: 0;
  top: 50%; left: 50%; transform: translate(-50%, -54%);
  width: min(720px, 92vw); height: min(560px, 70vh);
  background: radial-gradient(circle at 50% 45%, rgba(226,184,78,.10), rgba(226,184,78,.04) 38%, transparent 64%);
  pointer-events: none;
}
/* arco superior tenue */
.hero--center::before {
  content: ""; position: absolute; z-index: 0;
  top: 8%; left: 50%; transform: translateX(-50%);
  width: min(960px, 96vw); height: 320px;
  border: 1px solid rgba(226,184,78,.10);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 90% 90% 0 0;
  pointer-events: none;
}
/* símbolo centrado, sobre el título */
.hero__symbol {
  position: relative; z-index: 1;
  color: var(--ink);
  width: clamp(46px, 7vw, 82px); height: auto;
  margin-bottom: 6px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.5));
  animation: floaty 5s ease-in-out infinite;
}
.hero__symbol svg { width: 100%; height: auto; display: block; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 720px) { .hero--center .hero__in { padding-top: 40px; } }
.eyebrow--center { justify-content: center; position: relative; z-index: 1; }
.eyebrow--center::after { content: ""; width: 22px; height: 1px; background: var(--gold); opacity: .7; }
.hero__title {
  position: relative; z-index: 1;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(38px, 9vw, 104px);
  line-height: 0.98; letter-spacing: -0.02em;
  margin: 16px 0 0;
  white-space: nowrap;
  text-shadow: 0 2px 30px rgba(10,3,7,.55), 0 1px 4px rgba(10,3,7,.4);
}
.hero__tagline {
  position: relative; z-index: 1;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(20px, 3.4vw, 30px);
  color: var(--muted);
  margin: 16px 0 0;
}
.hero__tagline .em { color: var(--gold); font-style: italic; }
.hero__cta {
  position: relative; z-index: 1;
  margin-top: 34px;
  box-shadow: var(--sh-gold);
}
.hero--center .scroll-cue { margin-top: 22px; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.hero--center .scroll-cue svg { width: 18px; height: 18px; }

/* ─────────────────────  TRUST STRIP  ───────────────────── */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
}
.trust__item {
  display: flex; align-items: center; gap: 12px;
  padding: 20px var(--gutter);
  background: var(--bg-2);
}
.trust__item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.trust__item .t { font-weight: 700; font-size: 14px; }
.trust__item .s { font-size: 12px; color: var(--faint); }
@media (max-width: 760px) {
  .trust__in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .trust__item { padding: 15px var(--gutter); }
  .trust__item .s { display: none; }
}

/* ─────────────────────  CARTELERA  ───────────────────── */
.cartelera { padding: 28px 0 40px; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.sec-head h2 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.015em; }
.sec-head .lead { margin: 8px 0 0; color: var(--muted); max-width: 40ch; }

/* "Ver cartelera" cae acá: filtros pegados arriba y la 1ra fila de tarjetas COMPLETA a la vista */
#filters { scroll-margin-top: 28px; }
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.filters {
  display: flex; gap: 9px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.toolbar .search { width: 100%; max-width: 460px; order: -1; }
@media (min-width: 720px) {
  .filters { flex-wrap: wrap; overflow: visible; }
}

/* grid */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

/* ─────────────────────  CARD  ───────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold-soft); box-shadow: var(--sh-lg); }
.card__poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.card__poster .ph, .card__poster img { width: 100%; height: 100%; object-fit: cover; }
.card__poster .emoji {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 64px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.4));
}
.card__poster .genre {
  position: absolute; left: 13px; top: 13px;
}
.card__poster .flag {
  position: absolute; right: 13px; top: 13px;
}
.card__body { padding: 17px 18px 19px; display: flex; flex-direction: column; flex: 1; }
.card__sala {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card__sala svg { width: 12px; height: 12px; }
.show-name { font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.04; letter-spacing: -0.01em; margin: 0 0 9px; }
.card__when {
  display: flex; flex-wrap: wrap; gap: 5px 14px;
  font-size: 13.5px; color: var(--muted);
  margin-bottom: 11px;
}
.card__when span { display: inline-flex; align-items: center; gap: 6px; }
.card__when svg { width: 14px; height: 14px; opacity: .75; flex: none; }
.card__desc {
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
  margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 15px; border-top: 1px solid var(--line);
}
.price-from .l { display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.price-from .v { font-family: var(--display); font-weight: 600; font-size: 22px; }
.price-from .v small { font-size: 13px; color: var(--muted); font-family: var(--ui); font-weight: 600; }

/* scroll cue under grid */
.scroll-cue-row { display: flex; justify-content: center; margin-top: 26px; }

/* ─────────────────────  FOOTER  ───────────────────── */
.footer {
  margin-top: 0;
  background: var(--bg-2);
  padding: 48px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 40px;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin: 0 0 16px;
  display: inline-flex; align-items: center; gap: 9px;
}
.footer h4::before { content:""; width: 18px; height: 1px; background: var(--gold); opacity: .6; }
.sala-pill {
  display: block; width: 100%; text-align: left;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: 14px;
  padding: 11px 14px; border-radius: var(--r);
  margin-bottom: 9px;
  transition: border-color .15s, background .15s;
}
.sala-pill:hover { border-color: var(--gold); background: var(--surface-2); }
.sala-pill small { display:block; font-weight: 500; color: var(--faint); font-size: 12px; margin-top: 2px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__brand svg { width: 30px; height: 30px; color: var(--ink); }
.footer__brand b { font-family: var(--display); font-weight: 600; font-size: 19px; }
.footer__brand b .dot { color: var(--gold); }
.contact-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink);
  margin-bottom: 11px;
  text-decoration: none;
}
.contact-line svg { width: 16px; height: 16px; color: var(--gold); margin-top: 2px; flex: none; }
.contact-line small { color: var(--faint); }
.social-row { display: flex; gap: 10px; margin-bottom: 26px; }
.legal-links { display: flex; flex-direction: column; gap: 11px; }
.legal-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.legal-links a:hover { color: var(--gold); }
.footer__bar {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 12.5px; color: var(--faint);
}
.footer__bar .seals { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__bar .seal {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 11px;
}
.footer__bar .seal svg { width: 13px; height: 13px; color: var(--gold); }

/* ═══════════════════  PLACEHOLDER (striped svg)  ═══════════════════ */
.ph-note {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,.85); background: rgba(20,8,16,.5);
  padding: 3px 7px; border-radius: 5px; backdrop-filter: blur(3px);
}
