:root {
  --forest-950: #11251d;
  --forest-900: #1f3a2e;
  --forest-800: #2d4b3b;
  --terracotta: #b75d3a;
  --terracotta-dark: #8f432c;
  --gold: #d79532;
  --sand: #f4e4c7;
  --sand-light: #fff9ee;
  --cream: #fbf1df;
  --ink: #242017;
  --muted: #6f685b;
  --white: #fff;
  --whatsapp: #25d366;
  --line: rgba(36, 32, 23, .12);
  --shadow: 0 22px 60px rgba(38, 29, 18, .14);
  --container: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--sand-light);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--forest-950);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: fixed;
  z-index: 100;
  top: max(10px, env(safe-area-inset-top));
  right: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 20px;
  background: rgba(255, 249, 238, .94);
  box-shadow: 0 14px 38px rgba(17, 37, 29, .18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.topbar.scrolled { box-shadow: 0 12px 40px rgba(17, 37, 29, .25); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 14px; }
.brand-copy { min-width: 0; }
.brand strong { display: block; font-family: var(--serif); font-size: 16px; line-height: 1.05; }
.brand small {
  display: block;
  max-width: 180px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.menu-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  border-radius: 99px;
  background: var(--forest-950);
  transition: transform .22s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: grid;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  border-radius: 18px;
  background: var(--sand-light);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: max-height .28s ease, padding .28s ease, opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav.open {
  max-height: 520px;
  padding: 12px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav a { padding: 13px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.nav a:hover, .nav a:focus-visible { background: var(--cream); }
.nav .nav-cta { background: var(--gold); color: var(--forest-950); text-align: center; }

.hero { position: relative; min-height: 780px; overflow: hidden; background: var(--forest-950); }
.hero-media {
  position: absolute;
  inset: 0;
  background: url("../assets/images/hero-imperio.webp") 62% center / cover no-repeat;
  transform: scale(1.015);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 37, 29, .48), rgba(17, 37, 29, .82) 55%, rgba(17, 37, 29, .97));
}
.hero-pattern {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 228, 199, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(244, 228, 199, .04), 0 0 0 56px rgba(244, 228, 199, .035);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100% - 32px, var(--container));
  min-height: 780px;
  margin: 0 auto;
  padding: 130px 0 76px;
}
.hero-content { color: var(--white); }
.eyebrow {
  margin: 0 0 13px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow, .event-band .eyebrow { color: #efb052; }
h1, h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.035em;
}
h1 { max-width: 820px; font-size: clamp(42px, 12vw, 68px); }
h2 { font-size: clamp(34px, 9.5vw, 54px); }
.hero-text { max-width: 650px; margin: 0; color: #f6ead7; font-size: 17px; line-height: 1.6; }
.actions { display: grid; gap: 11px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn:focus-visible, .text-link:focus-visible, .nav a:focus-visible, .contact-list a:focus-visible { outline: 3px solid rgba(215, 149, 50, .5); outline-offset: 3px; }
.btn-primary { background: var(--gold); color: var(--forest-950); }
.btn-secondary { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-dark { background: var(--forest-900); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.hero-card {
  width: 100%;
  margin-top: 26px;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px;
  background: rgba(255, 249, 238, .94);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-card > span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-card strong { display: block; margin: 6px 0; font-family: var(--serif); font-size: 27px; }
.hero-card p { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }
.hero-card a, .text-link { color: var(--terracotta-dark); font-weight: 700; }

.highlights {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(100% - 32px, 1140px);
  margin: -38px auto 78px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.highlights article {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 112px;
  padding: 18px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.highlights article:nth-child(2n) { border-right: 0; }
.highlights article:nth-last-child(-n+2) { border-bottom: 0; }
.highlight-icon { color: var(--terracotta); font-family: var(--serif); font-size: 21px; }
.highlights strong { max-width: 120px; font-size: 13px; }

.section, .event-band { width: min(100% - 32px, var(--container)); margin: 0 auto 84px; }
.about, .location { display: grid; gap: 32px; align-items: center; }
.section-visual { position: relative; }
.section-visual img, .menu-photo img, .gallery-grid img {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.section-visual img { aspect-ratio: 4 / 3; }
.visual-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(17, 37, 29, .88);
  color: var(--sand);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
.section-copy p, .section-heading > p, .location-copy > p, .event-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.section-copy .text-link { display: inline-block; margin-top: 8px; }
.section-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-heading > p { margin-right: auto; margin-left: auto; }

.menu-section { padding-top: 8px; }
.menu-layout { display: grid; gap: 22px; }
.menu-grid { display: grid; gap: 14px; }
.menu-card {
  position: relative;
  min-height: 170px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(183, 93, 58, .14);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 15px 38px rgba(36, 32, 23, .075);
}
.menu-card span {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(183, 93, 58, .16);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
}
.menu-card h3 { position: relative; margin: 22px 0 8px; font-family: var(--serif); font-size: 22px; }
.menu-card p { position: relative; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.menu-photo { min-height: 360px; margin: 0; }
.menu-photo img { aspect-ratio: 4 / 5; }
.center-action { margin-top: 24px; text-align: center; }

.event-band {
  position: relative;
  display: grid;
  gap: 26px;
  overflow: hidden;
  padding: 30px 24px;
  border-radius: 30px;
  background: var(--forest-900);
  color: var(--white);
  box-shadow: var(--shadow);
}
.event-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 95% 15%, rgba(215, 149, 50, .22), transparent 35%), linear-gradient(130deg, transparent 45%, rgba(183, 93, 58, .16));
  pointer-events: none;
}
.event-copy, .event-stamp { position: relative; }
.event-copy > p { color: #e7ddca; }
.event-stamp {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 200px;
  padding: 22px;
  border: 1px solid rgba(244, 228, 199, .28);
  border-radius: 50%;
  color: var(--sand);
  text-align: center;
}
.event-stamp span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.event-stamp strong { color: var(--gold); font-family: var(--serif); font-size: 58px; line-height: .9; }

.heading-row { text-align: left; }
.heading-row h2 { margin-bottom: 8px; }
.gallery-grid { display: grid; gap: 16px; }
.gallery-grid figure { min-height: 280px; margin: 0; }
.gallery-grid img { aspect-ratio: 4 / 3; }
.gallery-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; text-align: center; }


.location { padding-top: 8px; }
.contact-list { display: grid; gap: 10px; margin-top: 24px; }
.contact-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.contact-list span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-list strong { color: var(--forest-900); }
.map-card { min-height: 380px; overflow: hidden; border-radius: 26px; background: var(--cream); box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: 420px; border: 0; }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 72px);
  z-index: 89;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--sand);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--forest-950); transform: translateY(-2px); }
.back-to-top svg { width: 24px; height: 24px; fill: currentColor; }


.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .26);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 31px; height: 31px; fill: #083e1c; }
.footer {
  display: grid;
  gap: 28px;
  padding: 42px 20px calc(42px + env(safe-area-inset-bottom));
  background: var(--forest-950);
  color: var(--sand);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { flex: 0 0 48px; }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 19px; }
.footer-brand small { display: block; margin-top: 4px; color: #cbbda7; }
.footer-links { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 16px; white-space: nowrap; }
.footer-links a { color: #ded0b8; font-size: 14px; }
.footer-credit p { margin: 5px 0; color: #cbbda7; font-size: 13px; }
.footer-credit strong { color: var(--sand); }

@media (max-width: 559px) {
  .footer-links { gap: 8px 10px; }
  .footer-links a { font-size: 11px; }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .18s; }

@media (min-width: 560px) {
  .topbar { right: 16px; left: 16px; padding: 9px 12px; }
  .brand strong { font-size: 18px; }
  .brand small { max-width: none; font-size: 11px; }
  .hero-inner { width: min(100% - 48px, var(--container)); }
  .actions { display: flex; flex-wrap: wrap; }
  .btn { width: auto; min-width: 170px; }
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .highlights article:nth-child(2n) { border-right: 1px solid var(--line); }
  .highlights article:nth-child(3n) { border-right: 0; }
  .highlights article:nth-last-child(-n+3) { border-bottom: 0; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: 1 / -1; }
  .gallery-wide img { aspect-ratio: 16 / 8; }
  .contact-list { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1.2fr .8fr; }
  .footer-credit { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  html { scroll-padding-top: 112px; }
  body.menu-open { overflow: auto; }
  .topbar {
    top: 18px;
    right: max(24px, calc((100vw - 1320px) / 2));
    left: max(24px, calc((100vw - 1320px) / 2));
    min-height: 72px;
    padding: 10px 14px;
    border-radius: 999px;
  }
  .brand-mark { width: 52px; height: 52px; }
  .menu-toggle { display: none; }
  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 3px;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav a { padding: 11px 10px; font-size: 13px; }
  .nav .nav-cta { padding-inline: 18px; border-radius: 999px; }
  .hero, .hero-inner { min-height: 100vh; }
  .hero-media { background-position: center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(17, 37, 29, .97) 0%, rgba(17, 37, 29, .82) 44%, rgba(17, 37, 29, .18) 100%); }
  .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 48px; align-items: end; padding: 160px 0 82px; }
  h1 { font-size: clamp(62px, 6.3vw, 92px); }
  h2 { font-size: clamp(44px, 4.4vw, 62px); }
  .hero-text { font-size: 20px; }
  .hero-card { margin: 0; padding: 26px; border-radius: 28px; }
  .highlights { grid-template-columns: repeat(6, 1fr); margin-top: -42px; border-radius: 28px; }
  .highlights article, .highlights article:nth-child(2n), .highlights article:nth-child(3n) { min-height: 122px; border-right: 1px solid var(--line); border-bottom: 0; }
  .highlights article:last-child { border-right: 0; }
  .section, .event-band { margin-bottom: 112px; }
  .about, .location { grid-template-columns: 1.04fr .96fr; gap: 62px; }
  .section-visual img { aspect-ratio: 1.18 / 1; border-radius: 34px; }
  .visual-caption { right: 22px; bottom: 22px; left: auto; max-width: 250px; padding: 16px 18px; }
  .section-copy p, .section-heading > p, .location-copy > p, .event-copy > p { font-size: 18px; }
  .menu-layout { grid-template-columns: 1.08fr .72fr; gap: 24px; align-items: stretch; }
  .menu-photo { min-height: 100%; }
  .menu-photo img { min-height: 100%; border-radius: 32px; }
  .menu-card { min-height: 185px; padding: 25px; }
  .center-action { margin-top: 30px; }
  .event-band { grid-template-columns: minmax(0, 1fr) 280px; gap: 60px; align-items: center; padding: 58px 64px; border-radius: 42px; }
  .event-stamp { min-height: 240px; }
  .gallery-grid { grid-template-columns: 1.3fr .7fr .7fr; gap: 20px; }
  .gallery-wide { grid-column: auto; }
  .gallery-grid figure { min-height: 420px; }
  .gallery-grid img, .gallery-wide img { aspect-ratio: auto; }
  .map-card iframe { height: 470px; }
  .footer { grid-template-columns: 1.2fr .8fr 1fr; align-items: center; padding: 52px max(7vw, calc((100vw - 1180px) / 2)); }
  .footer-credit { grid-column: auto; text-align: right; }
}

@media (min-width: 1180px) {
  .nav a { padding-inline: 13px; font-size: 14px; }
}


.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.contact-item span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-item strong { color: var(--forest-900); line-height: 1.45; }
.faq-section { padding-top: 8px; }
.faq-grid { display: grid; gap: 14px; }
.faq-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 12px 30px rgba(36, 32, 23, .06); }
.faq-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 20px; color: var(--forest-900); }
.faq-card p { margin: 0; color: var(--muted); line-height: 1.65; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: repeat(3, 1fr); } .faq-card { padding: 28px; } }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
