:root {
  --bg: #07110c;
  --ink: #f4f7ef;
  --muted: #c5d2c4;
  --lime: #8fce4a;
  --gold: #c6a15b;
  --line: rgba(198, 161, 91, 0.45);
  --card: rgba(16, 36, 24, 0.92);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, .btn { font-family: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 8vw)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 72px;
  padding: 0 4vw;
  background: rgba(7, 17, 12, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(143, 206, 74, 0.14);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
}
.nav-links { display: flex; gap: 1.25rem; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover { color: var(--lime); }
.socials { display: flex; gap: 0.45rem; }
.social {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}
.social svg { width: 16px; height: 16px; }
.social svg path { fill: currentColor; }
.social svg rect, .social svg circle { fill: none; stroke: currentColor; stroke-width: 1.6; }
.social svg circle[fill="currentColor"] { fill: currentColor; stroke: none; }
.social:hover { background: var(--lime); color: #10210f; }
.menu-btn, .menu-panel { display: none; }

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 4vw 3rem;
  overflow: hidden;
}
.roof {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 36vw);
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: top right;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}
.frame {
  display: none;
  position: absolute;
  pointer-events: none;
  object-fit: contain;
  height: auto;
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.eyebrow {
  margin: 0 0 0.35rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.75rem;
}
h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.9;
  color: var(--lime);
  text-transform: uppercase;
}
.hero .logo {
  width: min(210px, 54vw);
  height: auto;
  margin: 0.8rem auto 0.2rem;
  object-fit: contain;
}
.date-kicker {
  margin: 0.8rem 0 0;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}
.date {
  margin: 0.1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
}
.date span {
  display: block;
  font-size: 0.4em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.venue-line {
  margin: 0.7rem 0 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.3rem;
}
.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
}
.btn-primary { background: var(--lime); color: #10210f; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.spread {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
}
.poster { position: relative; }
.poster-vine {
  position: absolute;
  z-index: 2;
  right: -6%;
  top: -34%;
  width: 42%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.flyer-frame {
  position: relative;
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.flyer-frame img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.spread h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 0.95; }
.spread p { color: var(--muted); font-size: 1.05rem; max-width: 36rem; }

.participantes { padding: 1rem 0 2.5rem; text-align: center; }
.participantes h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.spot {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
  max-width: 980px;
  margin: 1rem auto 0;
}
.spot-stage { height: 380px; overflow: hidden; }
.spot-track { position: relative; height: 100%; margin: 0; padding: 0; list-style: none; }
.spot-card {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(360px, 72vw);
  height: 270px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(143, 206, 74, 0.22);
  background: radial-gradient(circle at 50% 42%, rgba(143, 206, 74, 0.18), transparent 70%), var(--card);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease, box-shadow 0.7s ease;
}
.spot-card img { max-width: 88%; max-height: 200px; width: auto; height: auto; object-fit: contain; }
.spot-card span { display: none; }
.spot-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(143, 206, 74, 0.35), 0 18px 40px rgba(47, 122, 62, 0.4);
  animation: logo-bg 2.8s ease-in-out infinite;
}
.spot-card.is-active img { animation: logo-float 2.8s ease-in-out infinite; }
.spot-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(7, 17, 12, 0.85);
  color: var(--lime);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.spot-name {
  min-height: 1.4em;
  margin: 0.35rem 0 0;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes logo-bg {
  0%, 100% { background-color: #102418; }
  50% { background-color: #2f8f4e; }
}

.programa { padding: 0.5rem 0 2.2rem; text-align: center; }
.programa-head { margin-bottom: 1.3rem; }
.programa-head h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 0.95; }
.programa-grid { grid-template-columns: 1fr 1fr; padding-bottom: 0; }

.acciones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  padding-bottom: 3rem;
}
.acciones section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 280px;
  padding: 1.4rem 1.1rem 1.3rem;
  border-radius: 20px;
  border: 1px solid rgba(143, 206, 74, 0.2);
  background: linear-gradient(180deg, rgba(31, 107, 58, 0.2), rgba(7, 17, 12, 0.4));
}
.acciones h2 { font-size: clamp(1.7rem, 2.2vw, 2.2rem); line-height: 1; }
.acciones p { color: var(--muted); margin: 0.45rem 0 0; }
.acciones .actions { margin-top: auto; padding-top: 1rem; }
.phone {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2vw, 2.15rem);
  line-height: 1;
  color: var(--lime);
  text-decoration: none;
}

.sede {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
  padding: 0.5rem 0 3.5rem;
}
.sede h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 0.95; }
address {
  font-style: normal;
  color: var(--muted);
  margin: 0.8rem 0 1.2rem;
  line-height: 1.7;
}
.sede iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 18px;
}

footer { padding: 0; overflow: hidden; }
.footer-scene {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tree {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 620px;
  width: auto;
  max-width: 22vw;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
}
.corner-branch {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(520px, 42vw);
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  transform: scaleY(-1);
  transform-origin: bottom right;
  pointer-events: none;
}
.footer-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(420px, 70vw);
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.logo-foot { width: 148px; margin: 0 auto 0.4rem; }
footer p { margin: 0.2rem 0; color: var(--muted); letter-spacing: 0.06em; }
.phone-foot { font-size: 1.7rem; }
footer .socials { justify-content: center; margin-top: 0.7rem; }

.lightbox {
  width: min(920px, 94vw);
  max-height: 92vh;
  padding: 0.6rem;
  border: 1px solid rgba(143, 206, 74, 0.35);
  border-radius: 16px;
  background: #07110c;
  color: var(--ink);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; margin: 0 auto; }
.lightbox form { display: flex; justify-content: flex-end; }
.close {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}

@media (min-width: 1100px) {
  .frame { display: block; }
  .frame-left { left: 0; top: 0; max-height: 100%; max-width: 16vw; }
}

@media (max-width: 900px) {
  .nav-links, .nav .socials { display: none; }
  .menu-btn {
    display: inline-flex;
    margin-left: auto;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
  }
  .menu-panel {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.3rem 6vw 1rem;
    background: rgba(7, 17, 12, 0.96);
  }
  .menu-panel[hidden] { display: none; }
  .menu-panel a { text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; }
  .spread, .sede, .acciones { grid-template-columns: 1fr; }
  .tree { height: 380px; max-width: 42vw; }
  .corner-branch { width: min(280px, 70vw); }
  .spot-stage { height: 300px; }
  .poster-vine { width: 48%; right: -4%; top: -18%; }
  .acciones section { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .spot-card, .spot-card.is-active img { animation: none; transition: none; }
}
