/* --------------------------------------------------------------------------
   0. FONTS & TYPEFACES
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@700&family=Bebas+Neue&family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@fontsource-variable/geom@latest/index.min.css');

@font-face {
  font-family: 'Field Gothic Narrow';
  src: url('../fonts/FieldGothicNarrow-Bold.woff2') format('woff2'),
       url('../fonts/FieldGothicNarrow-Bold.woff') format('woff'),
       url('../fonts/FieldGothicNarrow-Bold.otf') format('opentype'),
       url('../fonts/FieldGothicNarrow-Bold.ttf') format('truetype'),
       url('../fonts/FieldGothicNarrow.woff2') format('woff2'),
       url('../fonts/FieldGothicNarrow.otf') format('opentype'),
       url('../fonts/FieldGothicNarrow.ttf') format('truetype'),
       local('Field Gothic Narrow Bold'),
       local('Field Gothic Narrow'),
       local('FieldGothicNarrow-Bold'),
       local('FieldGothicNarrow'),
       local('Field Gothic Bold'),
       local('Field Gothic');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Field Gothic Narrow';
  src: url('../fonts/FieldGothicNarrow-Regular.woff2') format('woff2'),
       url('../fonts/FieldGothicNarrow-Regular.otf') format('opentype'),
       url('../fonts/FieldGothicNarrow-Regular.ttf') format('truetype'),
       local('Field Gothic Narrow Regular'),
       local('Field Gothic Narrow'),
       local('FieldGothicNarrow');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & PALETTE
   -------------------------------------------------------------------------- */
:root {
  --color-beige: #EBEBDF;
  --color-orange: #E9631A;
  --color-celeste: #A9C2E0;
  --color-blue: #23497D;
  --color-dark: #323232;
  --color-white: #FFFFFF;
  --color-beige-dark: #dedecf;
  --color-dark-light: #444444;
  --color-overlay: rgba(50, 50, 50, 0.4);

  /* Typography */
  --font-title: 'Geom Variable', 'Geom', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --font-logo: 'Field Gothic Narrow', 'FieldGothicNarrow', 'Antonio', 'Bebas Neue', 'League Gothic', 'Impact', sans-serif;

  /* Spacing & Layout */
  --header-height: 76px;
  --bottom-bar-height: 64px;
  --container-max: 1240px;
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-sm: 8px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(50, 50, 50, 0.08);
  --shadow-md: 0 10px 30px rgba(50, 50, 50, 0.12);
  --shadow-lg: 0 20px 40px rgba(50, 50, 50, 0.18);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-beige);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 92px;
  padding-bottom: calc(var(--bottom-bar-height) + 40px);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.mono-descriptor {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blue);
  font-weight: 500;
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(35, 73, 125, 0.1);
  color: var(--color-blue);
  letter-spacing: 0.08em;
}

.price-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   4. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-sm {
  padding: 48px 0;
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-beige);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--color-beige);
}

.section-celeste {
  background-color: var(--color-celeste);
}

.section-blue {
  background-color: var(--color-blue);
  color: var(--color-beige);
}

.section-blue h1, .section-blue h2, .section-blue h3 {
  color: var(--color-white);
}

.section-orange {
  background-color: var(--color-orange);
  color: var(--color-beige);
}

.section-orange h1, .section-orange h2, .section-orange h3 {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   5. FIXED HEADER (PILL CAPSULE DESIGN AS IN SCREENSHOT 1)
   -------------------------------------------------------------------------- */
.site-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 900;
  padding: 16px 20px;
  background-color: transparent;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.header-capsule {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  height: 60px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px 0 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.14);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-fast);
  pointer-events: auto;
}

/* Header Variations as per requirements */
/* Home -> Beige */
.header-beige .header-capsule {
  background-color: var(--color-beige);
  border: 1.5px solid rgba(50, 50, 50, 0.18);
}

/* Menù / Galleria -> Celeste */
.header-celeste .header-capsule {
  background-color: var(--color-celeste);
}

/* Chi Siamo / Eventi Privati -> Arancione (Matches Screenshot 1) */
.header-orange .header-capsule {
  background-color: var(--color-orange);
}

/* Logo in header */
.header-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  height: 100%;
}

.header-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-logo-text {
  font-family: var(--font-logo);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-dark);
  text-transform: uppercase;
}

/* Header Nav Menu */
.header-nav {
  display: flex;
  align-items: center;
}

.header-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.header-nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  position: relative;
  padding: 6px 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-dark);
  transition: width var(--transition-fast);
}

.header-nav-link:hover {
  opacity: 0.75;
}

.header-nav-link:hover::after,
.header-nav-link.active::after {
  width: 100%;
}

.header-nav-link.active {
  font-weight: 700;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  cursor: pointer;
  z-index: 999;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Dropdown */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(50, 50, 50, 0.7);
  backdrop-filter: blur(8px);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-drawer {
  position: fixed;
  top: 80px;
  left: 16px;
  right: 16px;
  background-color: var(--color-beige);
  border-radius: 24px;
  padding: 32px 24px;
  z-index: 960;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-dark);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-menu-overlay.active .mobile-menu-drawer {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.mobile-menu-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   6. FIXED BOTTOM BAR (SCREENSHOT 2 DESIGN)
   -------------------------------------------------------------------------- */
.fixed-bottom-bar-wrapper {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 640px;
  z-index: 1000;
  pointer-events: none; /* Container passes through, capsule intercepts */
}

.bottom-capsule-container {
  background-color: var(--color-beige);
  border-radius: var(--radius-pill);
  padding: 6px 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(50, 50, 50, 0.12);
  pointer-events: auto;
}

.bottom-capsule-celeste {
  background-color: var(--color-celeste);
  border: 1px solid rgba(35, 73, 125, 0.2);
}

.bottom-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--radius-pill);
  background-color: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 3px 10px rgba(233, 99, 26, 0.3);
  user-select: none;
}

.bottom-btn:hover {
  background-color: #d85410;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(233, 99, 26, 0.4);
  color: var(--color-white);
}

.bottom-btn:active {
  transform: translateY(0);
}

.bottom-btn.active {
  background-color: var(--color-blue);
  box-shadow: 0 3px 10px rgba(35, 73, 125, 0.3);
}

/* --------------------------------------------------------------------------
   7. UI COMPONENTS & BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition-fast);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #d85410;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #1a375f;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-dark);
  color: var(--color-beige);
}

.btn-outline-white {
  border: 2px solid var(--color-beige);
  color: var(--color-beige);
  background: transparent;
}

.btn-outline-white:hover {
  background-color: var(--color-beige);
  color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   8. HERO SECTIONS
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   8. HERO SECTIONS & DIAGONAL MARQUEE
   -------------------------------------------------------------------------- */
.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -92px; /* Pull hero under the transparent fixed header */
  background-color: var(--color-dark);
}

.hero-media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: none;
}

.hero-overlay {
  display: none;
}

.hero-fullscreen-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 920px;
  padding: 0 24px;
  color: var(--color-beige);
}

.hero-fullscreen-content .hero-tag {
  color: var(--color-orange);
  background-color: rgba(50, 50, 50, 0.7);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(233, 99, 26, 0.4);
  display: inline-flex;
  margin-bottom: 24px;
}

.hero-fullscreen-content .hero-title {
  color: var(--color-beige);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero-fullscreen-content .hero-desc {
  color: rgba(235, 235, 223, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 680px;
  margin: 0 auto 36px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

.hero-fullscreen-content .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--color-beige);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  animation: bounceSoft 2.5s infinite;
}

@keyframes bounceSoft {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Diagonal Marquee Corner Ribbons */
.diagonal-marquee-wrapper {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}

.diagonal-marquee-top-left {
  top: -40px;
  left: -140px;
  width: 800px;
  transform: rotate(-30deg);
  transform-origin: center center;
}

.diagonal-marquee-bottom-right {
  bottom: 20px;
  right: -140px;
  width: 800px;
  transform: rotate(-30deg);
  transform-origin: center center;
}

.marquee-row {
  display: flex;
  overflow: visible;
  user-select: none;
  margin: 0;
  padding: 0;
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  will-change: transform;
  align-items: center;
  padding: 0;
}

.marquee-scroll-left {
  animation: marqueeLeft 20s linear infinite;
}

.marquee-scroll-right {
  animation: marqueeRight 24s linear infinite;
}

.marquee-scroll-left-fast {
  animation: marqueeLeft 16s linear infinite;
}

.marquee-text {
  font-family: var(--font-logo);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-orange);
  letter-spacing: 0.04em;
  line-height: 1.0;
  font-stretch: extra-condensed;
  display: inline-block;
  padding: 0 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.marquee-text.outlined {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-orange);
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .diagonal-marquee-top-left {
    top: -30px;
    left: -100px;
    width: 580px;
  }
  .diagonal-marquee-bottom-right {
    bottom: 10px;
    right: -100px;
    width: 580px;
  }
  .marquee-text {
    font-size: 2rem;
    padding: 0 6px;
    line-height: 1.0;
  }
}

/* Page Header Banners */
.page-banner {
  padding: 70px 0 50px;
  text-align: center;
  border-bottom: 1px solid rgba(50, 50, 50, 0.08);
}

.page-banner .mono-descriptor {
  margin-bottom: 12px;
}

.page-banner h1 {
  margin-bottom: 16px;
}

.page-banner p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--color-dark-light);
}

/* Page Banner Hero (with Horizontal Background Image & Orange Text) */
.page-banner-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: -92px;
  padding: 130px 24px 70px;
  background-color: var(--color-dark);
}

.page-banner-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.42) contrast(1.1);
}

.page-banner-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(30, 30, 30, 0.45) 0%, rgba(20, 20, 20, 0.85) 100%);
  z-index: 2;
}

.page-banner-hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
}

.page-banner-hero-content .mono-descriptor {
  color: var(--color-orange);
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.page-banner-hero-content h1 {
  color: var(--color-orange);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.page-banner-hero-content p {
  color: var(--color-orange);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

/* --------------------------------------------------------------------------
   9. CARDS & GRIDS
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

/* Feature Split (Text + Photo with bottom-aligned CTA button) */
.feature-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: stretch;
}

.feature-split-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.feature-split-text-top {
  margin-bottom: 32px;
}

.feature-split-text .btn {
  align-self: flex-start;
  margin-top: auto;
}

.feature-split-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 380px;
  display: flex;
}

.feature-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-split-photo-top-mobile .feature-split-media {
    order: -1;
  }
  .feature-split-media {
    min-height: 260px;
    height: 260px;
    border-radius: 20px;
  }
  .feature-split-text .btn {
    margin-top: 24px;
  }
}


.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(50, 50, 50, 0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-orange);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}

.card-title {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-dark-light);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   10. MENU SECTION & MENU PAGE (SINGLE CATEGORY AT A TIME WITH TABS)
   -------------------------------------------------------------------------- */
.menu-page-section {
  padding: 30px 0 90px;
  background-color: var(--color-beige);
}

.menu-editorial-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.menu-categories-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.category-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background-color: transparent;
  color: var(--color-blue);
  border: 1.5px solid var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-tab:hover {
  background-color: rgba(35, 73, 125, 0.1);
  color: var(--color-blue);
}

.category-tab.active {
  background-color: var(--color-blue);
  color: var(--color-beige);
  border-color: var(--color-blue);
  box-shadow: 0 4px 14px rgba(35, 73, 125, 0.25);
}

.menu-category-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.menu-category-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-category-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(35, 73, 125, 0.15);
}

.menu-category-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 900;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}

.menu-category-descriptor {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  padding-top: 4px;
}

.menu-dishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 56px;
  row-gap: 40px;
}

.dish-card {
  display: flex;
  flex-direction: column;
}

.dish-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.dish-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.dish-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-orange);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.dish-desc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-blue);
  line-height: 1.4;
  letter-spacing: 0.02em;
  max-width: 95%;
}

.dish-desc + .dish-options {
  margin-top: 8px;
}

.dish-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-blue);
  line-height: 1.4;
  letter-spacing: 0.02em;
  max-width: 95%;
}

.dish-options li {
  position: relative;
  padding-left: 14px;
}

.dish-options li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: 700;
}

.menu-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin: 44px 0 0;
}

.menu-footnote {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-blue);
  opacity: 0.75;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 40px 0 0;
}

/* Eventi privati: menu fissi */
.package-card {
  background-color: #3b3b3b;
  border-color: #4a4a4a;
  padding: 36px 28px;
}

.package-price {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-orange);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.package-price span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 235, 223, 0.7);
}

.package-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(235, 235, 223, 0.85);
  font-size: 0.95rem;
  line-height: 1.55;
}

.package-list li {
  position: relative;
  padding-left: 16px;
}

.package-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: 700;
}

.package-list strong {
  color: var(--color-beige);
}

@media (max-width: 1024px) {
  .menu-dishes-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 36px;
  }
}

@media (max-width: 640px) {
  .menu-dishes-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .menu-categories-nav {
    gap: 8px;
    margin-bottom: 32px;
  }
  .category-tab {
    font-size: 0.78rem;
    padding: 8px 16px;
  }
  .menu-category-header {
    margin-bottom: 24px;
  }
}

/* Menu Subcategories (e.g. Braceria sections) */
.menu-subcategory {
  margin-bottom: 56px;
}

.menu-subcategory:last-child {
  margin-bottom: 0;
}

.menu-subcategory-header {
  text-align: center;
  margin-bottom: 36px;
}

.menu-subcategory-title {
  font-family: var(--font-title);
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-blue);
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.menu-subcategory-divider {
  width: 50px;
  height: 1px;
  background-color: rgba(35, 73, 125, 0.25);
  margin: 0 auto;
}

@media (max-width: 640px) {
  .menu-subcategory {
    margin-bottom: 40px;
  }
  .menu-subcategory-header {
    margin-bottom: 24px;
  }
  .menu-subcategory-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
}

.menu-item-allergens {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-blue);
  font-style: italic;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   11. GALLERY
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-dark);
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.9;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(50, 50, 50, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.gallery-title {
  color: var(--color-beige);
  font-size: 1.1rem;
  font-family: var(--font-title);
}

.gallery-category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-celeste);
  text-transform: uppercase;
}

/* Modal Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(50, 50, 50, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: var(--radius-card);
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--color-beige);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   12. RESERVATION POPUP / MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(50, 50, 50, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background-color: var(--color-beige);
  border-radius: 28px;
  max-width: 540px;
  width: 100%;
  padding: 40px 32px;
  position: relative;
  border: 2px solid var(--color-dark);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.8rem;
  color: var(--color-dark);
  cursor: pointer;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   13. FORM STYLES
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-dark);
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(50, 50, 50, 0.25);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(233, 99, 26, 0.15);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.inquiry-form-card {
  background-color: var(--color-white);
  padding: 40px 32px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(50, 50, 50, 0.08);
  color: var(--color-dark);
}

.motto-card {
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 36px 32px;
  border-radius: 28px;
  text-align: center;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   14. FOOTER (BLU CON TITOLI BEIGE E TESTI CELESTI)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-blue);
  color: var(--color-celeste);
  padding: 60px 0 40px;
  margin-top: auto;
  border-top: 1px solid rgba(169, 194, 224, 0.18);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo-text {
  font-family: 'Field Gothic Narrow', 'FieldGothicNarrow', var(--font-logo);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--color-beige);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand p {
  color: var(--color-celeste);
  opacity: 0.9;
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--color-beige);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--color-celeste);
  opacity: 0.9;
  font-size: 0.92rem;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-beige);
  opacity: 1;
}

.footer-mono-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-celeste);
  opacity: 0.95;
  line-height: 1.65;
}

.footer-mono-text a {
  color: var(--color-celeste);
  text-decoration: none;
  font-weight: 700;
}

.footer-mono-text a:hover {
  color: var(--color-beige);
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  color: var(--color-celeste);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.footer-social-icon:hover {
  color: var(--color-beige);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(235, 235, 223, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-beige);
  opacity: 0.95;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }

  body {
    padding-top: 70px;
  }

  .hero-fullscreen {
    margin-top: -70px;
  }

  .header-nav-list {
    display: none;
  }

  .site-header-wrapper {
    padding: 10px 16px;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .header-capsule {
    height: 46px;
    width: 100%;
    max-width: 100%;
    padding: 0 16px 0 18px;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }

  .header-logo-img {
    height: 28px;
  }

  .mobile-nav-toggle {
    display: flex;
    width: 32px;
    height: 32px;
    gap: 4px;
  }

  .mobile-nav-toggle span {
    width: 20px;
    height: 2px;
  }

  .mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu-overlay {
    display: block;
  }

  .page-banner {
    padding: 32px 16px 28px;
  }

  .page-banner h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    margin-bottom: 12px;
  }

  .page-banner p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .page-banner-hero {
    margin-top: -70px;
    min-height: 340px;
    padding: 90px 20px 36px;
  }

  .page-banner-hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .fixed-bottom-bar-wrapper {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    box-sizing: border-box;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inquiry-form-card {
    padding: 24px 16px;
  }

  .motto-card {
    padding: 28px 18px;
  }

  .bottom-btn {
    height: 44px;
    font-size: 0.85rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
  }
}
