/* ═══════════════════════════════════════════════════════════
   HOUSE MADRINO — Shared Styles
   Warm Mediterranean light theme — cream / olive / terracotta
   ═══════════════════════════════════════════════════════════ */

:root {
  /* "bg" / "text" preserve the original variable names so the rest
     of the stylesheet doesn't need rewriting.  The semantic mapping:
       --bg          page background        (warm cream)
       --bg-soft     alternating section bg (lighter cream)
       --bg-card     card backgrounds       (off-white)
       --gold        primary accent         (olive green — "the green") */
  --bg:           #f7f1e3;          /* warm cream */
  --bg-soft:      #fbf5e7;          /* lighter cream for alternating sections */
  --bg-card:      #ffffff;
  --gold:         #5e7a3a;          /* deep olive green — primary accent */
  --gold-bright:  #759a47;          /* hover olive */
  --gold-dim:     rgba(94, 122, 58, 0.88);
  --gold-faint:   rgba(94, 122, 58, 0.30);
  --gold-bg:      rgba(94, 122, 58, 0.06);
  --text:         #2b2a23;          /* warm near-black */
  --text-dim:     rgba(43, 42, 35, 0.85);
  --text-faint:   rgba(43, 42, 35, 0.55);
  --blue-accent:  #2e6f8a;          /* deep Adriatic blue for monospace highlights */
  --terracotta:   #b85a3a;          /* secondary accent — matches the roof tiles */
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Raleway', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: clip;     /* clip = no horizontal scroll, keeps position:sticky working on iOS Safari */
  position: relative;
  isolation: isolate;   /* gives body its own stacking context so the bg pseudo-elements layer correctly */
}

/* Site-wide atmosphere — soft warm overlay on top of the body bg.
   No fixed background photo: the warm cream + olive accents carry the mood,
   and individual hero/tile photos do the heavy lifting. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(94, 122, 58, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(184, 90, 58, 0.04) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}
body::after { display: none; }

img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-bright); }

/* ─── Typography ─── */
.brand-display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 0 80px rgba(0, 0, 0, 0.3);
}
.eyebrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1.15;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
}
.section-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(0.96rem, 1.7vw, 1.18rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 0.5rem;
}
.body-text {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--text-dim);
  line-height: 1.7;
}
.gold-em { color: var(--gold); font-weight: 500; }
.italic { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.08em; }

/* ─── Divider ─── */
.divider {
  width: 70px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto;
}
.ornament {
  font-size: 1rem;
  letter-spacing: 0.8em;
  color: var(--gold-dim);
  text-align: center;
  margin: 0.8rem 0;
}

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section-tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.text-center { text-align: center; }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(247, 241, 227, 0.96);   /* warm cream, near-opaque */
  border-bottom: 1px solid var(--gold-faint);
  transition: background 0.3s ease;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-size: 1.15rem;
  text-transform: uppercase;
}
.nav-brand:hover { color: var(--gold-bright); }
.nav-brand small {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: var(--gold-dim);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  min-width: 48px;
  min-height: 48px;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-toggle:active { background: rgba(214, 180, 120, 0.15); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.05) saturate(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 6rem); margin: 1rem 0; }
.hero .eyebrow { font-size: clamp(0.75rem, 1.4vw, 1rem); display: block; margin: 1rem 0; }
.hero-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}
.hero-est {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  color: var(--gold-dim);
  letter-spacing: 0.55em;
  text-transform: uppercase;
  margin-top: 2.5rem;
}

/* Hero is light text on a darkened photo — override the default
   olive/dark-text variables so everything is readable on green foliage. */
.hero .eyebrow      { color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.hero .hero-tagline { color: rgba(255, 255, 255, 0.95); text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero .hero-est     { color: rgba(255, 255, 255, 0.82); text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.hero .ornament     { color: rgba(255, 255, 255, 0.7); text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.hero .divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  width: 90px;
}

/* ─── Page Header (smaller hero for inner pages) ─── */
.page-head {
  padding: 9rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--gold-faint);
}
.page-head h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.page-head .eyebrow {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  display: block;
  margin-bottom: 1rem;
}
.page-head p { color: var(--text-dim); margin-top: 1rem; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ─── Cards ─── */
.card {
  background: var(--gold-bg);
  border: 1px solid var(--gold-faint);
  border-radius: 6px;
  padding: 1.6rem 1.6rem;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  text-align: center;
}
.card .card-body { text-align: left; }
.card:hover {
  border-color: var(--gold-dim);
  background: rgba(201, 168, 112, 0.08);
  transform: translateY(-2px);
}
.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.12rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.card-body { color: var(--text-dim); font-size: 1rem; line-height: 1.65; }

/* ─── Grids ─── */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── Link cards (home page big tiles) ─── */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 1.6rem;
  border: 1px solid var(--gold-faint);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: transform 0.3s, border-color 0.3s;
  text-decoration: none;
}
.tile:hover { transform: translateY(-3px); border-color: var(--gold-dim); }
.tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tile-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: opacity 0.4s, transform 0.6s;
}
.tile:hover .tile-bg img { opacity: 1; transform: scale(1.03); }
.tile-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.85) 100%);
}
/* Optional spotlight callout INSIDE a tile-bg */
.tile-bg .tile-callout {
  position: absolute;
  border: 2px solid var(--gold);
  border-radius: 3px;
  box-shadow: 0 0 18px rgba(214, 180, 120, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 1;
}
.tile-content {
  position: relative;
  z-index: 1;
}
.tile-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.4rem;
}
.tile-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.tile-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.tile-arrow {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── Item list (used on Split/Rooms pages) ─── */
.item-list { display: flex; flex-direction: column; }
.item {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(201, 168, 112, 0.09);
}
.item:last-child { border-bottom: none; }
.item-icon {
  font-size: 0.95rem;
  color: var(--gold);
  min-width: 2.4rem;
  text-align: center;
  margin-top: 5px;
  flex-shrink: 0;
}
.item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.item-desc { color: var(--text-dim); font-size: 1rem; line-height: 1.65; }

/* ─── Rule rows (house rules / info) ─── */
.rule-list { display: flex; flex-direction: column; max-width: 760px; margin: 0 auto; }
.rule-row {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 168, 112, 0.09);
  align-items: flex-start;
}
.rule-icon { font-size: 1rem; min-width: 2.4rem; text-align: center; flex-shrink: 0; color: var(--gold); padding-top: 2px; }
.rule-text { color: var(--text-dim); font-size: 1.04rem; line-height: 1.65; }
.rule-text strong { color: var(--gold); font-weight: 500; }

/* ─── Hero entrance (home page) ─── */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .ornament       { animation: hero-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.hero .eyebrow        { animation: hero-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }
.hero .brand-display  { animation: hero-rise 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.hero > .hero-content > .divider { animation: hero-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both; }
.hero .hero-tagline   { animation: hero-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both; }
.hero .hero-est       { animation: hero-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both; }

@media (prefers-reduced-motion: reduce) {
  .hero * { animation: none !important; }
}

/* ─── Entrance walkthrough (Finding Us section) ─── */
.entrance-step {
  margin: 3rem auto 0;
  max-width: 640px;
  text-align: center;
}
.entrance-step:first-of-type { margin-top: 0; }
.entrance-step-num {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}
.entrance-step-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}
.entrance-photo {
  position: relative;
  display: inline-block;
  border: 1px solid var(--gold-faint);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
  max-width: 100%;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.entrance-photo img { display: block; width: 100%; max-width: 540px; }
.entrance-callout {
  position: absolute;
  border: 3px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.55);
  pointer-events: none;
}
.entrance-callout-label {
  position: absolute;
  bottom: -0.4rem;
  left: 50%;
  transform: translate(-50%, 100%);
  background: var(--gold);
  color: var(--bg);
  padding: 0.32rem 0.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 3px;
  font-weight: 600;
}
.entrance-caption {
  margin-top: 1.2rem;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.entrance-caption .gold-em { font-weight: 500; }

/* ─── Subtle reveal-on-scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Leaflet map (custom dark theme) ─── */
.leaflet-map {
  height: 460px; width: 100%;
  border: 1px solid var(--gold-faint);
  border-radius: 6px;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-soft);
}
.pm-oblivion {
  width: 24px; height: 24px;
  background: var(--terracotta);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(184, 90, 58, 0.28), 0 2px 8px rgba(0,0,0,0.25);
}
/* Generic point-of-interest pin (numbered) */
.pm-poi {
  width: 30px; height: 30px;
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.pm-poi-beach { border-color: var(--blue-accent); color: var(--blue-accent); }
.pm-poi-nature { border-color: var(--gold); color: var(--gold); }
.pm-poi-city { border-color: var(--terracotta); color: var(--terracotta); }
.leaflet-popup-content-wrapper {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--gold-faint);
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.15);
}
.leaflet-popup-tip { background: #ffffff; }
.leaflet-popup-content {
  margin: 12px 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  line-height: 1.55;
}
.leaflet-popup-content strong {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.leaflet-popup-content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 112, 0.4);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.leaflet-container a.leaflet-popup-close-button { color: var(--gold-dim); }
.leaflet-container a.leaflet-popup-close-button:hover { color: var(--gold); }
.leaflet-control-attribution { background: rgba(13, 9, 5, 0.7) !important; color: var(--text-faint) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--gold-dim) !important; }
.pm-legend {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-dim);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin: 1.4rem 0 1.6rem;
}
.pm-legend .swatch {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 0.4rem 0 1.2rem;
}
.pm-legend .swatch.gold { background: var(--gold); border: 2px solid #fff; }
.pm-legend .swatch.parking { background: rgba(13, 9, 5, 0.94); border: 2px solid var(--gold); }

/* ─── Sticky sub-navigation (used on long single pages) ─── */
.subnav {
  position: sticky;
  top: 76px;
  z-index: 50;
  background: rgba(247, 241, 227, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-faint);
  padding: 0.55rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 2rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  white-space: nowrap;
}
.subnav a {
  color: var(--text-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.45rem 0.6rem;
  position: relative;
  flex: 0 0 auto;
}
.subnav a:hover { color: var(--gold); }
.subnav a.active { color: var(--gold); }
.subnav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--gold);
}

/* offset anchored sections for sticky nav + subnav */
[data-spy] { scroll-margin-top: 140px; }

/* ─── Dish card (photo above text) ─── */
.dish-card {
  background: var(--gold-bg);
  border: 1px solid var(--gold-faint);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}
.dish-card:hover { transform: translateY(-2px); border-color: var(--gold-dim); }
.dish-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
}
.dish-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dish-photo::after {
  content: '↗  TasteAtlas';
  position: absolute;
  top: 10px; right: 12px;
  color: var(--gold);
  background: rgba(13, 9, 5, 0.78);
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}
.dish-card:hover .dish-photo::after { opacity: 1; }
.dish-card:hover .dish-photo img { transform: scale(1.05); }
.dish-body {
  padding: 1.1rem 1.3rem 1.3rem;
  flex: 1;
}
.dish-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.dish-body p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ─── Photo Gallery ─── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg-soft);
  border: 1px solid var(--gold-faint);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); opacity: 0.92; }
.gallery-item::after {
  content: '⛶';
  position: absolute;
  top: 8px; right: 10px;
  color: var(--gold);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(13, 9, 5, 0.6);
  padding: 2px 6px;
  border-radius: 3px;
}
.gallery-item:hover::after { opacity: 1; }

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 1, 0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(201, 168, 112, 0.2);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(201, 168, 112, 0.1);
  border: 1px solid var(--gold-faint);
  color: var(--gold);
  font-size: 1.2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201, 168, 112, 0.25);
  border-color: var(--gold);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: var(--gold-dim);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ─── Room block ─── */
.room-block {
  margin-top: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gold-faint);
}
.room-block:first-of-type { border-top: none; padding-top: 0; }
.room-name-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.6rem;
}
.room-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.room-desc {
  max-width: 720px;
  margin: 1.4rem auto 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--text-dim);
  line-height: 1.65;
}
.room-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.4rem;
  margin: 2rem auto 0;
  max-width: 720px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.room-features span { display: inline-flex; align-items: center; gap: 0.5rem; }
.room-features .ico { color: var(--gold); font-size: 1.05rem; }

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 2px;
}
.btn:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--gold-faint);
  background: var(--bg-soft);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
.footer-h {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer a, .footer p { color: var(--text-dim); font-size: 0.9rem; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-faint);
  text-align: center;
  color: var(--text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   AVAILABILITY CALENDARS
   ═══════════════════════════════════════════════════════════ */

.availability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.cal-wrap {
  border: 1px solid var(--gold-faint);
  border-radius: 8px;
  background: var(--gold-bg);
  padding: 1.6rem 1.4rem 1.4rem;
}

.cal-room-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 1rem;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.cal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cal-nav {
  background: transparent;
  border: 1px solid var(--gold-faint);
  color: var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.cal-nav:hover {
  background: var(--gold-bg);
  border-color: var(--gold-dim);
  color: var(--gold-bright);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-dow {
  margin-bottom: 4px;
}
.cal-dow-cell {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: 4px 0;
}

.cal-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  color: var(--text-dim);
  border: 1px solid transparent;
  border-radius: 4px;
  user-select: none;
  position: relative;
}
.cal-blank { background: transparent; }

.cal-cell.is-past {
  color: rgba(250, 243, 220, 0.18);
}
.cal-cell.is-booked {
  color: rgba(250, 243, 220, 0.28);
  background: rgba(250, 243, 220, 0.04);
  text-decoration: line-through;
  cursor: not-allowed;
}
.cal-cell.is-available {
  cursor: pointer;
  transition: all 0.15s;
  border-color: rgba(214, 180, 120, 0.18);
}
.cal-cell.is-available:hover,
.cal-cell.is-available:focus-visible {
  background: rgba(214, 180, 120, 0.14);
  border-color: var(--gold-dim);
  color: var(--gold-bright);
  outline: none;
}
.cal-cell.is-checkin,
.cal-cell.is-checkout {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  font-weight: 600;
}
.cal-cell.is-in-range {
  background: rgba(214, 180, 120, 0.18);
  color: var(--gold-bright);
  border-color: rgba(214, 180, 120, 0.3);
}

.cal-day {
  display: block;
  line-height: 1;
}

/* Selection summary + actions */
.cal-summary-slot {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-faint);
  min-height: 96px;
}
.cal-summary {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--text-dim);
}
.cal-summary-empty {
  color: var(--gold-dim);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 1rem;
}
.cal-summary-line {
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.cal-summary-line strong {
  color: var(--gold);
  font-weight: 500;
}
.cal-arrow {
  color: var(--gold-dim);
  margin: 0 0.4em;
}
.cal-nights {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cal-summary-label {
  color: var(--gold-dim);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cal-summary-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cal-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.cal-actions .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dim);
}
.btn-ghost:hover { background: var(--gold-bg); }
.cal-clear {
  background: transparent;
  border: none;
  color: var(--gold-dim);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  text-decoration: underline;
  text-decoration-color: var(--gold-faint);
  text-underline-offset: 3px;
}
.cal-clear:hover { color: var(--gold); }

/* Status (live / not-connected / failed) */
.cal-status {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 1.5rem;
}
.cal-status-warn { color: rgba(250, 200, 150, 0.85); }

/* Legend */
.cal-legend {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.cal-legend-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.cal-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--gold-faint);
}
.cal-legend-swatch.is-available { background: transparent; }
.cal-legend-swatch.is-booked { background: rgba(250, 243, 220, 0.04); }
.cal-legend-swatch.is-selected { background: var(--gold); border-color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .availability-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

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

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  /* Full-screen menu with card-style items — each item is its own bordered box
     with generous margin between, eliminating misclicks. */
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    bottom: 0;                         /* full viewport below the top nav */
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    background: rgba(13, 9, 5, 0.985);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1.2rem 0 2rem;
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s ease, visibility 0s linear 0.32s;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.32s ease, visibility 0s linear 0s;
  }
  .nav-links li {
    width: 100%;
    margin: 0.45rem 0;
  }
  .nav-links a {
    display: block;                    /* CRITICAL — full padded area is clickable */
    padding: 1.6rem 1.6rem;
    margin: 0 1rem;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-align: center;
    border: 1px solid var(--gold-faint);
    border-radius: 8px;
    background: var(--gold-bg);
    color: var(--text-dim);
    touch-action: manipulation;        /* removes the 300ms tap delay on iOS */
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.1s;
  }
  .nav-links a:active {
    background: rgba(214, 180, 120, 0.22);
    border-color: var(--gold);
    color: var(--gold-bright);
    transform: scale(0.98);
  }
  .nav-links a.active {
    color: var(--gold);
    background: rgba(214, 180, 120, 0.12);
    border-color: var(--gold-dim);
  }
  .nav-links a.active::before {
    content: '✦';
    margin-right: 0.6em;
    color: var(--gold);
  }
  .nav-links a.active::after { display: none; }

  /* Lock body scroll when menu open */
  body.menu-open { overflow: hidden; }

  /* Backdrop disabled (full-screen menu covers everything) */
  .nav-backdrop { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
  .hero { min-height: 90vh; padding: 6rem 1.5rem 3rem; }
  .page-head { padding: 7rem 1.5rem 3rem; }
  .lightbox { padding: 1rem; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
  .lightbox-close { top: 0.8rem; right: 0.8rem; width: 40px; height: 40px; }
}
