/* ============================================================
   DESIGN SYSTEM — Nicolai Ricevimenti
   ============================================================ */

:root {
  --bg:        #F6F4EF;
  --cream:     #EDEAE3;
  --gold:      #36594F;
  --gold-dark: #2A4540;
  --dark:      #1F1F1F;
  --mid:       #6B6B6B;
  --light:     #ABABAB;
  --white:     #FFFFFF;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --max-w: 1200px;
  --px: clamp(1.25rem, 5vw, 3rem);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; object-fit: cover; }

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

/* ============================================================
   UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.label--light { color: #36594F; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-header__sub { color: var(--mid); font-size: 1rem; line-height: 1.7; max-width: 480px; margin-inline: auto; }

h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
}
h2 em { font-style: italic; color: var(--gold-dark); }

h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

p { color: var(--mid); line-height: 1.75; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal--right {
  transform: translateX(28px);
}

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }
.reveal--delay-4 { transition-delay: 0.48s; }

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 20px rgba(201,169,110,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ============================================================
   IMAGE PLACEHOLDERS (rimuovere quando si inseriscono le foto reali)
   ============================================================ */

.img-placeholder {
  background: var(--cream);
  border: 1px dashed var(--gold);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-family: var(--font-sans);
  text-align: center;
  min-height: 260px;
}

.img-placeholder::before {
  content: attr(data-label);
}

.img-placeholder--tall  { min-height: 420px; }
.img-placeholder--wide  { min-height: 340px; width: 100%; }
.img-placeholder--square { aspect-ratio: 1/1; min-height: unset; }
.img-placeholder--logo  { min-height: 60px; max-width: 120px; margin-inline: auto; padding: 0.5rem 0.75rem; }

.concept__image img         { width: 100%; min-height: 420px; height: 100%; object-fit: cover; border-radius: 3px; }
.extras__card-image img     { height: 100%; width: 100%; object-fit: cover; }
.decor__slide img           { width: 100%; height: 420px; object-fit: cover; display: block; }
.partners__logo img         { height: 60px; width: auto; max-width: 120px; object-fit: contain; margin-inline: auto; display: block; }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 1.25rem var(--px);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.nav.scrolled {
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}

.nav__logo-img--dark { display: none; }
.nav.scrolled .nav__logo-img--light { display: none; }
.nav.scrolled .nav__logo-img--dark { display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--white); }

.nav.scrolled .nav__links a { color: var(--mid); }
.nav.scrolled .nav__links a:hover { color: var(--dark); }

.nav__cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  font-size: 0.72rem !important;
  transition: background 0.2s !important;
}

.nav__cta:hover { background: var(--gold-dark) !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: background 0.3s, transform 0.3s;
}

.nav.scrolled .nav__burger span { background: var(--dark); }

.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(250,250,248,0.97);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  z-index: 99;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--dark);
  font-weight: 400;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-poster-1.jpeg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fallback background se il video non è ancora inserito */
  background: linear-gradient(135deg, #2a1f14 0%, #1a1208 100%);
}

/* Fallback background visibile quando il video è vuoto */
.hero__video:not([src]) {
  background: linear-gradient(160deg, #2e2016 0%, #1a100a 50%, #12181f 100%);
}

/* Nav mobile CTA */
.nav__mobile-cta {
  display: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,8,5,0.55) 0%,
    rgba(10,8,5,0.35) 50%,
    rgba(10,8,5,0.65) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--px);
  max-width: 800px;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: rgba(255,255,255,0.88);
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  margin-inline: auto;
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ============================================================
   ZOOM PARALLAX
   ============================================================ */

.zp-scroll {
  height: 150vh;
  position: relative;
  background: var(--dark);
}

.zp-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--dark);
}

.zp-item {
  position: absolute;
  will-change: transform;
  transform-origin: center center;
  overflow: hidden;
}

.zp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  /* Centro più grande su mobile */
  .zp-item[data-scale-to="4"] {
    top: 32vh !important;
    left: 30vw !important;
    width: 40vw !important;
    height: 30vh !important;
  }
  /* Ridimensiona le periferiche per portrait */
  .zp-item[data-scale-to="5"]:nth-child(2) {
    top: 4vh !important;
    left: 30vw !important;
    width: 55vw !important;
    height: 25vh !important;
  }
  .zp-item[data-scale-to="6"]:nth-child(3) {
    top: 14vh !important;
    left: 5vw !important;
    width: 22vw !important;
    height: 42vh !important;
  }
  .zp-item[data-scale-to="5"]:nth-child(4) {
    top: 32vh !important;
    left: 72vw !important;
    width: 24vw !important;
    height: 24vh !important;
  }
  .zp-item[data-scale-to="6"]:nth-child(5) {
    top: 64vh !important;
    left: 38vw !important;
    width: 25vw !important;
    height: 22vh !important;
  }
  .zp-item[data-scale-to="8"] {
    top: 64vh !important;
    left: 5vw !important;
    width: 30vw !important;
    height: 22vh !important;
  }
  .zp-item[data-scale-to="9"] {
    top: 64vh !important;
    left: 67vw !important;
    width: 25vw !important;
    height: 16vh !important;
  }
}

/* ============================================================
   HERO — gradient exit on scroll
   ============================================================ */

.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent 0%, var(--dark) 100%);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  will-change: opacity;
}

/* ============================================================
   INTERLUDE
   ============================================================ */

.interlude {
  background: var(--dark);
  padding: clamp(5rem, 9vw, 8rem) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interlude__inner {
  text-align: center;
  padding: 0 var(--px);
}

.interlude__logo {
  width: auto !important;
  height: 52px;
  display: block;
  margin: 0 auto 2.5rem;
}

.interlude__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 2.5rem;
}

.interlude__tagline em {
  font-style: italic;
  color: var(--gold);
}

.interlude__line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
}

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--dark);
  padding: 1.75rem var(--px);
}

.trust-bar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 2.5rem;
  gap: 0.25rem;
}

.trust-bar__item strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.trust-bar__item span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.trust-bar__sep {
  width: 1px;
  height: 36px;
  background: rgba(201,169,110,0.25);
  flex-shrink: 0;
}

/* ============================================================
   LOGO TICKER
   ============================================================ */

.logo-ticker {
  background: #000;
  padding: 1.5rem 0;
  overflow: hidden;
  width: 100%;
}

.logo-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 4.5rem;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
  will-change: transform;
}

.logo-ticker__track img {
  height: 38px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.logo-ticker__track img:hover {
  opacity: 1;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CONCEPT
   ============================================================ */

.concept {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg);
}

.concept__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.concept__title {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.concept__body {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--mid);
}

.concept__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
}

/* ============================================================
   FOOD
   ============================================================ */

.food {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--cream);
}

.food__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.food__card {
  background: var(--white);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.food__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.food__card .img-placeholder,
.food__card img {
  height: 220px;
  width: 100%;
}

.food__card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.food__card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.food__card-body p {
  font-size: 0.875rem;
  line-height: 1.65;
}

.food__feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
}

.food__feature-image .img-placeholder,
.food__feature-image img {
  height: 100%;
  min-height: 320px;
}

.food__feature-text {
  padding: 3rem;
}

.food__feature-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

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

.food__feature-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   PROCESS
   ============================================================ */

.process {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg);
}

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 1rem;
}

.process__step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.process__step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.process__step-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}

.process__step-body p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.process__connector {
  flex-shrink: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(201,169,110,0.3) 100%);
  margin-top: 2.5rem;
  align-self: flex-start;
}

/* ============================================================
   EXTRAS
   ============================================================ */

.extras {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--cream);
}

.extras__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.extras__card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.extras__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.11);
}

/* Immagine full-bleed con zoom on hover */
.extras__card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}

.extras__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.extras__card:hover .extras__card-image img {
  transform: scale(1.06);
}

/* Sottile accent line verde che appare on hover */
.extras__card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.extras__card:hover .extras__card-image::after {
  transform: scaleX(1);
}

/* Body testuale */
.extras__card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.extras__card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 0;
}

.extras__card-body p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 0;
}

/* ============================================================
   DECOR
   ============================================================ */

.decor {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg);
}

.decor__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.decor__text .label { margin-bottom: 0.75rem; }

.decor__text h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.decor__text p {
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.decor__carousel {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.decor__slide { display: none; }
.decor__slide.active { display: block; }

.decor__nav {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.decor__prev,
.decor__next {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.decor__prev:hover,
.decor__next:hover { background: var(--white); }

/* ============================================================
   GALLERY
   ============================================================ */

.gallery {
  content-visibility: auto;
  contain-intrinsic-size: 0 1200px;
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg);
}

/* Filter pills */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery__filter {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 100px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery__filter:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.gallery__filter.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* Grid — 4 colonne, righe auto, item alti span 2 */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 6px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* Overlay label */
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,5,0.65) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.1rem;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay span {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Hidden filter state */
.gallery__item.is-hidden {
  display: none;
}

/* CTA gallery completa */
.gallery__cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  background: var(--white);
}

.gallery__cta-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
}

.gallery__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s var(--ease), gap 0.2s var(--ease);
}

.gallery__cta-btn:hover {
  background: var(--gold-dark);
  gap: 0.9rem;
}

.gallery__cta-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Lightbox */
.gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.gallery__lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery__lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,8,5,0.92);
  backdrop-filter: blur(4px);
}

.gallery__lb-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}

.gallery__lb-inner img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

.gallery__lb-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.25rem;
}

.gallery__lb-close:hover { color: var(--white); }

/* Responsive */
@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 4px;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--cream);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonials__card {
  background: var(--white);
  padding: 2.5rem 2rem 2rem;
  border-radius: 3px;
  position: relative;
}

.testimonials__quote {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.testimonials__card > p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: var(--font-serif);
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonials__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials__author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
}

.testimonials__author span {
  font-size: 0.75rem;
  color: var(--light);
}

/* ============================================================
   MATRIMONIO.COM RATING BAR
   ============================================================ */

.mcom-rating {
  background: var(--white);
  border-radius: 4px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.mcom-rating__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.mcom-badge {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #D4156F;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mcom-badge span { font-weight: 400; }

.mcom-rating__score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mcom-rating__score strong {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1;
}

.mcom-stars {
  font-size: 1.1rem;
  color: #D4156F;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.15rem;
}

.mcom-rating__score span {
  font-size: 0.72rem;
  color: var(--light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mcom-rating__sep {
  width: 1px;
  height: 80px;
  background: var(--cream);
  flex-shrink: 0;
}

.mcom-breakdown {
  list-style: none;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 3rem;
}

.mcom-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.mcom-breakdown li span:first-child { color: var(--mid); }

.mcom-breakdown li span:last-child {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.85rem;
  min-width: 2rem;
  text-align: right;
}

/* Recensioni aggiuntive */
.testimonials__more {
  display: none;
}

.testimonials__more.is-open {
  display: block;
}

.testimonials__more .testimonials__grid {
  margin-top: 2rem;
}

/* Toggle button */
.testimonials__toggle-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.testimonials__toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.testimonials__toggle-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.testimonials__toggle-btn .toggle-label-less { display: none; }
.testimonials__toggle-btn[aria-expanded="true"] .toggle-label-more { display: none; }
.testimonials__toggle-btn[aria-expanded="true"] .toggle-label-less { display: inline; }

.toggle-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.testimonials__toggle-btn[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* ============================================================
   LA FAMIGLIA
   ============================================================ */

.family {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--dark);
}

.family__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--px);
}

.family__inner .label { margin-bottom: 0.75rem; }

.family__inner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.75rem;
}
.family__inner h2 em { color: var(--gold); }

.family__body {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.family__clients {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.family__clients-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
}

.family__clients img {
  width: 100%;
  max-width: 860px;
  height: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  margin: 0 auto;
  display: block;
}

.family__stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.family__stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.family__stat span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   PARTNERS
   ============================================================ */

.partners {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg);
}

.partners__strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 2.5rem 3rem;
  background: var(--gold-dark);
  border-radius: 4px;
}

.partners__logo {
  opacity: 0.55;
  transition: opacity 0.2s;
  filter: grayscale(1);
}

.partners__logo:hover { opacity: 1; filter: grayscale(0); }

.partners__logos-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.partners__photo {
  margin-top: 2.5rem;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  max-height: 520px;
}

.partners__photo img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--dark);
}

.contact__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.contact__title em { color: var(--gold); }

.contact__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.75;
}

.contact__form-wrapper {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* Tally iframe — altezza dinamica gestita da Tally embed.js */
.contact__form-wrapper iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: 400px; /* fallback visivo mentre carica */
  overflow: hidden;
}

.tally-placeholder {
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(201,169,110,0.4);
  border-radius: 3px;
  padding: 3rem 2rem;
  text-align: left;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.8;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tally-placeholder strong { color: var(--gold); display: block; margin-bottom: 0.75rem; font-size: 1rem; }
.tally-placeholder code { color: rgba(255,255,255,0.35); font-size: 0.75rem; }

.contact__alt {
  text-align: center;
}

.contact__alt > p {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.contact__hours {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  text-transform: none;
  line-height: 1.7;
}

.contact__hours span {
  color: rgba(255,255,255,0.28);
  font-size: 0.75rem;
}

.contact__alt-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.contact__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #111;
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer__logo-img {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer__brand p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.35);
  max-width: 280px;
  line-height: 1.7;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__links a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--gold); }

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
}

.footer__copy a { color: rgba(255,255,255,0.3); }
.footer__copy a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */

.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .food__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .concept__grid,
  .decor__grid { grid-template-columns: 1fr; }

  .concept__image { order: -1; }

  .process__steps {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }

  .process__connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), rgba(201,169,110,0.3));
    margin: 0 auto;
  }

  .process__step { padding: 0; text-align: left; }

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

  .food__feature-text { padding: 2rem; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: none; }
  .nav__mobile-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    background: var(--gold-dark);
    color: var(--white) !important;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    white-space: nowrap;
    text-decoration: none;
  }

  .trust-bar__sep { display: none; }
  .trust-bar__inner { gap: 1.5rem; justify-content: space-around; }
  .trust-bar__item { padding: 0.5rem 0.75rem; }

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

  .extras__grid { grid-template-columns: repeat(2, 1fr); }

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

  .mcom-rating {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.75rem;
  }

  .mcom-rating__sep { width: 100%; height: 1px; }

  .mcom-breakdown { grid-template-columns: 1fr; gap: 0.55rem; }

  .footer__inner { flex-direction: column; gap: 2rem; }
}

@media (max-width: 480px) {
  .extras__grid { grid-template-columns: 1fr; }

  .hero__content { padding: 0 1.25rem; max-width: 100%; }
  .hero__eyebrow { font-size: 0.62rem; margin-bottom: 1rem; }
  .hero__title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.18;
    margin-bottom: 1.1rem;
  }
  .hero__subtitle {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }

  .contact__alt-links { flex-direction: column; gap: 1rem; }
}
