:root {
  --olive: #4f5730;
  --olive-dark: #252a1b;
  --terracotta: #bd5a2a;
  --terracotta-dark: #8f3d20;
  --cream: #f4ede2;
  --paper: #fffaf2;
  --ink: #26231d;
  --muted: #726b5e;
  --line: rgba(79, 87, 48, 0.24);
  --shadow: 0 24px 80px rgba(37, 42, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 56px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--olive-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--olive-dark);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero,
.event-hero {
  position: relative;
  min-height: clamp(540px, calc(100vh - 170px), 680px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--olive-dark);
}

.hero-media,
.event-hero-media,
.essence-hero-media,
.gallery-hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/fondo-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.event-hero-media {
  background-image: url("assets/estandarte-cropped.jpeg");
}

.essence-hero-media {
  background-image: url("assets/estandarte-cropped.jpeg");
}

.gallery-hero-media {
  background-position: top;
  background-image: url("assets/fondo-gallery.jpeg");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 42, 27, 0.9), rgba(37, 42, 27, 0.54) 48%, rgba(37, 42, 27, 0.28)),
    linear-gradient(180deg, rgba(37, 42, 27, 0.25), rgba(37, 42, 27, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
  padding: 82px 0;
  transform: translateY(-34px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #f0b081;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 6.4rem;
  font-weight: 400;
  line-height: 0.92;
}

.hero-content h1 {
  line-height: 1.02;
}

h2 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1;
}

h3 {
  margin: 0;
  color: var(--olive-dark);
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  line-height: 1.7;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.9);
  font-size: 1.28rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: var(--paper);
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.button.small { 
  color: var(--paper);
  background: var(--terracotta);
  border-color: var(--terracotta);
  min-height: 38px;
  padding: 10px 24px;
  font-size: 0.70rem;
  transform: none;
}

.button.secondary {
  color: var(--olive-dark);
  background: var(--paper);
  border-color: var(--line);
}

.hero .button.secondary,
.event-hero .button.secondary {
  color: var(--paper);
  background: rgba(255, 250, 242, 0.08);
  border-color: rgba(255, 250, 242, 0.5);
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section,
.event-intro,
.menu-section,
.essence-section,
.gallery-section,
.values-section,
.contact-section,
.event-options,
.event-details,
.event-cta,
.privacy-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro-section,
.event-intro {
  background: var(--paper);
}

.intro-grid,
.events-strip-grid,
.contact-grid,
.details-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.intro-grid p,
.events-strip-grid p,
.contact-grid p,
.details-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.menu-tab {
  min-width: 118px;
  min-height: 44px;
  padding: 12px 18px;
  color: var(--olive-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-tab.active {
  color: var(--paper);
  background: var(--olive);
  border-color: var(--olive);
}

.menu-panel {
  animation: fadeIn 220ms ease;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 430px);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.menu-list,
.drink-groups,
.detail-list {
  display: grid;
  gap: 16px;
}

.menu-item,
.menu-card,
.event-card,
.value-card,
.gallery-tile,
.info-block,
.detail-list article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(245, 86, 0, 0.08);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
}

.menu-item p,
.menu-card li,
.event-card p,
.detail-list p {
  color: var(--muted);
}

.menu-item p {
  margin: 8px 0 0;
}

.menu-item span {
  flex: 0 0 auto;
  color: var(--terracotta-dark);
  font-size: 1.2rem;
  font-weight: 700;
}

.menu-art {
  position: sticky;
  top: 100px;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-direction: column;
  
}

.menu-art img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu-card {
  padding: 24px;
}

.menu-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 16px 0 0;
}

.events-strip,
.event-cta {
  padding: clamp(54px, 8vw, 86px) 0;
  color: var(--paper);
  background: var(--olive-dark);
}

.events-strip h2,
.event-cta h2 {
  color: var(--paper);
}

.events-strip p {
  color: rgba(255, 250, 242, 0.78);
}

.events-strip-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr) auto;
}

.essence-grid {
  display: grid;
  gap: 32px;
}

.statement {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.statement.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
}

.statement.reverse img {
  order: 2;
}

.statement img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.statement p {
  color: var(--muted);
}

.values-section {
  background: var(--paper);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  min-height: 210px;
  padding: 26px;
}

.value-card p {
  color: var(--muted);
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.gallery-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.gallery-tile.featured {
  grid-row: span 2;
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), rgba(189, 90, 42, 0.16));
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-tile img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 320ms ease, filter 220ms ease;
}

.gallery-tile.featured img {
  height: 660px;
}

.gallery-tile figcaption {
  position: relative;
  z-index: 1;
  padding: 14px 16px 16px;
  color: var(--olive-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-tile:hover,
.gallery-tile:focus-visible {
  border-color: rgba(189, 90, 42, 0.55);
  box-shadow: 0 22px 60px rgba(37, 42, 27, 0.18);
  transform: translateY(-6px);
}

.gallery-tile:hover::after,
.gallery-tile:focus-visible::after {
  opacity: 1;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.045);
}

.gallery-tile:focus-visible {
  outline: 3px solid rgba(189, 90, 42, 0.45);
  outline-offset: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 12px;
  padding: 76px clamp(18px, 4vw, 56px) 34px;
  background: rgba(20, 22, 15, 0.9);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
}

.lightbox-image {
  max-width: min(100%, 1050px);
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 8px;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: rgba(255, 250, 242, 0.1);
  border: 1px solid rgba(255, 250, 242, 0.34);
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(189, 90, 42, 0.92);
  transform: translateY(-2px);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  width: 54px;
  height: 54px;
  font-size: 2.8rem;
  line-height: 1;
}

.lightbox-prev {
  justify-self: end;
}

.lightbox-next {
  justify-self: start;
}

body.lightbox-open {
  overflow: hidden;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.92)),
    url("assets/instagram-qr-cropped.jpeg") center/cover;
}

.info-block {
  padding: 28px;
}

.info-block h3 + p {
  margin-top: 8px;
  color: black;
}

.info-block p + h3 {
  margin-top: 24px;
  color: black;
} 

.info-block p {
  color: black;
} 

.info-block a {
  color: rgb(194, 140, 40);
  font-weight: bold;
} 

.info-block .map-button {
  display: inline-flex;
  width: fit-content;
  padding: 10px 16px;
  margin: 8px 0 10px -2px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 5vw, 58px);
  color: rgba(255, 250, 242, 0.82);
  background: var(--olive-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f0b081;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
}

.event-options {
  background: var(--cream);
}

.event-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.event-card {
  min-height: 260px;
  padding: 24px;
}

.event-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: var(--paper);
  background: var(--terracotta);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.event-details {
  background: var(--paper);
}

.privacy-hero {
  padding: clamp(70px, 9vw, 120px) 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(37, 42, 27, 0.92), rgba(37, 42, 27, 0.72)),
    url("assets/estandarte-cropped.jpeg") center/cover;
}

.privacy-hero h1 {
  color: var(--paper);
  font-size: 4.8rem;
  line-height: 1;
}

.privacy-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-content {
  max-width: 880px;
  padding: clamp(28px, 5vw, 64px);
}

.legal-content h2 {
  margin-top: 36px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 14px 0 0;
}

.legal-content a {
  color: var(--terracotta-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-list article {
  padding: 22px;
}

.cta-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@media (max-width: 900px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 10px;
  }

  .hero,
  .event-hero {
    min-height: clamp(520px, calc(100vh - 130px), 640px);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(37, 42, 27, 0.56), rgba(37, 42, 27, 0.9)),
      linear-gradient(90deg, rgba(37, 42, 27, 0.64), rgba(37, 42, 27, 0.2));
  }

  .hero-content {
    width: min(100% - 32px, 620px);
    margin: 0 auto;
    padding: 64px 0;
    transform: translateY(-18px);
  }

  h1 {
    font-size: 4.5rem;
  }

  .privacy-hero h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .hero-copy {
    font-size: 1.16rem;
  }

  .intro-grid,
  .events-strip-grid,
  .contact-grid,
  .details-grid,
  .cta-grid,
  .menu-layout,
  .statement,
  .statement.reverse {
    grid-template-columns: 1fr;
  }

  .statement.reverse img {
    order: 0;
  }

  .menu-art {
    position: static;
  }

  .events-strip-grid,
  .cta-grid {
    align-items: start;
  }

  .event-card-grid,
  .gallery-grid,
  .values-grid,
  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-tile.featured {
    grid-row: span 1;
  }

  .gallery-tile.featured img {
    height: 320px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: 78px 18px 24px;
  }

  .lightbox-content {
    grid-row: 1;
  }

  .lightbox-nav {
    position: fixed;
    bottom: 22px;
    width: 48px;
    height: 48px;
  }

  .lightbox-prev {
    left: calc(50% - 62px);
  }

  .lightbox-next {
    right: calc(50% - 62px);
  }

  .lightbox-image {
    max-height: calc(100vh - 170px);
  }
}

@media (max-width: 560px) {
  .brand {
    width: 104px;
    height: 52px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .privacy-hero h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.12rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .menu-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .menu-tab {
    width: 100%;
  }

  .menu-item {
    flex-direction: column;
    padding: 20px;
  }

  .event-card-grid,
  .gallery-grid,
  .values-grid,
  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-tile img,
  .gallery-tile.featured img {
    height: 300px;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
