/* ============================================================
   Grotto Rialdo — Complete Stylesheet
   A vintage-luxe restaurant website on the shores of Lake Lugano
   ============================================================ */

/* -----------------------------------------------
   0. FONT IMPORTS
   ----------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,100;1,300;1,400;1,700&family=Noto+Sans+Arabic:wght@400;500;700&display=swap');

/* -----------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ----------------------------------------------- */
:root {
  /* Darks */
  --dark: #111010;
  --dark-2: #1A1714;
  --dark-3: #231F1B;
  --dark-4: #2C2520;

  /* Lights */
  --cream: #F5F0E8;
  --warm-white: #FDFBF7;

  /* Accents */
  --gold: #C9A96E;
  --gold-light: #D4BC8B;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --terracotta: #C4653A;
  --terracotta-soft: #D4845A;
  --wine: #8B3A42;
  --wine-deep: #5E2028;
  --sage: #7A8B6F;
  --lake: #4A7C8B;
  --lake-soft: rgba(74, 124, 139, 0.12);

  /* Text */
  --text-primary: #E8E0D4;
  --text-m: #A89B8C;
  --text-dim: #6B6058;

  /* Borders */
  --divider: rgba(201, 169, 110, 0.12);

  /* Status / accent extras */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-700: #047857;
  --blue-500: #3b82f6;

  /* Shared radii */
  --radius-card: 12px;
  --radius-full: 9999px;
  --radius-md: 8px;
}

/* -----------------------------------------------
   2. CSS RESET / BASE
   ----------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--dark);
  color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 169, 110, 0.3);
  color: var(--cream);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* Mobile scroll fixes */
.menu-tabs, .nav-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar, .nav-scroll::-webkit-scrollbar { display: none; }

/* -----------------------------------------------
   3. UTILITY CLASSES — LAYOUT
   ----------------------------------------------- */
.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container-sm {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-menu {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* -----------------------------------------------
   4. UTILITY CLASSES — TEXT
   ----------------------------------------------- */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.text-gold {
  color: var(--gold);
}

.text-gold-light {
  color: var(--gold-light);
}

.text-cream {
  color: var(--cream);
}

.text-m {
  color: var(--text-m);
}

.text-dim {
  color: var(--text-dim);
}

.text-wine {
  color: var(--wine);
}

.text-terracotta {
  color: var(--terracotta);
}

.text-emerald {
  color: var(--emerald-400);
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--terracotta-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.uppercase-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 300;
  color: var(--gold);
}

.uppercase-sm {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* -----------------------------------------------
   5. UTILITY CLASSES — SPACING
   ----------------------------------------------- */
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-header-mb {
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

/* -----------------------------------------------
   6. GRADIENT UTILITIES
   ----------------------------------------------- */
.bg-hero-gradient {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74, 124, 139, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 58, 66, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
}

.bg-location-gradient {
  background: linear-gradient(135deg, var(--lake-soft), var(--gold-dim), rgba(94, 32, 40, 0.08));
}

.bg-info-gradient {
  background: linear-gradient(180deg, #111010 0%, rgba(139, 58, 66, 0.08) 50%, #111010 100%);
}

/* -----------------------------------------------
   7. NAVIGATION
   ----------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--divider);
  background: rgba(17, 16, 16, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 300;
  color: var(--text-m);
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color 200ms ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--gold);
}

.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--gold);
}

/* Nav scroll container — hide scrollbar */
.nav-scroll {
  overflow-x: auto;
  display: flex;
  -ms-overflow-style: none;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1rem;
}

.lang-btn {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: color 200ms ease, background 200ms ease;
}

.lang-btn:hover {
  color: var(--gold);
}

.lang-btn.active {
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 60;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(17, 16, 16, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 0;
  border-top: 1px solid var(--divider);
}
.mobile-menu.open {
  display: flex;
}
.mobile-nav-link {
  display: block;
  padding: 12px 24px;
  color: var(--text-m);
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover {
  background: var(--dark-3);
  color: var(--gold);
}
.mobile-lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 24px;
  border-top: 1px solid var(--divider);
  margin-top: 8px;
}
.mobile-lang-switcher .lang-link {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-m);
  background: var(--dark-3);
  text-decoration: none;
}
.mobile-lang-switcher .lang-link.active {
  color: var(--gold);
  background: var(--gold-dim);
}

/* -----------------------------------------------
   8. HERO SECTION
   ----------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/sala-lago.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17, 16, 16, 0.4), rgba(17, 16, 16, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Hero badge */
.hero-badge {
  display: inline-block;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(201, 169, 110, 0.05);
  padding: 0.45rem 1.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}

/* Hero heading */
.hero h1,
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero h1 em,
.hero-title em,
.hero-title-accent {
  font-size: clamp(3.5rem, 10vw, 7.8rem);
  font-weight: 500;
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--terracotta-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero subtitle */
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

/* Hero tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-m);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Hero address */
.hero-address {
  font-size: 0.9rem;
  color: var(--text-m);
}

/* Hero CTA buttons */
.hero-cta,
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.btn,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-full);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-full);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.1);
  background: rgba(201, 169, 110, 0.05);
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scroll-hint span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-dim);
}

.scroll-hint-line {
  width: 1px;
  height: 30px;
  background: var(--gold);
  opacity: 0.3;
  animation: pulse-line 2.5s ease-in-out infinite;
}

/* -----------------------------------------------
   9. LOCATION BANNER
   ----------------------------------------------- */
.location-banner {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: linear-gradient(135deg, var(--lake-soft), var(--gold-dim), rgba(94, 32, 40, 0.08));
  padding: 4rem 0;
  text-align: center;
}

.location-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--text-m);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.location-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.location-chip {
  display: inline-block;
  border-radius: var(--radius-full);
  border: 1px solid var(--divider);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-m);
}

/* -----------------------------------------------
   10. HIGHLIGHTS
   ----------------------------------------------- */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.highlight-cell {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--divider);
  transition: background 200ms ease;
}

.highlight-cell:hover {
  background: rgba(201, 169, 110, 0.04);
}

.highlight-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  opacity: 0.7;
  margin: 0 auto 12px;
  display: block;
}

.highlight-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.highlight-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-m);
  line-height: 1.5;
}

/* -----------------------------------------------
   11. STORY SECTION
   ----------------------------------------------- */
.story-section {
  background: var(--dark-3);
  padding: 6rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.story-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1rem;
}

.story-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-text p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 2rem;
  color: var(--text-m);
}

.story-image-card {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--divider);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.story-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 16, 16, 0.8) 0%, rgba(17, 16, 16, 0.2) 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
}

.story-year {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--terracotta-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* .story-stats moved to v3 section */

.story-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
}

.story-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-m);
}

/* -----------------------------------------------
   12. GALLERY
   ----------------------------------------------- */
.gallery-section {
  padding: 6rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--divider);
  background: var(--dark-3);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 16, 0.1);
  opacity: 0;
  transition: opacity 300ms ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(17, 16, 16, 0.7), transparent);
  transform: translateY(100%);
  transition: transform 300ms ease;
}

.gallery-item:hover .gallery-item-caption {
  transform: translateY(0);
}

.gallery-item-caption span {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream);
}

/* -----------------------------------------------
   13. PHOTO DIVIDER
   ----------------------------------------------- */
.photo-divider {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* iOS fix — fixed background attachment is not supported */
@supports (-webkit-touch-callout: none) {
  .photo-divider {
    background-attachment: scroll;
  }
}

.photo-divider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 16, 0.4);
}

.photo-divider-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding: 2rem;
}

/* -----------------------------------------------
   14. SECTION HEADER (reusable)
   ----------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-m);
}

.section-divider {
  width: 40px;
  height: 1px;
  background: rgba(201, 169, 110, 0.5);
  margin: 1.5rem auto 0;
}

/* -----------------------------------------------
   15. MENU SECTION
   ----------------------------------------------- */
.menu-section {
  padding: 6rem 0;
}

/* Tab bar */
.menu-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 2rem;
  position: relative;
}

.menu-tab {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.75rem 1rem;
  color: var(--text-m);
  white-space: nowrap;
  position: relative;
  transition: color 200ms ease;
  font-weight: 300;
}

.menu-tab:hover {
  color: var(--gold-light);
}

.menu-tab.active {
  color: var(--gold);
  font-weight: 600;
}

.menu-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

/* Tab indicator (animated) */
.menu-tab-indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: transform 300ms cubic-bezier(0.33, 1, 0.68, 1), width 300ms cubic-bezier(0.33, 1, 0.68, 1);
}

/* Menu card */
.menu-card-wrapper {
  position: relative;
  overflow: hidden;
}

.menu-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--divider);
  background: var(--dark-2);
  padding: 1.5rem;
}

.menu-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--divider);
}

.menu-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.menu-card-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-m);
}

/* Card scrollable area */
.menu-card-scroll,
.card-body {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.menu-card-scroll::-webkit-scrollbar,
.card-body::-webkit-scrollbar {
  width: 3px;
}

.menu-card-scroll::-webkit-scrollbar-track,
.card-body::-webkit-scrollbar-track {
  background: transparent;
}

.menu-card-scroll::-webkit-scrollbar-thumb,
.card-body::-webkit-scrollbar-thumb {
  background: var(--divider);
  border-radius: 3px;
}

/* Menu cards container */
.menu-cards {
  position: relative;
}

/* Menu item row */
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0;
  gap: 1rem;
}

.menu-item-row:last-child {
  border-bottom: none;
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-name {
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 0.15rem;
}

.item-description,
.item-desc {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-m);
  line-height: 1.4;
}

.item-price {
  font-size: 0.95rem;
  color: var(--gold-light);
  white-space: nowrap;
  text-align: right;
}

.item-price-eur {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-dim);
}

/* Signature star */
.signature-star {
  color: var(--gold);
  font-size: 0.8rem;
  margin-left: 0.35rem;
}

/* Wine items */
.wine-item .item-name {
  font-family: 'Playfair Display', serif;
}

/* Subgroup title */
.menu-subgroup-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  margin: 1.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--divider);
}

.menu-subgroup-title.wine-subgroup {
  color: var(--wine);
}

/* List items (distillati, etc.) */
.menu-list-item {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-m);
  padding: 0.25rem 0;
}

/* Category note */
.menu-category-note {
  border-top: 1px solid var(--divider);
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-m);
  font-size: 0.85rem;
}

/* Navigation arrows — desktop */
.carousel-arrow,
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(17, 16, 16, 0.8);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
  z-index: 10;
}

.carousel-prev {
  left: -1.25rem;
}

.carousel-next {
  right: -1.25rem;
}

.carousel-prev:hover,
.carousel-next:hover,
.carousel-arrow:hover {
  background: rgba(17, 16, 16, 0.95);
  border-color: var(--gold);
}

.carousel-prev svg,
.carousel-next svg,
.carousel-arrow svg {
  width: 20px;
  height: 20px;
}

/* Navigation arrows — small (reviews) */
.carousel-arrow-sm {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(17, 16, 16, 0.8);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

.carousel-arrow-sm:hover {
  background: rgba(17, 16, 16, 0.95);
  border-color: var(--gold);
}

/* Mobile menu navigation (menu section) */
.mobile-menu-nav {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

/* Mobile review arrows */
.review-mobile-arrow {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(17, 16, 16, 0.8);
  color: var(--gold);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease;
}

.review-mobile-arrow:hover {
  background: rgba(17, 16, 16, 0.95);
}

/* Navigation arrows — mobile (legacy) */
.mobile-nav-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

.mobile-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(17, 16, 16, 0.8);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease;
}

.mobile-nav-btn:hover {
  background: rgba(17, 16, 16, 0.95);
}

/* Card enter/active animation */
.menu-card-enter {
  opacity: 0;
  transform: translateX(200px);
}

.menu-card-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms cubic-bezier(0.33, 1, 0.68, 1), transform 300ms cubic-bezier(0.33, 1, 0.68, 1);
}

/* -----------------------------------------------
   16. REVIEWS SECTION
   ----------------------------------------------- */
.reviews-section {
  padding: 6rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Reviews carousel */
.reviews-carousel {
  position: relative;
  overflow: visible;
}

/* Review page (paginated grid) */
.review-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Review navigation */
.review-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Review card */
.review-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--divider);
  background: var(--dark-3);
  padding: 1.75rem;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), border-color 200ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.25);
}

/* Stars */
.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.review-star {
  font-size: 0.9rem;
  color: var(--gold);
}

.review-star.empty {
  color: var(--text-dim);
}

/* Review content */
.review-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.review-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-m);
  margin-bottom: 1rem;
}

.review-text::before {
  content: '\201C';
}

.review-text::after {
  content: '\201D';
}

/* Author */
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  flex-shrink: 0;
}

.author-avatar.tripadvisor {
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-700));
}

.author-info .author-name {
  font-size: 0.85rem;
  color: var(--cream);
}

.author-info .author-date {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Source indicator */
.review-source {
  border-top: 1px solid var(--divider);
  padding-top: 0.75rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

.source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.source-dot.google {
  background: var(--gold);
}

.source-dot.tripadvisor {
  background: var(--emerald-500);
}

.source-dot.facebook {
  background: var(--blue-500);
}

/* TripAdvisor badge */
.ta-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 2rem;
}
.ta-badge-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-m);
}

.ta-badge .ta-rating {
  font-size: 0.85rem;
  color: var(--emerald-400);
  margin-bottom: 0.5rem;
}

.ta-badge a {
  text-decoration: underline;
}

/* TripAdvisor certificate image */
.ta-cert-img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--divider);
  flex-shrink: 0;
}

/* legacy .ta-cta — overridden in v3 section */

/* Review carousel dots and arrows */
.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  cursor: pointer;
  transition: background 200ms ease;
}

.review-dot.active {
  background: var(--gold);
}

.review-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.review-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(17, 16, 16, 0.8);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

.review-arrow:hover {
  background: rgba(17, 16, 16, 0.95);
  border-color: var(--gold);
}

/* -----------------------------------------------
   17. CONTACT SECTION
   ----------------------------------------------- */
.contact-section {
  background: linear-gradient(180deg, #111010 0%, rgba(139, 58, 66, 0.08) 50%, #111010 100%);
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--divider);
  background: var(--dark-3);
  padding: 2.5rem;
  text-align: center;
}

.contact-card-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.contact-content {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2rem;
  color: var(--text-m);
}

.contact-content .day-label {
  font-weight: 400;
  color: var(--cream);
}

.contact-content .kitchen-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.contact-content .closed-day {
  font-weight: 400;
  color: var(--terracotta);
}

.phone-link {
  color: var(--gold-light);
  transition: color 200ms ease;
}

.phone-link:hover {
  color: var(--gold);
}

/* -----------------------------------------------
   18. MAP SECTION
   ----------------------------------------------- */
.map-section {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.map-bg {
  width: 100%;
  height: 100%;
  background-image: url('../images/lugano-lake.jpg');
  background-size: cover;
  background-position: center;
}

.map-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--dark));
}

.map-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(17, 16, 16, 0.8);
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 200ms ease, border-color 200ms ease;
  z-index: 2;
}

.map-btn:hover {
  background: rgba(17, 16, 16, 0.95);
  border-color: var(--gold);
}

.map-btn svg {
  width: 16px;
  height: 16px;
}

/* -----------------------------------------------
   19. FOOTER
   ----------------------------------------------- */
.footer {
  border-top: 1px solid var(--divider);
  padding-top: 4rem;
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-m);
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-link {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-m);
  transition: color 200ms ease;
}

.footer-link:hover {
  color: var(--gold);
}

/* Social icons */
.social-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-m);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.social-icon-link:hover { color: #fff; }
.social-icon-link[aria-label="Facebook"]:hover { color: #1877F2; }
.social-icon-link[aria-label="TripAdvisor"]:hover { color: #00aa6c; }
.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.5rem 0;
}

/* Legacy footer socials (backwards compat) */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social {
  width: 20px;
  height: 20px;
  color: var(--text-m);
  opacity: 0.6;
  transition: color 300ms ease, opacity 300ms ease;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-social:hover {
  opacity: 1;
}

.footer-social.facebook:hover {
  color: #1877F2;
}

.footer-social.tripadvisor:hover {
  color: #00aa6c;
}

.footer-social.instagram:hover {
  color: var(--gold);
}

/* Copyright */
.footer-copyright,
.footer-copy {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Custode credit */
.custode-credit {
  margin-top: 1.5rem;
  text-align: center;
}
.custode-credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
  opacity: 0.45;
  transition: opacity 0.3s, color 0.3s;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.custode-credit a:hover { opacity: 1; color: var(--gold); }
.custode-credit img { width: 14px; height: 14px; display: block; }

/* -----------------------------------------------
   20. SCROLL REVEAL ANIMATION
   ----------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-container .scroll-reveal:nth-child(1) {
  transition-delay: 0s;
}

.stagger-container .scroll-reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger-container .scroll-reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.stagger-container .scroll-reveal:nth-child(4) {
  transition-delay: 0.36s;
}

/* -----------------------------------------------
   21. LIGHTBOX
   ----------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(17, 16, 16, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  transition: opacity 200ms ease;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(17, 16, 16, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(17, 16, 16, 0.9);
}

/* -----------------------------------------------
   22. KEYFRAME ANIMATIONS
   ----------------------------------------------- */
@keyframes pulse-line {
  0%, 100% {
    opacity: 0.3;
    height: 30px;
  }
  50% {
    opacity: 1;
    height: 50px;
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes skeleton-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.animate-pulse-line {
  animation: pulse-line 2.5s ease-in-out infinite;
}

.animate-rotate-slow {
  animation: rotate-slow 60s linear infinite;
}

.animate-fade-in {
  animation: fade-in 0.6s ease forwards;
}

.animate-slide-up {
  animation: slide-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* -----------------------------------------------
   23. ADDITIONAL COMPONENT STYLES
   ----------------------------------------------- */

/* Decorative compass / ornament */
.decorative-compass {
  position: absolute;
  width: 200px;
  height: 200px;
  opacity: 0.03;
  pointer-events: none;
}

/* Divider ornament */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.divider-ornament span {
  color: var(--gold);
  font-size: 0.9rem;
  opacity: 0.5;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-dot.open {
  background: var(--emerald-400);
}

.status-dot.closed {
  background: var(--terracotta);
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--dark-3) 25%, var(--dark-4) 50%, var(--dark-3) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 4px;
}

/* Visually hidden (a11y) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 999;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 0;
}

/* Focus visible outline */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Smooth image loading — v3: default visible, fade in on load */
img[loading="lazy"] {
  opacity: 1;
}

/* Nav scroll state (added by JS) */
.nav.nav-scrolled {
  background: rgba(17, 16, 16, 0.97);
  border-bottom-color: rgba(201, 169, 110, 0.18);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Subtle grain texture overlay on hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Page load fade-in */
body {
  animation: page-fade-in 0.5s ease;
}
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Gallery item enhanced hover */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 16, 16, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  z-index: 1;
}
.gallery-item:hover::after {
  opacity: 1;
}

/* Highlight cells subtle scale on hover */
.highlight-cell {
  transition: background 200ms ease, transform 200ms ease;
}
.highlight-cell:hover {
  transform: translateY(-2px);
}

/* Footer links hover effect */
.footer-links a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-m);
  transition: color 200ms ease;
  position: relative;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 200ms ease;
}
.footer-links a:hover::after {
  transform: scaleX(1);
}

/* WhatsApp CTA button (v3) */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}

/* -----------------------------------------------
   24. RTL SUPPORT (Arabic)
   ----------------------------------------------- */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: 'Noto Sans Arabic', 'Lato', sans-serif;
}
[dir="rtl"] .hero,
[dir="rtl"] .section-header,
[dir="rtl"] .footer { text-align: center; }
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .menu-item-row { flex-direction: row-reverse; }
[dir="rtl"] .item-info { text-align: right; }
[dir="rtl"] .item-price { text-align: left; }
[dir="rtl"] .review-author { flex-direction: row-reverse; }
[dir="rtl"] .review-card { text-align: right; }
[dir="rtl"] .contact-card { text-align: right; }
[dir="rtl"] .story-grid { direction: rtl; }
[dir="rtl"] .highlights-grid { direction: rtl; }
[dir="rtl"] .footer-links { flex-direction: row-reverse; }
[dir="rtl"] .carousel-prev svg { transform: rotate(180deg); }
[dir="rtl"] .carousel-next svg { transform: rotate(180deg); }
[dir="rtl"] .item-price,
[dir="rtl"] .ta-rating,
[dir="rtl"] .phone-link { direction: ltr; unicode-bidi: embed; }

/* -----------------------------------------------
   25a. MISSING CLASS DEFINITIONS (v3 fix)
   ----------------------------------------------- */

/* btn-outline (hero CTA) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-full);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
}
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.12);
  background: rgba(201, 169, 110, 0.06);
  border-color: var(--gold);
}
.btn-outline:active { transform: scale(0.98); }

/* Location chips */
.chip {
  display: inline-block;
  border-radius: var(--radius-full);
  border: 1px solid var(--divider);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-m);
  transition: border-color 200ms ease, background 200ms ease;
}
.chip:hover {
  border-color: rgba(201, 169, 110, 0.25);
  background: rgba(201, 169, 110, 0.04);
}

/* Nav right section */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Language link / separator */
.lang-link {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
  transition: color 200ms ease, background 200ms ease;
}
.lang-link:hover { color: var(--gold); }
.lang-link.active {
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
}
.lang-sep {
  color: var(--text-dim);
  font-size: 0.6rem;
  opacity: 0.4;
  user-select: none;
}

/* Hero divider */
.hero-divider {
  width: 50px;
  height: 1px;
  background: rgba(201, 169, 110, 0.4);
  margin: 0 auto 2rem;
}

/* Tag dot (inside hero-tag) */
.tag-dot {
  display: none; /* dot rendered via ::before pseudo-element */
}

/* Menu card header / title / subtitle */
.card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--divider);
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.card-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-m);
}

/* Card note (pizza supplements, etc.) */
.card-note {
  border-top: 1px solid var(--divider);
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-m);
  font-size: 0.85rem;
}

/* Subgroup title (Dolci, Caffe, Birre sections) */
.subgroup-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  margin: 1.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--divider);
}
.subgroup-title:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* Wine subgroup / wine title */
.wine-title { color: var(--wine); }
.wine-sub { color: var(--wine); }

/* List items (distillati, spirits) */
.list-items {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-m);
  padding: 0.25rem 0;
  line-height: 1.6;
}
.list-price {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-top: 0.25rem;
}

/* Price EUR equivalent */
.price-eur {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-dim);
}

/* Review stars */
.star-filled {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.star-empty {
  color: var(--text-dim);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* Review source dots (prefixed variants) */
.source-dot.source-google { background: var(--gold); }
.source-dot.source-facebook { background: var(--blue-500); }
.source-dot.source-tripadvisor { background: var(--emerald-500); }

/* Review author (direct children, not under .author-info) */
.author-name {
  font-size: 0.85rem;
  color: var(--cream);
}
.author-date {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Avatar variants */
.google-avatar {
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
}
.ta-avatar {
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-700));
}

/* TripAdvisor badge extras */
.ta-sep {
  color: var(--text-dim);
  font-size: 0.8rem;
}
.ta-link {
  color: var(--emerald-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ta-rating {
  font-weight: 600;
  color: var(--emerald-400);
}

/* TripAdvisor CTA (as container + button) */
.ta-cta {
  text-align: center;
  margin-top: 2rem;
}
.ta-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
  color: var(--emerald-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background 200ms ease, border-color 200ms ease;
}
.ta-cta-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.5);
}

/* Menu carousel area */
.menu-carousel-area {
  position: relative;
  margin-top: 1.5rem;
}

/* Menu mobile arrows */
.menu-mobile-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-m);
  transition: color 200ms ease;
  padding: 8px 4px;
}
.menu-mobile-arrow:hover { color: var(--gold); }
.menu-mobile-arrow svg { flex-shrink: 0; }

/* Prev / Next labels */
.prev-label, .next-label {
  font-size: 0.72rem;
  color: var(--text-m);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Menu counter */
.menu-counter {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-align: center;
  min-width: 50px;
}

/* Contact card body */
.contact-card-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2rem;
  color: var(--text-m);
}
.contact-card-body .day-label {
  font-weight: 400;
  color: var(--cream);
}
.contact-card-body .closed-day {
  font-weight: 400;
  color: var(--terracotta);
  margin-top: 0.75rem;
}
.hours-block, .address-block, .phone-block {
  margin-bottom: 1rem;
}
.info-small {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Story stat values */
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-m);
}
.story-year-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-m);
  margin-bottom: 1.5rem;
}
.story-stats {
  display: flex;
  gap: 2rem;
  text-align: center;
}

/* Map image */
.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav logo (v3) */
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-logo em {
  font-style: italic;
  font-weight: 400;
  opacity: 0.7;
}

/* -----------------------------------------------
   25. REDUCED MOTION
   ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* -----------------------------------------------
   26. PRINT STYLESHEET
   ----------------------------------------------- */
@media print {
  * { background: transparent !important; color: #000 !important; box-shadow: none !important; }
  body { font-size: 12pt; line-height: 1.5; }
  .nav, .hero-bg, .hero-overlay, .photo-divider, .scroll-hint, .map-section,
  .social-icons, .custode-credit, .hamburger, .mobile-menu, .lightbox,
  .carousel-arrow, .carousel-arrow-sm, .menu-tabs, .mobile-menu-nav,
  .review-nav, .review-mobile-arrow, .ta-cta, .hero-ctas { display: none !important; }
  .scroll-reveal { opacity: 1 !important; transform: none !important; }
  .menu-card { display: block !important; page-break-inside: avoid; margin-bottom: 1rem; border: 1px solid #ccc; padding: 1rem; }
  .menu-cards { display: block !important; }
  .review-page { display: block !important; }
  .review-card { page-break-inside: avoid; border: 1px solid #ccc; padding: 0.5rem; margin-bottom: 0.5rem; }
  section { page-break-inside: avoid; }
  img { max-width: 300px; }
  a { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* -----------------------------------------------
   27. RESPONSIVE: Small phones (max-width: 480px)
   ----------------------------------------------- */
@media (max-width: 480px) {
  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem) !important; }
  .hero-title-accent { font-size: clamp(2.4rem, 11vw, 3.8rem) !important; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-ctas { flex-direction: column; gap: 10px; width: 100%; }
  .hero-ctas .btn { width: 100%; text-align: center; padding: 14px 20px; }
  .hero-address { font-size: 0.85rem; }
  .hero-tags { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .scroll-hint { display: none; }
  .photo-divider { min-height: 150px; }
}

/* -----------------------------------------------
   28. RESPONSIVE: Mobile (max-width: 640px)
   ----------------------------------------------- */
@media (max-width: 640px) {
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
    border: none;
  }
  .highlight-cell {
    padding: 16px 12px;
    border-bottom: 1px solid var(--divider);
  }
  .highlight-cell:nth-child(odd) { border-right: 1px solid var(--divider); }
  .highlight-icon { width: 28px; height: 28px; }
  .highlight-title { font-size: 0.85rem; }
  .highlight-desc { font-size: 0.75rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
  .gallery-item-span { grid-row: span 1; }
  .footer { padding: 2rem 16px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-copy { font-size: 0.75rem; padding: 0 16px; }
}

/* -----------------------------------------------
   29. RESPONSIVE: Tablet and below (max-width: 768px)
   ----------------------------------------------- */
@media (max-width: 768px) {
  /* Nav: hide desktop links, show hamburger */
  .nav-links { display: none; }
  .nav .lang-switcher { display: none; }
  .hamburger { display: flex; }
  .nav-inner { justify-content: space-between; padding: 0 16px; }

  /* Story */
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-text p { font-size: 0.95rem; }

  /* Menu */
  .menu-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 8px;
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .menu-card { padding: 16px; }
  .card-body { max-height: 55vh; }
  .item-name { font-size: 0.9rem; }
  .item-desc { font-size: 0.75rem; }
  .item-price { font-size: 0.85rem; }
  .carousel-arrow { display: none !important; }
  .mobile-menu-nav { display: flex !important; }
  .container-menu { padding: 0 12px; }

  /* Reviews */
  .review-page { grid-template-columns: 1fr !important; gap: 16px; }
  .review-card { min-width: 100%; padding: 20px 16px; }
  .reviews-carousel { overflow: hidden; }
  .carousel-arrow-sm { display: none !important; }
  .review-mobile-arrow { display: inline-flex !important; }
  .ta-badge { flex-direction: column; gap: 8px; text-align: center; }
  .ta-cert-img { width: 60px; margin: 0 auto; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Photo dividers */
  .photo-divider { min-height: 200px; }
}

/* -----------------------------------------------
   30. RESPONSIVE: Desktop 641-1024px (tablet landscape)
   ----------------------------------------------- */
@media (min-width: 641px) and (max-width: 1024px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-span { grid-row: span 2; }
}

/* -----------------------------------------------
   31. RESPONSIVE: Desktop — hide mobile elements (min-width: 769px)
   ----------------------------------------------- */
@media (min-width: 769px) {
  .hamburger { display: none !important; }
  .mobile-menu { display: none !important; }
  .mobile-menu-nav { display: none !important; }
  .review-mobile-arrow { display: none !important; }
  .carousel-arrow { display: flex; }
  .carousel-arrow-sm { display: flex; }
}

/* -----------------------------------------------
   32. RESPONSIVE: Small desktop (min-width: 640px)
   ----------------------------------------------- */
@media (min-width: 640px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* -----------------------------------------------
   33. RESPONSIVE: Medium desktop (min-width: 768px)
   ----------------------------------------------- */
@media (min-width: 768px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .review-page { grid-template-columns: repeat(3, 1fr); }
}

/* -----------------------------------------------
   34. RESPONSIVE: Large desktop (min-width: 1024px)
   ----------------------------------------------- */
@media (min-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
