:root {
  --color-ink: #17110f;
  --color-muted: #6f625c;
  --color-surface: #fff7f2;
  --color-card: #ffffff;
  --color-line: #ead5cd;
  --color-fire: #d60724;
  --color-mustard: #f3b320;
  --color-char: #120d0c;
  --shadow-soft: 0 24px 60px rgba(18, 13, 12, 0.14);
  --radius: 8px;
  --container: 1120px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header / Navegación */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 247, 242, 0.94);
  border-bottom: 1px solid rgba(234, 213, 205, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.site-header .brand {
  min-height: var(--header-height);
}

.brand-logo-img {
  width: 108px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.site-header .brand-logo-img {
  width: auto;
  height: calc(var(--header-height) * 0.6);
}

.brand-text {
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
  padding-block: 8px;
}

.nav-menu a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  content: "";
  background: var(--color-fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-card);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-char);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: start;
  overflow: hidden;
  color: #ffffff;
  background: var(--color-char);
}

.hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background: var(--color-char);
}

.hero-media img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: right top;
  transform: none;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 13, 12, 0.94), rgba(18, 13, 12, 0.62), rgba(18, 13, 12, 0.28)),
    linear-gradient(0deg, rgba(18, 13, 12, 0.56), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 20px 72px;
}

.hero-logo {
  width: min(340px, 72vw);
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--color-mustard);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-family: "Helvetica Neue Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 14vw, 9.5rem);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--color-fire);
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
}

/* Secciones generales */
.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section h2 {
  max-width: 720px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
}

.section-copy,
.section-heading p,
.promo-layout p,
.location-grid p,
.site-footer p {
  color: var(--color-muted);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.section-copy p:first-child {
  margin-top: 0;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

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

.section-heading p:last-child {
  margin-bottom: 0;
}

/* Video destacado */
.featured-video {
  background: #ffffff;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.video-frame {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000000;
  box-shadow: var(--shadow-soft);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Menú */
.menu-section {
  background: #ffffff;
}

.menu-table {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.menu-table-head,
.menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 112px;
  gap: 16px;
  align-items: center;
}

.menu-table-head {
  padding: 14px 18px;
  color: #ffffff;
  background: var(--color-fire);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-table-head span:nth-child(2),
.menu-table-head span:nth-child(3) {
  text-align: right;
}

.menu-row {
  padding: 18px;
  border-top: 1px solid var(--color-line);
}

.menu-row h3 {
  margin: 0 0 4px;
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.menu-row p {
  margin: 0;
  color: var(--color-muted);
}

.menu-row strong {
  display: grid;
  gap: 2px;
  color: var(--color-fire);
  font-size: 1rem;
  text-align: right;
}

.menu-row strong span {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.extras-grid article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff7f2;
  font-weight: 800;
}

.extras-grid strong {
  color: var(--color-fire);
}

.menu-photo-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--color-fire);
  font-weight: 800;
}

/* Galería */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.gallery-item {
  min-height: calc(100vh - var(--header-height) - 96px);
  margin: 0;
}

.gallery-item-large {
  grid-row: auto;
}

.gallery-item-wide {
  grid-column: auto;
}

.gallery-item-tall {
  grid-row: auto;
}

.gallery-button {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - var(--header-height) - 128px);
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #000000;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.gallery-button:focus-visible {
  outline: 3px solid var(--color-mustard);
  outline-offset: 3px;
}

.gallery-button img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - var(--header-height) - 128px);
  object-fit: contain;
  transition: transform 180ms ease;
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Visor de galería */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
  align-items: center;
  justify-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-content figcaption {
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--color-fire);
}

.lightbox-close {
  grid-column: 3;
  grid-row: 1;
  width: 48px;
  height: 48px;
  justify-self: end;
  font-size: 1.5rem;
  font-weight: 800;
}

.lightbox-nav {
  grid-row: 2;
  align-self: center;
  width: 56px;
  height: 72px;
  font-size: 2.4rem;
  font-weight: 700;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-next {
  grid-column: 3;
}

/* Promociones */
.promos {
  color: #ffffff;
  background: var(--color-char);
}

.promos .section-kicker,
.promos p {
  color: rgba(255, 255, 255, 0.78);
}

.promo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.promo-list {
  display: grid;
  gap: 16px;
}

.promo-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #fff7f2;
  box-shadow: var(--shadow-soft);
}

.promo-card span {
  color: var(--color-fire);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-card h3 {
  margin: 12px 0 8px;
  color: var(--color-ink);
  font-family: "Oswald", sans-serif;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.promo-card p {
  margin: 0;
  color: var(--color-muted);
}

/* Ubicación y contacto */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.contact-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}

.contact-list dt {
  color: var(--color-fire);
  font-weight: 800;
}

.contact-list dd {
  margin: 4px 0 0;
  color: var(--color-muted);
}

.map-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 2px dashed rgba(18, 13, 12, 0.28);
  border-radius: var(--radius);
  color: var(--color-muted);
  background: #fffdf9;
  font-weight: 800;
  text-align: center;
}

/* Footer */
.site-footer {
  padding-block: 44px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--color-char);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 28px;
}

.footer-logo {
  padding: 6px;
  border-radius: var(--radius);
  background: #ffffff;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-mustard);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 24px 28px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-soft);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
  }

  .nav-menu a {
    display: block;
    padding: 15px 0;
  }

  .nav-toggle.is-open .nav-toggle-line:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-line:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle-line:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-grid,
  .video-layout,
  .promo-layout,
  .location-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-table-head {
    display: none;
  }

  .menu-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .menu-row strong {
    text-align: left;
  }

  .extras-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item,
  .gallery-button,
  .gallery-button img {
    min-height: calc(100vh - var(--header-height) - 112px);
  }

  .lightbox {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    padding: 10px;
  }

  .lightbox-nav {
    width: 44px;
    height: 60px;
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 78px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-logo-img {
    width: 98px;
    height: 64px;
  }

  .site-header .brand-logo-img {
    width: auto;
    height: calc(var(--header-height) * 0.6);
  }

  .hero {
    min-height: 720px;
  }

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

  .extras-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item-large,
  .gallery-button,
  .gallery-button img {
    min-height: min(620px, calc(100vh - var(--header-height) - 80px));
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 56px minmax(0, 1fr) 56px;
  }

  .lightbox-content {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .lightbox-close {
    grid-column: 2;
    grid-row: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-row: 3;
    width: 100%;
    height: 48px;
  }

  .lightbox-prev {
    grid-column: 1;
  }

  .lightbox-next {
    grid-column: 2;
  }
}
