/* ================================================
   BOKKEN — Full hero + scroll sections
   Barlow Condensed 700 + Outfit
   Dark theme / orange accent #E05820
   ================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:       #0C0A09;
  --bg-l:     #111009;
  --bg-hover: rgba(255, 255, 255, 0.025);
  --orange:   #E05820;
  --white:    #F0EBE3;
  --w70:      rgba(240, 235, 227, 0.70);
  --w40:      rgba(240, 235, 227, 0.40);
  --w16:      rgba(240, 235, 227, 0.16);
  --w08:      rgba(240, 235, 227, 0.08);
  --nav-h:    4.25rem;
  --pad-x:    6vw;
  --ff-brand: 'Barlow Condensed', sans-serif;
  --ff-body:  'Outfit', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

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

/* Smooth anchor offset below fixed nav */
[id] { scroll-margin-top: var(--nav-h); }


/* ====================================================
   NAV
   ==================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(12, 10, 9, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--w08);
}

.nav-logo {
  font-family: var(--ff-brand);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--w70);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1.15rem;
  background: var(--orange);
  color: #fff;
  transition: background 0.15s;
}
.nav-cta:hover  { background: #c84c18; }
.nav-cta:active { transform: scale(0.98); }


/* ====================================================
   BUTTONS
   ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.88rem 1.75rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:active { transform: scale(0.98); }

.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover { background: #c84c18; }

.btn-outline {
  background: transparent;
  color: var(--w70);
  border: 1px solid var(--w16);
}
.btn-outline:hover { color: var(--white); border-color: var(--w40); }


/* ====================================================
   HERO — full viewport, photo bg, text at bottom
   ==================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x) 8vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(12, 10, 9, 0.08)  0%,
      rgba(12, 10, 9, 0.18)  38%,
      rgba(12, 10, 9, 0.82)  65%,
      rgba(12, 10, 9, 0.97)  100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--ff-brand);
  font-size: clamp(6rem, 22vw, 22rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-sub {
  margin-top: 1rem;
  font-family: var(--ff-body);
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  font-weight: 400;
  color: var(--w70);
  line-height: 1.65;
  max-width: 55ch;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}


/* ====================================================
   CARTA SECTION
   ==================================================== */
.carta-sec {
  padding-top: 4.5rem;
  padding-bottom: 7rem;
}

.carta-hd {
  padding: 0 var(--pad-x);
  margin-bottom: 2.5rem;
}

.sec-title {
  font-family: var(--ff-brand);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}


/* ====================================================
   FILTER TABS
   ==================================================== */
.tabs-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 80;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--pad-x);
  background: rgba(12, 10, 9, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--w08);
  border-bottom: 1px solid var(--w08);
}
.tabs-bar::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--w40);
  padding: 1rem 1.2rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:first-child { padding-left: 0; }
.tab-btn:hover { color: var(--w70); }
.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}


/* ====================================================
   MENU ITEMS
   ==================================================== */
.menu-wrap {
  padding: 2.5rem var(--pad-x) 0;
}

#menu-body {
  transition: opacity 0.16s ease;
}

.cat-section { padding-top: 2.75rem; }
.cat-section:first-child { padding-top: 0; }

.cat-head {
  font-family: var(--ff-brand);
  font-size: clamp(1.4rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--w08);
  margin-bottom: 0.25rem;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--w08);
  cursor: pointer;
  transition: background 0.12s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: var(--bg-hover); }
.menu-item:focus-visible { outline: 1px solid var(--orange); outline-offset: -1px; }

.m-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  grid-column: 1;
  grid-row: 1;
}

.m-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--orange);
  white-space: nowrap;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.m-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--w70);
  line-height: 1.6;
  grid-column: 1;
  grid-row: 2;
  margin-top: 0.22rem;
  max-width: 62ch;
}


/* ====================================================
   EXTRAS
   ==================================================== */
.extras-section {
  margin-top: 3rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--w08);
}

.extras-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
  margin-top: 1.25rem;
}

.extras-col-intro {
  font-size: 0.75rem;
  color: var(--w40);
  margin-bottom: 0.85rem;
}

.extra-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.44rem 0;
  border-bottom: 1px solid var(--w08);
  font-size: 0.82rem;
}
.extra-row:last-child { border-bottom: none; }
.extra-name  { color: var(--w70); }
.extra-price { color: var(--w40); white-space: nowrap; font-size: 0.78rem; }


/* ====================================================
   INFO / DONDE ESTAMOS
   ==================================================== */
.info-sec {
  border-top: 1px solid var(--w08);
  padding: 5rem var(--pad-x) 6rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
  max-width: 820px;
}

.info-col {
  display: flex;
  flex-direction: column;
}

.info-col address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--w70);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.info-col address strong {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  display: block;
}

.info-hours {
  font-size: 0.9rem;
  color: var(--w70);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.info-link {
  display: block;
  font-size: 0.84rem;
  color: var(--w40);
  transition: color 0.15s;
  margin-bottom: 0.3rem;
}
.info-link:hover { color: var(--white); }

.info-rating {
  font-size: 0.78rem;
  color: var(--w40);
  margin-top: 1rem;
}

.info-contacts {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}


/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  border-top: 1px solid var(--w08);
  padding: 2.5rem var(--pad-x);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--ff-brand);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-meta {
  font-size: 0.72rem;
  color: var(--w40);
  margin-top: 0.3rem;
  line-height: 1.65;
}

.footer-right {
  font-size: 0.72rem;
  color: var(--w40);
  text-align: right;
  line-height: 1.65;
}


/* ====================================================
   MOBILE
   ==================================================== */
@media (max-width: 768px) {
  :root {
    --pad-x: 5vw;
  }

  /* Nav: hamburger takes over on mobile */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero: tighter font + stacked CTAs */
  .hero-title {
    font-size: clamp(4.5rem, 24vw, 10rem);
  }

  .hero-sub { font-size: 0.88rem; }

  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Carta */
  .carta-sec { padding-top: 3.5rem; }

  /* Extras */
  .extras-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Info */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-right { text-align: left; }
}

@media (max-width: 420px) {
  .hero { padding-bottom: 6vh; }
  .carta-sec { padding-top: 3rem; }
}


/* ====================================================
   CARTA HINT
   ==================================================== */
.carta-hint {
  font-size: 0.75rem;
  color: var(--w40);
  margin-top: 0.5rem;
  font-weight: 400;
}


/* ====================================================
   INFO TITLE
   ==================================================== */
.info-title {
  margin-bottom: 2.5rem;
}


/* ====================================================
   BUTTON SM
   ==================================================== */
.btn-sm {
  font-size: 0.78rem;
  padding: 0.58rem 1.1rem;
}


/* ====================================================
   MAP
   ==================================================== */
.map-container {
  margin-top: 3.5rem;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: 0;
  filter: grayscale(0.15) contrast(0.95);
}

.map-placeholder {
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: var(--bg-l);
  border: 1px solid var(--w08);
  text-align: center;
  padding: 2rem;
}

.map-placeholder p {
  font-size: 0.84rem;
  color: var(--w40);
  max-width: 28ch;
  line-height: 1.65;
}


/* ====================================================
   COOKIE BANNER
   ==================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(12, 10, 9, 0.97);
  border-top: 1px solid var(--w08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.8rem;
  color: var(--w40);
  line-height: 1.55;
  flex: 1;
  min-width: 180px;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}


/* ====================================================
   DISH MODAL
   ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-l);
  border: 1px solid var(--w16);
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  background: rgba(12, 10, 9, 0.75);
  border: 1px solid var(--w16);
  color: var(--w70);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.modal-close:hover { color: var(--white); border-color: var(--w40); }

.modal-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-info {
  padding: 1.5rem 1.75rem 2rem;
}

.modal-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.modal-name {
  font-family: var(--ff-brand);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--white);
}

.modal-price {
  font-family: var(--ff-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
}

.modal-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--w70);
  line-height: 1.65;
  max-width: 50ch;
}


/* ====================================================
   MOBILE — new additions
   ==================================================== */
@media (max-width: 768px) {
  /* Bottom-sheet modal on mobile */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-card {
    max-width: 100%;
    border-bottom: none;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .modal-overlay.open .modal-card {
    transform: translateY(0);
  }

  /* Map height on mobile */
  .map-container iframe,
  .map-placeholder {
    height: 280px;
  }

  /* Cookie banner stacked on very small screens */
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}


/* ====================================================
   HAMBURGER BUTTON
   ==================================================== */
.nav-hamburger {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 110;
  /* hidden on desktop via min-width query below */
}

@media (min-width: 769px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ====================================================
   MOBILE NAV OVERLAY
   ==================================================== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

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

.mobile-nav-link {
  font-family: var(--ff-brand);
  font-size: clamp(2.75rem, 13vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.15s;
  padding: 0.35rem 0;
  line-height: 1;
}
.mobile-nav-link:hover { color: var(--orange); }

.mobile-nav-cta {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  padding: 0.85rem 2.25rem;
}


/* ====================================================
   SCROLL TO TOP
   ==================================================== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover  { transform: translateY(-2px); }
.scroll-top:active { transform: scale(0.95); }


/* ====================================================
   REDUCED MOTION
   ==================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .btn, .nav-cta, .tab-btn, .menu-item, .nav-link, .info-link {
    transition: none;
  }

  #menu-body { transition: none; }

  .modal-card,
  .modal-overlay,
  .cookie-banner {
    transition: none;
  }
}
