/* =============================================
   COLOSSEUM — Authentic Italian Restaurant
   ============================================= */

:root {
  --clr-cream: #FAF7F2;
  --clr-warm: #F5EDE0;
  --clr-dark: #1A1A1A;
  --clr-text: #2D2D2D;
  --clr-muted: #6B6B6B;
  --clr-gold: #C4944A;
  --clr-gold-light: #D4A85C;
  --clr-wine: #722F37;
  --clr-olive: #5C6B4F;
  --clr-white: #FFFFFF;

  --ff-heading: 'Cormorant Garamond', 'Georgia', serif;
  --ff-body: 'Inter', 'Helvetica Neue', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 4rem;
  --space-2xl: 5rem;

  --max-width: 1200px;
  --nav-height: 80px;
  --radius-btn: 50px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; font-size: inherit; }

/* ---- No default (blue) browser chrome on touch devices ----
   Mobile browsers paint their own blue: a tap flash on anything clickable,
   blue text selection, blue focus rings after a tap, blue auto-detected
   phone numbers (iOS) and blue form accents. Replace each with the house
   gold, or remove it where a tap shouldn't leave a mark at all. */
*, *::before, *::after { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; accent-color: var(--clr-gold); }
::selection { background: rgba(196,148,74,0.28); color: inherit; }
::-moz-selection { background: rgba(196,148,74,0.28); color: inherit; }
input, textarea, select { caret-color: var(--clr-gold); }
/* Focus ring only for keyboard users — and in gold, never the default blue */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--clr-gold); outline-offset: 3px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }
/* Controls: no text-selection flash or double-tap zoom when tapped */
a, button, [role="button"], [data-tab], [data-expand], label, summary {
  touch-action: manipulation;
}
button, [role="button"], .btn, .nav__cta, .nav__langtrigger, .menupage__tab,
.menupage__row[data-expand] .menupage__row-main, .gallerypage__filter,
.langsheet__opt, .delivery__btn, .hero-cta {
  -webkit-user-select: none;
  user-select: none;
}
/* No iOS long-press callout on interactive photos and buttons */
button img, a img, .menupage__thumb, .gallery__item, .gallery__mitem, .gallerypage__item {
  -webkit-touch-callout: none;
}
/* iOS turns phone numbers / addresses into blue links on its own */
a[x-apple-data-detectors] {
  color: inherit;
  text-decoration: none;
}
/* Autofilled inputs: keep the cream field instead of blue/yellow */
input:-webkit-autofill, textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--clr-white) inset;
  -webkit-text-fill-color: var(--clr-text);
  transition: background-color 9999s ease-out;
}


/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all 0.3s;
}

/* Scrolled — frosted glass effect */
.nav--scrolled.nav--light {
  background: rgba(250, 247, 242, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 0 rgba(0,0,0,0.03);
}
.nav--scrolled.nav--dark {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Light theme — dark text on light bg */
.nav--light .nav__logo-text { color: var(--clr-dark); }
.nav--light .nav__links a { color: var(--clr-text); }
.nav--light .nav__links a:hover { color: var(--clr-gold); }
.nav--light .nav__toggle span { background: var(--clr-dark); }
.nav--light .nav__logo-img { filter: none; }

/* Dark theme — white text on dark bg */
.nav--dark .nav__logo-text { color: var(--clr-white); }
.nav--dark .nav__links a { color: rgba(255,255,255,0.85); }
.nav--dark .nav__links a:hover { color: var(--clr-gold-light); }
.nav--dark .nav__toggle span,
.nav--scrolled .nav__toggle span { background: var(--clr-white); }
.nav--dark .nav__toggle,
.nav--scrolled .nav__toggle { border-color: rgba(255,255,255,0.2); }
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo-img {
  height: 40px;
  width: auto;
}
/* Wordmark: "Colosseum" · tricolore bar · "Pinsa & Prosecco" */
.nav__logo-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
/* "Colosseum" — small caps: a full-size initial C with smaller capitals after,
   exactly as in the printed logo. No text-transform here: small-caps needs the
   source to stay "Colosseum" (cap + lowercase) to know which letters to shrink. */
.nav__logo-text {
  font-family: var(--ff-heading);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--clr-dark);
  font-variant-caps: small-caps;
  font-variant: small-caps; /* fallback for older engines */
  letter-spacing: 0.16em;
  line-height: 1;
  /* Tracking adds trailing space after the last letter; pull it back so the
     flag bar below aligns flush with the left and right edges of the word. */
  margin-right: -0.16em;
  transition: color 0.4s;
}
/* Italian flag bar, spanning the width of the wordmark */
.nav__logo-flag {
  align-self: stretch;
  height: 3px;
  margin: 3px 0 2px;
  border-radius: 1px;
  background: linear-gradient(to right,
    #008C45 0 33.33%,
    #F4F5F0 33.33% 66.66%,
    #CD212A 66.66% 100%);
  /* Hairline outline so the white middle stripe reads as part of the flag
     instead of disappearing into a light background. */
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25);
}
/* On a dark nav the white stripe is already visible — soften the outline so
   it doesn't draw a dark box around the bar. */
.nav--dark .nav__logo-flag { box-shadow: 0 0 0 0.5px rgba(255,255,255,0.25); }
/* "Pinsa & Prosecco" — title case, NOT all caps, matching the printed logo.
   Slightly larger than before so the two logo lines relate as they do in print. */
.nav__logo-sub {
  font-family: var(--ff-body);
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--clr-muted);
  /* Centre under the flag bar: stretch to the wordmark width, then centre the
     text within it. The negative margin offsets the trailing letter-space so
     the optical centre matches the bar's true centre. */
  align-self: stretch;
  text-align: center;
  margin-right: -0.14em;
  transition: color 0.4s;
}
/* Dark nav: lighten the sub-line so it stays legible */
.nav--dark .nav__logo-sub { color: rgba(255,255,255,0.6); }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text);
  transition: color 0.4s;
  position: relative;
}
.nav__links a:hover { color: var(--clr-gold); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--clr-gold);
  transition: width 0.3s;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  background: var(--clr-gold) !important;
  color: var(--clr-white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-btn);
  letter-spacing: 0.1em !important;
  font-weight: 500 !important;
  white-space: nowrap;
  overflow: hidden;
  max-width: 200px;
  opacity: 1;
  transition: max-width 0.5s ease, padding 0.5s ease, opacity 0.4s ease !important;
}
.nav__cta--hidden {
  max-width: 0;
  padding: 0.6rem 0 !important;
  opacity: 0;
  pointer-events: none;
}
.nav__cta--visible {
  max-width: 200px;
  padding: 0.6rem 1.4rem !important;
  opacity: 1;
  pointer-events: auto;
}
.nav__cta:hover { background: var(--clr-gold-light) !important; }
.nav__cta::after { display: none !important; }

/* Language switcher */
.nav__lang {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  transition: border-color 0.3s;
}
.lang-btn {
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  transition: background 0.25s, color 0.25s;
}
.lang-btn::after { display: none; }
.lang-btn[aria-pressed="true"] {
  background: var(--clr-gold);
  color: var(--clr-white);
}
/* Follow nav theme like the other links */
.nav--dark .nav__lang { border-color: rgba(255,255,255,0.25); }
.nav--light .nav__lang { border-color: rgba(0,0,0,0.15); }
.nav--dark .lang-btn:not([aria-pressed="true"]) { color: rgba(255,255,255,0.85); }

/* ---------------------------------------------------------------
   Language switch — highlighter sweep
   Zlatý pruh vyrastie zľava doprava a prekryje text (je NAD ním,
   z-index:2, takže text počas prekrytia vôbec nevidno), JS medzitým
   vymení jazyk, potom sa pruh stiahne doprava a odhalí nový text.
   NEMENÍME display — inak by sa blokové nadpisy zmenili na inline.
   --------------------------------------------------------------- */
.i18n-anim { position: relative; }
/* Šírka aj odsadenie pruhu prichádzajú z JS (--i18n-w / --i18n-x), lebo sa
   merajú podľa SKUTOČNÉHO textu cez Range — inak by pri blokových nadpisoch
   (h2, .section__label, footer odkazy…) pruh prešiel cez celý stĺpec. */
.i18n-anim::before {
  content: "";
  position: absolute;
  top: -0.08em; bottom: -0.08em;
  left: var(--i18n-x, -6px);
  width: var(--i18n-w, calc(100% + 12px));
  background: var(--clr-gold);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
  transform: scaleX(0);
  transform-origin: left center;
}
html.i18n-sweep-in .i18n-anim::before {
  animation: i18nSweepIn 0.34s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
html.i18n-sweep-out .i18n-anim::before {
  animation: i18nSweepOut 0.34s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
@keyframes i18nSweepIn {
  from { transform: scaleX(0); transform-origin: left center; }
  to   { transform: scaleX(1); transform-origin: left center; }
}
@keyframes i18nSweepOut {
  from { transform: scaleX(1); transform-origin: right center; }
  to   { transform: scaleX(0); transform-origin: right center; }
}

/* ---- Zlaté PRIMARY tlačidlá: efekt PÍSANIA ----
   Zlatý zvýrazňovač na zlatom pozadí nie je vidieť (vyzerá len ako glow),
   preto tu pruh vypíname. Namiesto neho JS prepisuje text znak po znaku
   (typewriter) a tlačidlo sa pritom plynulo naťahuje/zmenšuje.
   Platí LEN pre .btn--primary — ostatné tlačidlá si nechávajú pruh. */
.btn--primary .i18n-anim::before,
.btn--primary.i18n-anim::before,
.nav__cta .i18n-anim::before,
.nav__cta.i18n-anim::before {
  display: none !important;
}
/* Blikajúci kurzor počas písania */
.i18n-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -0.12em;
  background: currentColor;
  animation: i18nCaret 0.7s steps(1) infinite;
}
@keyframes i18nCaret { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

/* Kým sa box prispôsobuje novej dĺžke textu, orežeme obsah, aby počas
   prechodu nič nevytekalo, a vypneme hover-zdvih, nech sa transformy nebijú. */
.i18n-resizing {
  overflow: hidden !important;
  transform: none !important;
}
/* .btn má `transition: all 0.3s`, čo by sa bilo s naším width/height
   prechodom — počas prepínania jazyka riadime rozmer sami. */
.btn.i18n-resizing {
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1),
              height 0.3s cubic-bezier(0.4,0,0.2,1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .i18n-anim::before { animation: none !important; transform: scaleX(0) !important; }
  .i18n-resizing { transition: none !important; }
  .btn--primary .i18n-anim,
  .btn--primary.i18n-anim { transition: none !important; opacity: 1 !important; filter: none !important; }
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  background: transparent;
  z-index: 10000;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--clr-dark);
  transition: all 0.3s;
  transform-origin: center;
}
.nav__toggle span:nth-child(1) { width: 20px; }
.nav__toggle span:nth-child(2) { width: 20px; }
.nav__toggle span:nth-child(3) { width: 20px; }
/* Hamburger → X + 90deg rotation when open */
.nav__toggle--open {
  transform: rotate(90deg);
  border-color: rgba(255,255,255,0.2);
}
.nav__toggle--open span { background: var(--clr-white); }
.nav__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle--open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav__overlay--visible {
  display: block;
  opacity: 1;
}

/* =============================================
   PIZZA HERO — Clean, light, pizza centered bottom
   ============================================= */
.phero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-lg)) 5% 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 120px,
      rgba(0,0,0,0.03) 120px,
      rgba(0,0,0,0.03) 121px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(0,0,0,0.03) 120px,
      rgba(0,0,0,0.03) 121px
    ),
    var(--clr-cream);
  overflow: visible;
  margin-bottom: 0;
  padding-bottom: 2rem;
}

/* Center text */
.phero__text {
  position: relative;
  z-index: 10;
  max-width: 600px;
  text-align: center;
}
.phero__label {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clr-gold);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}
.phero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--clr-dark);
  margin-bottom: var(--space-md);
}
.phero__title em {
  font-style: italic;
  color: var(--clr-gold);
}
.phero__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--clr-muted);
  margin-bottom: 0;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero CTA buttons */
.hero-cta-row {
  position: absolute;
  top: 90vh;
  left: 5%;
  right: 5%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
}
.hero-cta {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-dark);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 0;
  transition: all 0.35s ease;
}
.hero-cta__arrow {
  font-size: 0.85rem;
  transition: transform 0.35s ease;
  opacity: 0.5;
}
.hero-cta:hover {
  color: var(--clr-wine);
  border-color: var(--clr-wine);
  gap: 0.8rem;
}
.hero-cta:hover .hero-cta__arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* Remove gap between hero and about */
.phero + .about {
  padding-top: var(--space-md);
  margin-top: 0;
  position: relative;
  z-index: 1;
}

/* Pizza wrap — bottom center with ring */
.phero__pizza-wrap {
  position: relative;
  width: min(60vw, 680px);
  height: min(60vw, 680px);
  margin: var(--space-sm) auto 0;
  z-index: 5;
  flex-shrink: 0;
}

/* Rotating text ring */
.phero__ring {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  z-index: 2;
  animation: ringRotate 35s linear infinite;
}
.phero__ring-text {
  font-family: var(--ff-body);
  font-size: 11px;
  fill: var(--clr-gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.3;
}
@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

/* Pizza image */
.phero__pizza {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  z-index: 3;
  will-change: transform;
  transition: transform 0.1s ease-out;
}
.phero__pizza img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.18));
}

/* Floating ingredient images */
.phero__float {
  position: absolute;
  z-index: 8;
  object-fit: contain;
  pointer-events: none;
  animation: pheroFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}
.phero__float--1 {
  width: 130px;
  top: 12%; left: 3%;
  animation-delay: 0s;
}
.phero__float--2 {
  width: 55px;
  top: 24%; left: 18%;
  animation-delay: -1s;
}
.phero__float--3 {
  width: 60px;
  top: 50%; left: 2%;
  animation-delay: -2s;
}
.phero__float--4 {
  width: 100px;
  top: 10%; right: 5%;
  animation-delay: -0.5s;
}
.phero__float--5 {
  width: 65px;
  top: 32%; right: 3%;
  animation-delay: -3s;
}
.phero__float--6 {
  width: 60px;
  top: 25%; right: 20%;
  animation-delay: -4s;
}

@keyframes pheroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(3deg); }
  66% { transform: translateY(-5px) rotate(-2deg); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  transition: all 0.3s;
}
.btn--primary {
  background: var(--clr-gold);
  color: var(--clr-white);
}
.btn--primary:hover { background: var(--clr-gold-light); transform: translateY(-1px); }
.btn--outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--clr-white);
}
.btn--outline:hover { border-color: var(--clr-gold); color: var(--clr-gold); }
.btn--full { width: 100%; text-align: center; }
/* Neúplný formulár: stmavené, neklikateľné tlačidlo (počas odosielania .is-busy drží farbu stavu) */
.btn--primary:disabled:not(.is-busy) {
  background: #8C8378;
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn--primary:disabled { pointer-events: none; }


/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}
.section__header {
  text-align: center;
  margin-bottom: var(--space-md);
}
.section__label {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--clr-gold);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05em;
}
.section__label--light { color: var(--clr-gold-light); }
.section__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--clr-dark);
  letter-spacing: 0.04em;
}
.section__title--light { color: var(--clr-white); }

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--clr-cream);
  padding-top: 0;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: -3rem;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 10;
}
.about__stat-card:nth-child(1),
.about__stat-card:nth-child(3) {
  margin-top: -0.8rem;
}
.about__stat-card:nth-child(2) {
  margin-top: 0.8rem;
}
.about__stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.about__stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.about__stat-number {
  display: block;
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.about__stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-muted);
}
.about__stat-desc {
  font-size: 0.78rem;
  color: var(--clr-muted);
  line-height: 1.5;
  margin-top: var(--space-xs);
  opacity: 0.7;
}
.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__text .section__label {
  text-align: left;
}
.about__desc {
  color: var(--clr-muted);
  margin-top: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.9;
}
.about__image {
  border-radius: 8px;
  overflow: hidden;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* =============================================
   FEATURED DISHES
   ============================================= */
.featured { background: var(--clr-white); }
.featured__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.featured__card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: var(--clr-cream);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.featured__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.12);
}
.featured__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.featured__card:hover .featured__img-wrap img {
  transform: scale(1.06);
}
.featured__info {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
}
.featured__info h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--clr-dark);
}
.featured__info p {
  font-size: 0.8rem;
  color: var(--clr-muted);
  margin-bottom: var(--space-xs);
  line-height: 1.5;
}
.featured__price {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  color: var(--clr-gold);
  font-weight: 600;
}

/* =============================================
   MENU
   ============================================= */
.menu {
  background: var(--clr-dark);
  overflow: hidden;
}
.menu__bg {
  position: absolute;
  inset: 0;
  background: url('img/image00009.jpeg') center/cover;
  opacity: 0.06;
}
.menu__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.menu__tab {
  padding: 0.7rem 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-btn);
  transition: all 0.3s;
}
.menu__tab:hover { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }
.menu__tab--active {
  color: var(--clr-white) !important;
  border-color: var(--clr-gold) !important;
  background: rgba(196, 148, 74, 0.15);
}
.menu__content { position: relative; z-index: 1; }
.menu__panel { display: none; }
.menu__panel--active { display: block; }
.menu__grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.menu__item {
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.menu__item-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu__item-header h3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--clr-white);
  white-space: nowrap;
}
.menu__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255,255,255,0.15);
  min-width: 20px;
  margin-bottom: 4px;
}
.menu__price {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  color: var(--clr-gold);
  font-weight: 500;
  white-space: nowrap;
}
.menu__item-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
}
.menu__tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--clr-wine);
  color: var(--clr-white);
  padding: 2px 8px;
  border-radius: var(--radius-btn);
  vertical-align: middle;
  margin-left: 0.3rem;
}

/* =============================================
   MENU PAGE — Light redesign
   ============================================= */
.menupage {
  background: var(--clr-cream);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-2xl);
}
.menupage__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.menupage__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--clr-dark);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xs);
}
.menupage__subtitle {
  font-size: 0.9rem;
  color: var(--clr-muted);
}

/* Tabs */
.menupage__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}
.menupage__tab {
  padding: 0.7rem 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  transition: all 0.3s;
  background: transparent;
}
.menupage__tab:hover {
  color: var(--clr-dark);
  border-color: rgba(0,0,0,0.25);
}
.menupage__tab--active {
  color: var(--clr-white) !important;
  background: var(--clr-dark) !important;
  border-color: var(--clr-dark) !important;
}

/* Panels */
.menupage__panel { display: none; }
.menupage__panel--active { display: block; }

/* Category intro */
.menupage__category-intro {
  text-align: center;
  margin-bottom: var(--space-md);
}
.menupage__category-intro p {
  font-size: 0.85rem;
  color: var(--clr-muted);
}
.menupage__category-intro strong {
  color: var(--clr-gold);
}

/* Sub-category heading inside a panel (e.g. drinks: Caffetteria, Nealko…) */
.menupage__subhead {
  max-width: 800px;
  margin: var(--space-xl) auto var(--space-sm);
  text-align: center;
}
.menupage__subhead:first-child {
  margin-top: 0;
}
.menupage__subhead h2 {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--clr-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}
.menupage__subhead h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: var(--clr-gold);
}

/* Wine list: note under a subhead, region labels, closing quote */
.menupage__subnote {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
}
.menupage__region {
  margin: 1.6rem 0 0.2rem;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
}
.menupage__region:first-child { margin-top: 0.4rem; }
.menupage__region + .menupage__row { border-top: 1px solid rgba(0,0,0,0.06); }
.menupage__quote {
  max-width: 640px;
  margin: var(--space-xl) auto 0;
  text-align: center;
}
.menupage__quote p:first-child {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--clr-dark);
  line-height: 1.5;
}
.menupage__quote p + p {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--clr-muted);
}

/* Empty-state panel (e.g. wine list on request) */
.menupage__empty {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border: 1px dashed rgba(0,0,0,0.15);
  border-radius: 12px;
}
.menupage__empty p {
  font-size: 0.9rem;
  color: var(--clr-muted);
}

/* Row list */
.menupage__list {
  max-width: 800px;
  margin: 0 auto;
}
.menupage__row {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s, padding 0.3s;
  border-radius: 8px;
  padding: 0 1rem;
  margin: 0 -1rem;
}
/* Only expandable rows are clickable */
.menupage__row[data-expand] {
  cursor: pointer;
}
.menupage__row:first-child {
  border-top: 1px solid rgba(0,0,0,0.06);
}
/* Hover treatment only on devices that truly hover (not touch),
   and only for rows that actually expand */
@media (hover: hover) {
  .menupage__row[data-expand]:hover {
    background: var(--clr-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  }
  .menupage__row[data-expand]:hover .menupage__toggle {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
  }
  .menupage__row[data-expand]:hover .menupage__price {
    transform: scale(1.05);
  }
}
.menupage__row--open {
  background: var(--clr-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.menupage__row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1.1rem 0;
}
.menupage__row-main h3 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clr-dark);
  flex: 1;
}
.menupage__price {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-gold);
  white-space: nowrap;
  transition: transform 0.3s;
}
.menupage__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--clr-muted);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s;
  margin-left: 0.3rem;
}
.menupage__row--open .menupage__toggle {
  transform: rotate(180deg);
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

/* Expandable detail */
.menupage__row-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0 0 0;
}
.menupage__row--open .menupage__row-detail {
  max-height: 200px;
  padding: 0 0 1rem 0;
}
.menupage__row-detail p {
  font-size: 0.85rem;
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.menupage__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.menupage__weight {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--clr-text);
  background: rgba(0,0,0,0.04);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.menupage__allergen {
  font-size: 0.65rem;
  color: var(--clr-muted);
  letter-spacing: 0.03em;
}
.menupage__badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--clr-wine);
  color: var(--clr-white);
  padding: 2px 8px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 0.3rem;
}
.menupage__vol {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--clr-muted);
  margin-left: 0.3rem;
}

/* Allergen legend */
.menupage__legend {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.menupage__legend p {
  font-size: 0.75rem;
  color: var(--clr-muted);
}

/* =============================================
   QUOTE SECTION
   ============================================= */
.quote-section {
  background: var(--clr-warm);
  padding: var(--space-2xl) 0;
}
.quote-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.quote-section__line {
  width: 60px;
  height: 2px;
  background: var(--clr-gold);
}
.quote-section__text {
  padding: var(--space-lg) 0;
}
.quote-section__text p {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--clr-dark);
}
.quote-section__text cite {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--clr-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery { background: var(--clr-white); }

/* Desktop: masonry grid */
.gallery__desktop { display: block; }
.gallery__mobile { display: none; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xs);
}
.gallery__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s, filter 0.6s;
}
.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* Mobile: draggable 2-row scroll */
.gallery__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
}
.gallery__scroll::-webkit-scrollbar { display: none; }
.gallery__scroll.is-dragging { cursor: grabbing; }
.gallery__mtrack {
  display: grid;
  grid-template-rows: 38vw 38vw;
  grid-auto-flow: column;
  grid-auto-columns: 38vw;
  gap: 0.4rem;
  width: max-content;
  padding: 0 var(--space-md);
}
.gallery__mitem {
  border-radius: 8px;
  overflow: hidden;
}
.gallery__mitem--tall { grid-row: span 2; }
.gallery__mitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.lightbox--open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.lightbox--open .lightbox__img {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: transparent;
  color: var(--clr-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding-bottom: 2px;
  transition: border-color 0.3s, transform 0.3s;
}
.lightbox__close:hover {
  border-color: rgba(255,255,255,0.5);
  transform: rotate(90deg);
}

/* =============================================
   SIGNATURE — pen draws it, stroke by stroke, forever
   ============================================= */
.sign-section {
  background: var(--clr-cream);
  text-align: center;
  padding: var(--space-2xl) 0;
}
.sign-section .section__label {
  margin-bottom: var(--space-md);
}
.sign-stage {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.sign-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.sign-path {
  /* dasharray/offset are seeded by CSS, then corrected to the exact
     measured path length by JS (var --len) for a seamless draw. */
  stroke-dasharray: var(--len, 3600);
  stroke-dashoffset: var(--len, 3600);
  animation: signDraw 6s ease-in-out infinite;
}
@keyframes signDraw {
  /* pen draws the whole signature */
  0%   { stroke-dashoffset: var(--len, 3600); }
  60%  { stroke-dashoffset: 0; }
  /* hold the finished signature */
  82%  { stroke-dashoffset: 0; opacity: 1; }
  /* lift ink, reset, redraw */
  92%  { stroke-dashoffset: 0; opacity: 0; }
  93%  { stroke-dashoffset: var(--len, 3600); opacity: 0; }
  100% { stroke-dashoffset: var(--len, 3600); opacity: 0; }
}
.sign-caption {
  margin-top: var(--space-md);
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--clr-muted);
  letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .sign-path { animation: none; stroke-dashoffset: 0; }
}

/* =============================================
   REVIEWS — compact cards
   ============================================= */
.reviews { background: var(--clr-cream); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
.reviews__grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}
.reviews__card {
  background: var(--clr-white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: var(--space-md);
  transition: transform 0.3s, box-shadow 0.3s;
}
.reviews__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}
.reviews__card p {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
}
.reviews__card footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.reviews__card footer strong {
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  color: var(--clr-dark);
}
.reviews__card footer span {
  font-size: 0.65rem;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   CONTACT
   ============================================= */
.contact { background: var(--clr-warm); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.contact__info .section__label { text-align: left; }
.contact__info .section__title { text-align: left; }
.contact__desc {
  color: var(--clr-muted);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.contact__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-cream);
  border-radius: 50%;
  color: var(--clr-gold);
  flex-shrink: 0;
}
.contact__detail strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  margin-bottom: 0.1rem;
}
.contact__detail a {
  font-size: 1rem;
  color: var(--clr-dark);
  transition: color 0.3s;
}
.contact__detail a:hover { color: var(--clr-gold); }
.contact__social {
  display: flex;
  gap: var(--space-sm);
}
.contact__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  color: var(--clr-muted);
  transition: all 0.3s;
}
.contact__social-link:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.contact__form-wrap {
  background: var(--clr-white);
  padding: var(--space-md);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.form__group { margin-bottom: var(--space-sm); }
.form__group input,
.form__group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  background: var(--clr-cream);
  color: var(--clr-text);
  transition: border-color 0.3s;
  outline: none;
}
.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--clr-gold);
}
.form__group textarea { resize: vertical; }

/* =============================================
   GALLERY PAGE
   ============================================= */
.gallerypage {
  background: var(--clr-cream);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-2xl);
}
.gallerypage__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.gallerypage__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--clr-dark);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xs);
}
.gallerypage__subtitle {
  font-size: 0.9rem;
  color: var(--clr-muted);
}

/* Filter tabs */
.gallerypage__filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}
.gallerypage__filter {
  padding: 0.6rem 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-btn);
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}
.gallerypage__filter:hover {
  color: var(--clr-dark);
  border-color: rgba(0,0,0,0.25);
}
.gallerypage__filter--active {
  color: var(--clr-white) !important;
  background: var(--clr-dark) !important;
  border-color: var(--clr-dark) !important;
}

/* Masonry grid */
.gallerypage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.gallerypage__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.gallerypage__item img {
  width: 100%;
  display: block;
  transition: transform 0.6s, filter 0.4s;
}
.gallerypage__item:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

/* Overlay label on hover */
.gallerypage__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallerypage__item:hover .gallerypage__overlay {
  opacity: 1;
}
.gallerypage__overlay span {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clr-white);
  letter-spacing: 0.02em;
}

/* Tall items */
.gallerypage__item--tall {
  grid-row: span 2;
}

/* Wide items */
.gallerypage__item--wide {
  grid-column: span 2;
}

.gallerypage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hidden items (filtered out) */
.gallerypage__item--hidden {
  display: none;
}

@media (max-width: 768px) {
  .gallerypage__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallerypage__grid { grid-template-columns: 1fr; }
  .gallerypage__item--wide { grid-column: span 1; }
}

/* =============================================
   OPENING HOURS
   ============================================= */
.contact__hours {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}
.contact__hours-title {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--clr-dark);
  margin-bottom: var(--space-sm);
}
.hours-table {
  width: 100%;
  max-width: 320px;
  border-collapse: collapse;
}
.hours-table td {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hours-table td:first-child {
  font-weight: 500;
  color: var(--clr-dark);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--clr-muted);
}

/* =============================================
   PAGE HERO (subpages)
   ============================================= */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/image00009.jpeg') center/cover no-repeat;
  color: var(--clr-white);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.65);
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero__content .hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

/* Active nav link */
.nav__link--active {
  color: var(--clr-dark) !important;
}
/* On the dark navbar the active link must stay light, not go black */
.nav--dark .nav__link--active {
  color: var(--clr-white) !important;
}
.nav__link--active::after {
  width: 100% !important;
  background: var(--clr-gold) !important;
  height: 2px !important;
}

/* =============================================
   LOCATION / MAP
   ============================================= */
.location {
  padding: 20px 0;
  background: var(--clr-dark);
}
.location__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 500px;
  align-items: center;
}
.location__map {
  position: relative;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.location__info {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--clr-white);
}
.location__info .section__title {
  color: var(--clr-white);
  text-align: left;
  margin-bottom: var(--space-md);
}
.location__info .section__label {
  text-align: left;
}
.location__detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.location__detail .contact__icon {
  background: rgba(255,255,255,0.1);
}
/* Labels ("Adresa", "Telefón") — identical for every row */
.location__detail strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}
/* Values (address text, phone number) — identical for every row */
.location__detail span,
.location__detail a {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--clr-white);
  transition: color 0.3s;
}
.location__detail a:hover { color: var(--clr-gold); }
.location__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
  align-self: flex-start;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,0.5);
  padding: var(--space-lg) 0 var(--space-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.footer__logo-img {
  display: block;
  width: auto;
  height: 130px;
  max-width: 100%;
  margin-bottom: var(--space-sm);
}
.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 300px;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-sm);
}
.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.footer__social-link:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.footer__heading {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--clr-gold); }
.footer__contact p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-xs);
}
.footer__contact a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer__contact a:hover { color: var(--clr-gold); }
.footer__copy {
  font-size: 0.75rem;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about__content { gap: var(--space-lg); }
  .featured__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid, .reviews__grid--three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Reduce section spacing on mobile */
  .section { padding: 2.5rem 0; }
  .section__header { margin-bottom: 1.2rem; }

  /* === MOBILE TOGGLE RULES === */

  /* WHITE MODE + ZATVORENE: dark outline, dark icon */
  .nav .nav__toggle {
    display: flex;
    background: transparent;
    border-color: var(--clr-dark) !important;
  }
  .nav .nav__toggle span { background: var(--clr-dark) !important; }

  /* DARK MODE + ZATVORENE: white outline, white icon */
  .nav.nav--dark .nav__toggle {
    border-color: var(--clr-white) !important;
  }
  .nav.nav--dark .nav__toggle span { background: var(--clr-white) !important; }

  /* OTVORENE (vzdy): white outline, white icon */
  .nav .nav__toggle.nav__toggle--open {
    border-color: var(--clr-white) !important;
  }
  .nav .nav__toggle.nav__toggle--open span { background: var(--clr-white) !important; }
  .nav__links {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(20,20,20,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 1000;
  }
  .nav__links--open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
  .nav__links a {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8) !important;
    font-family: var(--ff-heading);
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.3s;
  }
  .nav__links a:hover {
    color: var(--clr-gold) !important;
  }
  .nav__cta {
    margin-top: var(--space-sm);
    max-width: 200px !important;
    padding: 0.6rem 1.4rem !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  /* Language switcher inside the fullscreen mobile overlay */
  .nav__lang {
    margin-top: var(--space-sm);
    border-color: rgba(255,255,255,0.35) !important;
    padding: 4px;
  }
  .lang-btn {
    font-size: 1rem;
    padding: 0.45rem 0.95rem;
    color: rgba(255,255,255,0.85) !important;
  }
  .lang-btn[aria-pressed="true"] {
    background: var(--clr-gold);
    color: var(--clr-white) !important;
  }
  .nav__logo-img { height: 32px; }
  .nav__logo-sign { height: 14px; }
  /* Scale the wordmark down with the mark — the tracked all-caps setting is
     wide, and the hamburger leaves little room on narrow screens. */
  .nav__logo-text { font-size: 1.15rem; letter-spacing: 0.14em; margin-right: -0.14em; }
  .nav__logo-sub  { font-size: 0.5rem; letter-spacing: 0.1em; margin-right: -0.1em; }
  .nav__logo-wordmark { white-space: nowrap; }
  /* Signature follows the nav theme (was hard-inverted before). */
  .nav--dark .nav__logo-sign {
    filter: invert(1);
    mix-blend-mode: screen;
  }
  .nav--light .nav__logo-sign {
    filter: none;
    mix-blend-mode: multiply;
  }
  .nav { background: transparent; }
  .nav--scrolled { background: rgba(26,26,26,0.95); }

  /* Hero — mobile: title → pizza → desc → buttons */
  .phero {
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) 0;
    padding-bottom: 0;
    background: var(--clr-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }
  .phero__float {
    display: block;
    z-index: 6;
    animation-duration: 12s;
  }
  .phero__float--1 { width: 50px; top: 10%; left: 0%; right: auto; bottom: auto; }
  .phero__float--2 { width: 25px; top: 25%; left: 3%; right: auto; bottom: auto; }
  .phero__float--3 { width: 35px; top: 65%; left: 0%; right: auto; bottom: auto; }
  .phero__float--4 { width: 45px; top: 12%; right: 0%; left: auto; bottom: auto; }
  .phero__float--5 { width: 28px; top: 52%; right: 0%; left: auto; bottom: auto; }
  .phero__float--6 { width: 28px; top: 75%; right: 5%; left: auto; bottom: auto; }
  .phero__ring { display: block; opacity: 0.4; }

  /* Title block — on top */
  .phero__text {
    order: 1;
    position: relative;
    z-index: 10;
    max-width: 100%;
    text-align: center;
    margin-bottom: 0;
  }
  .phero__label {
    color: var(--clr-gold);
    font-size: 0.8rem;
  }
  .phero__title {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    color: var(--clr-white) !important;
    line-height: 1.05;
    margin-bottom: var(--space-xs);
  }
  .phero__title em {
    color: var(--clr-gold) !important;
  }
  .phero__desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    max-width: 100%;
    order: 3;
  }

  /* Pizza — middle, visible and prominent */
  .phero__pizza-wrap {
    order: 2;
    position: relative;
    width: 75vw;
    height: 75vw;
    margin: var(--space-sm) auto;
    opacity: 1;
    z-index: 5;
    flex-shrink: 0;
  }
  .phero__ring { display: none; }
  .phero__pizza {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  .phero__pizza img {
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.4));
  }

  /* CTA row — bottom of hero */
  .hero-cta-row {
    order: 5;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    gap: 0.75rem;
    width: 100%;
    padding: 0 var(--space-md);
    margin-top: auto;
    margin-bottom: var(--space-md);
  }
  .hero-cta {
    flex: 1;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    color: var(--clr-white);
    background: rgba(255,255,255,0.04);
  }
  .hero-cta .hero-cta__arrow { opacity: 0.8; }
  /* Primary: solid wine */
  .hero-cta--left {
    background: var(--clr-wine);
    border-color: var(--clr-wine);
    box-shadow: 0 6px 18px rgba(114,47,55,0.35);
  }
  .hero-cta--left .hero-cta__arrow { opacity: 1; }

  /* About */
  .about__content { grid-template-columns: 1fr; }
  .about__text { text-align: center; }
  .about__image { max-width: 100%; margin: 0 auto; }
  .about__stats {
    order: 4;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0;
    width: 100%;
    padding: 0 var(--space-md);
  }
  .about__stat-card {
    padding: 0.8rem 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .about__stat-card:nth-child(1),
  .about__stat-card:nth-child(3) {
    transform: translateY(-0.4rem);
  }
  .about__stat-card:nth-child(2) {
    transform: translateY(0.4rem);
  }
  .about__stat-number { font-size: 1.5rem; color: var(--clr-gold); }
  .about__stat-label { font-size: 0.55rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }
  .about__stat-desc { display: none; }

  /* Featured — 2 cols, keep all 4 cards (clean 2×2) at tablet/iPad Mini size */
  .featured__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

  /* Menu */
  .menu__item-header h3 {
    white-space: normal;
    font-size: 1rem;
  }
  .menupage__row-main h3 {
    white-space: normal;
    font-size: 0.95rem;
  }

  /* Gallery — swap desktop/mobile */
  .gallery__desktop { display: none; }
  .gallery__mobile { display: block; }
  .gallerypage__grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info .section__label,
  .contact__info .section__title { text-align: center; }
  .contact__desc { text-align: center; }
  .contact__details { align-items: center; }
  .contact__social { justify-content: center; }

  /* Location */
  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 280px; border-radius: 12px; }
  .location { padding: 15px; }
  .location__info { padding: var(--space-md) 0; }

  /* Reviews */
  .reviews__grid, .reviews__grid--three { grid-template-columns: 1fr; }

  /* Quote */
  .quote-section { padding: var(--space-lg) 0; }

  /* Footer — logo centered on top, nav + contact as 2 columns below */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .footer__brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__brand p { max-width: 340px; }
  .footer__social { justify-content: center; }

  /* Page hero */
  .page-hero { height: 35vh; min-height: 260px; }
}

@media (max-width: 480px) {
  /* Single column on phones — hide the 4th dish so the list isn't too long */
  .featured__grid { grid-template-columns: 1fr; }
  .featured__card--last { display: none; }
  .hero__actions { flex-direction: column; align-items: center; }
  .menupage__grid { grid-template-columns: 1fr; }
  .gallerypage__grid { grid-template-columns: repeat(2, 1fr); }
  .section__title { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* =============================================
   INTRO — Italian tricolore (once per session)
   ---------------------------------------------
   The play/skip decision is made in an inline <head> script that stamps
   <html> with .intro-play or .intro-skip BEFORE first paint, and inline
   critical CSS in the head renders that choice on the first frame — so
   there is never a blink. Rules here are scoped to html.intro-play; when
   skipping (or JS disabled) the element stays hidden.
   ============================================= */

/* Default: hidden unless we explicitly decided to play (no-flash safety) */
.intro { display: none; }

html.intro-play .intro {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
}
/* Three vertical bands filling the screen */
html.intro-play .intro__band {
  flex: 1;
  height: 100%;
  /* Each band slides straight up and off; staggered via delay below.
     ease-in so they accelerate as they leave. */
  animation: intro-wipe-up 0.6s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}
/* Left (green) leaves first, right (red) a hair later, middle (white) just behind */
html.intro-play .intro__band--green { background: #008C45; animation-delay: 0.35s; }
html.intro-play .intro__band--white { background: #F4F5F0; animation-delay: 0.42s; }
html.intro-play .intro__band--red   { background: #CD212A; animation-delay: 0.38s; }

/* Slide a band up and out of view */
@keyframes intro-wipe-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

/* Scroll lock while the intro plays is applied by the head's critical CSS
   (html.intro-play body { overflow: hidden }); JS drops .intro-play when
   the wipe finishes, which releases it. */

/* Removed from the flow once finished */
.intro--done { display: none !important; }

/* Desktop: slower, more cinematic wipe up */
@media (min-width: 769px) {
  html.intro-play .intro__band { animation-duration: 0.75s; }
  html.intro-play .intro__band--green { animation-delay: 0.28s; }
  html.intro-play .intro__band--white { animation-delay: 0.38s; }
  html.intro-play .intro__band--red   { animation-delay: 0.33s; }
}

/* =============================================
   LANGUAGE BOTTOM SHEET (mobile only)
   Trigger sits in the navbar next to the hamburger; tapping it slides
   a sheet up from the bottom. Rows are 56px tall so they are easy to
   hit with a thumb. Desktop keeps the inline SK/EN/IT pill switcher.
   ============================================= */
.nav__langtrigger { display: none; }

@media (max-width: 768px) {
  /* --- Trigger in the navbar --- */
  .nav__langtrigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    /* .nav__inner is space-between; pushing the pair to the right keeps the
       logo left and the two round buttons together on the right. */
    margin-left: auto;
    margin-right: 0.55rem;
    padding: 0;
    border: 1px solid var(--clr-dark);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
    /* Same stacking as the hamburger so it stays tappable above the
       fullscreen menu overlay. */
    position: relative;
    z-index: 10000;
    transition: border-color 0.3s, background 0.25s;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__langtrigger-code {
    font-family: var(--ff-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--clr-dark);
    transition: color 0.3s;
  }
  /* Follow the navbar theme, like the hamburger does */
  .nav.nav--dark .nav__langtrigger { border-color: var(--clr-white); }
  .nav.nav--dark .nav__langtrigger-code { color: var(--clr-white); }
  /* While the fullscreen menu is open the bar is always dark */
  .nav--menuopen .nav__langtrigger { border-color: var(--clr-white) !important; }
  .nav--menuopen .nav__langtrigger-code { color: var(--clr-white); }

  /* The old inline pill is redundant on mobile — the sheet replaces it */
  .nav__lang { display: none !important; }

  /* --- Sheet --- */
  .langsheet {
    position: fixed;
    inset: 0;
    /* Above the navbar (10000) so the backdrop dims the bar too. */
    z-index: 10050;
    display: block;
  }
  .langsheet[hidden] { display: none; }

  .langsheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .langsheet--open .langsheet__backdrop { opacity: 1; }

  .langsheet__panel {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: #1F1F1F;
    border-radius: 20px 20px 0 0;
    padding: 0.6rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.45);
  }
  .langsheet--open .langsheet__panel { transform: translateY(0); }

  .langsheet__grip {
    width: 40px;
    height: 4px;
    margin: 0.35rem auto 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.25);
  }
  .langsheet__title {
    font-family: var(--ff-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin: 0 0 0.5rem 0.4rem;
  }

  .langsheet__opt {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    min-height: 56px;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-family: var(--ff-body);
    font-size: 1.05rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .langsheet__opt:active { background: rgba(255,255,255,0.08); }
  .langsheet__opt[aria-pressed="true"] { color: var(--clr-gold); }

  /* Real SVG flags — a CSS-gradient Slovak flag is missing its coat of arms
     and the Union Jack needs diagonals, so both are drawn as inline SVG. */
  .langsheet__flag {
    width: 28px;
    height: 20px;
    flex: 0 0 auto;
    display: block;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
  }

  .langsheet__name { flex: 1 1 auto; }
  .langsheet__check {
    opacity: 0;
    font-size: 1.1rem;
    color: var(--clr-gold);
    transition: opacity 0.2s;
  }
  .langsheet__opt[aria-pressed="true"] .langsheet__check { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .langsheet__panel,
  .langsheet__backdrop { transition: none; }
}

/* =============================================
   MENU — dish photos (thumb in row + viewer)
   ============================================= */
.menupage__thumb {
  --thumb: 46px;
  position: relative;
  flex-shrink: 0;
  width: var(--thumb);
  height: var(--thumb);
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--clr-warm);
  box-shadow: 0 0 0 1px rgba(196,148,74,0.35), 0 0 0 4px var(--clr-cream);
  transition: width 0.55s cubic-bezier(.2,.8,.2,1), height 0.55s cubic-bezier(.2,.8,.2,1),
              border-radius 0.55s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.menupage__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.menupage__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(26,26,26,0) 55%, rgba(26,26,26,0.18));
  pointer-events: none;
}
.menupage__thumb:focus-visible { outline: 2px solid var(--clr-gold); outline-offset: 3px; }
@media (hover: hover) {
  .menupage__thumb:hover img { transform: scale(1.22); }
  .menupage__thumb:hover { box-shadow: 0 0 0 1px var(--clr-gold), 0 0 0 4px var(--clr-cream), 0 6px 18px rgba(0,0,0,0.12); }
}
.menupage__row--open .menupage__thumb {
  --thumb: 112px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(196,148,74,0.5), 0 10px 30px rgba(0,0,0,0.12);
}
.menupage__row--open .menupage__thumb img { transform: scale(1); }
.menupage__row--open .menupage__row-main { transition: padding 0.4s ease; }

/* Viewer */
.dish[hidden] { display: none; }
.dish {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.dish__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,16,12,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.dish__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  width: min(1080px, 100%);
  height: min(640px, calc(100vh - 4rem));
  background: var(--clr-cream);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.dish__media {
  margin: 0;
  overflow: hidden;
  background: var(--clr-warm);
}
.dish__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.dish__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.75rem;
  overflow-y: auto;
}
.dish__card > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.dish__eyebrow {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--clr-gold);
  margin-bottom: 0.5rem;
}
.dish__title {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--clr-dark);
}
.dish__rule {
  display: block;
  width: 54px;
  height: 2px;
  margin: 1.2rem 0 1.4rem;
  background: linear-gradient(90deg, #009246 0 33.3%, #fff 33.3% 66.6%, #CE2B37 66.6%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}
.dish__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--clr-text);
}
.dish__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.dish__weight {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.1);
}
.dish__allergen { font-size: 0.72rem; color: var(--clr-muted); }
.dish__price {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-family: var(--ff-heading);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--clr-gold);
}
.dish__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  background: rgba(250,247,242,0.9);
  color: var(--clr-dark);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s, color 0.3s;
}
.dish__close:hover { transform: rotate(90deg); border-color: var(--clr-gold); color: var(--clr-gold); }

/* open state */
.dish--open .dish__backdrop { opacity: 1; }
.dish--open .dish__panel { opacity: 1; transform: none; }
.dish--open .dish__media img { transform: scale(1); }
.dish--open .dish__card > * { opacity: 1; transform: none; }
.dish--open .dish__card > :nth-child(1) { transition-delay: 0.15s; }
.dish--open .dish__card > :nth-child(2) { transition-delay: 0.2s; }
.dish--open .dish__card > :nth-child(3) { transition-delay: 0.25s; }
.dish--open .dish__card > :nth-child(4) { transition-delay: 0.3s; }
.dish--open .dish__card > :nth-child(5) { transition-delay: 0.35s; }
.dish--open .dish__card > :nth-child(6) { transition-delay: 0.4s; }
html.dish-lock, html.dish-lock body { overflow: hidden; }

/* Mobile: thumb a bit smaller, viewer becomes a bottom sheet */
@media (max-width: 768px) {
  .menupage__thumb { --thumb: 40px; }
  .menupage__row--open .menupage__thumb { --thumb: 84px; border-radius: 12px; }

  .dish { padding: 0; align-items: flex-end; }
  .dish__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    width: 100%;
    height: auto;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    opacity: 1;
    transition: transform 0.55s cubic-bezier(.2,.8,.2,1);
  }
  .dish__media { aspect-ratio: 4 / 3; }
  .dish__card { padding: 1.6rem 1.4rem calc(1.8rem + env(safe-area-inset-bottom)); justify-content: flex-start; }
  .dish__title { font-size: 1.75rem; }
  .dish__rule { margin: 0.9rem 0 1rem; }
  .dish__price { margin-top: 1.2rem; padding-top: 0.9rem; font-size: 1.6rem; }
  .dish__close { top: 0.8rem; right: 0.8rem; background: rgba(250,247,242,0.85); backdrop-filter: blur(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .menupage__thumb, .menupage__thumb img, .dish__backdrop, .dish__panel,
  .dish__media img, .dish__card > * { transition: none !important; }
}
/* Dish without a photo yet: monogram in the same ring, keeps rows aligned */
.menupage__thumb--mono {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: inherit;
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--clr-gold);
  background: var(--clr-white);
}
.menupage__row--open .menupage__thumb--mono { font-size: 2.4rem; }

/* Menu rows: no blue tap flash / accidental text selection on mobile */
.menupage__row[data-expand],
.menupage__thumb {
  -webkit-tap-highlight-color: transparent;
}
.menupage__row[data-expand] .menupage__row-main {
  -webkit-user-select: none;
  user-select: none;
}

/* =============================================
   DELIVERY — "Robíme aj rozvoz" call card
   ============================================= */
.delivery-section { padding: var(--space-lg) 0 0; }
.delivery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 880px;
  margin: 0 auto var(--space-lg);
  padding: 1.75rem 2rem;
  background: var(--clr-dark);
  color: var(--clr-cream);
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}
.delivery::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #009246 0 33.3%, #fff 33.3% 66.6%, #CE2B37 66.6%);
}
.delivery__icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(196,148,74,0.5);
  color: var(--clr-gold-light);
}
.delivery__text { flex: 1; min-width: 0; }
.delivery__eyebrow {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--clr-gold-light);
  margin-bottom: 0.15rem;
}
.delivery__title {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--clr-white);
}
.delivery__desc {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(250,247,242,0.7);
}
.delivery__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--clr-gold);
  color: var(--clr-white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.delivery__num {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.85;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(255,255,255,0.35);
}
.delivery__btn:hover { background: var(--clr-gold-light); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(196,148,74,0.35); }
.delivery__btn:active { transform: scale(0.98); }

@media (max-width: 768px) {
  .delivery {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.75rem 1.25rem 1.5rem;
    margin-bottom: var(--space-md);
  }
  .delivery__icon { width: 52px; height: 52px; }
  .delivery__title { font-size: 1.45rem; }
  .delivery__btn { width: 100%; justify-content: center; padding: 1rem 1.2rem; }
  .delivery-section { padding-top: var(--space-md); }
}

/* Gallery: closing invitation to the menu */
.gallerypage__cta {
  max-width: 560px;
  margin: var(--space-xl) auto 0;
  text-align: center;
}
.gallerypage__cta-line {
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto 1.6rem;
  background: linear-gradient(90deg, #009246 0 33.3%, #fff 33.3% 66.6%, #CE2B37 66.6%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.gallerypage__cta-eyebrow {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--clr-gold);
}
.gallerypage__cta-title {
  margin-top: 0.3rem;
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--clr-dark);
}
.gallerypage__cta-desc {
  margin: 0.8rem auto 1.8rem;
  font-size: 0.92rem;
  color: var(--clr-muted);
}
.gallerypage__cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; }
@media (max-width: 768px) {
  .gallerypage__cta { margin-top: var(--space-lg); padding: 0 var(--space-sm); }
  .gallerypage__cta-btn { width: 100%; justify-content: center; }
}

/* =============================================
   DELIVERY POPUP — once per visit, same card + close
   ============================================= */
.dpop[hidden] { display: none; }
.dpop:focus { outline: none; }
.dpop {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.dpop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,16,12,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.delivery.dpop__card {
  width: min(720px, 100%);
  margin: 0;
  padding-right: 3.5rem;
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.dpop--open .dpop__backdrop { opacity: 1; }
.dpop--open .dpop__card { opacity: 1; transform: none; }
.dpop__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(250,247,242,0.25);
  color: rgba(250,247,242,0.85);
  transition: transform 0.3s ease, border-color 0.3s, color 0.3s;
}
.dpop__close:hover { transform: rotate(90deg); border-color: var(--clr-gold); color: var(--clr-gold-light); }
@media (max-width: 768px) {
  .dpop { padding: 1rem; }
  .delivery.dpop__card { padding: 2.4rem 1.25rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dpop__backdrop, .dpop__card { transition: none !important; }
}
