/* ==========================================================
   BOQUETE BAKING PROJECT — shared stylesheet
   Palette: off-white + solid wood-table tones (no grain)
   ========================================================== */
:root {
  --offwhite:   #FAF7F1;  /* page background */
  --paper:      #F2EBE0;  /* card / section background */
  --wood-pale:  #D9BC92;  /* light oak */
  --wood-light: #C8A87C;  /* honey oak   */
  --wood:       #A9805B;  /* mid walnut  */
  --wood-deep:  #8A6547;  /* dark walnut */
  --wood-dark:  #5C4433;  /* espresso    */
  --ink:        #33261C;  /* text        */
  --ok:         #4a6741;  /* "open now" green */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Avenir Next", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--offwhite);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--wood-deep); }
img { max-width: 100%; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; }

/* ---------- Header / Nav ---------- */
header.site {
  background: rgba(250,247,241,.94); backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--wood-light);
  position: sticky; top: 0; z-index: 50;
}
.navbar { display: flex; align-items: center; gap: 18px; padding: 10px 0; flex-wrap: wrap; }
.navbar .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wood-dark); }
.navbar .brand img { width: 52px; height: 52px; }
.navbar .brand .name { font-family: var(--serif); font-size: 1.35em; font-weight: 700; letter-spacing: .5px; }
.navbar .brand .tag { font-size: .74em; font-style: italic; color: var(--wood-deep); display: block; margin-top: -4px; }
nav.menu { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
nav.menu a {
  text-decoration: none; color: var(--wood-dark);
  padding: 8px 15px; border-radius: 8px; font-size: .97em; letter-spacing: .3px;
}
nav.menu a:hover { background: var(--paper); }
nav.menu a.active { background: var(--wood-deep); color: var(--offwhite); }
.whatsapp-btn {
  background: var(--wood); color: var(--offwhite) !important;
  border-radius: 24px; padding: 9px 20px !important; font-weight: 600;
}
.whatsapp-btn:hover { background: var(--wood-deep) !important; }

/* ---------- Language switch (the two flags in the header) ----------
   British flag = English pages, Panama flag = Spanish pages.
   To hide the switch completely, set the width below to 0px.     */
.lang-flags { display: flex; align-items: center; margin-left: 8px; }

/* Gap between the two flags, in pixels. */
.lang-flags { gap: 7px; }

.lang-flags a {
  display: block; line-height: 0; overflow: hidden;
  border-radius: 3px; border: 1px solid var(--wood-pale);
  transition: opacity .18s ease, border-color .18s ease;
}

/* HOW WIDE each flag is, in pixels. Bigger number = bigger flags. */
.lang-flags a svg { width: 30px; height: auto; display: block; }

/* HOW FADED the flag of the OTHER language looks.
   1 = full colour, 0 = invisible.  (0.45 = a little faded) */
.lang-flags a { opacity: 0.45; }

.lang-flags a:hover { opacity: 1; }

/* The flag of the language you are reading right now. */
.lang-flags a.on { opacity: 1; border-color: var(--wood-deep); }



/* ---------- The ☰ phone menu ----------------------------------
   On a phone the header shows only three things: the logo, the
   two flags and the ☰ button. Tapping ☰ drops the menu links
   down underneath. On a computer the ☰ button is hidden and the
   links sit across the top as usual.
   --------------------------------------------------------------- */

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;                    /* the phone rules below switch it on */
  flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 40px; padding: 0 10px;
  background: var(--paper); border: 1px solid var(--wood-pale);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; border-radius: 2px;
  background: var(--wood-dark);
  transition: transform .2s ease, opacity .2s ease;
}
/* The three bars fold into an X while the menu is open. */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Small laptops: tighten the bar slightly so the full menu still
   fits on one line instead of wrapping. */
@media (max-width: 1100px) {
  .navbar { gap: 12px; }
  nav.menu { gap: 2px; }
  nav.menu a { padding: 8px 10px; font-size: .92em; }
  .whatsapp-btn { padding: 9px 16px !important; }
  .lang-flags a svg { width: 26px; }
}

/* WHEN the phone menu takes over, in pixels of screen width.
   Bigger number = the ☰ menu starts on wider screens.
   960 is where the longer Spanish menu stops fitting on one line. */
@media (max-width: 960px) {

  .nav-toggle { display: flex; }
  .nav-right  { margin-left: auto; }

  /* The links become a drop-down panel under the logo. */
  nav.menu {
    order: 3; flex-basis: 100%; width: 100%; margin: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 0 6px; border-top: 1px solid var(--wood-pale);
  }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 13px 14px; font-size: 1.05em; border-radius: 10px; }
  nav.menu .whatsapp-btn { text-align: center; margin-top: 8px; }

  /* A slightly smaller logo, and a name that is allowed to shrink,
     so the logo + flags + ☰ always share one line. */
  .navbar { gap: 10px; }
  .navbar .brand { flex: 1 1 0; min-width: 0; }
  .navbar .brand > span { min-width: 0; }
  .nav-right { flex: none; }
  .navbar .brand img { width: 44px; height: 44px; flex: none; }
  .navbar .brand .name { font-size: 1.12em; }
  .navbar .brand .tag { font-size: .68em; }
}

/* Narrow phones — smaller name, and drop the italic line under it. */
@media (max-width: 430px) {
  .navbar .brand img { width: 40px; height: 40px; }
  .navbar .brand .name { font-size: 1.02em; line-height: 1.25; }
  .navbar .brand .tag { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 13px 28px; border-radius: 30px; font-size: 1em; letter-spacing: .4px;
  transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--wood-light); color: var(--wood-dark); }
.btn.primary:hover { background: var(--wood-pale); }
.btn.solid { background: var(--wood-deep); color: var(--offwhite); }
.btn.solid:hover { background: var(--wood-dark); }
.btn.ghost { border: 2px solid var(--offwhite); color: var(--offwhite); }
.btn.ghost:hover { background: rgba(250,247,241,.15); }
.btn.ghost-dark { border: 2px solid var(--wood-pale); color: var(--wood-pale); }
.btn.ghost-dark:hover { background: rgba(217,188,146,.15); }
.btn.outline { border: 2px solid var(--wood-deep); color: var(--wood-deep); }
.btn.outline:hover { background: var(--wood-deep); color: var(--offwhite); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.cta-row.center { justify-content: center; }

/* ---------- Hero (light off-white panel; optional photo behind) ------
   Light, airy version: pale off-white wash over the photo with all
   wording in espresso brown, black and mid walnut.                    */
.hero {
  position: relative; overflow: hidden; color: var(--wood-dark);
  background:
    radial-gradient(1100px 420px at 78% -10%, rgba(217,188,146,.35), transparent 62%),
    linear-gradient(160deg, var(--offwhite) 0%, var(--paper) 60%, var(--wood-pale) 100%);
  padding: 52px 0 76px;
}
/* Optional background photo (SITE.photos.hero) under a pale veil so
   the dark wording stays easy to read. */
.hero-media {
  position: absolute; inset: 0; background-size: cover;
  background-position: center 55%; background-repeat: no-repeat;
}
/* ---- HERO PHOTO TREATMENT: neutral filter + dark scrim, light text --
   Two numbers to play with, nothing else:

   1) FILTER on the photo. grayscale(.55) drains most of the colour
      (0 = full colour, 1 = black & white); brightness(.78) darkens it
      (lower = darker).
   2) SCRIM — one flat neutral layer over the photo:
         rgba(32, 29, 27, .52)
              R   G   B   ^ 0 = none, 1 = solid charcoal
      Raise it if the wording is hard to read, lower it to show more
      of the cafe.                                                     */
.hero.has-photo .hero-media {
  filter: grayscale(.35) brightness(.90) contrast(1.02);
}
.hero.has-photo .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(32,29,27,.40);
}

.hero-inner { position: relative; z-index: 2; }

/* Light wording — applies only when a hero photo is present. With no
   photo the hero stays the pale panel with dark brown text. */
.hero.has-photo { color: #F4EFE7; }
.hero.has-photo .kicker { color: #E4D6C2; }
.hero.has-photo h1 { color: #FFFFFF; }
.hero.has-photo h1 em { color: var(--wood-pale); }
.hero.has-photo .sub { color: #EFE7DB; }
.hero.has-photo .tags span {
  border-color: rgba(244,239,231,.65); background: rgba(32,29,27,.28); color: #F4EFE7;
}
.hero.has-photo .btn.primary { background: var(--wood-pale); color: #2B211A; }
.hero.has-photo .btn.primary:hover { background: #E9D3B2; }
.hero.has-photo .btn.ghost {
  border-color: rgba(244,239,231,.85); color: #F4EFE7; background: rgba(32,29,27,.22);
}
.hero.has-photo .btn.ghost:hover { background: rgba(244,239,231,.18); color: #FFFFFF; }
/* Soft dark shadow so the light letters keep their edge over the photo */
.hero.has-photo .kicker,
.hero.has-photo h1,
.hero.has-photo .sub { text-shadow: 0 2px 16px rgba(20,16,13,.55); }
.hero .kicker {
  font-size: 1.05em; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--wood); margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.7em, 6.2vw, 4.3em); line-height: 1.06; font-weight: 700;
  color: #000;                          /* first line — black */
}
.hero h1 em { font-style: italic; font-weight: 700; color: var(--wood-dark); }  /* darker brown */
.hero .sub {
  font-size: 1.3em; font-weight: 500; margin-top: 18px; max-width: 700px; color: var(--wood-dark);
}
.hero .tags {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px;
}
.hero .tags span {
  border: 2px solid rgba(138,101,71,.75); background: rgba(250,247,241,.72);
  border-radius: 22px; padding: 7px 18px; font-size: 1em; font-weight: 600;
  letter-spacing: .5px; color: var(--wood-dark);
}
/* Buttons on the light hero — larger and heavier too */
.hero .btn { font-size: 1.1em; font-weight: 700; padding: 15px 32px; }
.hero .btn.primary { background: var(--wood-deep); color: var(--offwhite); }
.hero .btn.primary:hover { background: var(--wood-dark); }
.hero .btn.ghost {
  border: 2px solid var(--wood-deep); color: var(--wood-dark);
  background: rgba(250,247,241,.55);
}
.hero .btn.ghost:hover { background: var(--wood-deep); color: var(--offwhite); }
/* Centered variant */
.hero.centered { text-align: center; }
.hero.centered .tags { justify-content: center; }
.hero.centered .sub { margin-left: auto; margin-right: auto; }
.hero.centered .cta-row { justify-content: center; margin-top: 20px; }
@media (max-width: 640px) {
  .hero { padding: 40px 0 62px; }
  .hero .sub { font-size: 1.12em; }
  .hero .kicker { font-size: .95em; letter-spacing: 3px; }
  .hero .btn { font-size: 1em; padding: 13px 26px; }
}
.hero-scallop {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 46px;
  background:
    radial-gradient(circle at 50% 0, transparent 28px, var(--offwhite) 29px);
  background-size: 56px 46px; background-repeat: repeat-x;
}

/* ---------- Sections ---------- */
section.block { padding: 64px 0 44px; }
section.block.alt { background: var(--paper); }
section.block.dark { background: var(--wood-dark); color: #EFE6D7; }
section.block.dark h2.section { color: var(--wood-pale); }
.eyebrow {
  font-size: .82em; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--wood); font-weight: 600; margin-bottom: 8px;
}
h2.section { color: var(--wood-dark); font-size: 2.1em; line-height: 1.15; margin-bottom: 10px; }
h2.section::after {
  content: ""; display: block; width: 72px; height: 4px;
  background: var(--wood-light); border-radius: 2px; margin-top: 12px;
}
.center h2.section::after { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.lead { font-size: 1.09em; margin: 16px 0 8px; max-width: 780px; }
.center .lead { margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-top: 20px; }
.split.rev { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 820px) { .split, .split.rev { grid-template-columns: 1fr; } }
/* On phones the Welcome slideshow moves ABOVE the text, right under the hero. */
@media (max-width: 820px) { .split #welcome-slides { order: -1; margin-top: 4px; } }

/* Links like story.html#menu: stop the sticky header from covering the
   section heading. Bigger number = heading lands lower on the screen. */
section[id] { scroll-margin-top: 90px; }

/* Fading gallery (Welcome section). The box keeps a steady shape so
   the page never jumps as the photos change. */
.slideshow {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(92,68,51,.16);
  background: var(--paper);
}
.slideshow .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .45s ease;
}
.slideshow .slide.on { opacity: 1; }
.slideshow .photo { height: 100%; border-radius: 0; box-shadow: none; }
.slideshow .photo img { width: 100%; height: 100%; object-fit: cover; }
.slideshow .ph { height: 100%; min-height: 0; }

/* ---------- Photos & placeholders ---------- */
.photo { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(92,68,51,.16); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; padding: 26px 20px; min-height: 230px;
  background: linear-gradient(150deg, var(--paper) 0%, var(--wood-pale) 130%);
  outline: 2px dashed var(--wood); outline-offset: -12px;
  color: var(--wood-deep);
}
.ph-icon { width: 58px; height: 58px; color: var(--wood); }
.ph-icon svg { width: 100%; height: 100%; }
.ph-kicker {
  font-size: .68em; letter-spacing: 3px; text-transform: uppercase;
  color: var(--wood); font-weight: 600;
}
.ph-label { font-family: var(--serif); font-size: 1.12em; font-style: italic; color: var(--wood-dark); max-width: 260px; line-height: 1.35; }
.ph.tall { min-height: 320px; }
.ph.wide { min-height: 260px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin: 30px 0 10px; }
.card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(92,68,51,.13);
  display: flex; flex-direction: column;
}
.card .photo { border-radius: 0; box-shadow: none; }
.card .photo, .card .ph { min-height: 200px; height: 200px; }
.card .pad { padding: 20px 22px 24px; border-top: 4px solid var(--wood-light); }
.card:nth-child(2) .pad { border-top-color: var(--wood); }
.card:nth-child(3) .pad { border-top-color: var(--wood-deep); }
.card h3 { color: var(--wood-dark); font-size: 1.35em; margin-bottom: 6px; }
.card p { font-size: .96em; }

/* ---------- Philosophy band ---------- */
.philo { text-align: center; padding: 70px 0; }
.philo .motto, .foot-cta .motto {
  font-family: var(--serif); font-size: clamp(1.8em, 4vw, 2.6em);
  color: var(--wood-dark); letter-spacing: 2px;
}
.philo .motto span, .foot-cta .motto span { color: var(--wood-light); padding: 0 10px; }
.philo p { max-width: 640px; margin: 16px auto 0; }

/* ---------- Story timeline ---------- */
.timeline { margin: 34px 0 10px; position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 4px; border-radius: 2px; background: var(--wood-pale);
}
.tl-item { position: relative; padding: 0 0 30px; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 7px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--wood-deep); border: 3px solid var(--offwhite);
  box-shadow: 0 0 0 3px var(--wood-pale);
}
.tl-item h3 { color: var(--wood-dark); font-size: 1.4em; margin-bottom: 4px; }
.tl-item .eyebrow { margin-bottom: 2px; }

/* Paired timeline — each bullet has its own photo beside it (desktop)
   and stacked above its text (phones). */
.timeline.paired .tl-item {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 30px; align-items: center; padding-bottom: 38px;
}
.timeline.paired .tl-photo .photo { height: 100%; }
.timeline.paired .tl-photo .ph { min-height: 210px; }
@media (max-width: 820px) {
  .timeline.paired .tl-item { grid-template-columns: 1fr; gap: 14px; padding-bottom: 32px; }
  .timeline.paired .tl-photo { order: -1; }
  .timeline.paired .tl-photo .ph { min-height: 190px; }
  /* Fixed height on phones so the page does not shift while photos load
     (that shift used to send "Explore Our Menu" to the wrong spot). */
  .timeline.paired .tl-photo .photo img { height: 240px; }
}

/* ---------- Stats ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 8px; }
.stat {
  flex: 1 1 150px; background: #fff; border-radius: 14px; padding: 20px 14px;
  text-align: center; box-shadow: 0 3px 12px rgba(92,68,51,.1);
  border-bottom: 4px solid var(--wood-light);
}
.stat .big { font-family: var(--serif); font-size: 2em; color: var(--wood-deep); font-weight: 700; }
.stat .label { font-size: .82em; color: var(--wood-dark); margin-top: 2px; letter-spacing: .4px; }

/* ---------- Menu ---------- */
.lang-toggle { display: inline-flex; gap: 8px; margin: 20px 0 6px; }
.lang-toggle button {
  font-family: var(--sans); font-size: .95em; cursor: pointer;
  padding: 8px 22px; border-radius: 22px; border: 2px solid var(--wood-deep);
  background: transparent; color: var(--wood-deep); font-weight: 600;
}
.lang-toggle button.on { background: var(--wood-deep); color: var(--offwhite); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 26px 0; }
@media (max-width: 780px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-section {
  background: #fff; border-radius: 14px; padding: 26px 28px;
  box-shadow: 0 3px 14px rgba(92,68,51,.12); border-top: 5px solid var(--wood);
  break-inside: avoid;
}
.menu-section h3 {
  color: var(--wood-dark); font-size: 1.5em; letter-spacing: 1px;
  border-bottom: 2px solid var(--wood-pale); padding-bottom: 6px; margin-bottom: 8px;
}
.menu-section .note { font-size: .88em; font-style: italic; color: var(--wood-deep); margin-bottom: 8px; }
.mi { margin: 13px 0; }
.mi .row { display: flex; justify-content: space-between; gap: 10px; }
.mi .row .nm { font-weight: 600; color: var(--wood-dark); }
.mi .row .pr { color: var(--wood-deep); font-weight: 700; white-space: nowrap; }
.mi .ds { font-size: .9em; color: #5f4d3e; }
.drink-line { display: flex; justify-content: space-between; font-size: .95em; padding: 4px 0; border-bottom: 1px dotted var(--wood-pale); }
.menu-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 28px 0 6px; }
.mcat {
  background: #fff; border-radius: 12px; padding: 20px 20px 22px;
  box-shadow: 0 3px 12px rgba(92,68,51,.1); border-left: 5px solid var(--wood-light);
}
.mcat:nth-child(even) { border-left-color: var(--wood-deep); }
.mcat h3 { color: var(--wood-dark); font-size: 1.25em; margin-bottom: 4px; }
.mcat p { font-size: .92em; }
/* Printed-menu photos: 2 across on a computer, 1 across on a phone.
   Click any photo to open it full size. */
.menu-photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
@media (max-width: 640px) { .menu-photo-row { grid-template-columns: 1fr; } }
.menu-photo-row .photo { cursor: zoom-in; transition: transform .2s ease; }
.menu-photo-row .photo:hover { transform: translateY(-3px); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 30px 0 10px; }
.gallery .photo, .gallery .ph { min-height: 230px; }

/* Tighter lead paragraph (Our Space intro) */
.lead.tight { line-height: 1.42; }

/* ---------- Fixed photo grid + lightbox (Visit page) ---------- */
.photo-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; margin-top: 26px; align-items: start; }
.gph {
  background: #fff; border-radius: 14px; overflow: hidden; cursor: pointer;
  box-shadow: 0 3px 14px rgba(92,68,51,.13);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gph:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(92,68,51,.22); }
.gph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--paper); }
.gph figcaption {
  font-size: .85em; line-height: 1.35; color: var(--wood-dark);
  padding: 9px 12px 11px; min-height: 2.6em; text-align: center;
}
/* No photo file yet — elegant placeholder instead of a broken image */
.gph-empty { cursor: default; box-shadow: none; background: transparent; }
/* Spanish wording for the same tile (used on visit-es.html) */
html[lang="es"] .gph-empty::before { content: "Foto próximamente"; }
.gph-empty:hover { transform: none; box-shadow: none; }
.gph-empty img { display: none; }
.gph-empty::before {
  content: "Photo coming soon"; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; text-align: center; padding: 14px;
  font-family: var(--sans); font-size: .72em; letter-spacing: 2px; text-transform: uppercase;
  color: var(--wood-deep); border-radius: 14px;
  background: linear-gradient(150deg, var(--paper) 0%, var(--wood-pale) 130%);
  border: 2px dashed var(--wood-light);
}

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex;
  align-items: center; justify-content: center; padding: 42px 60px;
  background: rgba(51,38,28,.93);
}
.lightbox[hidden] { display: none; }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lb-figure img {
  max-width: min(1200px, 88vw); max-height: 80vh; width: auto; height: auto;
  object-fit: contain; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
  background: var(--offwhite);
}
.lb-figure figcaption {
  color: var(--offwhite); font-family: var(--serif); font-style: italic;
  font-size: 1.15em; text-align: center; max-width: 680px;
}
.lb-close, .lb-nav {
  position: absolute; background: rgba(250,247,241,.14); color: var(--offwhite);
  border: 0; cursor: pointer; border-radius: 50%; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lb-close { top: 18px; right: 20px; width: 44px; height: 44px; font-size: 30px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 38px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close:hover, .lb-nav:hover { background: rgba(250,247,241,.3); }
@media (max-width: 640px) {
  .lightbox { padding: 60px 12px 40px; }
  .lb-figure img { max-width: 96vw; max-height: 70vh; }
  .lb-nav { width: 42px; height: 42px; font-size: 30px; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}

/* ---------- Visit / hours ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 28px 0; align-items: stretch; }
@media (max-width: 780px) { .visit-grid { grid-template-columns: 1fr; } }
.info-box {
  background: #fff; border-radius: 14px; padding: 26px 28px;
  box-shadow: 0 3px 14px rgba(92,68,51,.12); border-top: 5px solid var(--wood-light);
}
.info-box h3 { color: var(--wood-dark); font-size: 1.5em; margin-bottom: 4px; }
.info-box .sub { font-style: italic; color: var(--wood-deep); margin-bottom: 12px; }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 420px; border-radius: 14px; box-shadow: 0 3px 14px rgba(92,68,51,.15); }

.hours-head { font-weight: 600; color: var(--wood-dark); margin: 8px 0 10px; }
.open-badge { color: var(--ok); }
.hours-dp {
  border: 1px solid var(--wood-pale); border-radius: 10px;
  margin: 8px 0; overflow: hidden; background: var(--offwhite);
}
.hours-dp summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; font-weight: 600; color: var(--wood-dark);
}
.hours-dp summary::-webkit-details-marker { display: none; }
.hours-dp[open] summary { background: var(--paper); }
.dp-icon { width: 24px; height: 24px; color: var(--wood-deep); flex: none; }
.dp-icon svg { width: 100%; height: 100%; }
.dp-summary { margin-left: auto; font-weight: 400; font-size: .88em; color: var(--wood-deep); }
.chev { transition: transform .2s; color: var(--wood); }
.hours-dp[open] .chev { transform: rotate(180deg); }
.hours-table { width: 100%; border-collapse: collapse; font-size: .93em; }
.hours-table td { padding: 6px 16px; border-top: 1px dotted var(--wood-pale); }
.hours-table td:last-child { text-align: right; color: var(--wood-deep); }
.hours-note { font-size: .8em; font-style: italic; color: var(--wood); margin-top: 10px; }

.contact-big { font-family: var(--serif); font-size: 1.5em; color: var(--wood-dark); margin: 10px 0 2px; }

/* ---------- Footer ---------- */
.foot-cta {
  background: linear-gradient(160deg, var(--wood-deep), var(--wood-dark));
  color: #EFE6D7; text-align: center; padding: 64px 0 58px; margin-top: 70px;
}
.foot-cta .motto { color: var(--wood-pale); font-size: 1.25em; letter-spacing: 4px; margin-bottom: 14px; }
.foot-cta h2 { font-size: clamp(1.8em, 4vw, 2.6em); color: var(--offwhite); }
.foot-cta p { max-width: 560px; margin: 12px auto 0; }
.foot-base { background: var(--wood-dark); color: var(--wood-pale); padding: 30px 0 26px; font-size: .93em; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; border-top: 1px solid rgba(217,188,146,.25); padding-top: 24px; }
.foot-base a { color: var(--offwhite); text-decoration: none; }
.foot-base a:hover { text-decoration: underline; }
.credit { font-size: .82em; opacity: .7; margin-top: 20px; text-align: center; }
