: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 {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  color: var(--white);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", 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: 0.86rem;
  font-weight: 650;
  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 {
  background-image: url("/uploads/traviata.png");
}

.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.82), rgba(0, 0, 0, 0.32)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.06) 54%);
}

.intro-copy {
  width: min(980px, 94vw);
  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;
}

.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;
}

.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(20px) 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);
}

.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"));
}

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

.showcase-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  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: 0;
  border-right: none;
  border-radius: 14px 0 0 14px;
}

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

.nav-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  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;
}

.events-panel {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin: auto;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
}

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

.events-heading h2 {
  max-width: 12ch;
}

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

.carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 18px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

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

.card {
  min-width: 300px;
  max-width: 300px;
  min-height: 340px;
  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: 16px;
}

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

.date {
  color: var(--gold);
  font-size: 0.9rem;
  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: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.event-modal.is-open {
  display: flex;
}

.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;
  width: min(760px, 92vw);
  max-height: min(76vh, 720px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(12, 12, 13, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.event-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  color: white;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.event-modal-close:hover,
.event-modal-close:focus-visible {
  background: var(--gold);
  color: black;
}

.event-modal-card h2 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.event-modal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.event-modal-meta span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.event-modal-description {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.75;
  white-space: pre-line;
}

.event-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.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);
  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) {
  :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.76rem;
  }

  .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: 42px;
    height: 58px;
  }
}

@media (max-width: 480px) {
  .main-nav a:nth-child(1),
  .main-nav a:nth-child(3),
  .main-nav a:nth-child(5) {
    display: none;
  }

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

  .card {
    min-width: 260px;
    max-width: 260px;
  }
}
