/* Vanilla CSS + design tokens (:root). Component sections below; Familija overrides at file end. No utility framework — correct for static prerendered sites (2026). */
@layer tokens, base, components, utilities;

/* Familija Serbian Restaurant. Self-contained, no third-party requests. */
@layer tokens {
:root {
  --sea: #1c2e4a;
  --sea-deep: #121d30;
  --sea-2: #2d4a6f;
  --sun: #c62828;
  --coral: #b8860b;
  --ink: #1a1f2e;
  --muted: #5a6578;
  --sand: #f5f6f8;
  --sand-2: #ebeef2;
  --card: #ffffff;
  --line: #d4dae3;
  --shadow: 0 8px 30px rgba(18, 29, 48, 0.10);
  --radius: 16px;
  --maxw: 1120px;
  --header-h: 68px;
  --menu-nav-h: 56px;
  --menu-jump-h: 72px;
  --mobile-bar-h: 56px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--sea-2); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 760px; }

/* Grid/flex children default to min-width:auto (= min-content), which lets an
   image's intrinsic width blow a track past the viewport. Reset it so tracks
   can shrink and the page never overflows horizontally on mobile. */
.story-grid > *, .visit-grid > *, .menu-grid > *, .review-grid > *,
.pick-grid > *, .when-grid > *,
.gallery-grid > *, .footer-grid > *, .header-inner > * { min-width: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--sea); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-primary { background: var(--sun); color: #fff; border-color: var(--sun); box-shadow: 0 4px 14px rgba(198,40,40,.28); }
.btn-primary:hover { background: #d32f2f; }
.btn-ghost { background: transparent; color: var(--sea); border-color: var(--sea); }
.btn-ghost:hover { background: var(--sea); color: #fff; }
.btn-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--sea-deep); border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,246,248,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: block; object-fit: contain;
}
.brand-logo-full {
  display: block; width: 176px; height: auto;
  background: #eef1f5; padding: 14px 18px; border-radius: 16px;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--sea);
  color: var(--sun); font-weight: 800; font-size: 1.5rem;
  display: grid; place-items: center; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.08; min-width: 0; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-text small { font-family: var(--font); font-weight: 600; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.brand-footer .brand-name { color: #fff; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { background: var(--sand-2); color: var(--sea); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
/*
 * Stacked by default (image band + panel below).
 * Overlay only ≥1200px: panel is ~520px tall but 16:9 band at 1000–1100px is only ~560px
 * with justify-end — panel top collides with the header. Content-heavy heroes must stack <1200px.
 */
.hero {
  position: relative;
  color: #fff;
  container-type: inline-size;
  container-name: hero;
  display: flex;
  flex-direction: column;
  background: var(--sea-deep);
}
.hero-bg {
  position: relative;
  z-index: 0;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(40vh, 300px);
  min-height: clamp(168px, 30vw, 280px);
  background: var(--sea-deep);
}
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18,29,48,.1) 0%, rgba(18,29,48,.48) 100%);
  pointer-events: none;
}
.hero::after { display: none; }
.hero-inner {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(16px, 3vw, 24px) 20px clamp(24px, 4vw, 36px);
}
.hero-panel {
  max-width: none;
  width: 100%;
  background: rgba(18,29,48,.72);
  backdrop-filter: blur(6px);
  padding: clamp(18px, 3.5vw, 28px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 48px rgba(0,0,0,.30);
}
.hero-lead {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sun);
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
  margin-bottom: .45em;
  font-size: clamp(1.65rem, 4.8vw, 2.15rem);
}
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.18rem); color: #fff; max-width: 34em; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-facts { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0; padding: 0;
}
.hero-meta li {
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.88);
  background: transparent; border: none; border-radius: 0;
  padding: 0 0 0 14px; box-shadow: none;
  position: relative;
}
.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sun);
}
.hero-rating { margin: 12px 0 0; font-size: .88rem; }
.hero-rating a { color: #ffe08a; font-weight: 700; text-decoration: none; }
.hero-rating a:hover { color: #fff; text-decoration: underline; }

@media (min-width: 1200px) and (min-height: 641px) {
  .hero {
    display: block;
    overflow: hidden;
    background: transparent;
  }
  .hero-bg {
    aspect-ratio: 16 / 9;
    max-height: min(72vh, 680px);
    min-height: 0;
  }
  .hero-bg::after { display: none; }
  .hero::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(18,29,48,.28) 0%, rgba(18,29,48,.52) 55%, rgba(18,29,48,.80) 100%);
    pointer-events: none;
  }
  .hero-inner {
    position: absolute;
    inset: 0;
    flex: none;
    justify-content: flex-end;
    padding: clamp(32px, 6vw, 80px) 20px;
  }
  .hero-panel {
    max-width: 680px;
    width: auto;
    background: rgba(18,29,48,.58);
  }
  .hero h1 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
}

@media (max-height: 640px) and (min-width: 1200px) {
  /* Short desktop viewports: overlay clips — force stack. */
  .hero {
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: var(--sea-deep);
  }
  .hero::after { display: none; }
  .hero-bg {
    max-height: min(34vh, 220px);
    min-height: 140px;
  }
  .hero-bg::after { display: block; }
  .hero-inner {
    position: relative;
    inset: auto;
    justify-content: flex-start;
    padding: 16px 20px 24px;
  }
  .hero-panel { max-width: none; width: 100%; background: rgba(18,29,48,.72); }
  .hero h1 { font-size: clamp(1.65rem, 4.8vw, 2.15rem); }
}

@media (max-width: 760px) {
  /* Compact stacked hero (~50svh image + overlapping panel); CTAs above fold on phones */
  .hero-bg {
    aspect-ratio: 3 / 2;
    max-height: min(24svh, 176px);
    min-height: 128px;
  }
  .hero-img { object-position: center 38%; }
  .hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(18, 29, 48, 0.05) 0%,
      rgba(18, 29, 48, 0.5) 58%,
      rgba(18, 29, 48, 0.92) 100%
    );
  }
  .hero-inner {
    margin-top: -18px;
    padding: 0 14px 18px;
  }
  .hero-panel {
    padding: 14px 16px 16px;
    border-radius: 14px;
    background: rgba(18, 29, 48, 0.88);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  }
  .hero-lead { margin-bottom: 6px; font-size: 0.82rem; }
  .hero h1 {
    font-size: clamp(1.42rem, 6.2vw, 1.75rem);
    margin-bottom: 0.3em;
    line-height: 1.15;
  }
  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    margin-top: 14px;
    gap: 10px;
  }
  .hero-ctas .btn-primary { width: 100%; flex: none; }
  .hero-ctas .hero-cta-alt {
    background: transparent;
    border: none;
    color: rgba(255,255,255,.92);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 2px 0 0;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: none;
  }
  .hero-ctas .hero-cta-alt:hover,
  .hero-ctas .hero-cta-alt:focus-visible {
    color: #fff;
    background: transparent;
  }
  .hero-ctas .btn-ghost[href*="google.com/maps"] { display: none; }
  .hero-facts { margin-top: 12px; padding-top: 12px; }
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .hero-meta li { font-size: 0.78rem; }
  .hero-rating { margin-top: 8px; font-size: 0.82rem; }
}
/* ---------- sections ---------- */
.section { padding: clamp(52px, 8vw, 92px) 0; }
.section-alt { background: var(--sand-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--coral); margin: 0 0 .4rem; }
.section-note { color: var(--muted); max-width: 60ch; margin-top: -.2rem; }
.muted { color: var(--muted); }

/* story */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.story-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; }
.story-badges li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; }

/* signature picks */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 28px; }
.pick-card {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.pick-card figure, .pick-card picture { display: block; margin: 0; aspect-ratio: 4 / 3; background: var(--sea-deep); overflow: hidden; }
.pick-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pick-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.pick-card h3 { margin: 0 0 6px; color: var(--sea); font-size: 1.12rem; }
.pick-card p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.pick-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sand-2); }
.pick-price { font-weight: 800; color: var(--sea); font-size: 1.05rem; }
.pick-badge { background: rgba(198,40,40,.12); color: #8b1a1a; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }

/* when to visit */
.when-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.when-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.when-card h3 { color: var(--sea); margin-bottom: 8px; font-size: 1.05rem; }
.when-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.when-time { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--coral); margin-bottom: 8px; }

/* menu extras */
.menu-tag {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  background: rgba(198,40,40,.12); color: #8b1a1a; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 999px;
}
.menu-item dt .menu-tag { margin-left: 6px; }
.story-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; }
.story-figure picture { display: block; width: 100%; height: 100%; }
.story-figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* menu — accordion categories + jump nav */
.menu-jump { display: none; margin: 20px 0 8px; }
.menu-jump-field {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(247,251,252,.98) 100%);
  border: 1px solid rgba(14, 77, 92, .16);
  border-radius: 14px;
  box-shadow:
    0 10px 28px rgba(8, 46, 56, .08),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.menu-jump-field:focus-within {
  border-color: rgba(14, 77, 92, .34);
  box-shadow:
    0 0 0 3px rgba(244, 163, 0, .28),
    0 12px 30px rgba(8, 46, 56, .12),
    inset 0 1px 0 rgba(255, 255, 255, .95);
}
.menu-jump-icon {
  margin-left: 4px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex: none;
  color: var(--sea);
  background: rgba(14, 77, 92, .08);
  border: 1px solid rgba(14, 77, 92, .08);
  border-radius: 11px;
}
.menu-jump-copy { min-width: 0; padding: 2px 0; }
.menu-jump-label {
  display: block;
  margin: 0 0 2px;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--coral);
}
.menu-jump-select {
  width: 100%; min-height: 0;
  padding: 0 8px 0 0;
  border: 0; background: transparent;
  font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.25;
  color: var(--sea-deep);
  appearance: none; -webkit-appearance: none;
  box-shadow: none;
  cursor: pointer;
}
.menu-jump-select:focus { outline: none; }
.menu-jump-chevron {
  width: 40px; height: 40px;
  margin-right: 2px;
  display: grid; place-items: center;
  flex: none;
  color: #fff;
  background: linear-gradient(180deg, var(--sea-2) 0%, var(--sea) 100%);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  pointer-events: none;
  transition: transform .2s ease;
}
.menu-jump-field:focus-within .menu-jump-chevron { transform: translateY(1px); }

@supports (appearance: base-select) {
  .menu-jump-select,
  .menu-jump-select::picker(select) {
    appearance: base-select;
  }
  .menu-jump-select {
    padding-right: 0;
  }
  .menu-jump-select::picker(select) {
    margin-top: 8px;
    padding: 8px;
    border: 1px solid rgba(14, 77, 92, .14);
    border-radius: 14px;
    background: var(--card);
    box-shadow: 0 18px 40px rgba(8, 46, 56, .16);
  }
  .menu-jump-select option {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--sea-deep);
  }
  .menu-jump-select option:checked {
    background: rgba(244, 163, 0, .16);
    color: var(--sea-deep);
  }
  .menu-jump-select option:hover {
    background: rgba(14, 77, 92, .08);
  }
  .menu-jump-chevron { display: none; }
}
.menu-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  position: sticky; top: var(--header-h, 68px); z-index: 20;
  background: var(--sand); padding: 10px 0;
  margin: 0 0 6px;
}
.section-alt .menu-nav { background: var(--sand-2); }
.menu-nav a {
  text-decoration: none; font-weight: 700; font-size: .82rem;
  color: var(--sea); background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; white-space: nowrap;
}
.menu-nav a:hover { background: var(--sea); color: #fff; border-color: var(--sea); }

.menu-cat { scroll-margin-top: var(--menu-nav-h); }
.menu-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.menu-board { margin-top: 22px; }
.menu-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); overflow: hidden; }
.menu-cat summary {
  color: var(--sea); padding: 18px 22px; margin: 0;
  border-bottom: 2px solid transparent; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 1.15rem; font-weight: 700;
}
.menu-cat[open] summary { border-bottom-color: var(--sand-2); }
.menu-cat summary::-webkit-details-marker { display: none; }
.menu-cat summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.menu-cat[open] summary::after { content: "–"; }
.menu-cat .menu-list { padding: 0; margin: 0; }
.menu-cat h3 { display: none; }
.cat-note { font-size: .8rem; font-weight: 700; color: var(--coral); text-transform: none; letter-spacing: 0; }
.menu-list { margin: 0; }
.menu-item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 22px; margin: 0; border-bottom: 0; box-sizing: border-box; width: 100%; }
.menu-item:last-child { border-bottom: 0; }
.menu-item dt { margin: 0; font-weight: 600; flex: 1 1 auto; min-width: 0; }
.menu-item dt .menu-hr { display: inline; font-weight: 600; font-size: inherit; color: inherit; font-style: normal; }
.menu-item dd { margin: 0; font-weight: 700; color: var(--sea); white-space: nowrap; flex: 0 0 auto; }

/* gallery — tiles are pre-composited 4:3; dark frame matches blurred backdrop edges */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 28px; }
.gallery-item { display: block; padding: 0; border: 0; background: var(--sea-deep); cursor: pointer; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); min-width: 0; aspect-ratio: 4/3; }
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.03); }

/* reviews */
.rating-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 8px 0 26px; }
.rating-score { font-size: 2.6rem; font-weight: 800; color: var(--sea); line-height: 1; }
.rating-stars { color: var(--sun); font-size: 1.5rem; letter-spacing: 2px; }
.rating-meta { color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review-card p { font-size: 1.02rem; }
.review-card footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--sand-2); }
.rc-author { font-weight: 700; }
.rc-stars { color: var(--sun); letter-spacing: 1px; }
.review-source { margin-top: 22px; }

/* visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 28px; align-items: stretch; }
.visit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.info-list { margin: 0 0 20px; }
.info-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sand-2); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { font-weight: 800; color: var(--sea); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; padding-top: 3px; }
.info-list dd { margin: 0; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-note { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card); border: 1px solid var(--line); }
.map-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.map-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: #d8eaf0;
  --map-pin-x: 40%;
  --map-pin-y: 58%;
}
.map-img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: center center;
  transition: transform 0.35s ease;
}
.map-marker {
  position: absolute;
  left: var(--map-pin-x);
  top: var(--map-pin-y);
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(8, 46, 56, 0.28));
}
.map-marker-label {
  margin-bottom: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sea);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.map-marker-pin {
  position: relative;
  width: 22px;
  height: 22px;
  background: var(--coral);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.map-marker-pin::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(226, 96, 63, 0.45);
  border-radius: 50%;
  animation: map-pin-pulse 2.4s ease-out infinite;
}
@keyframes map-pin-pulse {
  0% { transform: scale(0.35); opacity: 0.9; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .map-marker-pin::after { animation: none; opacity: 0.35; transform: scale(1); }
}
.map-link:hover .map-img { transform: scale(1.02); }
.map-pill {
  display: block; margin: 0; padding: 14px 18px;
  background: var(--sun); color: #fff; font-weight: 700;
  text-align: center; font-size: .95rem;
  border-top: 1px solid rgba(61, 42, 0, 0.08);
}
.map-link:hover .map-pill { background: #d32f2f; }
.map-attrib {
  margin: 0; padding: 8px 14px 10px;
  font-size: 0.68rem; color: var(--muted);
  background: var(--card); border-top: 1px solid var(--sand-2);
}
.map-attrib a { color: var(--sea-2); text-decoration: none; font-weight: 600; }
.map-attrib a:hover { text-decoration: underline; }

/* faq */
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--sea); font-size: 1.5rem; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 16px; margin: 0; color: var(--muted); }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--sea-deep), var(--sea)); color: #fff; padding: clamp(48px, 7vw, 84px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-inner { max-width: 640px; }
.cta-band p { color: #dbe4ee; font-size: 1.1rem; }
.cta-band .hero-ctas { justify-content: center; }

/* footer */
.site-footer { background: var(--sea-deep); color: #b8c2ce; padding: 56px 0 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 30px; }
.brand-footer .brand-mark { background: rgba(255,255,255,.1); }
.brand-footer .brand-text, .brand-footer { color: #fff; }
.footer-blurb { color: #a9c0c5; max-width: 42ch; margin-top: 12px; }
.site-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #b8c2ce; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-contact p { color: #a9c0c5; }
.footer-legal { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-copy { text-align: center; color: #9eb0bc; font-size: .82rem; margin: 40px auto 0; max-width: 70ch; padding: 0 20px; }

/* mobile bar — floating pill, shown ≤760px */
.mobile-bar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(18,29,48,.94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* legal / doc pages */
.doc { padding: 60px 0 80px; }
.doc h1 { color: var(--sea); }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc-updated { color: var(--muted); font-size: .9rem; }
.doc-note { background: var(--sand-2); border-left: 4px solid var(--sun); padding: 14px 18px; border-radius: 8px; }
.doc-back { display: inline-block; margin-top: 30px; font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .story-grid, .visit-grid { grid-template-columns: 1fr; }
  .story-figure { max-width: min(100%, 640px); margin-inline: auto; }
}
@media (max-width: 900px) {
  .review-grid, .when-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 961px) {
  .menu-cat { scroll-margin-top: var(--menu-nav-h); }

  .menu-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    margin: 0;
    padding: 12px 22px;
    background: var(--card);
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--sand-2);
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .menu-body {
    background: var(--card);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .menu-grid {
    margin-top: 0;
    gap: 0;
  }

  .menu-cat {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid var(--sand-2);
  }

  .menu-cat:first-child { border-top: 0; }
}

@media (max-width: 1199px) {
  .menu-jump {
    display: block;
    position: sticky; top: var(--header-h); z-index: 20;
    background: var(--sand); padding: 0 0 10px; margin-bottom: 8px;
  }
  .menu-jump-field { min-height: 58px; }
  .menu-nav { display: none; }
  .menu-cat { scroll-margin-top: var(--menu-jump-h); }
}

@media (max-width: 1024px) {
  .header-inner { position: relative; gap: 12px; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .header-actions { margin-left: auto; flex-shrink: 0; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    margin-left: 0;
    position: absolute;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 10px;
    border-radius: 8px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 1.05rem; }
  .brand-text small { font-size: .58rem; letter-spacing: .06em; }
  .brand-logo-full { width: 150px; }
  .review-grid, .when-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  html.mobile-bar-visible body {
    padding-bottom: calc(var(--mobile-bar-h) + max(8px, min(env(safe-area-inset-bottom, 0px), 12px)) + 8px);
  }
  .mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0 12px max(8px, min(env(safe-area-inset-bottom, 0px), 12px));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 6px));
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .mobile-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .mobile-bar-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    max-width: 400px;
    margin: 0 auto;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 77, 92, 0.18);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(8, 46, 56, 0.18), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  }
  .mobile-bar-link {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 44px;
    min-height: 44px;
    padding: 4px 2px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    transition: background 0.15s ease, transform 0.15s ease;
  }
  .mobile-bar-link:active { background: var(--sand-2); transform: scale(0.96); }
  .mobile-bar-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(14, 77, 92, 0.08);
    color: var(--sea);
  }
  .mobile-bar-icon svg { display: block; width: 18px; height: 18px; }
  .mobile-bar-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: var(--sea-deep);
  }
  .mobile-bar-primary {
    flex: 0 1 auto;
    min-width: 88px;
    padding: 7px 16px;
    margin: 0 1px;
    color: #fff !important;
    background: linear-gradient(180deg, #e53935 0%, var(--sun) 100%);
    box-shadow: 0 4px 14px rgba(198, 40, 40, 0.34);
  }
  .mobile-bar-primary .mobile-bar-icon {
    background: rgba(0, 0, 0, 0.12);
    color: #fff;
  }
  .mobile-bar-primary:active {
    background: linear-gradient(180deg, #d32f2f 0%, #b71c1c 100%);
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.28);
  }
  .mobile-bar-primary .mobile-bar-label { font-size: 0.72rem; font-weight: 800; color: #fff; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .mobile-bar { transition: none; }
}

.brand-mark-wide { font-size: .72rem; letter-spacing: -.02em; }
/* Familija overrides (unlayered — must beat base component rules) */
/* Familija: ghost CTAs readable on dark hero panel */
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}
.hero .btn-ghost:hover {
  background: #fff;
  color: var(--sea-deep);
  border-color: #fff;
}
/* Familija map pin — Bugibba */
.map-frame { --map-pin-x: 52%; --map-pin-y: 48%; }
.map-marker-pin { background: var(--sun); }
.map-marker-pin::after { border-color: rgba(198, 40, 40, 0.45); }

/* Rating star (decorative; score stays in link text for screen readers) */
.hero-rating a { display: inline-flex; align-items: center; gap: 0.35em; }
.hero-rating-star,
.section-note .rating-star { color: var(--sun); line-height: 1; }
.hero-rating-star { font-size: 1em; }
.section-note .rating-star { margin-right: 0.15em; }

/* Business name prominence (NAP + local SEO; matches GBP official name) */
.hero-lead {
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #ffe08a;
}
.brand-name {
  font-size: clamp(0.92rem, 2.2vw, 1.14rem);
  line-height: 1.15;
}

/* Footer — centered small-business layout (UXPin / LogRocket) */
.footer-grid {
  text-align: center;
  justify-items: center;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-footer .brand-logo-full { margin-inline: auto; }
.footer-brand-name {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.footer-blurb {
  margin-inline: auto;
  max-width: 42ch;
  text-align: center;
}
.site-footer nav,
.footer-legal,
.footer-contact {
  align-items: center;
  text-align: center;
}
.footer-contact p { text-align: center; }
.footer-actions { align-items: center; }
.footer-legal { align-items: center; }

/* Menu rows — wrapper-based zebra striping (dl>div row wrappers; Vanilla Breeze / LinuxCode) */
.menu-cat .menu-list {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.menu-cat .menu-list .menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 11px 22px;
  margin: 0;
  border-bottom: 0;
  border-radius: 0;
  box-sizing: border-box;
}
.menu-cat .menu-list .menu-item:nth-child(odd) { background: var(--card); }
.menu-cat .menu-list .menu-item:nth-child(even) { background: var(--sand-2); }
.menu-cat .menu-list .menu-item:hover { background: rgba(28, 46, 74, 0.07); }
.menu-cat .menu-list .menu-item dt { flex: 1 1 auto; min-width: 0; }
.menu-cat .menu-list .menu-item dd { flex: 0 0 auto; padding-top: 2px; font-size: 1rem; }
.menu-item dt .menu-hr {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--sea);
  font-style: normal;
}
.menu-item dt .menu-en {
  display: block;
  font-weight: 500;
  font-size: .88rem;
  color: var(--sea-2);
  font-style: normal;
  margin-top: 2px;
}
.menu-item dt .menu-desc {
  display: block;
  font-weight: 400;
  font-size: .84rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 3px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.menu-item dt .menu-tag { display: inline-block; margin-top: 4px; }
.menu-item dd { padding-top: 2px; font-size: 1rem; }

/* Footer contact actions with decorative icons (text carries meaning) */
.footer-actions {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cfdde0;
  text-decoration: none;
  font-weight: 600;
}
.footer-action:hover { color: var(--sun); }
.footer-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  flex-shrink: 0;
}
.footer-action-icon svg { display: block; }

/* Safe areas (viewport-fit=cover) + anchor scroll under sticky chrome */
.site-header {
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.lightbox-close {
  top: calc(16px + env(safe-area-inset-top, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
}
.section[id] {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px);
}
#menu {
  scroll-margin-top: calc(var(--header-h) + var(--menu-jump-h) + env(safe-area-inset-top, 0px) + 8px);
}
@media (min-width: 1200px) {
  #menu {
    scroll-margin-top: calc(var(--header-h) + var(--menu-nav-h) + env(safe-area-inset-top, 0px) + 8px);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-band p { color: #dbe4ee; }
.footer-copy { color: #9eb0bc; }

.lightbox:focus { outline: none; }
.lightbox-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

