:root {
  --header-height: 72px;
  --black: #050505;
  --white: #ffffff;
  --gold: #ffcc66;
  --panel: rgba(10, 10, 12, 0.58);
  --border: rgba(255, 255, 255, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

@font-face {
  font-family: "Cinzel Decorative";
  src: url("/fonts/CinzelDecorative-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, var(--header-height));
}

body {
  min-width: 320px;
  color: var(--white);
  background: var(--black);
  font-family: "Acumin", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.8vw, 26px);
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: normal;
  text-decoration: none;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.intro-scroll {
  height: 185vh;
  position: relative;
}

.intro-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + 48px) 24px 64px;
}

.intro-bg,
.showcase-section::before,
.events-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.intro-bg {
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
}

.intro-stage::after,
.showcase-section::after,
.events-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.20)), linear-gradient(0deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.06) 54%);
}

.intro-copy {
  width: min(1200px, 100%);
  text-align: center;
  will-change: transform, opacity;
}

.eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-copy h1 {
  max-width: 13ch;
  margin: 0 auto;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro-subtitle {
  max-width: 720px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.intro-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.intro-link {
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.72);
  color: var(--gold);
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.intro-link:hover,
.intro-link:focus-visible {
  transform: scale(1.04);
  background: var(--gold);
  color: var(--black);
}

.intro-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .intro-link {
    transition: none;
  }

  .intro-link:hover,
  .intro-link:focus-visible {
    transform: none;
  }
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.primary-btn,
.secondary-btn,
.admin-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

/* Amplía el texto de Acumin sin cambiar el espacio que ocupa el botón. */
.button-label {
  display: block;
  line-height: 1;
  transform: scale(1.12);
  transform-origin: center;
}

/* Compensa el espacio inferior de Acumin para centrar las letras del menú. */
.intro-link .button-label {
  min-width: 0;
  transform: translateY(0.11em) scale(1.12);
}

.agenda-card-actions .button-label {
  transform: scale(1.18);
}

.primary-btn,
.admin-btn {
  border: none;
  background: var(--gold);
  color: black;
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.18);
  color: white;
}

.primary-btn:hover,
.admin-btn:hover,
.primary-btn:focus-visible,
.admin-btn:focus-visible {
  background: #e6b85c;
}

.secondary-btn:hover,
.secondary-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.showcase-section,
.events-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-height) + 62px) clamp(18px, 6vw, 76px) 76px;
}

.showcase-section {
  grid-template-columns: minmax(0, 420px);
  justify-content: start;
  padding-left: clamp(84px, 10vw, 132px);
}

.section-copy,
.events-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.section-copy {
  width: 100%;
  max-width: 420px;
  padding: clamp(16px, 2vw, 28px);
}

.section-copy h2,
.events-heading h2,
.site-footer h2 {
  margin-bottom: 20px;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy p:last-child,
.events-heading p:last-child,
.site-footer p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.7;
}

.section-copy h2 {
  font-size: clamp(1.4rem, 3vw, 2.75rem);
}

.section-copy p:last-child {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.about-section::before {
  background-image: var(--showcase-bg, url("/uploads/valses.png"));
}

.palace-section::before {
  background-image: var(--showcase-bg, url("/uploads/valses.png"));
}

.dinner-section::before {
  background-image: var(--showcase-bg, url("/uploads/divasdivos.png"));
}

.visits-section::before {
  background-image: var(--showcase-bg, url("/uploads/visita.png"));
}

.tastings-section::before {
  background-image: var(--showcase-bg, url("/uploads/brindis.png"));
}

.travel-section::before {
  background-image: var(--showcase-bg, url("/uploads/hollywood.png"));
}

.private-section::before {
  background-image: url("/uploads/traviata.png");
}

.events-section::before {
  background-image: var(--agenda-background, url("/uploads/patria.png"));
}

.showcase-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 60px;
  height: 72px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.showcase-btn.left {
  left: 0;
  border-left: none;
  border-radius: 0 14px 14px 0;
}

.showcase-btn.right {
  right: 12px;
  border-radius: 14px;
}

.showcase-btn:hover,
.showcase-btn:focus-visible {
  background: var(--gold);
  color: black;
}

.nav-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 42px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 21px;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.nav-btn.left {
  left: 8px;
}

.nav-btn.right {
  right: 8px;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  background: var(--gold);
  color: black;
}

.events-section {
  min-height: 100vh;
  justify-items: center;
  padding-inline: clamp(16px, 2.5vw, 48px);
}

.events-panel {
  width: 100%;
  max-width: 1920px;
  container-type: inline-size;
  min-width: 0;
  margin: auto;
  padding: clamp(12px, 1.5vw, 24px);
  overflow: hidden;
}

.events-heading {
  margin-bottom: 16px;
}

.events-heading h2 {
  max-width: none;
  font-size: clamp(1.2rem, 4.8vw, 5.5rem);
  white-space: nowrap;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
}

.carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  gap: 24px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: 6px 4px 18px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card {
  width: clamp(340px, 30vw, 420px);
  min-width: 0;
  min-height: 480px;
  scroll-snap-align: start;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(12, 12, 13, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.card:focus-visible {
  border-color: rgba(255, 204, 102, 0.6);
  outline: none;
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.content {
  padding: 24px;
}

.content h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.date {
  color: #ffe0a3;
  white-space: pre-wrap;
  font-size: 1rem;
  font-weight: 700;
}

.place {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.artists {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.desc {
  color: rgba(255, 255, 255, 0.74);
  display: -webkit-box;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.price {
  background: var(--gold);
  color: black;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 800;
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.event-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .event-modal { transition: none; }
}

.event-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.event-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
  width: min(1020px, 100%);
  max-height: 88dvh;
  overflow-y: auto;
  background: #141312;
  border: 1px solid rgba(255, 204, 102, .22);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .65);
}
.event-modal-cover {position: relative; background: #23201b;}
.event-modal-cover img {position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;}
.event-modal-content {padding: clamp(24px, 4vw, 44px); min-width: 0;}
.event-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%; background: #171614; color: white;
  cursor: pointer; font-size: 1.7rem; line-height: 1;
}
.event-modal-close:hover, .event-modal-close:focus-visible {background: var(--gold); color: black;}
.event-modal-heading {padding-right: 20px;}
.event-modal-heading .eyebrow {color: var(--gold); font-size: .72rem; letter-spacing: .15em; margin-bottom: 12px;}
.event-modal-card h2 {
  margin-bottom: 26px; font-family: "Cinzel Decorative", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.2; overflow-wrap: anywhere;
}
.event-modal-meta {display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12);}
.event-modal-meta div {min-width: 0;}
.event-modal-meta dt {color: rgba(255,255,255,.5); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px;}
.event-modal-meta dd {font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere;}
.event-modal-section {margin-top: 24px;}
.event-modal-section h3 {font-size: .78rem; font-weight: 600; color: var(--gold); letter-spacing: .06em; margin-bottom: 9px;}
.event-modal-section p {font-size: .97rem; color: rgba(255,255,255,.76); line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere;}
.event-modal-card [hidden] {display: none !important;}
.event-modal-booking {margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);}
.event-modal-price {color: var(--gold); font-size: 1.55rem; font-weight: 600; margin-bottom: 16px;}
.event-modal-actions {display: flex; flex-direction: column; align-items: stretch; gap: 15px;}
.event-modal-actions .primary-btn {text-align: center;}
.event-modal-contact {color: rgba(255,255,255,.7); font-size: .84rem; text-align: center; text-decoration: none; padding: 6px;}
.event-modal-contact:hover {color: var(--gold);}
@media (max-width: 680px) {
  .event-modal {padding: 12px;}
  .event-modal-card {grid-template-columns: 1fr; max-height: 92dvh; border-radius: 16px;}
  .event-modal-cover {min-height: 0; height: 200px;}
  .event-modal-cover img {object-position: center 35%;}
  .event-modal-content {padding: 24px;}
  .event-modal-heading {padding-right: 0;}
  .event-modal-meta {gap: 18px 12px;}
}

.site-footer {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 64px clamp(18px, 6vw, 76px) 160px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 920px) {
  .showcase-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .intro-links {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }

  .intro-link {
    padding: 10px 4px;
    font-size: clamp(0.65rem, 1.8vw, 0.9rem);
  }

  :root {
    --header-height: 64px;
  }

  .site-header {
    align-items: flex-start;
    padding-inline: 16px;
  }

  .brand {
    font-size: 1rem;
  }

  .main-nav {
    gap: 9px;
  }

  .main-nav a {
    font-size: 0.95rem;
  }

  .intro-stage,
  .events-section {
    padding-inline: 16px;
  }

  .showcase-section {
    padding-left: 64px;
    padding-right: 16px;
  }

  .section-copy,
  .events-panel {
    border-radius: 20px;
  }

  .nav-btn.left {
    left: 4px;
  }

  .nav-btn.right {
    right: 4px;
  }

  .showcase-btn {
    width: 52px;
    height: 58px;
  }
}

@media (max-width: 480px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .card {
    width: min(360px, calc(100vw - 68px));
    min-height: 420px;
  }

  .content {
    padding: 20px;
  }
}

/* Navegación discreta: un marcador por sección y solo la actual resaltada. */
.section-anchor {
  position: absolute;
  top: 0;
  left: 0;
}

.other-galas-section::before {
  background-image: url("/uploads/divasdivos.png");
}

@media (prefers-reduced-motion: reduce) {
  .main-nav a, .card { transition: none; }
  .carousel { scroll-behavior: auto; }
}

.tribute-section::before {background-image:var(--showcase-bg,url("/uploads/pink-floyd-banner.png"));}

/* Capa más clara solo sobre el video de portada. */
.intro-stage::after {
  background:linear-gradient(90deg,rgba(0,0,0,.70),rgba(0,0,0,.22)),
    linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.03) 54%);
}
#agenda .carousel {
  --agenda-gap: 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 7 * var(--agenda-gap) - 8px) / 8);
  gap: var(--agenda-gap);
  align-items: stretch;
}
#agenda .card {display:flex;flex-direction:column;width:auto;min-height:0;}
#agenda .card img {flex-shrink:0;aspect-ratio:4 / 5;}
#agenda .card .content {display:flex;flex-direction:column;flex:1;padding:12px;}
#agenda .card h2 {font-size:clamp(.95rem,1vw,1.1rem);line-height:1.3;margin-bottom:8px;}
#agenda .card :is(h2,.place,.artists) {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  overflow-wrap:anywhere;
}
#agenda .card .date {font-size:.86rem;}
#agenda .card .place {font-size:.8rem;line-height:1.4;}
#agenda .card .artists {font-size:.8rem;line-height:1.4;margin:8px 0 0;}
#agenda .agenda-card-actions {flex-direction:column;gap:8px;padding-top:12px;}
#agenda .agenda-card-actions .primary-btn {min-height:44px;padding:9px 8px;font-size:.78rem;}
@container (max-width: 1200px) {
  #agenda .carousel {grid-auto-columns:calc((100% - 5 * var(--agenda-gap) - 8px) / 6);}
}
@container (max-width: 1000px) {
  #agenda .carousel {grid-auto-columns:calc((100% - 3 * var(--agenda-gap) - 8px) / 4);}
}
@container (max-width: 850px) {
  #agenda .carousel {grid-auto-columns:calc((100% - 2 * var(--agenda-gap) - 8px) / 3);}
}
@container (max-width: 620px) {
  #agenda .carousel {grid-auto-columns:calc((100% - var(--agenda-gap) - 8px) / 2);}
}
@container (max-width: 540px) {
  #agenda .carousel {--agenda-gap:12px;grid-auto-columns:86%;}
  #agenda .card .content {padding:14px;}
}
.agenda-card-actions {display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;margin-top:auto;padding-top:18px;}
.agenda-card-actions .primary-btn {flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;font:inherit;font-size:.85rem;font-weight:800;text-align:center;cursor:pointer;}
.event-modal-actions [hidden] {display:none!important;}

.agenda-date-filter {display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:16px 0 6px;font-size:.78rem;}
.agenda-date-filter label {display:flex;flex-direction:column;gap:4px;font-weight:400;color:rgba(255,255,255,.7);}
.agenda-date-filter input {min-height:36px;max-width:160px;padding:6px 8px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:rgba(0,0,0,.2);color:var(--white);font:inherit;color-scheme:dark;}
.agenda-date-filter button {min-height:36px;padding:6px 10px;border:0;background:transparent;color:rgba(255,255,255,.7);font:inherit;font-weight:400;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.agenda-date-filter button:hover {background:transparent;color:var(--white);}
.agenda-date-filter :is(input,button):focus-visible {outline:2px solid var(--gold);outline-offset:3px;}
#agendaFilterStatus {margin:6px 0 12px;font-size:.75rem;color:rgba(255,255,255,.65);}
@media(max-width:600px){.agenda-date-filter{gap:8px;}.agenda-date-filter input{max-width:145px;}}

.agenda-date-filter[hidden] {display:none;}
.agenda-filter-toggle {margin-top:0;padding:8px 12px;border:1px solid rgba(255,255,255,.25);border-radius:6px;background:transparent;color:rgba(255,255,255,.8);font:inherit;font-size:.8rem;cursor:pointer;}
.agenda-filter-toggle:hover {border-color:var(--gold);color:var(--white);}
.agenda-filter-toggle:focus-visible {outline:2px solid var(--gold);outline-offset:3px;}
.agenda-search-tools {display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;}
.agenda-search-label {display:grid;gap:7px;flex:1 1 240px;max-width:480px;font-size:.8rem;color:rgba(255,255,255,.7);}
.agenda-search-label input,.agenda-date-filter input {
  width:100%;min-height:44px;padding:10px 14px;border:1px solid rgba(255,255,255,.22);
  border-radius:10px;background:rgba(0,0,0,.3);color:var(--white);font:inherit;color-scheme:dark;
}
.agenda-search-label input::placeholder {color:rgba(255,255,255,.45);}
.agenda-search-label input:focus-visible,.agenda-date-filter input:focus-visible {outline:2px solid var(--gold);outline-offset:3px;}
.agenda-search-tools .agenda-filter-toggle {min-height:44px;border-radius:10px;padding:10px 16px;}
.agenda-date-filter {gap:14px;padding:16px;border:1px solid var(--border);border-radius:14px;background:rgba(0,0,0,.2);}
.agenda-date-filter input {max-width:200px;cursor:pointer;}
.agenda-date-filter input::-webkit-calendar-picker-indicator {opacity:.85;cursor:pointer;padding:4px;}
@media(max-width:600px){
  .agenda-search-label {max-width:none;}
  .agenda-date-filter label {flex:1 1 130px;min-width:0;}
  .agenda-date-filter input {max-width:none;min-width:0;}
}

#agenda .card-short-description {
  margin-top: 10px;
  color: rgba(255,255,255,.76);
  font-size: .84rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.event-modal-meta a {color: var(--gold); text-underline-offset: 3px;}

#agenda .card-address {margin-top:3px;color:rgba(255,255,255,.5);font-size:.74rem;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#agenda .card .place {font-weight:600;}

/* Todos los destinos del inicio, distribuidos sin desbordar el header. */
.main-nav {min-width:0;column-gap:clamp(12px,1.3vw,22px);row-gap:10px;}
.main-nav a {white-space:nowrap;font-size:clamp(.78rem,.9vw,.95rem);}
@media (max-width:1100px) {
  .site-header {flex-wrap:wrap;gap:12px;padding-block:10px;}
  .main-nav {flex-basis:100%;justify-content:flex-start;gap:10px 16px;}
  .main-nav a {font-size:.8rem;}
}

/* Las secciones ocupan el área visible debajo de la cabecera real. */
:root {--section-height:calc(100dvh - var(--header-offset,var(--header-height)));}
#inicio {padding-top:var(--header-offset,var(--header-height));}
.intro-scroll {height:auto;min-height:var(--section-height);}
.intro-stage {position:relative;top:auto;min-height:var(--section-height);padding-block:clamp(20px,4vh,40px);}
.showcase-section,.events-section {
  min-height:var(--section-height);
  padding-top:clamp(20px,4vh,40px);
  padding-bottom:clamp(20px,4vh,40px);
  overflow:clip;
}
#agenda {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(12px,2vh,24px) clamp(10px,1.2vw,24px);
}
#agenda .events-panel {width:100%;max-width:none;margin:0;padding:clamp(14px,1.5vw,28px);}
#agenda .events-heading h2 {font-size:clamp(1.6rem,3.2vw,3.8rem);white-space:normal;}
.site-footer {min-height:var(--section-height);padding-block:clamp(24px,5vh,56px);}
@media(max-width:720px) {
  .intro-links {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .intro-link {min-height:44px;}
  .section-copy h2,.site-footer h2 {font-size:clamp(1.7rem,7vw,3rem);}
}

.main-nav a[aria-current="location"],
.main-nav a[aria-current="location"]:hover,
.main-nav a[aria-current="location"]:focus-visible {
  color:var(--gold);
}

.showcase-video {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none;}

[data-showcase]::before,[data-showcase] .showcase-video {
  opacity:1;
  transition:opacity 340ms ease;
}
[data-showcase] .section-copy {
  opacity:1;
  transform:translateY(0);
  transition:opacity 340ms ease,transform 340ms ease;
}
[data-showcase].showcase-changing::before,[data-showcase].showcase-changing .showcase-video {
  opacity:0;
  transition-duration:220ms;
}
[data-showcase].showcase-changing .section-copy {
  opacity:0;
  transform:translateY(8px);
  transition-duration:220ms;
}
@media (prefers-reduced-motion:reduce) {
  [data-showcase]::before,[data-showcase] .showcase-video,[data-showcase] .section-copy {transition:none;}
}

.site-footer {gap:clamp(28px,5vw,72px);}
.contact-intro {flex:1 1 280px;}
.contact-intro h2 {font-size:clamp(2rem,4vw,4rem);}
.contact-details {flex:1.4 1 420px;display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,3vw,48px);}
.contact-socials {display:grid;gap:12px;}
.contact-link {display:flex;align-items:center;gap:14px;padding:14px 0;color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.12);}
.contact-logo {display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;overflow:hidden;}
.contact-logo img {width:100%;height:100%;object-fit:contain;}
.contact-link strong,.contact-link small {display:block;}
.contact-link strong {font-size:1rem;font-weight:500;}
.contact-link small {margin-top:4px;font-size:.8rem;color:rgba(255,255,255,.55);}
.contact-arrow {margin-left:auto;color:var(--gold);}
a.contact-link {transition:color .2s ease;}
a.contact-link:hover,a.contact-link:focus-visible {color:var(--gold);}
.contact-phones h3 {margin:14px 0 20px;color:var(--gold);font-size:.85rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;}
.contact-whatsapp-note {margin:0 0 20px;font-size:.85rem;line-height:1.5;color:rgba(255,255,255,.7);}
.contact-phones ul {list-style:none;padding:0;margin:0;display:grid;gap:16px;}
.contact-phones li {display:grid;gap:5px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.12);}
.contact-phones li span:first-child {font-size:.8rem;color:rgba(255,255,255,.55);}
.contact-phones li > :last-child {font-size:.95rem;}
.contact-phones a {display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none;}
.contact-whatsapp-logo {flex:0 0 24px;width:24px;height:24px;object-fit:contain;border-radius:5px;}
.contact-phones a:hover,.contact-phones a:focus-visible {color:var(--gold);}
@media (max-width:600px) {
  .contact-details {flex-basis:100%;grid-template-columns:1fr;gap:24px;}
}

.showcase-agenda-link {width:100%;}
.showcase-agenda-link[hidden],.agenda-type-filter[hidden] {display:none;}
.agenda-type-filter {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px;color:var(--gold);font-size:.9rem;}
.agenda-type-filter > span {padding:7px 12px;border:1px solid var(--gold);border-radius:20px;}
.agenda-type-filter button {background:transparent;border:0;color:rgba(255,255,255,.8);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.agenda-type-filter button:hover {color:var(--gold);}
.agenda-type-filter button:focus-visible {outline:2px solid var(--gold);outline-offset:3px;}

/* Editorial presentation for carousel slides. */
[data-showcase] .section-copy {
  padding:clamp(24px,2.5vw,36px);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(8,9,12,.72);
  box-shadow:0 18px 48px rgba(0,0,0,.22);
  text-align:left;
}
[data-showcase] .section-copy .eyebrow {
  margin:0 0 18px;color:var(--gold);font-size:.72rem;font-weight:500;
  letter-spacing:.16em;line-height:1.5;
}
[data-showcase] .section-copy h2 {
  margin:0 0 22px;font-family:"Cinzel Decorative",Georgia,serif;font-weight:700;
  font-size:clamp(1.8rem,2.7vw,2.65rem);line-height:1.12;letter-spacing:-.025em;
  text-wrap:balance;overflow-wrap:break-word;
}
[data-showcase] [data-showcase-text] {
  margin:0;color:rgba(255,255,255,.78);font-size:clamp(.95rem,1.1vw,1.05rem);
  line-height:1.75;text-wrap:pretty;
}
.showcase-copy-actions {margin-top:28px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14);}
.showcase-copy-actions[hidden] {display:none;}
.showcase-copy-actions .showcase-agenda-link {
  min-height:52px;justify-content:space-between;gap:16px;padding:14px 18px;
  font-size:.95rem;line-height:1.3;border-color:rgba(255,204,102,.65);background:rgba(5,5,5,.35);
}
.showcase-copy-actions .button-label {transform:none;text-align:left;}
.showcase-copy-actions .showcase-agenda-link:hover,
.showcase-copy-actions .showcase-agenda-link:focus-visible {transform:none;background:var(--gold);}
.showcase-agenda-arrow {font-size:1.3rem;transition:transform 180ms ease;}
.showcase-agenda-link:hover .showcase-agenda-arrow {transform:translateX(3px);}
@media(prefers-reduced-motion:reduce){.showcase-agenda-arrow {transition:none;}.showcase-agenda-link:hover .showcase-agenda-arrow {transform:none;}}

/* Public pages: phone layout, after the shared desktop rules. */
.menu-toggle {display:none;}
@media (max-width:720px) {
  html {overflow-anchor:none;}
  .site-header {align-items:center;gap:12px;min-height:68px;padding:10px 16px;}
  .site-header .brand {min-width:0;flex-shrink:1;}
  .site-header .site-logo {width:180px;height:48px;}
  .menu-toggle:not([hidden]) {
    display:block;min-width:72px;min-height:44px;padding:10px 14px;
    border:1px solid var(--gold);border-radius:8px;background:transparent;
    color:var(--gold);font:inherit;cursor:pointer;
  }
  .menu-toggle:focus-visible {outline:2px solid white;outline-offset:3px;}
  .has-mobile-menu .main-nav {
    display:none;position:absolute;top:100%;left:0;right:0;
    max-height:calc(100dvh - var(--header-offset,68px));overflow-y:auto;
    padding:12px 16px 20px;background:rgba(5,5,5,.98);
    border-bottom:1px solid var(--border);overscroll-behavior:contain;
  }
  .has-mobile-menu .main-nav.is-open {display:grid;grid-template-columns:1fr;gap:4px;}
  .main-nav a {display:flex;align-items:center;min-height:44px;padding:10px 12px;font-size:1rem;white-space:normal;}
  .intro-stage {min-height:calc(100svh - var(--header-offset,68px));padding:28px 16px;}
  .intro-copy h1 {font-size:clamp(2.2rem,9vw,4rem);line-height:1.08;}
  .intro-links {grid-template-columns:1fr;gap:8px;width:min(240px,100%);margin:20px auto 0;}
  .intro-link {min-height:44px;padding:8px 12px;font-size:.9rem;line-height:1.25;overflow-wrap:normal;}
  .intro-link:hover {transform:none;}
  .showcase-section {padding:28px 16px 92px;}
  [data-showcase] {align-items:end;padding:28px 0 0;grid-template-columns:minmax(0,1fr);}
  [data-showcase] .section-copy {max-width:none;padding:22px 18px calc(22px + env(safe-area-inset-bottom,0px));border-radius:0;}
  [data-showcase] .section-copy h2 {font-size:clamp(1.7rem,7vw,2.65rem);line-height:1.15;}
  [data-showcase] [data-showcase-text] {display:none;}
  [data-showcase] .showcase-copy-actions {margin-top:18px;padding-top:16px;}
  .showcase-btn {top:50%;bottom:auto;transform:translateY(-50%);width:48px;height:48px;}
  .showcase-btn.left {left:16px;border:1px solid var(--border);border-radius:12px;}
  .showcase-btn.right {right:16px;border-radius:12px;}
  #contrataciones {padding-bottom:28px;}
  #agenda .carousel {grid-auto-columns:86%;scroll-snap-type:x mandatory;}
  #agenda .card {scroll-snap-align:start;}
  #agenda .card img {aspect-ratio:16 / 9;object-position:center;}
  #agenda .card h2 {font-size:1.2rem;}
  #agenda .agenda-card-actions .primary-btn {font-size:.95rem;min-height:48px;}
  .nav-btn {width:44px;height:44px;}
  .agenda-search-label input,.agenda-date-filter input {font-size:16px;min-height:48px;}
  .agenda-filter-toggle,.agenda-date-filter button {min-height:48px;}
  .site-footer {padding:32px 20px;}
  .contact-intro,.contact-details,.contact-link > span {min-width:0;}
  .contact-link small {overflow-wrap:anywhere;}
  .contact-phones a {display:inline-flex;align-items:center;min-height:44px;}
  .event-modal {padding:8px;}
  .event-modal-card {max-height:calc(100dvh - 16px);}
  .event-modal-content {padding:22px 18px;}
  .event-modal-close {width:44px;height:44px;}
  .event-modal-contact {min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;}
}
@media (max-width:380px) {
  .event-modal-meta {grid-template-columns:1fr;}
  .contact-link {gap:10px;}
}

/* Native calendar with a consistent day/month/year display. */
.agenda-date-control {position:relative;display:block;min-width:0;}
.agenda-date-control > [data-date-display] {
  display:flex;align-items:center;min-height:44px;padding:10px 12px;
  border:1px solid var(--border);border-radius:8px;background:rgba(0,0,0,.2);
  color:var(--white);font-size:16px;pointer-events:none;
}
.agenda-date-control > input[type="date"] {
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  margin:0;opacity:0;cursor:pointer;
}
.agenda-date-control:focus-within > [data-date-display] {outline:2px solid var(--gold);outline-offset:3px;}
@media(max-width:720px){.agenda-date-control > [data-date-display] {min-height:48px;}}

.language-switch {display:flex;gap:6px;flex-shrink:0;}
.language-switch button {min-height:44px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--white);font:inherit;font-size:.8rem;cursor:pointer;}
.language-switch button[aria-pressed="true"] {border-color:var(--gold);color:var(--gold);background:rgba(255,204,102,.1);}
.language-switch button:focus-visible {outline:2px solid var(--gold);outline-offset:3px;}
@media(max-width:720px){.site-header .language-switch{flex-basis:100%;justify-content:flex-end;}.site-header .language-switch button {min-height:36px;}.site-header{row-gap:4px;}}

/* Animated mobile navigation and compact language popover. */
.language-toggle {display:none;}
.language-code {font:inherit;font-size:.85rem;font-weight:600;}
@media(max-width:720px){
  .has-mobile-menu.site-header {flex-wrap:nowrap;gap:8px;}
  .has-mobile-menu.site-header .brand {flex:1 1 auto;min-width:0;}
  .has-mobile-menu .menu-toggle:not([hidden]),
  .has-mobile-menu .language-toggle:not([hidden]) {
    display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;
    height:44px;padding:0 12px;border:1px solid rgba(255,204,102,.35);
    border-radius:14px;background:transparent;
    color:var(--gold);cursor:pointer;transition:background 200ms ease,border-color 200ms ease,transform 200ms ease;
  }
  .has-mobile-menu .menu-toggle {min-width:88px;}
  .has-mobile-menu .language-toggle:not([hidden]) {flex:0 0 44px;width:44px;padding:0;}
  .has-mobile-menu :is(.menu-toggle,.language-toggle):is(:hover,:focus-visible,[aria-expanded="true"]) {border-color:var(--gold);background:transparent;}
  .menu-toggle:active,.language-toggle:active {transform:scale(.95);}
  .language-toggle:focus-visible {outline:2px solid white;outline-offset:3px;}
  .has-mobile-menu .main-nav,
  .has-mobile-menu .language-switch {
    display:grid;position:absolute;top:calc(100% + 8px);right:12px;left:auto;
    padding:8px;flex-basis:auto;gap:4px;justify-content:stretch;
    border:1px solid rgba(255,204,102,.25);border-radius:18px;
    background:linear-gradient(145deg,rgba(38,32,23,.98),rgba(15,14,12,.98));
    box-shadow:0 12px 32px rgba(0,0,0,.3);transform-origin:top right;
    opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px) scale(.97);
    transition:opacity 220ms ease,transform 260ms cubic-bezier(.2,.8,.2,1),visibility 0s linear 260ms;
  }
  .has-mobile-menu .main-nav {width:min(320px,calc(100vw - 24px));grid-template-columns:1fr;max-height:calc(100dvh - var(--header-offset,68px) - 24px);overflow-y:auto;}
  .has-mobile-menu .language-switch {width:164px;}
  .has-mobile-menu .main-nav.is-open,
  .has-mobile-menu .language-switch.is-open {display:grid;opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition-delay:0s;}
  .has-mobile-menu .main-nav a,
  .has-mobile-menu .language-switch button {width:100%;min-height:44px;border:0;border-radius:10px;text-align:left;padding:10px 12px;transition:background 180ms ease,color 180ms ease;}
  .has-mobile-menu .main-nav a:hover,.has-mobile-menu .main-nav a:focus-visible {background:rgba(255,204,102,.1);color:var(--gold);}
  .has-mobile-menu .language-switch button[aria-pressed="true"] {background:rgba(255,204,102,.13);color:var(--gold);}
  .has-mobile-menu .language-switch button[aria-pressed="true"]::after {content:'✓';float:right;}
}
@media(prefers-reduced-motion:reduce){
  .has-mobile-menu .main-nav,.has-mobile-menu .language-switch,
  .has-mobile-menu .menu-toggle,.has-mobile-menu .language-toggle {transition:none;}
}

#agenda .event-format {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
}

.agenda-place-filter {margin:16px 0 6px;padding:16px;border:1px solid var(--border);border-radius:14px;background:rgba(0,0,0,.2);}
.agenda-place-filter[hidden] {display:none;}
.agenda-place-filter label {display:grid;gap:7px;max-width:360px;font-size:.8rem;color:rgba(255,255,255,.7);}
.agenda-place-filter select {width:100%;min-height:44px;padding:10px 14px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(0,0,0,.3);color:var(--white);font:inherit;color-scheme:dark;}
.agenda-place-filter select:focus-visible {outline:2px solid var(--gold);outline-offset:3px;}

@media (max-width:720px) {
  .intro-links .intro-mobile-extra {display:none;}
  .intro-links .intro-mobile-buy {order:1;}
  .intro-links .intro-mobile-galas {order:2;}
  .intro-links .intro-mobile-hire {order:3;}
}

@media (max-width:720px) {
  .intro-stage {
    min-height: calc(100svh - var(--header-offset,68px));
    grid-template-rows: max(0px, calc(50svh - var(--header-offset,68px))) minmax(calc(50svh - 16px), auto);
    padding: 0 16px max(16px, env(safe-area-inset-bottom));
  }
  .intro-copy {
    grid-row: 2;
    align-self: center;
    padding-block: 12px;
  }
  .intro-copy h1 {font-size:clamp(1.75rem,7vw,2.5rem);line-height:1.1;}
  .intro-links {margin-top:16px;}
}

/* Encuadre independiente para imágenes y videos por dispositivo. */
[data-showcase] {--media-fit:var(--media-desktop-fit,cover);--media-position:var(--media-desktop-position,50% 50%);background-color:var(--black);}
[data-showcase]::before {background-size:var(--media-fit);background-position:var(--media-position);background-repeat:no-repeat;}
[data-showcase] .showcase-video {object-fit:var(--media-fit);object-position:var(--media-position);}
[data-showcase][data-media-type="video"]::before {background-image:none;}
@media(max-width:720px){
 [data-showcase] {--media-fit:var(--media-mobile-fit,cover);--media-position:var(--media-mobile-position,50% 50%);}
}

/* Stable section heights while the phone browser toolbar opens or closes. */
@media (max-width:720px) {
  :root {--section-height:calc(100svh - var(--header-offset,var(--header-height)));}
  [data-showcase] .section-copy {backdrop-filter:none;-webkit-backdrop-filter:none;}
}
