:root {
  --bg: #0f0d0b;
  --bg-soft: #171310;
  --surface: #1d1814;
  --surface-2: #251e19;
  --cream: #f4eee5;
  --muted: #bdb1a3;
  --line: rgba(255,255,255,.12);
  --orange: #ff6a00;
  --orange-2: #d94d00;
  --white: #fffaf4;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.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; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-160%); background: var(--white); color: #111; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }

h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(3.4rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.7rem); }
h3 { font-size: 1.2rem; }
.eyebrow { margin-bottom: 18px; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.center { text-align: center; }
.mobile-only { display: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 92px;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,8,7,.78), transparent);
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled,
.menu-page .site-header,
.billing-page .site-header {
  background: rgba(15,13,11,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; width: 170px; height: 58px; overflow: hidden; border-radius: 8px; text-decoration: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a {
  padding: 10px 13px;
  color: #efe6dc;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--orange);
}
.primary-nav a[aria-current="page"],
.primary-nav a[aria-current="page"]:hover,
.primary-nav a[aria-current="page"]:focus-visible {
  color: var(--orange);
}
.primary-nav .nav-cta { margin-left: 9px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.primary-nav .nav-cta:hover { border-color: var(--orange); background: var(--orange); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #160d07; }
.button-primary:hover { background: #ff7c24; }
.button-ghost { border-color: rgba(255,255,255,.38); color: #fff; background: rgba(0,0,0,.15); }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button-outline { border-color: rgba(255,255,255,.22); color: var(--cream); }
.button-outline:hover { border-color: var(--orange); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--cream); font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 3px; }
.text-link span { color: var(--orange); }
.text-link.light { color: #fff; }

.hero-home { position: relative; min-height: min(900px, 100svh); display: flex; align-items: flex-end; overflow: hidden; background: #090706; }
.hero-home__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-home__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,5,4,.9) 0%, rgba(7,5,4,.63) 37%, rgba(7,5,4,.2) 68%, rgba(7,5,4,.32) 100%), linear-gradient(0deg, rgba(7,5,4,.75), transparent 45%); }
.hero-home__content { position: relative; z-index: 2; padding-bottom: clamp(90px, 11vw, 150px); padding-top: 150px; }
.hero-home h1 { max-width: 830px; margin-bottom: 24px; color: #fff; }
.hero-copy { max-width: 620px; color: #ded3c8; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-scroll { position: absolute; z-index: 2; right: 28px; bottom: 25px; display: flex; gap: 10px; align-items: center; color: #ddd1c5; font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; text-decoration: none; }
.hero-scroll span { color: var(--orange); font-size: 1.25rem; }

.intro { background: var(--cream); color: #1a1511; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.intro h2 { margin-bottom: 0; max-width: 680px; }
.intro-copy { padding-top: 56px; }
.intro-copy p { color: #574b41; font-size: 1.1rem; max-width: 590px; }
.intro .text-link { color: #1b1612; border-color: rgba(0,0,0,.2); }

.editorial-gallery { display: grid; grid-template-columns: 1.2fr .9fr .9fr; min-height: 720px; background: #000; }
.gallery-card { position: relative; min-height: 620px; overflow: hidden; border-right: 1px solid rgba(255,255,255,.06); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 58%); }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; }
.gallery-caption span { display: block; color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.gallery-caption strong { display: block; margin-top: 4px; color: #fff; font-size: clamp(1.5rem, 2vw, 2.3rem); letter-spacing: -.03em; }

.featured-menu { background: var(--bg); }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; max-width: 760px; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 480px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.84), transparent 58%); }
.feature-card:hover img { transform: scale(1.04); }
.feature-card__overlay { position: absolute; z-index: 2; inset: auto 25px 24px; }
.feature-card__overlay small { display: block; color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.feature-card__overlay strong { display: block; margin-top: 5px; color: #fff; font-size: 1.5rem; }

.location-band { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 650px; background: #21160f; }
.location-band__image img { width: 100%; height: 100%; object-fit: cover; }
.location-band__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 120px); }
.location-band__content h2 { margin-bottom: 24px; }
.location-band__content > p:not(.eyebrow) { color: #c9b9aa; font-size: 1.08rem; }
.location-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 24px; }

.page-hero { min-height: 560px; display: flex; align-items: flex-end; position: relative; padding-top: 92px; overflow: hidden; background: #16100c; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,5,4,.88), rgba(7,5,4,.44)), linear-gradient(0deg, rgba(7,5,4,.7), transparent); }
.page-hero--menu::before { background-image: url('/assets/img/parrillada-el-cazador.jpg'); background-position: center 46%; }
.page-hero--contact::before { background-image: url('/assets/img/fachada-el-cazador.jpg'); background-position: center 54%; }
.page-hero__inner { position: relative; z-index: 2; padding-bottom: 70px; }
.page-hero h1 { margin: 0 0 18px; font-size: clamp(3.2rem, 7vw, 6.5rem); }
.page-hero__inner > p:not(.eyebrow) { max-width: 650px; color: #d9cec4; font-size: 1.1rem; }
.pdf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.menu-jump { position: sticky; top: 92px; z-index: 80; border-bottom: 1px solid var(--line); background: rgba(15,13,11,.96); backdrop-filter: blur(14px); }
.menu-jump__scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 11px; padding-bottom: 11px; }
.menu-jump__scroll::-webkit-scrollbar { display: none; }
.menu-jump a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; color: #cfc2b5; text-decoration: none; font-size: .82rem; font-weight: 750; }
.menu-jump a:hover { background: var(--surface-2); color: #fff; }
.menu-content { background: var(--cream); color: #1a1511; }
.menu-layout { max-width: 1050px; }
.menu-category { padding: 0 0 75px; border-bottom: 1px solid rgba(44,34,26,.14); margin-bottom: 75px; }
.menu-category__heading { display: flex; gap: 18px; align-items: baseline; margin-bottom: 35px; }
.menu-category__heading span { color: var(--orange-2); font-weight: 900; font-size: .82rem; letter-spacing: .14em; }
.menu-category__heading h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); }
.menu-category__note { margin: -10px 0 24px; max-width: 860px; color: #6b5e52; line-height: 1.65; font-size: .92rem; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 54px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(44,34,26,.14); }
.menu-item h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: -.01em; }
.menu-item p { margin: 0; color: #6b5e52; font-size: .86rem; line-height: 1.5; }
.menu-item__price { color: #241a14; font-size: .95rem; white-space: nowrap; }
.menu-photo-break { position: relative; margin: 0 0 75px; height: 480px; overflow: hidden; border-radius: var(--radius); }
.menu-photo-break img { width: 100%; height: 100%; object-fit: cover; }
.menu-photo-break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent 60%); }
.menu-photo-break figcaption { position: absolute; z-index: 2; left: 28px; bottom: 25px; color: #fff; font-weight: 800; }
.menu-pdf-note { padding: 85px 0; background: var(--surface); }
.menu-pdf-note__inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.menu-pdf-note h2 { margin-bottom: 15px; font-size: clamp(2rem, 4vw, 3.6rem); }
.menu-pdf-note p { color: var(--muted); }

.contact-main { background: var(--cream); color: #1a1511; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.contact-details h2 { margin-bottom: 38px; }
.contact-list { border-top: 1px solid rgba(0,0,0,.14); }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 25px; padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,.14); }
.contact-list span { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #8e5b35; }
.contact-list p { margin: 0; color: #574b41; }
.contact-list a { color: #251a14; font-weight: 800; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-main .button-outline { color: #1a1511; border-color: rgba(0,0,0,.22); }
.contact-photo { border-radius: var(--radius); overflow: hidden; min-height: 610px; box-shadow: 0 30px 70px rgba(0,0,0,.14); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.map-section iframe { width: 100%; height: 520px; border: 0; display: block; filter: saturate(.82) contrast(1.05); }

.simple-hero { padding: 190px 0 90px; background: radial-gradient(circle at 80% 30%, rgba(255,106,0,.16), transparent 35%), var(--bg-soft); border-bottom: 1px solid var(--line); }
.simple-hero h1 { margin-bottom: 15px; font-size: clamp(3rem, 7vw, 6rem); }
.simple-hero p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.billing-section { background: var(--cream); color: #1a1511; }
.billing-card { display: grid; grid-template-columns: 120px 1fr; gap: 40px; max-width: 900px; align-items: start; }
.billing-card__number { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: #1a1511; color: var(--orange); font-weight: 900; font-size: 1.2rem; }
.billing-card h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.billing-card p { max-width: 690px; color: #62554a; font-size: 1.05rem; }
.billing-card .button { margin-top: 18px; }

.site-footer { padding: 70px 0 25px; background: #090807; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.1fr .8fr .7fr; gap: 40px; }
.footer-brand { color: #fff; font-weight: 950; letter-spacing: -.04em; font-size: 1.35rem; }
.footer-brand span { color: var(--orange); }
.site-footer h2 { margin-bottom: 12px; font-size: .75rem; text-transform: uppercase; letter-spacing: .17em; color: #e0d4c8; }
.site-footer p { color: #9d9085; font-size: .9rem; }
.site-footer a { color: #d6cbc0; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #786d64; font-size: .78rem; }

@media (max-width: 980px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 78px; }
  .brand { width: 135px; height: 48px; }
  body.nav-open .site-header {
    background: #0c0a08;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .nav-toggle { display: block; position: relative; z-index: 1002; }
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    padding: 100px 28px 40px;
    background: #0c0a08;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .3s ease, visibility 0s;
  }
  .primary-nav a { font-size: 1.35rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .primary-nav .nav-cta { margin: 18px 0 0; padding: 14px 20px; text-align: center; border: 1px solid var(--orange); }
  .menu-jump { top: 78px; }
  .intro-grid, .contact-grid, .location-band { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .editorial-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-card--wide { grid-column: 1 / -1; min-height: 560px; }
  .gallery-card { min-height: 520px; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; min-height: 420px; }
  .location-band__image { min-height: 560px; }
  .menu-items { grid-template-columns: 1fr; }
  .menu-pdf-note__inner { align-items: flex-start; flex-direction: column; }
  .contact-photo { min-height: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 96px; }
  .section { padding: 68px 0; }
  .container { width: min(calc(100% - 26px), var(--max)); }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  h2 { font-size: clamp(2.1rem, 11vw, 3.3rem); }
  .desktop-only { display: none !important; }
  .mobile-only { display: block; }
  .site-header { height: 72px; }
  .brand { width: 118px; height: 42px; }
  .hero-home { min-height: 88svh; }
  .hero-home__media { object-position: 54% center; }
  .hero-home__shade { background: linear-gradient(0deg, rgba(7,5,4,.9) 0%, rgba(7,5,4,.4) 70%, rgba(7,5,4,.28) 100%); }
  .hero-home__content { padding-top: 130px; padding-bottom: 80px; }
  .hero-home h1 { margin-bottom: 18px; }
  .hero-copy { font-size: 1rem; max-width: 92%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-scroll { display: none; }
  .intro-grid { gap: 28px; }
  .editorial-gallery { grid-template-columns: 1fr; }
  .gallery-card--wide { grid-column: auto; }
  .gallery-card, .gallery-card--wide { min-height: 520px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card, .feature-card:last-child { grid-column: auto; min-height: 430px; }
  .featured-menu .mobile-only { margin-top: 26px; }
  .location-band__image { min-height: 440px; }
  .location-band__content { padding: 60px 24px; }
  .page-hero { min-height: 520px; padding-top: 72px; }
  .page-hero__inner { padding-bottom: 52px; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .pdf-actions { flex-direction: column; align-items: stretch; }
  .menu-jump { top: 72px; }
  .menu-category { padding-bottom: 55px; margin-bottom: 55px; }
  .menu-category__heading { margin-bottom: 25px; }
  .menu-item { padding: 18px 0; gap: 12px; }
  .menu-photo-break { height: 380px; margin-bottom: 55px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 5px; }
  .contact-buttons { flex-direction: column; align-items: stretch; }
  .contact-photo { min-height: 420px; }
  .map-section iframe { height: 430px; }
  .billing-card { grid-template-columns: 1fr; gap: 24px; }
  .billing-card__number { width: 64px; height: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

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

/* Menu groups used for presentation sizes shown in the printed menu (e.g. wines). */
.menu-groups { display: grid; gap: 34px; }
.menu-group__title { margin: 0 0 10px; color: #9f5a24; font-size: .82rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================
   404
   ========================================================= */

.error-page {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: 9rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.error-page::before {
  content: "404";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  font-size: clamp(12rem, 35vw, 34rem);
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
}

.error-page-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.error-page .eyebrow {
  margin-bottom: 1.25rem;
  color: var(--accent, #f36c21);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.error-page h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.error-description {
  max-width: 580px;
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.error-help {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.error-help a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.error-help a:hover {
  color: var(--accent, #f36c21);
}

@media (max-width: 600px) {
  .error-page {
    min-height: calc(100svh - 70px);
    padding: 8rem 0 4rem;
  }

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

  .error-actions .button {
    width: 100%;
  }
}
