/* ─────── EVENTOS A MEDIDA · gran plano cinematográfico ─────── */
.eventos {
  position: relative;
  background: var(--blanco);
  color: var(--carbon);
  padding: clamp(110px, 14vh, 180px) 0;
  overflow: hidden;
  isolation: isolate;
}

.eventos-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ─── HEADER ─── */
.eventos-header {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-areas:
    "eye  eye"
    "head intro";
  gap: 0 80px;
  align-items: end;
  margin-bottom: clamp(40px, 5vh, 64px);
}
.eventos-eyebrow { grid-area: eye; margin-bottom: 40px; }
.eventos-headline { grid-area: head; }
.eventos-intro { grid-area: intro; }

.eventos-headline {
  font-family: 'Alice', serif;
  font-size: clamp(34px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.014em;
  color: var(--carbon);
  max-width: 14ch;
}
.eventos-headline em { font-style: normal; color: var(--verde); display: block; }

.eventos-intro {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: #4A4A44;
  max-width: 440px;
  padding-bottom: 10px;
}

/* ─── CINEMA · gran plano a sangre + panel oscuro flotante ─── */
.eventos-cinema {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: clamp(540px, 72vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.eventos-cinema-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 18s linear;
}
.eventos-cinema:hover .eventos-cinema-img { transform: scale(1.05); }
.eventos-cinema-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,8,10,0.86) 0%, rgba(8,8,10,0.62) 36%, rgba(8,8,10,0.18) 66%, rgba(8,8,10,0.05) 100%),
    linear-gradient(0deg, rgba(8,8,10,0.4) 0%, transparent 40%);
}

/* Panel · alineado con el texto del header */
.eventos-cinema-panel {
  --pad: 56px;
  margin-left: calc(max(0px, (100vw - 1280px) / 2) + var(--pad));
  max-width: 460px;
  background: rgba(10,10,12,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: clamp(32px, 3vw, 48px);
  color: #fff;
}

.eventos-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--crema);
  margin-bottom: 24px;
}
.eventos-panel-label::before {
  content: '';
  width: 24px; height: 0;
  border-top: 1px solid rgba(248,245,239,0.45);
}

/* Formatos */
.eventos-formatos {
  list-style: none;
  margin-bottom: 32px;
}
.formato {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
}
.formato:first-child { padding-top: 0; }
.formato:last-child { border-bottom: 0; padding-bottom: 0; }
.formato-num {
  font-family: 'Alice', serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(248,245,239,0.55);
  flex-shrink: 0;
  padding-top: 3px;
}
.formato-name {
  font-family: 'Alice', serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 5px;
}
.formato-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
}

/* Aforo · KPIs en ficha técnica 2x2 */
.eventos-aforo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
  padding: 22px 0;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.aforo-pair {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.aforo-pair b {
  font-family: 'Alice', serif;
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 40px);
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

/* CTA */
.eventos-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #fff;
  background: var(--verde);
  border: 1px solid var(--verde);
  padding: 16px 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.eventos-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}
.eventos-cta:hover::before { transform: scaleX(1); transform-origin: left center; }
.eventos-cta:hover { color: #08080a; border-color: #fff; }
.eventos-cta-arrow {
  width: 18px; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}
.eventos-cta:hover .eventos-cta-arrow { width: 30px; }

/* Enlace secundario · a la página de eventos */
.eventos-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(248,245,239,0.72);
  border-bottom: 1px dashed rgba(248,245,239,0.45);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.eventos-more:hover { color: #fff; border-bottom-color: #fff; }

/* ─── Reveal ─── */
.eventos-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.eventos-reveal.is-in { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 820px) {
  .eventos { padding: 90px 0; }
  .eventos-inner { padding: 0 24px; }
  .eventos-header {
    grid-template-columns: 1fr;
    grid-template-areas: "eye" "head" "intro";
    margin-bottom: 32px;
  }
  .eventos-eyebrow { margin-bottom: 24px; }
  .eventos-headline { font-size: clamp(30px, 8.5vw, 48px); margin-bottom: 24px; }
  .eventos-intro { max-width: 100%; padding-bottom: 0; }

  .eventos-cinema { min-height: 0; padding: 56px 0; }
  .eventos-cinema-panel {
    --pad: 24px;
    margin-right: 24px;
    max-width: none;
  }
  .eventos-cinema-scrim {
    background: linear-gradient(0deg, rgba(8,8,10,0.85) 0%, rgba(8,8,10,0.55) 60%, rgba(8,8,10,0.45) 100%);
  }
}
