/* ============ Tokens: palette from the Nuna Raymi 2026 Brand Manual ============ */
:root {
  /* --- Official palette --- */
  --bugambilia: #a32e49;
  /* energy, creativity and warmth */
  --marfil: #f9f5f4;
  /* purity, balance and simplicity */
  --cacao: #49301b;
  /* earth, coffee, wood and artisanal cooking */
  --hoja: #3c826f;
  /* freshness, nature and single-origin produce */
  --aji: #de7b3a;
  /* flavor, vitality and culinary character */
  /* --- Semantic tokens (map the palette onto the site's uses) --- */
  --gold: var(--bugambilia);
  /* main accent (links, buttons, prices) */
  --ink: var(--cacao);
  /* dark backgrounds (footer, CTA) */
  --ink-2: var(--cacao);
  /* headings */
  --ink-3: #2f1e10;
  /* strong hover */
  --text: #5a4636;
  /* body text (warm gray derived from Cacao) */
  --text-soft: #8a7361;
  --gray-bg: #f1e9e3;
  /* alternating sections (deep ivory) */
  --border: #e7dcd3;
  --gold-rgb: 163, 46, 73;
  /* Bugambilia as r,g,b for use with rgba() */
  --aji-rgb: 222, 123, 58;
  --hoja-rgb: 60, 130, 111;
  --ta-green: #00aa6c;
  /* Tripadvisor green: ONLY for the TA logo/bubble; everything else uses Hoja Andina */
  --ta-green-dark: #008756;
  --ta-green-rgb: 0, 170, 108;
  --sans: "Montserrat", Helvetica, sans-serif;
  /* free web substitute for Gotham */
  --radius: 8px;
  --max: 1200px;
  --read: 760px;
  /* article column width (blog posts) */
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  /* Stepped cut from the brand manual (bottom-right corner of containers) */
  --stepped-cut: polygon(0 0, 100% 0,
      100% calc(100% - 24px),
      calc(100% - 74px) calc(100% - 24px),
      calc(100% - 98px) calc(100% - 12px),
      calc(100% - 128px) calc(100% - 12px),
      calc(100% - 152px) 100%,
      0 100%);
}

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

html {
  scroll-behavior: smooth;
  /* anchors (#reservations, etc.) land below the fixed header */
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--marfil);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .3s ease;
}

a:hover {
  color: var(--ink-3);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  color: var(--ink-2);
  font-weight: 500;
  margin: 0;
}

p {
  margin: 0 0 20px;
}

/* ============ Light typographic accent (manual's Light weight, previously italic serif) ============ */
.banners_grid p, .offer-banner p, .xp-desc, .box_1 h2 span, .review-card .review-text, .award-org {
  font-weight: 300;
}

button {
  font: inherit;
  cursor: pointer;
}

input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ============ Buttons (unified system radius, see --radius) ============ */
.btn_1 {
  display: inline-block;
  border: none;
  background: var(--gold);
  color: #fff;
  font-weight: 500;
  font-size: .875rem;
  text-align: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: filter .3s ease;
}

.btn_1:hover {
  filter: brightness(1.15);
  color: #fff;
}

.btn_1.outline {
  border: 2px solid var(--ink-3);
  color: var(--ink-3);
  background: none;
  padding: 10px 26px;
}

.btn_1.outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============ Graphic system from the 2026 Brand Manual ============ */
/* Identity container: stepped detail in the bottom-right corner */
.nuna-cut {
  clip-path: var(--stepped-cut);
  border-radius: 0;
}

/* Thin-border variant (two clipped layers sharing the same silhouette) */
.nuna-frame {
  background: var(--cacao);
  padding: 1.5px;
  clip-path: var(--stepped-cut);
}

.nuna-frame>* {
  clip-path: var(--stepped-cut);
}

/* Organic shape (hand-drawn star, p. 15 of the manual) */
.spark-nuna {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

/* Icon used as a graphic signature, bottom-right corner (p. 19 of the manual).
       Geometric PLACEHOLDER: replace with the official "N + farmer" SVG. */
.nuna-signature {
  position: absolute;
  right: 20px;
  bottom: 36px;
  width: 38px;
  height: auto;
  opacity: .9;
}

/* ============ Header: transparent over the hero, white on scroll ============ */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}

header.sticky {
  background: var(--marfil);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

header .container {
  max-width: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo img {
  height: 32px;
  width: auto;
}

#logo .logo_sticky {
  display: none;
}

header.sticky #logo .logo_normal {
  display: none;
}

header.sticky #logo .logo_sticky {
  display: block;
}

nav.main-menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav.main-menu a {
  display: block;
  padding: 8px 12px;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
}

header.sticky nav.main-menu a {
  color: var(--text);
}

/* Hover: the text keeps its color (white over the hero, dark when sticky)
   and an underline grows from left to right */
nav.main-menu a:not(.btn_top) {
  position: relative;
}

nav.main-menu a:not(.btn_top)::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}

nav.main-menu a:not(.btn_top):hover::after,
nav.main-menu a:not(.btn_top):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

a.btn_top {
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  padding: 8px 16px !important;
  color: #fff !important;
  margin-left: 6px;
}

header.sticky a.btn_top {
  border-color: var(--cacao);
  background: var(--cacao);
  color: #fff !important;
}

a.btn_top:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff !important;
}

.burger {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  padding: .2rem;
}

header.sticky .burger {
  color: var(--text);
}

/* ============ Hero: image carousel (vanilla) ============ */
.hero {
  position: relative;
  height: 60vh;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
}

.hero .slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero .slide.active {
  opacity: 1;
}

.hero .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(41, 26, 13, .35);
  /* warm veil (Cacao) instead of pure black */
}

.hero .slide-text {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero .slide.align-end .slide-text {
  position: absolute;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.hero .slide.align-start .slide-text {
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.hero .slide.align-center .slide-text {
  margin-inline: auto;
  text-align: center;
}

/* Manual's heading system: Regular + Bold within a single title */
.hero h1,
.hero h2 {
  color: #fff;
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 2.875rem);
  line-height: 1.05;
  margin: 0;
}

.hero h1 strong,
.hero h2 strong {
  font-weight: 800;
}

.hero .subtitle {
  font-size: 1.3rem;
  margin: 14px 0 22px;
}

.hero .dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 26px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero .dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, .3);
  padding: 0;
}

.hero .dots button.active {
  background: #fff;
}

/* Marfil line below the hero, same thickness (5px) as the banner separators */
.hero-divider {
  height: 5px;
  background: var(--marfil);
}

/* ============ Strip of 4 categories (Menu / Market / Producers / Social Impact) ============ */
.banners_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

@media (max-width:1024px) {
  .banners_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.banners_grid li {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.banners_grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.banners_grid a:hover img {
  transform: scale(1.06);
}

.banners_grid .short_info {
  position: absolute;
  inset: 0;
  background: rgba(41, 26, 13, .5);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banners_grid h3 {
  color: #fff;
  font-size: 1.625rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.banners_grid p {
  margin: 6px 0 0;
}

@media (max-width:767px) {
  .banners_grid {
    grid-template-columns: 1fr;
  }

  .banners_grid li {
    height: 180px;
  }
}

/* ============ Section heading: line + golden accent ============ */
.main_title {
  margin-bottom: 30px;
}

.main_title .line {
  width: 120px;
  height: 2px;
  background: var(--border);
}

.main_title .line em {
  width: 60px;
  height: 2px;
  background: var(--gold);
  display: block;
  font-style: normal;
}

.main_title h2 {
  font-size: 2rem;
  max-width: 600px;
  margin-top: 20px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: .02em;
}

.main_title h2 strong {
  font-weight: 800;
}

.main_title p {
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 600px;
}

.main_title.center {
  text-align: center;
}

.main_title.center .line,
.main_title.center .line em {
  margin-inline: auto;
}

.main_title.center h2 {
  font-size: 2.125rem;
  max-width: none;
}

.main_title.center p {
  font-size: 1.3rem;
  font-weight: 300;
  max-width: none;
}

/* ============ Intro (Nuna Raymi) ============ */
.intro {
  padding: 96px 0;
}

.intro .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro figure {
  position: relative;
  margin: 0;
  width: fit-content;
}

.intro figure img {
  border-radius: var(--radius);
}

.btn_play {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .4);
  animation: pulse 2.5s infinite;
  cursor: pointer;
  z-index: 2;
}

.btn_play:hover {
  color: var(--gold);
  animation: none;
  transform: scale(1.1);
}

.btn_play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

/* ============ Floating WhatsApp buttons ============ */
.float-btn {
  position: fixed;
  bottom: 24px;
  z-index: 997;
  /* under the mobile menu scrim (998) so they dim with the page */
  display: flex;
  align-items: center;
  height: 56px;
  background: var(--cacao);
  color: var(--marfil);
  border: 1px solid rgba(249, 245, 244, .18);
  box-shadow: 0 10px 30px rgba(41, 26, 13, .28), 0 2px 6px rgba(41, 26, 13, .18);
  transition: transform .4s var(--ease-soft), background .3s ease, box-shadow .3s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
  background: var(--ink-3);
  color: var(--marfil);
  box-shadow: 0 16px 36px rgba(41, 26, 13, .34), 0 3px 8px rgba(41, 26, 13, .2);
}

.float-btn svg {
  flex-shrink: 0;
}

/* WhatsApp: cacao circle, fine bugambilia ring that breathes */
.float-wa {
  right: 24px;
  width: 56px;
  border-radius: 50%;
  justify-content: center;
}

.float-wa svg {
  width: 24px;
  height: 24px;
}

.float-wa::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), .55);
  animation: float-ring 3s var(--ease-soft) infinite;
  pointer-events: none;
}

.float-wa:hover {
  background: var(--gold);
}

@keyframes float-ring {
  0% {
    transform: scale(.9);
    opacity: 1;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* Delivery: pill with bugambilia icon badge and two-line label */
.float-delivery {
  left: 24px;
  gap: 12px;
  padding: 0 22px 0 6px;
  border-radius: 28px;
}

.float-delivery .fd-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-soft);
}

.float-delivery .fd-icon svg {
  width: 20px;
  height: 20px;
}

.float-delivery:hover .fd-icon {
  transform: rotate(-8deg);
}

.float-delivery .fd-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.float-delivery .fd-label strong {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.float-delivery .fd-label small {
  font-size: .6875rem;
  font-weight: 300;
  letter-spacing: .04em;
  opacity: .75;
}

@media (max-width:600px) {
  .float-btn {
    bottom: 16px;
    height: 50px;
  }

  .float-wa {
    right: 16px;
    width: 50px;
  }

  .float-delivery {
    left: 16px;
    padding: 0 16px 0 5px;
    gap: 10px;
  }

  .float-delivery .fd-icon {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .float-wa::before {
    animation: none;
  }
}

/* ============ Video Modal ============ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 70px 0 20px;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.video-modal-container {
  position: relative;
  width: 100%;
  background: #000;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  z-index: 1;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: fixed;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.video-modal-close:hover {
  color: var(--gold);
  transform: scale(1.15);
}

.video-modal-iframe-wrap video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 90px);
  background: #000;
}

@media (max-width: 600px) {
  .video-modal-close {
    right: 8px;
    font-size: 2rem;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--gold-rgb), .4);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(var(--gold-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0);
  }
}

.signature {
  height: 50px;
  width: auto;
  margin-top: 14px;
}

@media (max-width:900px) {
  .intro .row {
    grid-template-columns: 1fr;
  }

  .intro figure {
    order: -1;
    width: 100%;
  }

  /* one column: the photo spans the width as a banner instead of a narrow portrait */
  .intro figure img {
    width: 100%;
    height: clamp(260px, 60vw, 440px);
    object-fit: cover;
  }
}

/* ============ Menu ============ */
.menu-section {
  background: var(--gray-bg);
  padding: 96px 0;
}

.offer-banner {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  background-size: cover;
  background-position: center;
}

.offer-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(41, 26, 13, .55);
}

.offer-banner .wrapper {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}

.offer-banner small {
  text-transform: uppercase;
  font-size: .875rem;
  font-weight: 500;
}

.offer-banner h3 {
  color: #fff;
  font-size: 2.25rem;
  margin: 6px 0;
}

.offer-banner p {
  font-size: 1.125rem;
  margin-bottom: 18px;
}

/* ---- Experiences: editorial index (rows + floating image preview) ---- */
.xp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(73, 48, 27, .2);
}

.xp-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 180px minmax(0, 1.2fr) minmax(0, 1fr) 150px;
  grid-template-areas: "media head desc stat";
  gap: 40px;
  align-items: center;
  padding: 40px 28px;
  border-bottom: 1px solid rgba(73, 48, 27, .2);
  cursor: default;
}

/* Number as a badge on the photo */
.xp-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 7px 10px;
  background: var(--gold);
  color: var(--marfil);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
}

.xp-head {
  grid-area: head;
}

.xp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  margin-bottom: 10px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hoja);
  transition: color .4s ease;
}

.xp-tags span+span::before {
  content: "/";
  margin-right: 10px;
  opacity: .5;
}

.xp-head h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .4s ease, transform .6s var(--ease-soft);
}

.xp-desc {
  grid-area: desc;
  margin: 0;
  font-size: .9375rem;
  color: var(--text-soft);
  transition: color .4s ease;
}

.xp-stat {
  grid-area: stat;
  text-align: right;
  line-height: 1;
}

.xp-stat strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--gold);
  transition: color .4s ease;
}

.xp-stat span {
  display: block;
  margin-top: 6px;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color .4s ease;
}

.xp-media {
  grid-area: media;
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.xp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-soft);
}

@media (hover:hover) and (min-width:992px) {
  .xp-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--cacao);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .6s var(--ease-soft);
  }

  .xp-row:hover::before {
    transform: scaleY(1);
  }

  .xp-row:hover .xp-head h3,
  .xp-row:hover .xp-stat strong {
    color: var(--marfil);
  }

  .xp-row:hover .xp-head h3 {
    transform: translateX(14px);
  }

  .xp-row:hover .xp-media img {
    transform: scale(1.08);
  }

  .xp-row:hover .xp-desc,
  .xp-row:hover .xp-stat span {
    color: rgba(249, 245, 244, .7);
  }

  .xp-row:hover .xp-tags {
    color: var(--aji);
  }
}

/* Tablets and phones: photo on top, full width */
@media (max-width:991px) {
  .xp-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "media media"
      "head stat"
      "desc desc";
    gap: 12px 24px;
    padding: 32px 0;
  }

  .xp-media {
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
  }

  .xp-stat {
    align-self: end;
  }

  .xp-stat strong {
    font-size: 1.75rem;
  }
}

/* Tablets: photo on the left, text on the right, so the six rows stay compact */
@media (min-width:600px) and (max-width:991px) {
  .xp-row {
    grid-template-columns: 220px 1fr auto;
    grid-template-areas:
      "media head stat"
      "media desc desc";
    align-items: start;
  }

  .xp-media {
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
  }
}

.menu-footer {
  text-align: center;
  margin-top: 50px;
}

.menu-footer small {
  display: block;
  margin-top: 16px;
  color: var(--text-soft);
}

/* ============ Fixed CTA (Flavors of our land) ============ */
.call_section {
  background-image: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .15)), url("../imagenes/img10.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.box_1 {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 45px 45px 60px;
  max-width: 460px;
  text-align: center;
}

.box_1 h2 {
  color: #fff;
  font-size: 2.625rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.15;
}

.box_1 h2 strong {
  font-weight: 800;
}

.box_1 h2 span {
  display: block;
  font-size: 1.5rem;
  margin-top: 8px;
  text-transform: none;
}

.box_1 p {
  opacity: .8;
}

/* ============ Tripadvisor reviews (Enhanced) ============ */
.reviews {
  background: var(--gray-bg);
  padding: 96px 0;
  position: relative;
}

.review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 36px;
  margin-bottom: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .04);
  position: relative;
  overflow: hidden;
}

.review-summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hoja) 0%, var(--aji) 100%);
}

.ta-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ta-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ta-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--ta-green-rgb), .25);
}

.ta-badge strong {
  display: block;
  color: var(--ink-2);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.ta-badge small {
  color: var(--text-soft);
  font-size: .85rem;
}

.ta-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--hoja-rgb), .1);
  color: var(--hoja);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 4px;
}

.ta-metrics {
  display: flex;
  gap: 24px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 28px;
}

.ta-metric-item {
  text-align: center;
}

.ta-metric-item span {
  display: block;
  font-size: .75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ta-metric-item strong {
  font-size: 1rem;
  color: var(--ink-2);
  font-weight: 600;
}

.ta-score {
  text-align: center;
}

.ta-score .stars {
  color: var(--hoja);
  font-size: 1.25rem;
  letter-spacing: 3px;
}

.ta-score strong {
  display: block;
  font-size: 1.8rem;
  color: var(--ink-2);
  line-height: 1.1;
  margin: 2px 0;
  font-weight: 700;
}

.ta-score small {
  color: var(--text-soft);
  font-size: .85rem;
}

/* 4 cards: 2 x 2 keeps the long Google review from stretching a single row */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ============ Shared scroll-reveal, reused by .review-card and .award-card ============ */
/* .in-view is only ever toggled on .reviews / .awards-section (see script) */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft), border-color .3s ease, opacity .6s ease;
}

.in-view .reveal-card {
  opacity: 1;
  transform: translateY(0);
}

.in-view .reveal-card:nth-child(1) {
  transition-delay: .1s;
}

.in-view .reveal-card:nth-child(2) {
  transition-delay: .22s;
}

.in-view .reveal-card:nth-child(3) {
  transition-delay: .34s;
}

.in-view .reveal-card:nth-child(4) {
  transition-delay: .46s;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .03);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 7rem;
  color: rgba(var(--gold-rgb), .07);
  line-height: 1;
  pointer-events: none;
  transition: color .3s ease, transform .3s ease;
}

.review-card:hover::before {
  color: rgba(var(--gold-rgb), .16);
  transform: scale(1.1) translateY(4px);
}

.review-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: var(--radius) 0 0 var(--radius);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
  border-color: rgba(var(--gold-rgb), .3);
}

.review-card:hover::after {
  opacity: 1;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.review-badge-green,
.review-badge-google {
  white-space: nowrap;
  flex-shrink: 0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-head .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  flex-shrink: 0;
}

.user-meta strong {
  display: block;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 600;
}

.user-meta small {
  color: var(--text-soft);
  font-size: .78rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Google reviews have no photo URL: initial on a brand-colored circle */
.review-head .avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hoja);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}

.review-badge-google {
  background: var(--gray-bg);
  color: var(--ink-2);
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.review-badge-green {
  background: rgba(var(--hoja-rgb), .1);
  color: var(--hoja);
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.review-title-row {
  margin-bottom: 10px;
}

.review-title-row h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-2);
  margin: 4px 0 0;
}

.review-card .stars {
  color: var(--hoja);
  font-size: .95rem;
  letter-spacing: 2px;
}

.review-card .review-text {
  color: var(--text);
  font-size: .98rem;
  line-height: 1.7;
  margin: 0 0 18px;
  flex-grow: 1;
}

.review-dish-tag {
  display: inline-block;
  background: var(--gray-bg);
  color: var(--gold);
  font-weight: 500;
  font-size: .76rem;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width:1024px) {
  .ta-metrics {
    display: none;
  }
}

@media (max-width:680px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-summary {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}

/* ============ Awards & Recognitions ============ */
.awards-section {
  /* Institutional pattern (greca) at low opacity, p. 20 of the manual */
  background-color: var(--marfil);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'><path d='M16 80V16h64v48H40V40h24' fill='none' stroke='%2349301b' stroke-opacity='0.05' stroke-width='7'/></svg>");
  background-size: 96px 96px;
  padding: 96px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.awards-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.3), transparent);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.award-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.award-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: var(--gold);
  transition: width .4s var(--ease-soft);
  border-radius: 3px 3px 0 0;
}

.award-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(var(--gold-rgb), .14), 0 4px 12px rgba(0, 0, 0, .04);
  border-color: rgba(var(--gold-rgb), .3);
}

.award-card:hover::before {
  width: 100%;
}

.award-badge-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  background: var(--gray-bg);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(var(--gold-rgb), .2);
  text-transform: uppercase;
}

.award-img-wrap {
  width: 200px;
  height: 200px;
  max-width: 100%;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), .08) 0%, rgba(255, 255, 255, 0) 70%);
  transition: transform .4s ease;
}

.award-card:hover .award-img-wrap {
  transform: scale(1.08);
}

.award-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .06));
  transition: filter .3s ease;
}

.award-card:hover .award-img-wrap img {
  filter: drop-shadow(0 6px 12px rgba(var(--gold-rgb), .25));
}

.award-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 0 4px;
  line-height: 1.3;
}

.award-org {
  color: var(--gold);
  font-size: .92rem;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.award-desc {
  font-size: .86rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.award-foot {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  width: 100%;
}

.award-verify {
  font-size: .75rem;
  color: var(--text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.award-verify svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform .3s var(--ease-soft);
}

.award-card:hover .award-verify svg {
  transform: scale(1.12);
}

@media (max-width:1024px) {
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width:600px) {
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .award-card {
    padding: 28px 20px 20px;
  }
}

/* ============ News & Stories (blog) ============ */
.blog-section {
  background: var(--gray-bg);
  padding: clamp(56px, 10vw, 96px) 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.blog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .3), transparent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .03);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
  border-color: rgba(var(--gold-rgb), .3);
}

.blog-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-bg);
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-soft);
}

.blog-card:hover .blog-media img {
  transform: scale(1.06);
}

.blog-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(73, 48, 27, .45) 100%);
  opacity: 0;
  transition: opacity .4s ease;
}

.blog-card:hover .blog-media::after {
  opacity: 1;
}

.blog-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(var(--gold-rgb), .2);
}

.blog-body {
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: .76rem;
  letter-spacing: .3px;
  margin-bottom: 10px;
}

.blog-meta .sep {
  color: rgba(var(--gold-rgb), .5);
}

.blog-card h3 {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
}

.blog-card h3 a {
  color: var(--ink-2);
}

.blog-card h3 a:hover {
  color: var(--gold);
}

.blog-excerpt {
  color: var(--text);
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 0 20px;
  flex-grow: 1;
}

.blog-foot {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.blog-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  flex-shrink: 0;
}

.blog-author span {
  font-size: .8rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-more {
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}

.blog-more i {
  display: inline-block;
  font-style: normal;
  transition: transform .3s var(--ease-soft);
}

.blog-card:hover .blog-more i {
  transform: translateX(4px);
}

/* A single post spans the grid and stays centered; reverts automatically with 2+ posts */
.blog-grid>.blog-card:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 580px;
}

.blog-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width:768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog-body {
    padding: 22px 20px 20px;
  }
}

/* ============ Gallery (8 x 3 grid + lightbox) ============ */
.gallery-section {
  padding: 96px 0 0;
}

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
}

.gallery-grid button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--gray-bg);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-soft), filter .4s ease;
}

.gallery-grid button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--gold-rgb), .35);
  opacity: 0;
  transition: opacity .4s ease;
}

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

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

@media (max-width:1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width:600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(20, 12, 6, .94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 80px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  transition: opacity .25s ease;
}

.lightbox img.loading {
  opacity: 0;
}

.lightbox figcaption {
  color: var(--marfil);
  text-align: center;
  max-width: 640px;
  margin-top: 18px;
}

.lightbox figcaption h3 {
  color: var(--marfil);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.lightbox figcaption p {
  font-weight: 300;
  font-size: .9375rem;
  margin: 0;
  opacity: .85;
}

.lb-count {
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--marfil);
  font-size: .8125rem;
  letter-spacing: .14em;
  opacity: .7;
}

.lb-btn {
  position: absolute;
  border: 1px solid rgba(249, 245, 244, .3);
  background: rgba(249, 245, 244, .06);
  color: var(--marfil);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease;
}

.lb-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.lb-btn svg {
  width: 22px;
  height: 22px;
}

.lb-close {
  top: 12px;
  right: 16px;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
}

.lb-prev {
  left: 16px;
}

.lb-next {
  right: 16px;
}

@media (max-width:600px) {
  .lightbox {
    padding: 60px 12px 90px;
  }

  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .lb-prev {
    left: calc(50% - 60px);
  }

  .lb-next {
    right: calc(50% - 60px);
  }
}

/* Lightbox opened from a single image (data-zoom): no arrows or counter */
.lightbox.single .lb-prev,
.lightbox.single .lb-next,
.lightbox.single .lb-count {
  display: none;
}

/* ============ Zoomable image inside page content (button with data-zoom) ============ */
.zoom-figure {
  margin: 28px 0 0;
}

.zoom-figure button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}

.zoom-figure img {
  width: 100%;
  height: auto;
  transition: transform .4s var(--ease-soft);
}

.zoom-figure button:hover img {
  transform: scale(1.02);
}

/* "Click to enlarge" hint, bottom-right corner */
.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(73, 48, 27, .85);
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
}

.zoom-hint svg {
  width: 14px;
  height: 14px;
}

.zoom-figure figcaption {
  font-size: .76rem;
  color: var(--text-soft);
  margin-top: 10px;
}

/* ============ Reservations ============ */
.reservations {
  padding: clamp(40px, 10vw, 96px) 0 0;
}

.reservations .row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width:900px) {

  /* one column: title and form first (the Reservations links land on them), photo after */
  .reservations figure {
    order: 2;
  }

  .reservations figure img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 50% 12%;
    /* keeps the chef's face in frame */
  }
}

/* Grid children may shrink below their content width (the 12 people chips would
   otherwise push the form, and the whole page, wider than a phone screen) */
.reservations .row>*,
.field-row>*,
.field {
  min-width: 0;
}

.reservations figure {
  margin: 0;
}

.reservations figure img {
  border-radius: var(--radius);
}

.reservations .lead {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

#wizard_container {
  background: var(--marfil);
  padding: 30px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field-row.full {
  grid-template-columns: 1fr;
}

.field label,
.field-label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.field input,
.time-pick {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d8c9bd;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
}

/* Time: two borderless selects inside one box that looks like a single input */
.time-pick {
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  /* clock icon on the right */
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235a4636' stroke-width='1.6' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.time-pick:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .15);
}

.time-pick select {
  appearance: none;
  -webkit-appearance: none;
  width: 2.6em;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}

.time-pick select:focus {
  outline: none;
}

/* People: 1 to 12 chips in a single line */
.people-pick {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}

.people-pick input {
  position: absolute;
  opacity: 0;
  width: 0;
}

.people-pick label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin: 0;
  border: 1px solid #d8c9bd;
  border-radius: var(--radius);
  background: #fff;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.people-pick label:hover {
  border-color: var(--gold);
}

.people-pick input:focus-visible+label {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.people-pick input:checked+label {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

.terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .85rem;
  margin: 16px 0;
}

.terms input {
  margin-top: 3px;
}

#wizard_container .is-invalid input:not([type=checkbox]):not([type=radio]),
#wizard_container .is-invalid .time-pick,
#wizard_container .is-invalid .people-pick label {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(var(--gold-rgb), .15);
}

#wizard_container .is-invalid label,
#wizard_container .terms.is-invalid span {
  color: var(--gold);
}

#res-status {
  margin-top: 6px;
  font-size: .9rem;
  color: var(--hoja);
  font-weight: 500;
}

#res-status.error {
  color: var(--gold);
}

@media (max-width:900px) {
  .reservations .row {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Narrow phones: the 12 chips stay on one line and scroll sideways */
@media (max-width:520px) {
  .people-pick {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 42px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 3px 2px 6px;
    scrollbar-width: thin;
  }

  .people-pick label {
    scroll-snap-align: start;
  }
}

/* ============ Blog post: hero (Cacao band, same feel as the home hero) ============ */
/* Background photo: set per page with style="background-image: url('imagenes/...')" on the section.
   (Not through a CSS variable: url() inside a variable resolves from libs/, not from the page.)
   The Cacao overlay lives in ::before so it stacks on top of that photo and keeps the text legible */
.post-hero {
  background: var(--cacao) center / cover no-repeat;
  /* legacy: menu.html still passes the photo as --hero-bg with a path relative to libs/ */
  background-image: var(--hero-bg, none);
  color: rgba(255, 255, 255, .75);
  padding: 150px 0 120px;
  position: relative;
  overflow: hidden;
}

/* .photo: lighter overlay so the background photo shows through */
.post-hero.photo::before {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(var(--gold-rgb), .35), transparent 60%),
    linear-gradient(180deg, rgba(73, 48, 27, .55) 0%, rgba(73, 48, 27, .72) 100%);
}

.post-hero.photo h1,
.post-hero.photo .breadcrumb {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(var(--gold-rgb), .35), transparent 60%),
    linear-gradient(180deg, rgba(73, 48, 27, .78) 0%, rgba(73, 48, 27, .9) 100%);
  pointer-events: none;
}

.post-hero .container {
  max-width: var(--read);
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: .3px;
  margin-bottom: 26px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .7);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, .35);
}

.post-cat {
  display: inline-block;
  background: rgba(255, 255, 255, .94);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.post-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 22px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: .8rem;
  letter-spacing: .3px;
}

.post-meta .sep {
  color: rgba(var(--gold-rgb), .9);
}

.post-meta img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--marfil);
  border: 2px solid rgba(255, 255, 255, .8);
}

/* ============ Blog post: article body ============ */
.post {
  padding: 0 0 90px;
}

.post .container {
  max-width: var(--read);
}

.post-figure {
  margin: -80px 0 44px;
  position: relative;
  z-index: 1;
}

.post-figure img {
  width: 100%;
  height: auto;
  background: var(--gray-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
}

.post-figure figcaption {
  font-size: .76rem;
  color: var(--text-soft);
  margin-top: 10px;
}

.post-content {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
}

.post-content>p:first-child {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink-2);
}

.post-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 14px;
}

.post-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.post-content strong {
  font-weight: 600;
  color: var(--ink-2);
}

.post-content ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 20px;
}

.post-content blockquote {
  margin: 34px 0;
  padding: 26px 30px;
  background: var(--gray-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-2);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.75;
}

.post-content blockquote p:last-child {
  margin-bottom: 0;
}

.post-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: .82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}

.post-foot {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  color: var(--text-soft);
}

.post-share a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
}

.post-share a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

@media (max-width:768px) {
  .post-hero {
    padding: 120px 0 100px;
  }

  .post-figure {
    margin-top: -60px;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-content blockquote {
    padding: 20px 22px;
  }
}

/* ============ Menu page: photo mosaic under the intro ============ */
.menu-mosaic {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.menu-mosaic img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-bg);
}

@media (max-width:600px) {
  .menu-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ Footer ============ */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  padding: 70px 0 16px;
  margin-top: 0;
}

.footer_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer_wp {
  position: relative;
  padding-left: 40px;
}

.footer_wp .ico {
  position: absolute;
  left: 0;
  top: 2px;
  color: rgba(255, 255, 255, .25);
  font-size: 1.4rem;
}

.footer_wp img {
  height: 34px;
}

footer h3 {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 12px;
}

footer a {
  color: rgba(255, 255, 255, .6);
}

footer a:hover {
  color: #fff;
}

footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin: 34px 0;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.follow_us {
  display: flex;
  gap: 12px;
}

.follow_us a {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .85);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.follow_us svg {
  width: 22px;
  height: 22px;
}

.follow_us a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width:900px) {
  .footer_grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .footer_grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer_wp {
    padding-left: 0;
  }

  .footer_wp .ico {
    display: none;
  }

  .footer_wp img {
    margin-inline: auto;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  /* grayscale map with sepia warmth, matching the ivory background */
  filter: grayscale(100%) sepia(30%);
}

/* ============ Mobile menu ============ */
@media (max-width:991px) {
  .burger {
    display: block;
  }

  nav.main-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: 78%;
    max-width: 320px;
    background: var(--marfil);
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
  }

  nav.main-menu.open {
    transform: translateX(0);
  }

  nav.main-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  nav.main-menu a {
    color: var(--text);
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
  }

  /* Mobile drawer: links already have a bottom border, use color for hover instead of the underline */
  nav.main-menu a:not(.btn_top)::after {
    display: none;
  }

  nav.main-menu a:not(.btn_top):hover {
    color: var(--gold);
  }

  /* Reservations inside the drawer: solid brand button, same look before and after scrolling */
  nav.main-menu a.btn_top {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #fff !important;
    margin: 18px 0 0;
    padding: 14px 16px !important;
    text-align: center;
    font-weight: 600;
  }

  nav.main-menu a.btn_top:hover {
    filter: brightness(1.12);
  }

  /* Below the header (z-index 999): the drawer lives inside the header,
     so a scrim above it would cover the drawer and block every tap */
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 998;
  }

  .nav-scrim.show {
    opacity: 1;
    pointer-events: auto;
  }
}