/* ==========================================================
   Raffy – Bar & Gelato · main stylesheet
   ========================================================== */

:root {
  --bg: #0c1117;
  --bg-2: #131a22;
  --bg-3: #1a222c;
  --line: #252e39;
  --text: #eef2f6;
  --muted: #9aa6b4;
  --accent: #3d9ee0;
  --brand: #0071b8;
  --brand-soft: #12283a;
  --accent-ink: #ffffff;
  --danger: #e0674f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(28px, 5vw, 48px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #0a82d0; }
.btn--ghost { border-color: rgba(238, 242, 246, 0.4); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(238, 242, 246, 0.06); }
.btn--sm { padding: 0.6em 1.15em; font-size: 0.85rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
/* The frosted background sits on its own layer: a blur on the header itself would
   trap the fold-out phone menu inside the 72px header bar. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(12, 17, 23, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  transition: opacity 0.25s ease;
}
.site-header.is-solid::before,
body:not(.has-hero) .site-header::before,
.nav-open .site-header::before { opacity: 1; }
.nav-open .site-header::before { background: var(--bg); }
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 42px; height: 42px; border-radius: 50%; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-family: var(--font-body); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em; }
.logo-word small { font-size: 0.58rem; letter-spacing: 0.32em; color: var(--muted); margin-top: 3px; }
.logo span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { background: rgba(238, 242, 246, 0.08); }
.header-cta { flex: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, background 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-open .nav { transform: none; }
  .nav a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text);
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a[aria-current="page"] { background: none; color: var(--accent); }
  .nav .nav-mobile-cta { display: flex; margin-top: 24px; border: 0; font-family: var(--font-body); font-size: 1rem; color: var(--accent-ink); justify-content: center; padding: 16px; border-radius: 999px; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav .nav-mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 9vw, 110px);
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.04);
}
.hero__media img.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.12); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,17,23,0.55) 0%, rgba(12,17,23,0.1) 35%, rgba(12,17,23,0.85) 85%, var(--bg) 100%);
}
.hero__logo { width: clamp(72px, 10vw, 104px); height: auto; aspect-ratio: 1; margin-bottom: 22px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,0.08); }
.hero h1 { max-width: 14ch; }
.hero .lead { color: #dbe3ec; }
.hero .eyebrow { color: #cfe6f7; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 9vw, 110px)) 0 clamp(40px, 7vw, 80px);
  isolation: isolate;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12,17,23,0.7), rgba(12,17,23,0.92) 80%, var(--bg));
}

/* ---------- Generic grids & cards ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split__media--wide img { aspect-ratio: 4 / 3; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--bg-2); }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .feature-strip { grid-template-columns: 1fr; } }
.feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  isolation: isolate;
}
@media (max-width: 760px) { .feature { aspect-ratio: 16 / 10; } }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8)); }
.feature:hover img { transform: scale(1.05); }
.feature h3 { margin: 0; }
.feature span { color: var(--accent); font-weight: 700; font-size: 0.85rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { border-top: 1px solid var(--line); padding-top: 14px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.9rem; }

.cta-band {
  background: linear-gradient(120deg, #0d3556, #131a22 65%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { margin: 0 0 0.25em; }
.cta-band p { margin: 0; color: var(--muted); }

/* ---------- Menu page ---------- */
.menu-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(12, 17, 23, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.menu-toolbar .container { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s ease;
}
.chip:hover { color: var(--text); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.menu-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.search {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
}
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  padding: 10px 0;
  outline: none;
}
.filter-btn { border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 8px; align-items: center; }
.filter-btn .count { background: var(--brand); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 0.75rem; }

.allergen-panel {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 6px;
}
.allergen-panel.is-open { display: flex; }
.allergen-panel p { width: 100%; margin: 0 0 4px; font-size: 0.85rem; color: var(--muted); }
.allergen-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.85rem;
}
.allergen-toggle.is-excluded { border-color: var(--danger); color: #ffd8cf; background: rgba(224, 103, 79, 0.15); text-decoration: line-through; }

.allergen-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text);
}
.allergen-toggle .allergen-badge { width: 24px; height: 24px; }

.menu-empty { text-align: center; color: var(--muted); padding: 60px 0; }

.notice {
  border: 1px dashed rgba(61, 158, 224, 0.6);
  background: rgba(61, 158, 224, 0.08);
  color: #bfe0f7;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-top: 20px;
}

.allergen-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; margin-top: 16px; }
.allergen-legend li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.allergen-legend ul, ul.allergen-legend { list-style: none; padding: 0; }

/* ---------- Modal / lightbox ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.8);
}
.modal.is-open { display: flex; }
.modal__dialog {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.2);
  width: min(640px, 100%);
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow);
}
.modal__dialog img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.modal__content { padding: 22px 24px 28px; }
.modal__content h3 { font-size: 1.6rem; margin-bottom: 0.2em; }
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 2;
}
.modal__allergens { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.modal__allergens li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 92vw); max-height: 84svh; border-radius: 8px; object-fit: contain; }
.lightbox__caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 0.9rem; padding: 0 60px; }
.lightbox button { position: absolute; background: rgba(255,255,255,0.08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; }
.lightbox button:hover { background: rgba(255,255,255,0.18); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.gallery-grid { columns: 3 280px; column-gap: 14px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-2);
}
.gallery-item img { width: 100%; height: auto; transition: transform 0.5s ease, opacity 0.3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 0.85rem;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; }
@media (hover: none) { .gallery-item figcaption { opacity: 1; } }

/* ---------- Locations / contact ---------- */
.locations { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
@media (max-width: 400px) { .locations { grid-template-columns: 1fr; } }
.location .card__body { gap: 10px; }
.location h3 { margin: 0; }
.location .city { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.info-row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.info-row svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.info-row a:hover { color: var(--text); }
.location__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { color: #8fd982; }
.open-badge.is-closed { color: #e69a8a; }

.map-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
}
.map-wrap { position: relative; }
.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-box h3 { margin-bottom: 0.7em; }

.social { display: flex; gap: 10px; }
.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.social svg { width: 20px; height: 20px; }

/* ---------- Reservations ---------- */
.reserve-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
@media (max-width: 760px) { .reserve-steps { grid-template-columns: 1fr; } }
.reserve-step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.reserve-step b { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--brand); color: #fff; margin-bottom: 10px; }
.reserve-step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  min-width: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 100px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #080c10; border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer li, .site-footer p { color: var(--muted); font-size: 0.93rem; }
.site-footer a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }

/* Floating call button on mobile */
.fab-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  box-shadow: var(--shadow);
}
@media (max-width: 960px) { .fab-call { display: inline-flex; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ==========================================================
   Menu page (final design)
   ========================================================== */
.page-hero--short { padding-bottom: clamp(28px, 5vw, 48px); }

.section-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 22px var(--gutter) 18px;
  margin: 0 calc(var(--gutter) * -1);
}
.section-tabs::-webkit-scrollbar { display: none; }
.stab {
  flex: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 14px 10px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.stab:hover { color: var(--text); }
.stab.is-active { color: var(--text); border-bottom-color: var(--brand); }

.filter-btn.is-on { border-color: var(--brand); background: var(--brand-soft); color: #fff; }
.menu-tools .filter-btn { min-height: 44px; }

.menu-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.menu-side {
  position: sticky;
  top: calc(var(--header-h) + 90px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 40px;
  max-height: calc(100svh - var(--header-h) - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.menu-side__title { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.menu-side a {
  padding: 7px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.2s, border-color 0.2s;
}
.menu-side a:hover { color: var(--text); }
.menu-side a.is-active { color: var(--text); border-left-color: var(--brand); font-weight: 700; }
.cat-chips { display: none; }
.cat-chips .chip.is-active { background: var(--bg-3); border-color: var(--accent); color: var(--text); }

@media (max-width: 960px) {
  .menu-layout { grid-template-columns: 1fr; gap: 0; }
  .menu-side { display: none; }
  .cat-chips { display: flex; }
}

.menu-result { margin: 32px 0 0; color: var(--muted); }
.link-btn { background: none; border: 0; color: var(--accent); font-weight: 700; padding: 0 0 0 8px; }

.mcat { padding-top: 40px; }
.mcat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mcat__head h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.mcat__head span { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.mcat__note { color: var(--muted); margin: -8px 0 18px; font-size: 0.95rem; }

/* Photo cards */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .dgrid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.dcard {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.dcard:hover { transform: translateY(-3px); border-color: rgba(61, 158, 224, 0.55); box-shadow: var(--shadow); }
.dcard__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bg-3); overflow: hidden; }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dcard:hover .dcard__media img { transform: scale(1.05); }
.dcard__ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 3rem; color: var(--line); }
.dcard__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.dcard__badges .tag { background: rgba(12, 17, 23, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.dcard__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.dcard__desc { color: var(--muted); font-size: 0.86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcard__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.dcard__price { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.price-opt { display: inline-flex; align-items: baseline; gap: 6px; }
.price-opt b { color: var(--accent); font-weight: 800; white-space: nowrap; }
.price-opt small { color: var(--muted); font-size: 0.78rem; }
.a-list { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.a-list .allergen-badge { width: 20px; height: 20px; font-size: 0.66rem; }
@media (max-width: 520px) {
  .dcard__body { padding: 10px 11px 12px; }
  .dcard__name { font-size: 0.98rem; }
  .dcard__desc { display: none; }
  .dcard__badges .tag { font-size: 0.66rem; }
}

/* Price list (drinks, wine…) */
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 0 40px; }
.prow {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  text-align: left;
  width: 100%;
}
.prow:hover .prow__name { color: var(--accent); }
.prow__img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.prow__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.prow__line { display: flex; align-items: baseline; gap: 8px; }
.prow__name { font-weight: 700; transition: color 0.2s; }
.prow__dots { flex: 1; border-bottom: 1px dotted rgba(238, 242, 246, 0.25); transform: translateY(-4px); min-width: 16px; }
.prow__price { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 12px; text-align: right; }
.prow__desc { color: var(--muted); font-size: 0.86rem; }
.prow__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.prow__meta:empty { display: none; }

.tag { font-size: 0.72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.tag--top { border-color: rgba(240, 190, 80, 0.6); color: #ffd98a; }
.tag--new { border-color: rgba(61, 158, 224, 0.7); color: #a9d6f5; }
.tag--veg { border-color: rgba(120, 190, 110, 0.6); color: #b8e3ae; }
.tag--off { border-color: rgba(224, 103, 79, 0.6); color: #ffb9a8; }
.is-off { opacity: 0.55; }

/* Dish window */
.modal__en { color: var(--muted); font-style: italic; margin: 0 0 10px; }
.modal__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.modal__badges:empty { display: none; }
.modal__desc { color: var(--muted); }
.modal__prices { display: grid; gap: 6px; margin: 16px 0; }
.modal__prices div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.modal__prices b { color: var(--accent); }
.modal__h { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 18px 0 0; }
.modal__dialog > div > img { width: 100%; aspect-ratio: auto; max-height: 52svh; object-fit: cover; }

/* Home: chef's picks */
.dish-card { transition: transform 0.2s ease, border-color 0.2s ease; }
.dish-card:hover { transform: translateY(-3px); border-color: rgba(61, 158, 224, 0.55); }
.dish-card .card__img { aspect-ratio: 1 / 1; }
.dish-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.price { color: var(--accent); font-weight: 800; }
.muted { color: var(--muted); font-size: 0.85rem; }

/* (open-menu header background: see .site-header::before) */
.logo img { height: 42px; flex: none; }

/* ---------- Dish photos that fit their frame ---------- */
.pic { position: relative; display: block; overflow: hidden; background: var(--pad, var(--bg-3)); isolation: isolate; }
.pic img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.pic--contain img { object-fit: contain; }
.pic--pad img { padding: 6%; }
.pic--blur::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  background: var(--blur) center / cover no-repeat;
  filter: blur(18px) brightness(0.55) saturate(1.1);
}
.pic--empty { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 3rem; color: var(--line); }
.dcard__media { aspect-ratio: 4 / 5; }
.dcard__media .pic { width: 100%; height: 100%; }
.dcard:hover .dcard__media .pic img { transform: scale(1.04); }
.dcard__media .pic img { transition: transform 0.5s ease; }
.prow__img { width: 56px; height: 56px; border-radius: 10px; flex: none; }
.prow__img.pic--pad img { padding: 3px; }
.modal__pic { width: 100%; display: flex; justify-content: center; }
.modal__pic img { width: auto; max-width: 100%; height: auto; max-height: min(58svh, 560px); object-fit: contain; }
.card__pic { aspect-ratio: 4 / 5; width: 100%; }
.dcard--text { justify-content: flex-start; }
.dcard--text .dcard__body { padding-top: 18px; }
.dcard--text .dcard__name { font-size: 1.2rem; }
.dcard__badges--inline { position: static; padding: 14px 16px 0; }
.dcard__badges--inline:empty { display: none; }
@media (max-width: 520px) { .dcard--text .dcard__desc { display: -webkit-box; } }
.plist--after { margin-top: 18px; }

/* ---------- Stronger headlines ---------- */
h1, h2, h3 { font-weight: 700; color: #fff; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 800; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.mcat__head { border-bottom: 2px solid var(--line); padding-bottom: 12px; position: relative; }
.mcat__head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--brand); }
.mcat__head h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); }
.stab { font-weight: 700; }
.feature::after { background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.88)); }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.feature span { font-size: 0.95rem; color: #cfe6f7; }
.location h3, .contact-box h3 { font-size: 1.45rem; }
.dcard__name, .dish-card h3 { font-weight: 700; color: #fff; }

/* ---------- Online booking (Raffy Vitosha) ---------- */
.booking-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .booking-wrap { grid-template-columns: 1fr; } }
.booking-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.booking-facts li { position: relative; padding-left: 26px; color: var(--muted); }
.booking-facts li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.booking-facts b { color: var(--text); }
.booking-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) { .booking-photo { display: none; } }
.booking-form, .booking-done { background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input[type="date"] { color-scheme: dark; min-height: 48px; }
.field select, .field input { min-height: 48px; }
.zone-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.zone-field legend { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; padding: 0; }
.zone-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zone-opt { position: relative; }
.zone-opt input { position: absolute; opacity: 0; inset: 0; }
.zone-opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-3); font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: all 0.15s; }
.zone-opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: #fff; box-shadow: inset 0 0 0 1px var(--brand); }
.zone-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.optional { font-weight: 400; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.consent.is-invalid span { color: #ffb9a8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--block { width: 100%; padding-top: 1em; padding-bottom: 1em; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field-error { color: #ffb9a8; font-size: 0.82rem; }
.form-error { margin: 12px 0 0; color: #ffb9a8; font-size: 0.92rem; }
.form-error a { color: #fff; text-decoration: underline; }
.booking-done { text-align: center; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #1f7a3f; color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.booking-done h3 { font-size: 1.8rem; }
.done-list { margin: 20px 0; text-align: left; display: grid; gap: 0; }
.done-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.done-list dt { color: var(--muted); }
.done-list dd { margin: 0; font-weight: 700; text-align: right; }
.booking-done .form-note a { color: var(--accent); }

/* ---------- Legal pages ---------- */
.page-hero--plain { background: linear-gradient(180deg, #10202f, var(--bg)); }
.page-hero--plain::after { display: none; }
.legal__body { max-width: 820px; }
.legal__body h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2em 0 0.6em; }
.legal__body h3 { font-size: 1.15rem; margin: 1.4em 0 0.4em; }
.legal__body p, .legal__body li { color: #c9d2dc; }
.legal__body ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1em; }
.legal__body a, .consent a { color: var(--accent); text-decoration: underline; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 0.95rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 560px) { .legal-table th:nth-child(3), .legal-table td:nth-child(3) { display: none; } }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--text); }
.map-consent { height: 100%; min-height: 360px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2) repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.015) 14px 28px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center; }
.map-consent > svg { width: 40px; height: 40px; color: var(--accent); }
.map-consent p { color: var(--muted); margin: 0; max-width: 36ch; font-size: 0.92rem; }
.map-consent p b { color: var(--text); }
.map-consent a:not(.btn) { color: var(--accent); }

/* ---------- Language switch ---------- */
.flag { width: 22px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.25); display: block; }
.lang-switch {
  flex: none; display: inline-flex; align-items: center; padding: 3px; gap: 2px;
  border: 1.5px solid rgba(61, 158, 224, 0.75); border-radius: 999px; background: rgba(12, 17, 23, 0.55);
}
.ls-opt {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 8px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); transition: background 0.2s, color 0.2s;
}
.ls-opt .flag { width: 18px; height: 12px; }
a.ls-opt:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.ls-opt.is-current { background: var(--brand); color: #fff; }
.nav .nav-mobile-lang { display: none; }
@media (max-width: 960px) {
  .lang-switch { margin-left: auto; }
  .nav-toggle { margin-left: 8px; }
  .nav .nav-mobile-lang { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; color: var(--text); font-family: var(--font-body); font-weight: 700; }
  .nav .nav-mobile-lang .flag { width: 28px; height: 19px; }
}
.eu-logos { background: #fff; border-radius: var(--radius-sm); padding: 16px; margin: 8px 0 24px; display: flex; justify-content: center; }
.eu-logos img { width: 100%; max-width: 560px; height: auto; }

/* ---------- Compact layout (owner feedback 2026-11-25) ---------- */
/* Side-by-side photos: never taller than needed (a fixed height attribute made one 1200px tall). */
.split__media img { height: auto; max-height: 560px; }
@media (max-width: 860px) {
  .split__media img, .split__media--wide img { aspect-ratio: 16 / 10; max-height: 260px; }
}
@media (max-width: 760px) {
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 22px; }
  .hero { min-height: 88svh; }
  .hero__logo { width: 64px; margin-bottom: 14px; }
  .page-hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 28px; }
  .stats { margin-top: 18px; }
  .stat strong { font-size: 1.6rem; }

  /* Swipeable rows instead of long stacks of cards */
  .locations, .feature-strip, .cards {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 80%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 10px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .locations::-webkit-scrollbar, .feature-strip::-webkit-scrollbar, .cards::-webkit-scrollbar { display: none; }
  .locations > *, .feature-strip > *, .cards > * { scroll-snap-align: start; }
  .feature { aspect-ratio: 4 / 5; }
  .location .card__img, .cards .card__img { aspect-ratio: 16 / 10; }
  .location .card__body { padding: 14px 16px 16px; }
  .location__actions .btn { padding: 0.7em 1em; font-size: 0.88rem; }

  /* Gallery preview on the home page: two per row */
  .gallery-grid { columns: 2 !important; column-gap: 8px; }
  .gallery-grid .gallery-item { margin-bottom: 8px; }
}
.swipe-hint { display: none; }
@media (max-width: 760px) {
  .swipe-hint { display: block; margin: -12px 0 14px; font-size: 0.82rem; color: var(--muted); }
}
@media (max-width: 760px) { .gallery-filters { flex-wrap: nowrap; } }
.chip--place::before { content: "📍"; margin-right: 5px; font-size: 0.85em; }
.nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1200px) {
  .site-header .container { gap: 14px; }
  .nav a { padding: 8px 9px; font-size: 0.88rem; }
  .header-cta { padding: 0.55em 0.95em; }
}
/* Bigger tap areas on phones without changing how things look */
.footer-legal a { padding: 11px 0; margin: -11px 0; }
.ls-opt { position: relative; }
.ls-opt::after { content: ""; position: absolute; inset: -8px -2px; }
