
:root {
  --bg: #080808;
  --bg-soft: #101010;
  --bg-card: #141414;
  --text: #f2eee8;
  --muted: #b7aea3;
  --muted-2: #81786f;
  --line: rgba(242, 238, 232, .16);
  --line-strong: rgba(242, 238, 232, .28);
  --accent: #f2eee8;
  --shadow: 0 24px 70px rgba(0, 0, 0, .46);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--text);
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.site-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px clamp(18px, 4vw, 56px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.30), rgba(0,0,0,0));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(242, 238, 232, .74);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color .22s ease, opacity .22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a::after{
  content:"";
  display:block;
  margin-top:6px;
  height:1px;
  width:0;
  background:var(--text);
  transition:width .25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{
  width:100%;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: start;
  justify-items: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,.08) 38%, rgba(0,0,0,.55) 100%),
    url("../img/portada.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(145px, 22vh, 220px) 24px 0;
  width: 100%;
}

.hero-title {
  margin: 0;
  font-family: Anton, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(42px, 7vw, 108px);
  line-height: .88;
  letter-spacing: .015em;
  text-transform: uppercase;
  font-weight: 400;
  text-shadow: 0 5px 18px rgba(0,0,0,.55);
}

.hero-subtitle {
  margin: 8px 0 0;
  font-size: clamp(16px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: .07em;
  color: rgba(242,238,232,.95);
  text-shadow: 0 5px 18px rgba(0,0,0,.75);
}

.hero-note {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(242,238,232,.7);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

main {
  padding-top: 92px;
  min-height: calc(100vh - 80px);
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 100px;
}

.page-narrow {
  max-width: 920px;
}

.page-title {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .94;
  margin: 0 0 34px;
  letter-spacing: -.055em;
  font-weight: 760;
}

.kicker {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.lead {
  max-width: 850px;
  margin: 0 0 36px;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.17;
  letter-spacing: -.04em;
  color: var(--text);
  font-weight: 450;
}

.text {
  max-width: 800px;
  color: var(--muted);
  font-size: 18px;
}

.text p { margin: 0 0 18px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--bg);
  background: var(--text);
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .18s ease, opacity .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  opacity: .9;
}

.button.secondary {
  background: transparent;
  color: var(--text);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.member-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.member-card-content {
  padding: 26px;
}

.member-card h2 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.member-card p {
  margin: 0;
  color: var(--muted);
}

.guest-note {
  margin-top: 46px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  max-width: 820px;
}

.guest-note strong {
  color: var(--text);
}

.feature-image {
  margin: 0 0 40px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-image img {
  height: min(68vh, 620px);
  object-fit: cover;
}

.timeline {
  border-top: 1px solid var(--line-strong);
}

.timeline-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.timeline-date {
  font-weight: 700;
  color: var(--text);
}

.timeline-place {
  color: var(--muted);
}

.timeline-film {
  color: var(--text);
  font-style: italic;
}

.gallery-section {
  margin-top: 54px;
}

.sub-title {
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 24px;
  letter-spacing: -.04em;
  line-height: 1;
}

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

.photo-item {
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.photo-item img {
  height: 280px;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}

.photo-item:hover img {
  transform: scale(1.035);
  opacity: .86;
}

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

.video-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-content {
  padding: 16px;
  color: var(--muted);
  font-size: 15px;
}

.video-card-content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticket-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ticket-info {
  padding: clamp(28px, 5vw, 54px);
}

.ticket-info h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -.055em;
  line-height: .95;
}

.ticket-info p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 24px;
}

.ticket-image img {
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.contact-layout {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-photo {
  background: url("../img/post-funcion.jpg") center / cover no-repeat;
  min-height: 520px;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 19px;
}

.contact-item:hover {
  color: var(--text);
}

.icon-circle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--text);
}

.icon-circle svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  text-align: center;
  padding: 28px 20px;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal .6s ease forwards;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0,0,0,.88);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  width: auto;
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .photo-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ticket-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .ticket-image img {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    padding: 18px 16px;
  }

  .nav-links {
    gap: 10px 16px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .hero {
    background-position: center top;
  }

  .hero-inner {
    padding-top: 110px;
  }

  main {
    padding-top: 118px;
  }

  .page {
    padding-top: 34px;
    padding-bottom: 72px;
  }

  .grid-two,
  .photo-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .feature-image img,
  .photo-item img {
    height: auto;
  }

  .contact-item {
    align-items: flex-start;
    font-size: 17px;
  }
}
