/* ==========================================================================
   STAGE SUPPORT — Design System
   Colores de marca: Amarillo #EAF400 · Blanco #FFFFFF · Negro #0D0D0D
   Tipografías: Bebas Neue (display) + Open Sans (texto)
   ========================================================================== */

:root{
  --yellow: #EAF400;
  --yellow-dim: #c3cc00;
  --black: #0D0D0D;
  --ink: #171717;      /* superficie ligeramente elevada sobre negro */
  --white: #FFFFFF;
  --gray: #6E6E6E;      /* texto secundario sobre blanco */
  --gray-light: #E7E7E7;

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-subtitle: 'Space Grotesk', 'Arial', sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;

  --container: 1200px;
  --radius: 2px;
  --header-h: 84px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  letter-spacing: .03em;
  line-height: 1.05;
  margin: 0 0 .4em;
  text-transform: uppercase;
}
h1{ font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 5rem); }
h2{ font-family: var(--font-subtitle); font-weight:700; letter-spacing:0; font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3{ font-family: var(--font-subtitle); font-weight:700; letter-spacing:0; font-size: 1.2rem; }
h4{ font-family: var(--font-subtitle); font-weight:700; letter-spacing:0; }
p{ margin: 0 0 1em; }
.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:.5em;
  font-family: var(--font-display);
  color: var(--yellow);
  letter-spacing: .18em;
  font-size: .85rem;
  margin-bottom: .6em;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 3px;
  background: var(--yellow);
  display:inline-block;
}
.section{ padding: 88px 0; }
.section--dark{ background: var(--black); color: var(--white); }
.section--tight{ padding: 56px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.btn{
  font-family: var(--font-display);
  letter-spacing: .08em;
  font-size: .95rem;
  display:inline-flex; align-items:center; gap:.5em;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
  padding: .8em 1.6em;
  cursor:pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.btn:hover{ background: var(--black); color: var(--yellow); transform: translateY(-2px); }
.btn--outline{ background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover{ background: var(--white); color: var(--black); border-color:var(--white); }
.btn--dark{ background: var(--black); color: var(--yellow); border-color: var(--black); }
.btn--dark:hover{ background: var(--yellow); color: var(--black); }
.btn--sm{ padding: .55em 1.2em; font-size:.85rem; }

/* -------------------- Separador fino (sustituye al antiguo "truss") ------ */
.hairline{ height:1px; width:100%; background: #e5e5e5; }
.hairline--dark{ background:#262626; }

/* ------------------------------- Header ------------------------------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid #232323;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: var(--header-h);
}
.logo{
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: .04em;
  color: var(--white);
  display:flex; align-items:baseline; gap:.15em;
}
.logo span{ color: var(--yellow); }
.logo img{ height: 40px; width:auto; max-width:100%; object-fit:contain; }

.nav{ display:flex; align-items:center; gap: 6px; }
.nav > ul{ display:flex; align-items:center; gap: 2px; }
.nav a{
  font-family: var(--font-display);
  color: var(--white);
  font-size: .95rem;
  letter-spacing: .08em;
  padding: 10px 14px;
  display:block;
  position:relative;
}
.nav a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:6px; height:2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after, .nav li.active a::after{ transform: scaleX(1); }
.nav li.active a{ color: var(--yellow); }

.nav li.has-sub{ position:relative; }
.nav .sub{
  position:absolute; top: 100%; left:0; min-width: 200px;
  background: var(--ink); border-top: 3px solid var(--yellow);
  display:none; padding: 6px 0; box-shadow: 0 12px 24px rgba(0,0,0,.35);
}
.nav li.has-sub:hover .sub{ display:block; }
.nav .sub a{ padding: 10px 18px; font-size:.85rem; }
.nav .sub a::after{ display:none; }
.nav .sub a:hover{ background: rgba(234,244,0,.08); color: var(--yellow); }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px;
}
.nav-toggle span{ width:26px; height:2px; background: var(--white); }

.lang-switch{ display:flex; align-items:center; gap:2px; margin-left: 14px; }
.lang-switch button{
  font-family: var(--font-display); letter-spacing:.05em; font-size:.78rem;
  background:none; border:1px solid transparent; color:#8a8a8a; padding:4px 7px; cursor:pointer;
}
.lang-switch button.is-active{ color: var(--yellow); border-color:#3a3a3a; }
.lang-switch button:hover{ color: var(--white); }

@media (max-width: 960px){
  .nav-toggle{ display:flex; }
  .nav{
    position:fixed; inset: var(--header-h) 0 0 0; background: var(--black);
    flex-direction:column; align-items:stretch; padding: 20px 0;
    transform: translateY(-110%); transition: transform .25s ease; overflow-y:auto;
  }
  .nav.open{ transform: translateY(0); }
  .nav > ul{ flex-direction:column; align-items:stretch; gap:0; }
  .nav a{ padding: 16px 24px; font-size: 1.1rem; }
  .nav .sub{ position:static; display:block; background: transparent; border-top:0; padding-left: 12px; box-shadow:none; }
  .nav li.has-sub:hover .sub{ display:block; }
}

/* -------------------------------- Hero --------------------------------- */
.hero{
  position:relative; background: var(--black); color: var(--white);
  overflow:hidden;
}
.slider{ position:relative; height: calc(100vh - var(--header-h)); min-height: 480px; }
.slide{
  position:absolute; inset:0; opacity:0; transition: opacity .8s ease;
  display:flex; align-items:flex-end;
}
.slide.is-active{ opacity:1; }
.slide__bg{
  position:absolute; inset:0;
  background-size: cover; background-position:center;
}
.slide__video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.slide__bg::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(13,13,13,.4) 0%, rgba(13,13,13,.05) 40%, rgba(13,13,13,.12) 100%);
}
.slide__content{ position:relative; z-index:2; padding: 60px 0 64px; width:100%; text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.slide__content .eyebrow{ color: var(--yellow); }
.slide__content .slide__title{ font-family:var(--font-display); font-size:clamp(2.6rem,6vw,5rem); letter-spacing:.03em; margin-bottom:.25em; }
.slide__content p{ max-width: 560px; font-size:1.05rem; color: #d8d8d8; }

.slider-dots{
  position:absolute; z-index:3; bottom: 20px; right: 26px;
  display:flex; gap:0;
}
.slider-dots button{
  position:relative; width:24px; height:24px; border:0; background:transparent; padding:0; cursor:pointer;
}
.slider-dots button::before{
  content:""; position:absolute; inset:7px; border-radius:50%; border:2px solid var(--yellow);
}
.slider-dots button.is-active::before{ background: var(--yellow); }
.slider-arrows{ position:absolute; z-index:3; bottom: 26px; left:32px; display:flex; gap:10px; }
.slider-arrows button{
  width:38px; height:38px; border:1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.35);
  color:var(--white); cursor:pointer; font-family: var(--font-display); font-size:1.1rem;
}
.slider-arrows button:hover{ background: var(--yellow); color:var(--black); border-color:var(--yellow); }

/* placeholder de imagen de slide mientras no hay fotos reales */
.slide__bg.is-placeholder{
  background:
    radial-gradient(circle at 20% 20%, rgba(234,244,0,.18), transparent 45%),
    repeating-linear-gradient(135deg, #1b1b1b 0 2px, #141414 2px 34px);
}

/* ------------------------------ Actuaciones ------------------------------ */
/* Listado limpio de fechas: badge de día + info + botón de entradas,
   separadas por una línea fina — sin cuadrícula ni cajas de color. */
.event-list{ display:flex; flex-direction:column; }
.event-row{
  display:flex; align-items:center; gap:24px;
  padding: 22px 0; border-bottom: 1px solid #e5e5e5;
}
.event-row__poster{
  width:76px; height:100px; object-fit:cover; flex-shrink:0; background:#111; border:1px solid #e5e5e5;
}
.section--dark .event-row__poster{ border-color:#333; }
.event-row__date{ flex:0 0 64px; text-align:center; font-family: var(--font-display); line-height:1; }
.event-row__date .d{ font-size: 1.9rem; }
.event-row__date .m{ font-size:.72rem; letter-spacing:.12em; color: var(--gray); }
.event-row__info{ flex: 1 1 auto; min-width:0; }
.event-row__info h3{ font-size: 1.05rem; margin:0 0 .2em; }
.event-row__meta{ font-size:.85rem; color: var(--gray); }
.event-row__cta{ flex: 0 0 auto; }
.event-row__cta .btn{ padding:.55em 1.2em; font-size:.8rem; }
.event-empty{
  border:1px solid #e5e5e5; color:#9a9a9a; padding: 32px; text-align:center;
  font-family: var(--font-display); letter-spacing:.06em;
}

/* Variante para secciones oscuras (portada) */
.section--dark .event-row{ border-bottom-color:#262626; }
.section--dark .event-row__date .d{ color: var(--yellow); }
.section--dark .event-row__date .m{ color:#a8a8a8; }
.section--dark .event-row__info h3{ color: var(--white); }
.section--dark .event-row__meta{ color:#a8a8a8; }
.section--dark .event-empty{ border-color:#262626; color:#8a8a8a; }

.year-nav{ display:flex; gap:8px; align-items:center; }

/* -------------------------------- Noticias ------------------------------- */
.news-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 28px;
}
.news-card{ background: var(--white); }
.news-card__img{ aspect-ratio: 16/10; overflow:hidden; background:#111; }
.news-card__img img{ width:100%; height:100%; object-fit:contain; transition: transform .4s ease; }
.news-card:hover .news-card__img img{ transform: scale(1.05); }
.news-card__img.is-placeholder{
  display:flex; align-items:center; justify-content:center;
  background: repeating-linear-gradient(135deg,#1b1b1b 0 2px,#141414 2px 34px);
  color:#565656; font-family: var(--font-display); letter-spacing:.08em;
}
.news-card__body{ padding: 20px 4px 0; }
.news-card__date{ font-size:.78rem; letter-spacing:.1em; color: var(--gray); text-transform:uppercase; margin-bottom:.5em; }
.news-card h3{ font-size:1.25rem; margin-bottom:.4em; }
.news-card__encabezado{
  font-family: var(--font-subtitle); font-weight:500; color: var(--gray);
  font-size:.98rem; text-transform:none; letter-spacing:0;
}
.news-card p{ color: var(--gray); font-size:.95rem; }

.noticia-grid{ display:grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items:start; margin-top: 1.5em; }
.noticia-gallery{ height: min(50vh, 440px); min-height:260px; }
.noticia-content .noticia-cuerpo{ margin-top: 1em; }
.noticia-encabezado{
  font-family: var(--font-subtitle); font-weight:500; color: var(--gray); font-size:1.15rem;
}
@media (max-width: 860px){
  .noticia-grid{ grid-template-columns: 1fr; gap: 24px; }
}
.noticia-cuerpo{ font-size:1.05rem; }
.noticia-cuerpo, .noticia-cuerpo *{ font-family: var(--font-body) !important; }
.noticia-cuerpo p{ margin-bottom: 1.1em; }

/* -------------------------------- Roster -------------------------------- */
.roster-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 36px; }
.roster-tabs a, .roster-tabs button{
  font-family: var(--font-display); letter-spacing:.06em; font-size:.9rem;
  padding: .6em 1.2em; border:2px solid var(--black); color:var(--black);
  background:none; cursor:pointer;
}
.roster-tabs a.active, .roster-tabs a:hover,
.roster-tabs button.active, .roster-tabs button:hover{ background: var(--black); color: var(--yellow); }
.roster-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 24px;
}
.roster-card{ position:relative; overflow:hidden; background:#111; aspect-ratio:3/4; }
.roster-card__img{ position:absolute; inset:0; }
.roster-card__img.is-placeholder{
  background: repeating-linear-gradient(135deg,#1b1b1b 0 2px,#141414 2px 34px);
}
.roster-card__overlay{
  position:absolute; left:0; right:0; bottom:0; padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.92), transparent);
  color: var(--white);
}
.roster-card__overlay .cat{ color: var(--yellow); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }
.roster-card__overlay h3{ font-size:1.1rem; margin:0; }

/* -------------------------------- Ficha de roster ------------------------- */
.ficha-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.ficha-info-grid{ display:grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items:start; }
.ficha-left{ display:flex; flex-direction:column; }
.ficha-descripcion{ font-size:1.05rem; }
.ficha-descripcion, .ficha-descripcion *{ font-family: var(--font-body) !important; }
.ficha-descripcion p{ margin-bottom: 1.1em; }
.ficha-campos{
  margin-top: 1.6em; display:grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 14px 32px; border-top: 1px solid #ececec; padding-top: 1.4em;
}
.ficha-campos > div{ margin:0; }
.ficha-campos dt{ display:block; font-family:var(--font-subtitle); font-weight:700; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; color:var(--gray); margin-bottom:.2em; }
.ficha-campos dd{ display:block; margin:0; font-size:1rem; }
@media (max-width: 860px){
  .ficha-info-grid{ grid-template-columns: 1fr; gap: 32px; }
}
.ficha-right{ display:flex; flex-direction:column; gap:16px; }
.ficha-social{ display:flex; gap:10px; flex-wrap:wrap; }
.ficha-social a{
  width:40px; height:40px; border-radius:50%; border:1px solid #d8d8d8;
  display:flex; align-items:center; justify-content:center; color: var(--black);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ficha-social a:hover{ background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.ficha-gallery{
  position:relative; height: min(50vh, 460px); min-height:280px; background:var(--black); overflow:hidden;
  border-radius: 6px;
}
.ficha-gallery .slide{ position:absolute; inset:0; opacity:0; transition:opacity .6s ease; }
.ficha-gallery .slide.is-active{ opacity:1; }
.ficha-gallery .slide img{ width:100%; height:100%; object-fit:contain; }
.ficha-gallery .slide__bg.is-placeholder{
  width:100%; height:100%;
  background: repeating-linear-gradient(135deg,#1b1b1b 0 2px,#141414 2px 34px);
}
.ficha-gallery-dots{ position:absolute; z-index:3; bottom:10px; left:0; right:0; display:flex; justify-content:center; gap:0; }
.ficha-gallery-dots button{ position:relative;width:24px;height:24px;border:0;background:transparent;padding:0;cursor:pointer; }
.ficha-gallery-dots button::before{ content:"";position:absolute;inset:7px;border-radius:50%;border:2px solid var(--yellow); }
.ficha-gallery-dots button.is-active::before{ background:var(--yellow); }

.videos-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap:20px; }
.video-embed{ position:relative; aspect-ratio:16/9; background:#000; }
.video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.portfolio-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap:4px;
}
.portfolio-item{ aspect-ratio:1/1; background:#111; position:relative; overflow:hidden; }
.portfolio-item img{ width:100%; height:100%; object-fit:cover; }
.portfolio-item.is-placeholder{ background: repeating-linear-gradient(135deg,#1b1b1b 0 2px,#141414 2px 34px); }

/* -------------------------------- Acordeón (Eventos) --------------------- */
.accordion-item{
  background: var(--white); border:1px solid #e5e5e5; margin-bottom:14px; overflow:hidden;
}
.accordion-item.is-open{ background: var(--yellow); border-color: var(--yellow); }
.accordion-trigger{
  width:100%; text-align:left; background:none; border:0; cursor:pointer;
  padding: 22px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.accordion-trigger h3{ margin:0; font-size:1.15rem; }
.accordion-trigger .plus{ font-family: var(--font-display); font-size:1.4rem; flex-shrink:0; }
.accordion-panel{ max-height:0; overflow:hidden; transition: max-height .3s ease; }
.accordion-item.is-open .accordion-panel{ max-height: 900px; }
.accordion-panel p{ margin:0; padding: 0 24px 22px; color:#1a1a1a; }
.accordion-panel .sub-block{ padding: 0 24px 22px; }
.accordion-panel .sub-block h4{
  font-family: var(--font-subtitle); font-size:.85rem; letter-spacing:.06em;
  color:#8a8f00; margin-bottom:.3em;
}
.accordion-panel .sub-block p{ padding:0; color:#1a1a1a; }

.workflow{ display:grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.workflow-step{ text-align:center; }
.workflow-step .icon{
  width:52px; height:52px; margin: 0 auto 14px; color: var(--yellow);
  display:flex; align-items:center; justify-content:center;
}
.workflow-step .icon svg{ width:100%; height:100%; }
.workflow-step .step-num{ font-family: var(--font-display); color: var(--gray); font-size:.85rem; letter-spacing:.08em; }
.workflow-step h3{ font-size:1rem; margin:.1em 0 .5em; }
.workflow-step p{ font-size:.9rem; color: var(--gray); }
@media (max-width: 960px){
  .workflow{ grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
}
@media (max-width: 560px){
  .workflow{ grid-template-columns: repeat(2, 1fr); }
}

.connect-banner{
  position:relative; overflow:hidden; padding: 56px 24px; text-align:center;
  background: linear-gradient(120deg, #cdd600, var(--yellow));
}
.connect-banner h2{ position:relative; margin-bottom:.3em; }
.connect-banner p{ position:relative; font-weight:600; margin:0; }
.connect-photos{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:4px; margin-top:0;
}
.connect-photos .portfolio-item{ aspect-ratio: 4/3; }

.follow-banner{
  position:relative; overflow:hidden; padding: 64px 24px; text-align:center;
  background-size:cover; background-position:center;
}
.follow-banner::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(120deg, rgba(205,214,0,.88), rgba(234,244,0,.88));
}
.follow-banner > *{ position:relative; z-index:1; }
.follow-banner p{ font-weight:600; max-width:560px; margin:0 auto 24px; color:#111; }
.follow-banner .social-row{ justify-content:center; gap:14px; }
.follow-banner .social-row a{
  width:44px; height:44px; border-radius:50%; background: var(--black); color: var(--white);
  display:flex; align-items:center; justify-content:center; border:0;
}
.follow-banner .social-row a:hover{ background: var(--white); color: var(--black); }

/* -------------------------------- Contacto -------------------------------- */
.contact-grid{
  display:grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items:start;
}
.contact-info p{ color: var(--gray); }
.contact-info .highlight{ font-weight:700; }
.contact-info .highlight a{ text-decoration:underline; }
.contact-info address{ font-style:normal; font-weight:700; margin:1.2em 0; }
.field-check{ display:flex; align-items:flex-start; gap:10px; }
.field-check input{ margin-top:.3em; flex-shrink:0; }
.field-check label{ font-size:.85rem; color: var(--gray); margin:0; }
@media (max-width: 860px){
  .contact-grid{ grid-template-columns: 1fr; gap:40px; }
}
.form-grid{ display:grid; gap: 18px; max-width: 640px; }
.field label{ display:block; font-size:.85rem; letter-spacing:.04em; margin-bottom:.4em; color: var(--gray); }
.field input, .field textarea, .field select{
  width:100%; border: 1px solid #cfcfcf; padding: .8em 1em; font-family: var(--font-body);
  font-size: 1rem; background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline: 2px solid var(--yellow); outline-offset:1px; border-color: var(--yellow);
}
.form-note{ font-size:.85rem; color: var(--gray); }
.form-success{ background:#eefbe0; border-left:4px solid #6db300; padding:14px 18px; display:none; }
.form-success.is-visible{ display:block; }

/* -------------------------------- Lightbox -------------------------------- */
.lightbox-overlay{
  position: fixed; inset:0; z-index: 400; background: rgba(0,0,0,.92);
  display:none; align-items:center; justify-content:center; padding: 48px;
}
.lightbox-overlay.is-open{ display:flex; }
.lightbox-img{ max-width:100%; max-height:100%; object-fit:contain; }
.lightbox-close{
  position:absolute; top:20px; right:24px; background:none; border:0; color:#fff;
  font-size:1.6rem; cursor:pointer; width:44px; height:44px;
}
.lightbox-close:hover{ color: var(--yellow); }
.event-row__poster{ cursor: pointer; }

/* -------------------------------- Aviso de cookies ------------------------ */
.cookie-banner{
  position: fixed; left:0; right:0; bottom:0; z-index: 300;
  background: var(--black); color:#d8d8d8; border-top:1px solid #262626;
  padding: 18px 24px; display:flex; align-items:center; justify-content:space-between;
  gap:20px; flex-wrap:wrap; font-size:.88rem;
}
.cookie-banner a{ color: var(--yellow); text-decoration:underline; }
.cookie-banner__text{ max-width:720px; }
.cookie-banner__actions{ display:flex; gap:10px; flex-shrink:0; }
@media (max-width:600px){
  .cookie-banner{ flex-direction:column; align-items:flex-start; }
  .cookie-banner__actions{ width:100%; }
  .cookie-banner__actions .btn{ flex:1; justify-content:center; }
}

/* -------------------------------- Página genérica ------------------------ */
.page-hero{
  background: var(--black); color: var(--white); padding: 64px 0 40px;
}
.page-hero p{ color:#c9c9c9; max-width:640px; }
.coming-soon{
  border:1px dashed #d0d0d0; padding: 48px; text-align:center; color: var(--gray);
}

/* -------------------------------- Footer -------------------------------- */
.site-footer{ background: var(--black); color: #d8d8d8; border-top: 1px solid #232323; }
.footer-top{ padding: 64px 0 40px; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer-heading{ font-family: var(--font-subtitle); font-weight:700; text-transform:uppercase; color: var(--white); font-size:1rem; letter-spacing:.08em; line-height:1.05; margin:0 0 1em; }
.footer-grid .logo{ margin-bottom: 14px; }
.footer-contact li{ margin-bottom:.6em; font-size:.95rem; }
.footer-contact a:hover{ color: var(--yellow); }
.social-row{ display:flex; gap:10px; margin-top: 16px; }
.social-row a{
  width:34px; height:34px; border:1px solid #3a3a3a; display:flex; align-items:center; justify-content:center;
  font-size:.85rem; font-family: var(--font-display);
}
.social-row a:hover{ border-color: var(--yellow); color: var(--yellow); }
.footer-nav a{ display:block; padding: 5px 0; font-size:.92rem; }
.footer-nav a:hover{ color: var(--yellow); }

.sponsors{ border-top: 1px solid #262626; padding: 32px 0; }
.sponsors .label{ font-size:.78rem; letter-spacing:.14em; color:#8a8a8a; margin-bottom:16px; text-transform:uppercase; }
.sponsors-row{
  display:flex; flex-wrap:wrap; align-items:center; gap: 36px; opacity:.85;
}
.sponsor-slot{
  height:44px; width:140px; border:1px dashed #3a3a3a; display:flex; align-items:center; justify-content:center;
  color:#a3a3a3; font-size:.72rem; letter-spacing:.06em; text-align:center;
}
.sponsor-logo{
  height:44px; display:flex; align-items:center; filter: grayscale(1) brightness(1.6); opacity:.75;
  transition: filter .2s ease, opacity .2s ease;
}
.sponsor-logo:hover{ filter:none; opacity:1; }
.sponsor-logo img{ height:100%; width:auto; max-width:160px; object-fit:contain; }

.footer-bottom{
  border-top: 1px solid #1f1f1f; padding: 18px 0;
  display:flex; align-items:center; justify-content:space-between; gap: 16px; flex-wrap:wrap;
  font-size:.8rem; color:#7d7d7d;
}
.footer-bottom .legal a{ margin-left: 14px; }
.footer-bottom .legal a:hover{ color: var(--yellow); }

/* Botón secreto de acceso a administración: un punto discreto junto al
   copyright — no parece un botón convencional, pero sí es perceptible
   (un punto tenue) para quien sepa que está ahí, y se enciende en
   amarillo al pasar el cursor. */
.secret-admin{
  display:inline-flex; align-items:center; justify-content:center;
  width: 22px; height: 22px; margin-left: 2px; vertical-align:middle;
}
.secret-admin::before{
  content:""; display:block; width:7px; height:7px; border-radius:50%;
  background: rgba(255,255,255,.22); transition: background .3s ease;
}
.secret-admin:hover::before{ background: var(--yellow); }
.secret-admin:hover{ cursor:pointer; }

@media (max-width: 860px){
  .footer-grid{ grid-template-columns:1fr; }
}

/* Texto solo para lectores de pantalla y buscadores (p. ej. el h1 de la portada) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Contenido para rastreadores sin JavaScript: dentro de cada lista, se sustituye al pintarla. */
.ssr-fallback{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:normal; border:0; }

/* Preguntas frecuentes */
.faq-list{ display:grid; gap:10px; margin-top:18px; }
.faq-item{ border:1px solid #e0e0e0; background:var(--white); }
.faq-item summary{ cursor:pointer; padding:16px 18px; font-weight:700; font-family:var(--font-subtitle); list-style:none; display:flex; justify-content:space-between; gap:16px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-size:1.3rem; line-height:1; color:#555; }
.faq-item[open] summary::after{ content:'−'; }
.faq-item p{ margin:0; padding:0 18px 18px; color:#444; line-height:1.6; }

/* ---------- Conversión: formulario, CTA de ficha, banda, WhatsApp flotante ---------- */
.form-success strong{ display:block; font-size:1.05rem; margin-bottom:4px; }
.form-success__more{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:12px; font-size:.92rem; }
.field select{ width:100%; }

.cta-row{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:18px; }
.btn--wa{ background:#25d366; border-color:#25d366; color:#fff; }
.btn--wa:hover{ background:#1ebe5b; border-color:#1ebe5b; color:#fff; }
.btn--ghost{ background:transparent; color:inherit; border:2px solid currentColor; }

.cta-band{ background:var(--black,#111); color:#fff; padding:44px 0; }
.cta-band__inner{ display:flex; flex-wrap:wrap; gap:20px 32px; align-items:center; justify-content:space-between; }
.cta-band h2{ margin:0 0 6px; font-size:clamp(1.3rem,3vw,1.9rem); color:#fff; }
.cta-band p{ margin:0; opacity:.85; max-width:56ch; }
.cta-band .cta-row{ margin:0; }
.cta-band .btn--ghost{ color:#fff; }

.wa-float{ position:fixed; right:16px; bottom:16px; z-index:900; width:54px; height:54px; border-radius:50%;
  background:#25d366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,.28); transition:transform .15s; }
.wa-float:hover{ transform:scale(1.07); color:#fff; }
.wa-float svg{ width:28px; height:28px; fill:currentColor; }

/* Barra fija en móvil dentro de las fichas */
.sticky-cta{ display:none; }
@media (max-width:720px){
  .sticky-cta{ display:flex; gap:8px; position:fixed; left:0; right:0; bottom:0; z-index:950; padding:10px 12px;
    background:#fff; border-top:1px solid #ddd; box-shadow:0 -2px 12px rgba(0,0,0,.12); }
  .sticky-cta .btn{ flex:1; justify-content:center; padding-left:10px; padding-right:10px; }
  body.has-sticky-cta{ padding-bottom:68px; }
  body.has-sticky-cta .wa-float{ display:none; }
  .cookie-banner{ z-index:1000; }
}
@media (max-width:720px){ body.has-sticky-cta .ficha-cta{ display:none; } }
/* El botón de WhatsApp no tapa el aviso de cookies */
body:has(.cookie-banner) .wa-float{ bottom:96px; }
@media (max-width:720px){ body:has(.cookie-banner) .wa-float{ bottom:150px; } }

/* ===================== Revisión responsive ===================== */
/* Slider: altura real en móvil (barras del navegador) y límites en pantallas muy anchas/bajas */
.slider{ height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 440px; max-height: 920px; }
.slider{ touch-action: pan-y; }
.slide__content{ padding-bottom: 84px; }          /* deja sitio a flechas y puntos */
@media (max-width: 720px){
  .slider{ min-height: 420px; }
  .slide__content{ padding: 40px 0 84px; }
  .slide__content p{ font-size: 1rem; }
  .slider-arrows{ left: 16px; bottom: 18px; }
  .slider-arrows button{ width:44px; height:44px; }
  .slider-dots{ right: 8px; bottom: 22px; }
  .slider-dots button{ width:28px; height:28px; }
  .slider-dots button::before{ inset: 9px; }
}
/* Móvil apaisado: poca altura → el slide ocupa todo el alto visible sin mínimos exagerados */
@media (max-height: 520px) and (orientation: landscape){
  .slider{ height: calc(100svh - var(--header-h)); min-height: 300px; }
  .slide__content{ padding: 20px 0 64px; }
  .slide__content .slide__title{ font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .slide__content p{ display:none; }
  .slider-arrows, .slider-dots{ bottom: 12px; }
}

/* Menú móvil cerrado: no visible ni enfocable */
@media (max-width: 960px){
  .nav:not(.open){ visibility:hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .nav.open{ visibility:visible; transition: transform .25s ease; }
}

/* Zonas táctiles de al menos 40px */
.lang-switch button{ min-width:40px; min-height:40px; font-size:.82rem; }
.footer-nav a{ padding: 9px 0; }
.footer-contact li{ margin-bottom: .8em; }
.footer-contact a{ display:inline-block; padding: 2px 0; }
.ficha-gallery-dots button{ width:32px; height:32px; }
.ficha-gallery-dots button::before{ inset: 10px; }
.ficha-gallery{ touch-action: pan-y; }

/* Textos largos no desbordan */
h1, h2, h3, .ficha-head > *{ overflow-wrap: break-word; }
.ficha-head h1{ font-size: clamp(1.9rem, 8vw, 3.4rem); }
.ficha-head > div{ min-width: 0; max-width: 100%; }

/* Filas de eventos en pantallas estrechas: el botón baja bajo la información */
@media (max-width: 520px){
  .event-row{ flex-wrap: wrap; gap: 14px 16px; }
  .event-row__info{ flex: 1 1 calc(100% - 100px); }
  .event-row__cta{ flex: 1 1 100%; }
  .event-row__cta .btn{ width: 100%; justify-content: center; padding: .8em 1.2em; }
  .event-row__poster{ width: 60px; height: 80px; }
}
.container img, .container svg, .container video{ max-width: 100%; }
@media (max-width: 720px){
  .footer-contact a{ padding: 8px 0; }
  .footer-bottom a, .footer-legal a{ display:inline-block; padding: 10px 6px; }
  a.secret-admin{ padding: 10px; margin: -10px; }
}

/* Tarjetas de noticias: el botón «Leer más» siempre alineado abajo, aunque el texto tenga distinta longitud */
.news-card{ display:flex; flex-direction:column; }
.news-card__body{ display:flex; flex-direction:column; flex:1 1 auto; }
.news-card__body p{ margin-bottom: 1.1em; }
.news-card__body .btn{ margin-top:auto; align-self:flex-start; }

[data-lang-only][hidden]{ display:none !important; }
