/* ==========================================================
   Dimmidisì Catering — foglio di stile
   Colori ripresi dal logo di Nino Cordova Chef: nero di base, oro della C
   per titoli e dettagli, bianco per i testi, rosso Dimmidisì solo come accento
   ========================================================== */
:root {
  color-scheme: dark;
  --nero: #0E0D0C;
  --nero-2: #161411;
  --nero-3: #1D1A16;
  --oro: #D4BE77;
  --oro-chiaro: #F2EAA7;
  --oro-scuro: #BDA956;
  --oro-linea: rgba(212,190,119,.22);
  --bianco: #FFFFFF;
  --rosa: #C8102E;
  --rosa-scuro: #9E0B22;
  --rosa-chiaro: #F4C7CE;
  --rosa-velo: rgba(200,16,46,.16);
  --crema: var(--nero-2);
  --avorio: var(--nero);
  --notte: #0E0D0C;
  --notte-2: #2A2722;
  --notte-lux: #0E0D0C;
  --testo: #D9D5CC;
  --testo-soft: #A39D91;
  --wa: #25D366;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-slab: "Bitter", "Rockwell", Georgia, serif;
  --font-lux: "Cormorant Garamond", "Times New Roman", serif;

  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 24px 50px -24px rgba(0,0,0,.8), 0 2px 8px rgba(0,0,0,.25);
  --shadow-sm: 0 12px 28px -16px rgba(0,0,0,.8);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--testo);
  background: var(--nero);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--oro); }
h1, h2, h3 { color: var(--bianco); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; }
::selection { background: var(--oro); color: var(--nero); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.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 { position: absolute; left: -999px; top: 8px; background: var(--notte); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -.2em; }

/* ---------- Logo ---------- */
.logo { display: inline-block; line-height: 0; flex-shrink: 0; }
.logo img { width: 100%; height: auto; }
.logo--sm { width: 92px; }
.logo--lg { width: min(300px, 70vw); }

/* ---------- Pulsanti con micro-interazioni ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 0;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--spring), box-shadow .3s ease, background .25s ease, scale .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(0,0,0,.9); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { scale: .96; }
.btn .i { transition: transform .35s var(--spring); }
.btn:hover .i { transform: translateX(3px) rotate(-6deg); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.06rem; min-height: 58px; }
.btn--block { width: 100%; }
.btn--rosa { background: var(--rosa); color: #fff; }
.btn--rosa:hover { background: var(--rosa-scuro); }
.btn--notte { background: transparent; color: var(--oro); box-shadow: inset 0 0 0 2px var(--oro); }
.btn--notte:hover { background: rgba(212,190,119,.12); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1eb857; box-shadow: 0 14px 26px -12px rgba(37,211,102,.7); }
.btn--gold { background: linear-gradient(135deg, var(--oro-chiaro), var(--oro) 45%, var(--oro-scuro)); color: var(--nero); letter-spacing: .02em; }
.btn--gold:hover { box-shadow: 0 14px 30px -10px rgba(212,190,119,.55); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--oro); color: var(--oro-chiaro); }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .3; transform: scale(0); animation: ripple .6s var(--ease) forwards; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Cursore ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
    width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    border: 2px solid var(--oro); opacity: 0;
    transition: width .3s var(--spring), height .3s var(--spring), margin .3s var(--spring), background .25s, border-color .25s, opacity .3s, scale .15s;
  }
  .cursor.is-on { opacity: 1; }
  .cursor.is-hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(212,190,119,.16); border-color: transparent; }
  .cursor.is-lux { border-color: var(--oro); }
  .cursor.is-lux.is-hover { background: rgba(255,255,255,.18); }
  .cursor.is-down { scale: .75; }
}

/* ---------- Navigazione: barra nera fissa, come il logo Dimmidisì ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  background: var(--nero);
  transition: box-shadow .35s;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--oro-linea), 0 10px 28px -16px rgba(0,0,0,.9); }
.nav__inner { height: 100%; width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 20px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; color: #fff; text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: .45em .8em; border-radius: 999px; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: .8em; right: .8em; bottom: .2em; height: 3px; border-radius: 3px;
  background: var(--oro); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle { display: none; }

@media (max-width: 1020px) {
  .nav__inner { gap: 12px; }
  .nav__call { margin-left: auto; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 12px; border: 0; border-radius: 14px;
    background: rgba(255,255,255,.08); cursor: pointer;
  }
  .nav__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: calc(var(--nav-h) + 6px); left: 12px; right: 12px;
    flex-direction: column; gap: 2px; margin: 0;
    padding: 12px; border-radius: 24px;
    background: var(--nero); border: 1px solid var(--oro-linea);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
    transform-origin: top; transform: translateY(-8px) scale(.97); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s ease, visibility .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: .8em 1em; font-size: 1.1rem; border-radius: 14px; }
  .nav__links a::after { display: none; }
  .nav__links a:hover { background: rgba(255,255,255,.08); }
  .nav__links a[aria-current="page"] { background: rgba(212,190,119,.14); color: var(--oro-chiaro); }
}
@media (max-width: 420px) {
  .nav__call span { display: none; }
  .nav__call { padding: .7em .8em; }
}

/* ---------- Logo originale di Nino Cordova Chef ---------- */
/* intestazione: C dorata + nome (telefono) / C dorata + riquadro Dimmidisì (computer) */
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: #fff; text-decoration: none; line-height: 1; }
.brand__c { width: 46px; height: 46px; }
.brand__name { display: grid; gap: 3px; font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; white-space: nowrap; }
.brand__name small { font-weight: 600; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); }
.brand__box { display: none; height: 46px; width: auto; }
@media (min-width: 1021px) {
  .brand__name { display: none; }
  .brand__box { display: block; }
}
@media (max-width: 380px) {
  .brand__c { width: 40px; height: 40px; }
  .brand__name { font-size: .92rem; }
}
/* logo completo grande (home e footer) */
.logo-nino { display: block; width: min(78vw, 400px); height: auto; margin: 0 auto 6px; }
.footer .logo-nino { width: min(64vw, 260px); margin-bottom: 0; }

/* ==========================================================
   HERO (home e pagine)
   ========================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; grid-template-columns: minmax(0, 1fr);
  padding: calc(var(--nav-h) + 24px) 16px 84px;
  background: var(--nero); color: var(--testo);
  text-align: center;
}
.hero--page { min-height: 0; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 96px; }
.hero--dark { background: var(--nero); color: var(--testo); }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.blob {
  position: absolute; display: block;
  border-radius: 42% 58% 62% 38% / 45% 40% 60% 55%;
  will-change: transform;
  animation: blob 22s ease-in-out infinite alternate;
}
.blob--1 { width: 72vmax; height: 72vmax; top: -38vmax; right: -32vmax; background: var(--oro); opacity: .1; }
.blob--2 { width: 58vmax; height: 58vmax; bottom: -34vmax; left: -28vmax; background: #1A1815; animation-duration: 27s; animation-delay: -7s; }
.blob--4 { width: 20vmax; height: 20vmax; bottom: 8%; right: -7vmax; background: var(--rosa); opacity: .35; animation-duration: 19s; animation-delay: -11s; }
@keyframes blob {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(3vmax, 2vmax) rotate(50deg) scale(1.07); }
  100% { transform: translate(-2vmax, 3vmax) rotate(100deg) scale(.95); }
}
.grain {
  position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .13 0 0 0 0 .25 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* decorazioni fluttuanti (solo Caffetteria) */
.hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fl {
  position: absolute; width: var(--s, 90px); height: var(--s, 90px);
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.5));
  animation: pop .9s var(--spring) var(--pd, 1.2s) both, float var(--t, 7s) ease-in-out var(--fd, 0s) infinite alternate;
}
@keyframes pop { from { opacity: 0; scale: .2; } }
@keyframes float {
  from { transform: translateY(0) rotate(var(--r0, -8deg)); }
  to   { transform: translateY(-20px) rotate(var(--r1, 8deg)); }
}
.fl--cone      { --s: 104px; top: calc(var(--nav-h) + 7%); right: 3.5%; --t: 7.5s; --pd: 1.45s; --r0: 10deg; --r1: -4deg; }
.fl--croissant { --s: 116px; bottom: 7%; right: 3.5%; --t: 7s; --pd: 1.65s; --r0: 6deg; --r1: -8deg; }

.hero__inner { position: relative; width: 100%; max-width: 920px; }
.hero__by {
  font-weight: 700; font-size: .82rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--oro); margin: 0 0 10px; text-wrap: balance;
}
.hero__logo { width: min(86vw, 520px); height: auto; margin: 0 auto 10px; }
.hero__title {
  font-weight: 800; font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: 1; letter-spacing: -.035em; margin: 0 0 .3em; color: #fff;
}
.hero__title em { font-style: normal; color: var(--oro); white-space: nowrap; }
.hero--dark .hero__title { color: #fff; font-family: var(--font-lux); font-weight: 500; letter-spacing: -.01em; font-size: clamp(3rem, 12vw, 5.4rem); }
.hero--dark .hero__title em { font-style: italic; color: var(--oro); }
.hero__lead { max-width: 52ch; margin: 0 auto 26px; font-size: 1.05rem; }
.hero__slogan { font-family: var(--font-lux); font-style: italic; font-size: clamp(1.35rem, 4.6vw, 1.9rem); color: #fff; margin: 0 0 4px; }
.hero__address { color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; font-weight: 600; margin: 0 0 22px; }
.hero__address .i { color: var(--oro); }

/* frase che cambia */
.hero__line { margin: 6px auto 26px; max-width: 760px; }
.hero__prefix { display: block; font-family: var(--font-slab); font-style: italic; font-size: clamp(1.05rem, 3.8vw, 1.4rem); color: var(--testo); margin-bottom: 2px; }
.rotator { display: grid; justify-items: center; align-items: center; }
.rotator__item {
  grid-area: 1 / 1;
  font-weight: 800; font-size: clamp(1.6rem, 7.4vw, 3rem); line-height: 1.12; letter-spacing: -.02em;
  color: #fff; text-wrap: balance;
  text-decoration: underline; text-decoration-color: var(--rosa); text-decoration-thickness: .16em; text-underline-offset: .14em; text-decoration-skip-ink: none;
  opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(4px);
  transition: opacity .55s var(--ease), transform .7s var(--spring), filter .55s var(--ease);
}
.rotator__item.is-active { opacity: 1; transform: none; filter: none; }
.rotator__item.is-leaving { opacity: 0; transform: translateY(-.5em) rotate(-2deg); filter: blur(4px); transition-duration: .4s; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* foto: sotto i pulsanti su telefono, a destra su schermo largo */
.hero__photo { position: relative; margin: 34px auto 0; width: min(100%, 720px); }
.hero__photo img, .hero__photo .ph {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 50%;
  border-radius: 140px 140px var(--r-lg) var(--r-lg); border: 8px solid #1A1815; box-shadow: var(--shadow);
}
.hero__photo .ph { place-items: center; }
.hero__photo img, .hero__photo .ph { outline: 1px solid rgba(212,190,119,.4); outline-offset: 8px; }
.hero__photo figcaption {
  position: absolute; left: 50%; bottom: -16px; translate: -50% 0; white-space: nowrap;
  background: var(--nero); color: var(--oro-chiaro); border: 1px solid var(--oro); font-weight: 600; font-size: .82rem; letter-spacing: .06em;
  padding: .5em 1.2em; border-radius: 999px; box-shadow: var(--shadow-sm);
}
@media (min-width: 1021px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); padding-inline: max(24px, calc((100vw - 1240px) / 2)); }
  .hero__photo { margin: 0; width: 100%; }
  .hero__photo img, .hero__photo .ph { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 110px); border-radius: 999px 999px var(--r-lg) var(--r-lg); }
  .hero--page .hero__photo img, .hero--page .hero__photo .ph { max-height: 620px; }
}

.intro { animation: introUp 1s var(--ease) var(--d, 0s) both; }
@keyframes introUp { from { opacity: 0; transform: translateY(22px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 28px; height: 44px; border: 2px solid var(--oro); border-radius: 16px; opacity: .75;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--oro); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 760px) { .scroll-cue { display: none; } }

/* ---------- Nastro servizi ---------- */
.marquee {
  --bg: var(--notte);
  position: relative; z-index: 4;
  background: var(--bg); color: var(--crema);
  padding: 18px 0 8px; overflow: visible;
}
.marquee__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.15rem, 3.6vw, 1.7rem); white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.marquee__track b { color: var(--rosa); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Separatori "crema che cola" ---------- */
.drip {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: -1px;
  height: max(52px, 6.95vw); z-index: 3; pointer-events: none;
  color: var(--bg); overflow: hidden;
}
.drip svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.drip--flip svg { transform: scaleX(-1); }

/* ==========================================================
   SEZIONI
   ========================================================== */
.section { --bg: var(--avorio); position: relative; background: var(--bg); padding: clamp(96px, 12vw, 150px) 0 clamp(72px, 9vw, 120px); }
.section--crema { --bg: var(--crema); }
.section--avorio { --bg: var(--avorio); }
.section--rosa { --bg: #1A1714; }
.section__head { text-align: center; margin-bottom: clamp(30px, 5vw, 56px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--oro); margin: 0 0 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.title {
  font-weight: 800; font-size: clamp(2.6rem, 11vw, 5.4rem); line-height: .98; letter-spacing: -.035em;
  color: #fff; margin: 0 0 .35em;
}
.title em { font-style: normal; color: var(--oro); white-space: nowrap; }

/* ---------- Chi siamo ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.lead { font-size: 1.25rem; color: #fff; font-weight: 600; line-height: 1.5; }
.about__media { position: relative; min-height: 440px; }
.ph {
  display: grid; place-items: end start;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 70% 30%, rgba(212,190,119,.2) 0 60px, transparent 61px),
    repeating-linear-gradient(45deg, rgba(212,190,119,.05) 0 12px, transparent 12px 24px),
    linear-gradient(150deg, #2C2820, #1A1815 70%, var(--nero));
  box-shadow: var(--shadow);
  color: var(--oro-chiaro); font-weight: 600; font-size: .85rem; letter-spacing: .05em;
  padding: 18px; overflow: hidden;
}
.ph span { background: rgba(0,0,0,.55); padding: .35em .9em; border-radius: 999px; }
.ph--tall, .about__tall { position: absolute; inset: 0 18% 8% 0; border-radius: 160px 160px var(--r-lg) var(--r-lg); }
.ph--small, .about__round { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 7px solid var(--bg, var(--nero)); border-radius: 50%; place-items: center; overflow: hidden; }
.ph--small { background: linear-gradient(150deg, #2C2820, #1A1815); }
.about__tall img, .about__round img { width: 100%; height: 100%; border-radius: inherit; }
.about__tall img { object-position: 38% 50%; }
.ph--fill { width: 100%; height: 100%; min-height: 0; }
.ph--logo { place-items: center; width: 180px; height: 96px; padding: 10px; text-align: center; box-shadow: none;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.5); color: var(--oro-chiaro); }
.ph--logo span { background: none; padding: 0; }

/* galleria del locale */
.gallery { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-top: clamp(48px, 7vw, 88px); }
.gallery__item { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.gallery__item:not(.gallery__item--wide):not(.gallery__item--full) { aspect-ratio: auto; }
.gallery__item--full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery__item picture, .gallery__item img { width: 100%; height: 100%; }
.gallery__item img { object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item .ph, .cat-photos .ph { border-radius: 0; box-shadow: none; place-items: center; text-align: center; }
.gallery__item figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(14,13,12,.85); color: var(--oro-chiaro); font-weight: 700; font-size: .82rem;
  padding: .35em 1em; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.ph--dark { width: 100%; height: 100%; min-height: 320px;
  background:
    radial-gradient(circle at 75% 25%, rgba(212,190,119,.16) 0 70px, transparent 71px),
    linear-gradient(160deg, #2A2A2A, var(--notte-2) 50%, #0B0B0B); }
.about__media img { border-radius: inherit; object-fit: cover; }
.about__tall { box-shadow: var(--shadow); overflow: hidden; }
.about__sticker { position: absolute; top: -26px; right: 6%; width: 104px; height: 104px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite alternate; }

.day { list-style: none; padding: 0; margin: clamp(48px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.day li {
  position: relative; background: var(--nero-3); border: 1px solid var(--oro-linea); border-radius: var(--r-lg); padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow);
  transition: transform .45s var(--spring), box-shadow .3s;
}
.day li:hover { transform: translateY(-6px) rotate(-.6deg); }
.day__ill { width: 64px; height: 64px; margin-bottom: 10px; transition: transform .5s var(--spring); }
.day li:hover .day__ill { transform: rotate(-10deg) scale(1.12); }
.day__time { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--oro); font-weight: 700; }
.day strong { color: #fff; font-size: 1.2rem; }
.day li > span:last-child { color: var(--testo-soft); font-size: .93rem; }

/* ---------- Menù ---------- */
.menu__tools {
  position: sticky; top: var(--nav-h); z-index: 20;
  padding: 10px 0 18px; margin-bottom: 14px;
  background: var(--bg);
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
}
.search {
  display: flex; align-items: center; gap: 10px;
  max-width: 480px; margin: 0 auto 14px;
  background: var(--nero-3); border: 1px solid var(--oro-linea); border-radius: 999px; padding: 0 20px;
  color: var(--oro); box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .3s var(--spring);
}
.search:focus-within { box-shadow: 0 0 0 4px rgba(212,190,119,.2), var(--shadow-sm); transform: scale(1.015); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: .95em 0; font: inherit; font-size: 16px; color: #fff; }
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 4px 10px;
  justify-content: safe center; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; scroll-snap-align: center;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--oro-linea); background: var(--nero-3); color: #fff;
  padding: .62em 1.1em; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer;
  box-shadow: 0 6px 16px -10px rgba(0,0,0,.8);
  transition: background .25s, color .25s, transform .35s var(--spring);
}
.tab .i { color: var(--oro); width: 1.25em; height: 1.25em; }
.tab:hover { transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--oro); border-color: var(--oro); color: var(--nero); }
.tab[aria-selected="true"] .i { color: var(--nero); }
.menu.is-searching .tab[aria-selected="true"] { background: var(--nero-3); border-color: var(--oro-linea); color: #fff; }
.menu.is-searching .tab[aria-selected="true"] .i { color: var(--oro); }

.menu__panels { columns: 2 440px; column-gap: 24px; }
.menu__loading, .menu__empty { column-span: all; text-align: center; color: var(--testo-soft); padding: 30px 0; }
.cat {
  break-inside: avoid; display: inline-block; width: 100%;
  background: var(--nero-3); border: 1px solid var(--oro-linea); border-radius: var(--r-lg); padding: 22px 24px 14px; margin: 0 0 24px;
  box-shadow: var(--shadow);
}
.cat[hidden] { display: none; }
.cat__head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding-bottom: 14px; border-bottom: 2px dashed rgba(212,190,119,.3); }
.cat__icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--oro); color: var(--nero); rotate: -5deg;
  box-shadow: 3px 3px 0 var(--rosa);
  transition: rotate .45s var(--spring);
}
.cat:hover .cat__icon { rotate: 6deg; }
.cat__icon .i { width: 26px; height: 26px; stroke-width: 2.1; }
.cat__titles { flex: 1; min-width: 0; }
.cat__title { font-weight: 800; font-size: 1.35rem; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.cat__sub { font-family: var(--font-slab); font-size: .88rem; color: var(--testo-soft); margin: 2px 0 0; }
.cat__price { flex-shrink: 0; background: transparent; color: var(--oro); box-shadow: inset 0 0 0 1px var(--oro); font-weight: 700; font-size: .92rem; padding: .3em .85em; border-radius: 999px; white-space: nowrap; }
.items { list-style: none; margin: 0; padding: 0; }
.item { padding: 8px 0; }
.item[hidden] { display: none; }
.item__line { display: flex; align-items: baseline; gap: 6px; }
.item__name { color: #fff; font-weight: 700; }
.item__dots { flex: 1; min-width: 18px; border-bottom: 2px dotted rgba(212,190,119,.4); transform: translateY(-.3em); }
.item__price { color: var(--oro); font-weight: 800; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.item__price .pp { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; margin-left: 12px; min-width: 4.3em; vertical-align: bottom; }
.item__price .pp small { font-family: var(--font-slab); font-size: .7rem; color: var(--testo-soft); font-weight: 400; }
.item__price .suffix { font-family: var(--font-slab); font-size: .8rem; font-weight: 400; color: var(--testo-soft); }
.item__desc { font-family: var(--font-slab); margin: 1px 0 0; font-size: .9rem; color: var(--testo-soft); line-height: 1.4; }
.item--noprice .item__name::before { content: "✦"; color: var(--rosa); font-size: .75em; margin-right: .5em; }

/* ---------- Dolci ---------- */
.fl--deco-a { --s: 46px; top: 90px; right: 8%; animation: float 5s ease-in-out infinite alternate; }
.desserts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.desserts-hint { display: none; align-items: center; justify-content: center; gap: 8px; margin: -10px 0 8px; font-weight: 600; font-size: .9rem; color: var(--oro); }
.desserts-hint .i { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.dessert {
  position: relative; overflow: hidden;
  background: var(--nero-3); border: 1px solid var(--oro-linea); border-radius: var(--r-lg); padding: 24px 22px 24px;
  box-shadow: var(--shadow);
  transition: transform .45s var(--spring), box-shadow .3s;
}
.dessert::before {
  content: ""; position: absolute; width: 130px; height: 130px; right: -46px; top: -56px; border-radius: 50%;
  background: rgba(212,190,119,.08); transition: transform .6s var(--spring);
}
.dessert:hover { transform: translateY(-6px) rotate(-.5deg); }
.dessert:hover::before { transform: scale(1.5); }
.dessert > * { position: relative; }
.dessert__art {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 0 14px; border-radius: 50%;
  font-weight: 800; font-size: .85rem; background: var(--oro); color: var(--nero); box-shadow: 3px 3px 0 var(--rosa);
}
.dessert h3 { font-weight: 800; font-size: 1.2rem; margin-bottom: .35em; letter-spacing: -.01em; }
.dessert p { font-family: var(--font-slab); font-size: .93rem; color: var(--testo-soft); margin: 0; line-height: 1.5; }
.badge {
  position: absolute; top: 18px; right: 16px;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(76,175,80,.18); color: #9BE3A0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .3em .7em; border-radius: 999px;
}

/* ==========================================================
   EVENTI & CATERING — modalità scura, elegante
   ========================================================== */
.eventi {
  --bg: var(--notte-lux);
  background:
    radial-gradient(1000px 600px at 90% -10%, rgba(212,190,119,.12), transparent 60%),
    radial-gradient(800px 520px at -10% 105%, rgba(200,16,46,.08), transparent 60%),
    var(--bg);
  color: var(--testo);
}
.eventi strong { color: #fff; font-weight: 600; }
.eventi a { color: var(--oro-chiaro); }
.lux-head { margin-bottom: clamp(40px, 7vw, 80px); }
.lux-eyebrow { display: block; font-weight: 600; font-size: .74rem; letter-spacing: .34em; text-transform: uppercase; color: var(--oro); margin: 0 0 14px; }
.lux-title {
  font-family: var(--font-lux); font-weight: 500; font-size: clamp(3rem, 12vw, 6rem); line-height: .95; letter-spacing: -.01em;
  color: #fff; margin: 0;
}
.lux-title em { font-style: italic; color: var(--oro); }
/* "Catering e Banqueting" sotto il nome Dimmidisì, come nel logo */
.nome-sub { display: block; font-family: var(--font-lux); font-style: italic; font-weight: 500; font-size: .34em; line-height: 1.15; letter-spacing: .04em; color: #fff; margin-top: .4em; }
.lux-name { font-style: italic; color: #fff; }
.lux-sub { font-family: var(--font-lux); font-style: italic; font-size: clamp(1.3rem, 4.4vw, 1.9rem); color: #FFFFFF; margin: .4em 0 0; }
.orn { display: block; width: 200px; height: 20px; margin: 22px auto 0; color: var(--oro); }

/* foto del catering */
.cat-photos { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; margin-bottom: clamp(56px, 9vw, 100px); }
.cat-photos figure { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(212,190,119,.35); min-height: 200px; }
.cat-photos__main { grid-row: 1 / 3; }
.cat-photos__item--wide { grid-column: 2 / 4; }
.cat-photos picture, .cat-photos img { width: 100%; height: 100%; }
.cat-photos img { object-fit: cover; object-position: 50% 45%; }
.cat-photos .ph { border-radius: 0; box-shadow: none; }

.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 32px; margin-top: 36px; }
.partners img { height: 96px; width: auto; }
.dimmi { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.lux-name { font-family: var(--font-lux); font-weight: 600; font-size: clamp(3.2rem, 13vw, 5.8rem); line-height: .95; margin: 0 0 .15em; padding-bottom: .05em; }
.lux-name--sm { font-size: clamp(2.6rem, 10vw, 4.2rem); }
.lux-slogan { font-family: var(--font-lux); font-style: italic; font-size: clamp(1.35rem, 4.6vw, 1.8rem); color: var(--oro-chiaro); line-height: 1.3; }
.lux-list { list-style: none; padding: 0; margin: 22px 0 32px; display: flex; flex-wrap: wrap; row-gap: 4px; }
.lux-list li { font-family: var(--font-lux); font-weight: 600; font-size: 1.3rem; color: #FFFFFF; }
.lux-list li + li::before { content: "◆"; color: var(--oro); font-size: .55em; margin: 0 .8em; vertical-align: .25em; }
.chef { margin: 0; text-align: center; }
.chef__frame {
  position: relative; width: min(340px, 78vw); aspect-ratio: 4 / 5; margin: 0 auto 26px;
  border-radius: 999px 999px 22px 22px; padding: 10px; border: 1px solid var(--oro);
}
.chef__frame::after { content: ""; position: absolute; inset: -14px; border-radius: inherit; border: 1px solid rgba(212,190,119,.3); pointer-events: none; }
.chef__img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; border-radius: 999px 999px 14px 14px; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform .8s var(--ease); }
.chef:hover .chef__img { transform: scale(1.03); }
.chef figcaption { display: grid; gap: 4px; justify-items: center; }
.chef figcaption .lux-eyebrow { margin: 0; }
.chef__name { font-family: var(--font-lux); font-style: italic; font-weight: 600; font-size: 2.3rem; color: var(--oro-chiaro); line-height: 1.1; }
.chef__bio { max-width: 34ch; font-size: .95rem; color: #BDBDBD; }

.podere {
  position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  margin-top: clamp(64px, 10vw, 120px); padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(212,190,119,.4); border-radius: 30px;
  background: linear-gradient(135deg, rgba(212,190,119,.07), rgba(200,16,46,.03));
}
.podere::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(212,190,119,.15); border-radius: 22px; pointer-events: none; }
.podere__media { height: 100%; }
.podere__media .ph, .podere__media img { border-radius: 220px 220px 18px 18px; height: 100%; width: 100%; object-fit: cover; }
.podere__text { padding: 6px clamp(4px, 2vw, 20px) 6px 0; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.features li { position: relative; padding-left: 22px; font-size: .95rem; }
.features li::before { content: "◆"; position: absolute; left: 0; top: .2em; color: var(--oro); font-size: .7em; }
.features__wide { grid-column: 1 / -1; }
.ev-contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0 40px; }
.ev-contact {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 20px 22px; border-radius: 20px;
  border: 1px solid var(--oro-linea); background: rgba(255,255,255,.03);
  color: var(--testo); text-decoration: none; font-size: .93rem; line-height: 1.6;
  overflow-wrap: anywhere;
  transition: border-color .3s, background .3s, transform .4s var(--spring);
}
.ev-contact .i { color: var(--oro); margin-top: .2em; }
.ev-contact:hover { border-color: var(--oro); background: rgba(255,255,255,.07); transform: translateY(-3px); }
.eventi .orn + .btn { margin-top: 26px; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; align-items: start; }
.contact-card, .map-card { background: var(--nero-3); border: 1px solid var(--oro-linea); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.contact-card h3 .i { color: var(--oro); }
.mt { margin-top: 1.6em; }
.big-phone { font-weight: 800; font-size: 2rem; letter-spacing: -.02em; margin-bottom: .5em; }
.big-phone a { color: #fff; text-decoration: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 auto; white-space: nowrap; }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; }
.social a .i { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgba(212,190,119,.12); color: var(--oro); box-shadow: inset 0 0 0 1px var(--oro-linea); transition: transform .4s var(--spring); }
.social a:hover .i { transform: rotate(-12deg) scale(1.1); }
.is-placeholder { background: #FFF3C4; color: #7A5B00 !important; border: 1px dashed #D8A800; border-radius: 6px; padding: 0 .4em; font-weight: 600; }

.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hours__head h3 { margin: 0; }
.status { font-size: .8rem; font-weight: 700; padding: .35em .85em; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--testo-soft); }
.status--open { background: rgba(76,175,80,.18); color: #8EE09A; }
.status--open::before, .status--closed::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: .05em; }
.status--open::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.status--closed { background: var(--rosa-velo); color: #FF8F9F; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .6em .7em; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
.hours th { font-weight: 500; color: #fff; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--oro); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--nero); font-weight: 600; border-color: transparent; }
.hours tr.is-today th { border-radius: 12px 0 0 12px; }
.hours tr.is-today td { border-radius: 0 12px 12px 0; }
.today-tag { display: inline-block; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; background: var(--nero); color: var(--oro); padding: .1em .55em; border-radius: 999px; margin-left: .5em; vertical-align: .15em; }

.map-card { padding: 10px; display: grid; gap: 10px; }
.map { aspect-ratio: 4 / 3; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; background: var(--nero-3); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__ph {
  width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 20px;
  color: var(--testo); font-size: .92rem;
  background-image: linear-gradient(rgba(212,190,119,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(212,190,119,.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map__ph .i { width: 42px; height: 42px; color: var(--oro); }
.map__ph strong { color: #7A5B00; background: #FFF3C4; padding: 0 .4em; border-radius: 4px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--nero); color: var(--testo-soft); padding: clamp(90px, 11vw, 130px) 0 100px; text-align: center; }
.footer__inner { display: grid; gap: 22px; justify-items: center; }
.footer__by { font-family: var(--font-lux); font-style: italic; margin: 0; font-size: 1.3rem; color: #fff; }
.footer__sedi { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer__sedi a { display: block; padding: .7em 1.1em; border-radius: 16px; border: 1px solid var(--oro-linea); color: #fff; text-decoration: none; font-size: .9rem; line-height: 1.4; transition: border-color .3s, background .3s; }
.footer__sedi a small { display: block; color: var(--testo-soft); font-size: .78rem; }
.footer__sedi a:hover { border-color: var(--oro); background: rgba(212,190,119,.06); }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-weight: 600; }
.footer__contacts > * { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.footer__contacts .i { color: var(--oro); }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: .9rem; }
.footer__social .i { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(212,190,119,.12); color: var(--oro); box-shadow: inset 0 0 0 1px var(--oro-linea); }
.footer__social a[aria-disabled="true"] { opacity: .55; cursor: default; }
.footer__legal { font-size: .85rem; margin: 0; color: var(--testo); }
.footer__copy { font-size: .8rem; opacity: .8; margin: 0; }
@media (min-width: 821px) { .footer { padding-bottom: 56px; } }

/* ---------- WhatsApp flottante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 26px -6px rgba(37,211,102,.6);
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(.6);
  transition: transform .45s var(--spring), opacity .3s, visibility .3s;
}
.wa-on .wa-float { opacity: 1; visibility: visible; transform: none; }
.wa-on .wa-float:active { transform: scale(.92); }
.wa-float .i { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s 3.5s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 820px) { .wa-float { display: grid; } }

/* ---------- Modale preventivo ---------- */
.modal {
  width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  border: 0; border-radius: var(--r-lg); padding: 0;
  background: var(--nero-2); color: var(--testo);
  box-shadow: 0 0 0 1px var(--oro-linea), 0 30px 80px -20px rgba(0,0,0,.8);
}
.modal::backdrop { background: rgba(8,8,8,.72); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .45s var(--spring); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.quote { position: relative; padding: 30px 26px 26px; border-top: 6px solid var(--oro); }
.quote .lux-eyebrow { color: var(--oro); margin-bottom: 6px; }
.quote h3 { font-family: var(--font-lux); font-style: italic; font-weight: 600; font-size: 2.2rem; line-height: 1.05; }
.quote__hint { font-size: .9rem; color: var(--testo-soft); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .4s var(--spring); }
.modal__close:hover { transform: rotate(90deg); }
.field { display: grid; gap: 4px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: .85rem; font-weight: 600; color: #fff; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: var(--nero); border: 2px solid rgba(255,255,255,.14); border-radius: 14px; padding: .7em .9em;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--oro); box-shadow: 0 0 0 4px rgba(212,190,119,.18); }
.field .is-invalid { border-color: #d0383e; }
.quote__error { color: #FF8F9F; font-weight: 600; font-size: .9rem; }

.noscript { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; background: var(--nero-3); color: #fff; text-align: center; padding: 12px; z-index: 300; }


/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1020px) {
  .ev-contacts { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .map-card { grid-column: 1 / -1; }
  .map { aspect-ratio: 16 / 8; }
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 360px; }
  .day { grid-template-columns: 1fr 1fr; }
  .dimmi, .podere { grid-template-columns: 1fr; }
  .dimmi__text { text-align: center; }
  .lux-list { justify-content: center; }
  .podere__media .ph { min-height: 280px; }
  .podere__text { padding: 0 4px 6px; }
  .ev-contacts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item:not(.gallery__item--wide):not(.gallery__item--full) { aspect-ratio: 16 / 9; }
  .gallery__item--full { aspect-ratio: 16 / 9; }
  .cat-photos { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .cat-photos__main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 1; }
  .cat-photos__item--wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 70px; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: min(100%, 340px); }
  /* su telefono il logo occupa tutta la larghezza: decorazioni piccole, solo agli angoli */
  .fl--cone      { --s: 54px; top: calc(var(--nav-h) + 16px); right: 14px; }
  .fl--croissant { --s: 58px; bottom: 18px; right: 14px; }
  /* la dicitura lunga della Caffetteria non deve finire sotto il cono decorativo */
  .hero__deco ~ .hero__inner .hero__by { padding-inline: 52px; text-wrap: balance; }
  .scroll-cue    { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
  .menu__panels { columns: 1; }
  .cat { padding: 18px 16px 10px; }
  .cat__icon { width: 46px; height: 46px; border-radius: 14px; }
  .cat__title { font-size: 1.2rem; }
  /* dolci: carosello da scorrere col dito */
  .desserts {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -16px; padding: 6px 16px 34px; scroll-padding-inline: 16px;
  }
  .desserts::-webkit-scrollbar { display: none; }
  .dessert { flex: 0 0 78%; scroll-snap-align: start; }
  .desserts-hint { display: flex; }
  .features { grid-template-columns: 1fr; }
  .about__sticker { width: 80px; height: 80px; top: -30px; }
  .ph--tall { border-radius: 120px 120px var(--r-lg) var(--r-lg); }
}
@media (max-width: 400px) {
  .day { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; white-space: normal; row-gap: 4px; padding: 0 16px; }
  .marquee__track > :nth-child(n+15) { display: none; }
  .rotator__item { filter: none; }
}

/* telefoni bassi (es. iPhone SE): in alto non c'è spazio, restano solo le due in basso */
@media (max-width: 640px) and (max-height: 740px) {
  .fl--cone { display: none; }
  .fl--croissant { --s: 48px; bottom: 10px; }
}


/* ==========================================================
   SITO DIMMIDISÌ: home, attività, sedi
   ========================================================== */
.section--nero { --bg: var(--nero); }

/* tre attività */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--nero-3); border: 1px solid var(--oro-linea); border-radius: var(--r-lg); box-shadow: var(--shadow);
  color: var(--testo); text-decoration: none;
  transition: transform .45s var(--spring), box-shadow .35s;
}
.biz-card:hover { transform: translateY(-6px); border-color: rgba(212,190,119,.55); box-shadow: 0 34px 60px -28px rgba(0,0,0,.9); }
.biz-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--notte); }
.biz-card__media picture, .biz-card__media img, .biz-card__media .ph { width: 100%; height: 100%; }
.biz-card__media img { object-fit: cover; transition: transform .9s var(--ease); }
.biz-card:hover .biz-card__media img { transform: scale(1.05); }
.biz-card__media .ph { border-radius: 0; box-shadow: none; place-items: center; }
.biz-card__badge { position: absolute; left: 14px; bottom: 14px; }
.biz-card__badge img { width: 120px; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.biz-card__badge--dimmi img { width: 150px; background: var(--nero); border-radius: 3px; box-shadow: 0 6px 14px rgba(0,0,0,.55); filter: none; }
.biz-card__badge--text { background: rgba(14,13,12,.88); color: var(--oro-chiaro); border: 1px solid var(--oro-linea); font-family: var(--font-lux); font-style: italic; font-weight: 600; font-size: 1.35rem; padding: .2em .7em; border-radius: 12px; }
.biz-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.biz-card__kind { font-weight: 700; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); }
.biz-card h3 { font-size: 1.45rem; margin: 0; }
.biz-card p { margin: 0; font-size: .95rem; }
.biz-card__addr { display: flex; gap: 8px; align-items: flex-start; color: var(--testo-soft); font-size: .88rem; margin-top: 4px; }
.biz-card__addr .i { color: var(--oro); margin-top: .15em; }
.biz-card__go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--oro); }
.biz-card__go .i { transition: transform .35s var(--spring); }
.biz-card:hover .biz-card__go .i { transform: translateX(5px); }

/* scheda sede (pagine attività e contatti) */
.sede { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: stretch; }
.sede__card { background: var(--nero-3); border: 1px solid var(--oro-linea); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); color: var(--testo); }
.sede__card h3 { font-size: 1.3rem; margin-bottom: .2em; }
.sede__kind { font-weight: 700; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); margin: 0 0 6px; }
.sede__list { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 10px; }
.sede__list li { display: flex; gap: 10px; align-items: flex-start; }
.sede__list .i { color: var(--oro); margin-top: .25em; }
.sede__list a { color: inherit; font-weight: 600; }
.sede__map { border-radius: var(--r-lg); overflow: hidden; min-height: 300px; background: var(--nero-3); box-shadow: var(--shadow); }
.sede__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.sedi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sedi .sede__card { display: flex; flex-direction: column; }
.sedi .sede__map { min-height: 0; aspect-ratio: 4 / 3; margin: 0 -10px 16px; border-radius: 18px; box-shadow: none; }
.sedi .sede__map iframe { min-height: 0; }
.sedi .btn-row { margin-top: auto; }

.big-phone--lux a { color: #fff; }
.section--nero .title, .section--nero h2 { color: #fff; }
.section--nero .eyebrow { color: var(--oro); }

/* sotto-menu della Caffetteria */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: rgba(14,13,12,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--oro-linea);
}
.subnav__inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 16px; width: min(1180px, 100%); margin-inline: auto; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; padding: .5em 1em; border-radius: 999px; background: var(--nero-3); color: #fff; box-shadow: inset 0 0 0 1px var(--oro-linea); font-weight: 600; font-size: .9rem; text-decoration: none; }
.subnav a:hover, .subnav a.is-active { background: var(--oro); color: var(--nero); }

.cta-band { text-align: center; }
.cta-band .title { margin-bottom: .25em; }
.cta-band p { max-width: 56ch; margin: 0 auto 22px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-row .btn { flex: 0 0 auto; }

@media (max-width: 1020px) {
  .biz-grid, .sedi { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .sede { grid-template-columns: 1fr; }
}
.hero--solo { grid-template-columns: 1fr !important; }
.hero__address .status { margin-left: 4px; }
.cat-photos--duo { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
.cat-photos--duo figure { aspect-ratio: 4 / 3; }
.allergeni { text-align: center; margin: 28px auto 0; font-size: .9rem; color: var(--testo-soft); }
@media (max-width: 860px) { .cat-photos--duo { grid-template-columns: 1fr; } }
/* i nomi lunghi (es. @dolceamarofoodedrinkpastrychef) vanno a capo invece di allargare le schede */
.contact-grid > *, .sedi > *, .sede > * { min-width: 0; }
.social a, .footer__social a { min-width: 0; }
.social a span, .footer__social a span, .sede__list span, .sede__list a { overflow-wrap: anywhere; }

/* ---------- La mia storia (Home) ---------- */
.storia__head { text-align: center; margin-bottom: clamp(36px, 6vw, 64px); }
.storia__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; margin-bottom: clamp(48px, 8vw, 96px); }
.storia__intro--solo { grid-template-columns: 1fr; }
.storia__main { margin: 0; border-radius: 220px 220px 18px 18px; overflow: hidden; border: 1px solid var(--oro-linea); }
.storia__main img, .storia__foto img { width: 100%; height: auto; display: block; }
.storia__quote { margin: 0; text-align: center; }
.storia__quote p { font-family: var(--font-lux); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.15; color: var(--oro-chiaro); margin: 0 0 .5em; }
.storia__quote footer { font-weight: 600; font-size: .74rem; letter-spacing: .34em; text-transform: uppercase; color: var(--oro); }
.storia__quote--sm p { font-size: clamp(1.5rem, 4.6vw, 2.2rem); }
.storia__cap { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.storia__cap--foto { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.storia__cap--sx .storia__foto { order: -1; }
.storia__cap h3 { font-family: var(--font-lux); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--oro); margin: 0 0 .4em; }
.storia__foto { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--oro-linea); }
.con-noi { font-family: var(--font-lux); font-style: italic; font-weight: 600; font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1.05; color: var(--oro-chiaro); margin: .3em 0 0; }
.con-noi--sm { font-size: clamp(1.6rem, 5vw, 2.3rem); }
.con-noi--hero { margin: .15em 0 .1em; }
.storia__musica { max-width: 760px; margin: 0 auto; text-align: center; }
.storia__player { width: 100%; height: 152px; border: 0; border-radius: 12px; display: grid; }
.storia__musica figcaption { margin-top: 12px; font-family: var(--font-lux); font-style: italic; font-size: 1.25rem; color: var(--oro-chiaro); }
.storia-link { text-align: center; max-width: 760px; margin: clamp(56px, 9vw, 100px) auto 0; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--oro-linea); border-radius: 22px; }
.storia-link .storia__quote { margin-bottom: 24px; }

/* ---------- Banner de L'Antico Podere: sempre intero ---------- */
.banner { background: var(--nero); padding-top: var(--nav-h); }
.banner__img, .banner__img img { display: block; width: 100%; height: auto; }
.banner + .hero { padding-top: clamp(40px, 6vw, 72px); }
/* Home: prima cosa sotto il menu, intera (circa 2:1), mai ritagliata */
.banner__frame { max-width: 1600px; margin-inline: auto; }
.banner__cta { display: none; }
@media (min-width: 861px) {
  .banner--home { padding: calc(var(--nav-h) + 20px) 20px 8px; }
  .banner--home .banner__frame { border: 1px solid rgba(212,190,119,.55); border-radius: 6px; overflow: hidden;
    box-shadow: 0 0 0 6px var(--nero), 0 0 0 7px rgba(212,190,119,.18), 0 24px 60px -20px rgba(0,0,0,.9); }
}
@media (max-width: 860px) {
  .banner__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px 4px; }
  .banner__cta .btn { justify-content: center; }
}
.banner__info { width: min(1180px, 100%); margin-inline: auto; padding: 18px 16px 26px; display: grid; gap: 8px; color: var(--testo); font-size: .95rem; text-align: center; }
.banner__info p { margin: 0; display: flex; gap: 8px; justify-content: center; align-items: flex-start; }
.banner__info .i { color: var(--oro); margin-top: .2em; flex: 0 0 auto; }
.banner__info a { color: inherit; font-weight: 600; }

/* ---------- Catering d'autore (Caffetteria): immagine intera ---------- */
.dautore { text-align: center; }
.dautore__foto { margin: 0 auto 28px; max-width: 820px; border-radius: 18px; overflow: hidden; border: 1px solid var(--oro-linea); }
.dautore__img, .dautore__img img { display: block; width: 100%; height: auto; }

/* due numeri con l'etichetta (Chef Nino / Chef Patty) */
.big-phone small { display: block; font-size: .42em; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); margin-bottom: .1em; }

@media (max-width: 860px) {
  .storia__intro, .storia__cap--foto { grid-template-columns: 1fr; }
  .storia__cap--sx .storia__foto { order: 0; }
}

/* pulsanti oro dentro le sezioni scure: il colore dei link non deve coprire il testo */
.eventi a.btn--gold { color: var(--nero); }

/* ==========================================================
   RIFINITURA (24-10): spaziature, gerarchia, dettagli, comparsa
   Solo stile: testi, foto, logo, colori e struttura restano gli stessi.
   Idea: il sito come un invito di nozze / un libro di memorie —
   avorio per i titoli, cornici d'oro doppie, capilettera nella storia.
   ========================================================== */
:root {
  --avorio-testo: #F3ECDD;            /* avorio caldo al posto del bianco puro nei titoli */
  --oro-filo: rgba(212,190,119,.38);  /* filo d'oro delle cornici */
  --ease-lux: cubic-bezier(.22, .61, .18, 1);
}

/* ---------- Gerarchia dei titoli ---------- */
h1, h2, h3 { color: var(--avorio-testo); text-wrap: balance; }
p, li { text-wrap: pretty; }
.title, .hero__title, .hero--dark .hero__title, .lux-title, .lux-name, .nome-sub, .lux-sub, .lux-list li,
.biz-card h3, .sede__card h3, .cat__title, .dessert h3, .day strong, .big-phone a, .big-phone--lux a, .footer__by {
  color: var(--avorio-testo);
}
.lux-title, .lux-name, .storia__cap h3, .con-noi, .chef__name { font-kerning: normal; font-variant-ligatures: common-ligatures discretionary-ligatures; }
.lux-eyebrow { letter-spacing: .28em; }
.eyebrow { letter-spacing: .2em; }
.section__head .title, .lux-head .lux-title { margin-bottom: .3em; }

/* ---------- Spaziature ---------- */
.section { padding: clamp(84px, 11vw, 140px) 0 clamp(64px, 8vw, 112px); }
.storia__head { margin-bottom: clamp(32px, 5vw, 56px); }
.storia__cap { margin-bottom: clamp(48px, 7vw, 88px); }
.storia__cap:last-of-type { margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- La mia storia: pagine di un libro di memorie ---------- */
.storia__intro--solo { justify-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.storia__intro--solo .storia__main { width: min(100%, 520px); }
.storia__main, .storia__foto, .dautore__foto { outline: 1px solid var(--oro-filo); outline-offset: 7px; }
.storia__testo p { font-size: 1.0625rem; line-height: 1.8; max-width: 64ch; }
/* capolettera d'oro all'inizio di ogni capitolo */
.storia__testo h3 + p::first-letter {
  float: left; font-family: var(--font-lux); font-weight: 600; font-style: normal;
  font-size: 3.55em; line-height: .78; margin: .1em .05em 0 0; color: var(--oro);
}
/* "Con noi puoi." resta grande anche dentro il testo della storia */
.storia__testo .con-noi { font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1.05; max-width: none; }
.storia__testo .con-noi--sm { font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.15; margin-bottom: .6em; }
/* filo d'oro tra un capitolo e l'altro */
.storia__cap + .storia__cap::before {
  content: ""; grid-column: 1 / -1; display: block; width: 72px; height: 1px; margin: 0 auto clamp(44px, 6vw, 72px);
  background: linear-gradient(90deg, transparent, var(--oro), transparent);
}
.storia__cap h3 { margin-bottom: .35em; }
.con-noi { margin-top: .45em; }
/* video YouTube incorniciato come le foto */
.storia__musica { margin-top: clamp(16px, 3vw, 32px); }
.storia__player { box-shadow: 0 0 0 1px var(--oro-filo), 0 22px 44px -26px #000; }
/* video YouTube: 16:9, sempre largo quanto la colonna (anche su telefono) */
.storia__video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.storia__video .storia__player { position: absolute; inset: 0; width: 100%; height: 100%; }
.storia__musica figcaption { margin-top: 16px; }

/* ---------- Dettagli eleganti ---------- */
.biz-card { border-color: rgba(212,190,119,.2); }
.biz-card__body { gap: 8px; }
.biz-card h3 { letter-spacing: -.01em; }
.gallery__item, .cat-photos figure { outline: 1px solid rgba(212,190,119,.14); outline-offset: -1px; }
.dautore__foto { margin-bottom: 36px; }
.footer__inner { gap: 26px; }

/* ---------- Telefono ---------- */
@media (max-width: 640px) {
  .section { padding: 84px 0 60px; }
  .hero--page { padding-bottom: 80px; }
  .btn { min-height: 48px; }
  .biz-card__body { padding: 20px 20px 22px; }
  .storia__testo p { font-size: 1.04rem; line-height: 1.78; }
  .storia__main, .storia__foto, .dautore__foto { outline-offset: 5px; }
  .storia__cap--foto { gap: 32px; }
  .contact-card, .sede__card { padding: 24px 20px; }
}


/* ---------- Rifinitura, seconda passata (24-10) ---------- */
@media (max-width: 640px) {
  /* Caffetteria: la giornata (mattino → sera) come una linea del tempo compatta */
  .day { position: relative; grid-template-columns: 1fr; gap: 12px; }
  .day::before {
    content: ""; position: absolute; left: 45px; top: 36px; bottom: 36px; width: 1px;
    background: linear-gradient(var(--oro-filo), var(--oro) 50%, var(--oro-filo));
  }
  .day li {
    display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 1px; align-items: center;
    padding: 16px 18px; box-shadow: var(--shadow-sm);
  }
  .day li:hover { transform: none; }
  .day__ill { grid-row: 1 / span 3; width: 52px; height: 52px; margin: 0; position: relative; }
  .day li > span:last-child { line-height: 1.45; }

  /* footer: le tre sedi tutte della stessa larghezza */
  .footer__sedi { flex-direction: column; align-items: stretch; width: min(100%, 340px); }
  .footer__sedi a { text-align: center; }
}

/* ==========================================================
   SPAZI COMPATTI (24-10, richiesta del proprietario)
   Niente zone vuote: al massimo ~80 px su computer e ~48 px su telefono.
   Niente animazioni di comparsa: restano solo gli effetti al passaggio del mouse.
   ========================================================== */
/* decorazioni senza contenuto */
.drip, .blob, .scroll-cue, .hero__deco, .about__sticker { display: none !important; }
.intro, .fl { animation: none !important; }

/* sezioni: metà dello spazio di prima; un filo d'oro le separa al posto del vuoto */
.section { padding: clamp(24px, 4vw, 40px) 0; }
.section + .section, .section + .subnav + .section, .banner + .section { border-top: 1px solid var(--oro-linea); }
.hero { min-height: 0; padding: calc(var(--nav-h) + 24px) 16px 40px; }
.hero--page { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 40px; }
.banner + .hero { padding-top: 24px; }
.hero__photo { margin-top: 24px; }
.hero__photo figcaption { bottom: -14px; }

/* spazi interni */
.section__head, .lux-head { margin-bottom: clamp(20px, 3vw, 32px); }
.storia__head { margin-bottom: clamp(20px, 3vw, 32px); }
.storia__intro, .storia__intro--solo { margin-bottom: clamp(24px, 4vw, 40px); }
.storia__cap, .storia__cap:last-of-type { margin-bottom: clamp(24px, 4vw, 40px); }
.storia__cap + .storia__cap::before { margin-bottom: clamp(24px, 4vw, 40px); }
.storia__musica { margin-top: 0; }
.storia-link { margin-top: clamp(24px, 4vw, 40px); }
.gallery, .day { margin-top: clamp(24px, 4vw, 40px); }
.cat-photos { margin-bottom: clamp(24px, 4vw, 40px); }
.podere { margin-top: clamp(24px, 4vw, 40px); }
.ev-contacts { margin: 20px 0 24px; }
.orn { margin-top: 14px; }
.eventi .orn + .btn { margin-top: 18px; }
.dautore__foto { margin-bottom: 24px; }
.allergeni { margin-top: 20px; }
.menu__tools { margin-bottom: 6px; }
.cat { margin-bottom: 20px; }
.footer { padding: 40px 0 40px; }
.footer__inner { gap: 20px; }

@media (max-width: 640px) {
  .section { padding: 24px 0; }
  .hero, .hero--page { padding-bottom: 28px; }
  .footer { padding: 32px 0 88px; }  /* in fondo resta posto per il pulsante WhatsApp fisso */
  .storia__cap--foto { gap: 20px; }
  .desserts { padding-bottom: 16px; }
}
/* filo d'oro tra i capitoli disegnato come sfondo: non crea righe vuote nella griglia */
.storia__cap + .storia__cap::before { content: none; }
.storia__cap + .storia__cap {
  padding-top: clamp(24px, 4vw, 36px);
  background: linear-gradient(90deg, transparent, var(--oro), transparent) top center / 72px 1px no-repeat;
}
@media (max-width: 640px) {
  .footer { padding-bottom: 40px; }
  /* l'ultima riga resta lontana dal pulsante WhatsApp fisso in basso a destra */
  .footer__copy { padding-inline: 84px; }
}
/* ultimi ritocchi agli spazi (misurati con vuoti.py) */
.section { padding: clamp(20px, 3.2vw, 32px) 0; }
.footer { padding-top: 24px; }
.storia__cap, .storia__cap:last-of-type { margin-bottom: 24px; }
.storia__cap + .storia__cap { padding-top: 28px; }
.storia__intro, .storia__intro--solo { margin-bottom: 28px; }
@media (max-width: 640px) {
  .section { padding: 20px 0; }
  .footer { padding-top: 16px; }
  .hero, .hero--page { padding-bottom: 20px; }
}
/* mappe: finché Google non le disegna si vede una griglia d'oro, mai un riquadro nero vuoto */
.sede__map, .map {
  background-color: var(--nero-3);
  background-image: linear-gradient(rgba(212,190,119,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(212,190,119,.14) 1px, transparent 1px);
  background-size: 28px 28px;
}
.podere:first-child { margin-top: 0; }
.hero--page { padding-bottom: 28px; }
.banner__info { padding-bottom: 12px; }
@media (max-width: 640px) { .hero--page { padding-bottom: 20px; } }
/* il capolettera resta dentro il suo paragrafo, anche se il paragrafo è di una riga sola (es. "Oggi") */
.storia__testo h3 + p { display: flow-root; }

/* ---------- Musica di sottofondo (pulsante ♪ e player nascosto, js/main.js) ---------- */
.music-frame { position: fixed; left: 0; bottom: 0; width: 200px; height: 200px; border: 0; opacity: 0; pointer-events: none; z-index: -1; }
.music-btn {
  position: fixed; right: 20px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 91;
  width: 44px; height: 44px; border-radius: 50%; padding: 0;
  display: grid; place-items: center;
  background: var(--nero-2); color: var(--oro); border: 1px solid var(--oro);
  font: 600 1.3rem/1 "Segoe UI Symbol", system-ui, sans-serif; cursor: pointer;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.8);
  transition: background .2s, color .2s;
}
.music-btn:hover, .music-btn:focus-visible { background: var(--oro); color: var(--nero); }
.music-btn[hidden] { display: none; }
.music-btn.is-off { color: var(--testo-soft); border-color: var(--testo-soft); }
.music-btn.is-off::after { content: ""; position: absolute; width: 26px; height: 2px; background: currentColor; transform: rotate(-45deg); }
@media (max-width: 820px) { .music-btn { right: 28px; bottom: calc(148px + env(safe-area-inset-bottom)); } }
/* online Netlify aggiunge l'etichetta "Powered by Netlify" in basso a destra (alta circa 60 px):
   i pulsanti fissi stanno sopra, altrimenti non si possono toccare */
.wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); }

/* ---------- Banner cookie, link nel footer, video senza consenso, pagina privacy (25-10) ---------- */
.cookie {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 95;
  width: min(440px, calc(100% - 40px)); padding: 18px 20px;
  background: var(--nero-2); color: var(--testo); font-size: .95rem; line-height: 1.5;
  border: 1px solid var(--oro); border-top: 4px solid var(--oro); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; }
.cookie a { color: var(--oro); text-decoration: underline; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Accetta e Rifiuta: stesso aspetto, stessa importanza */
.cookie__btn {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--oro-chiaro); border: 1px solid var(--oro);
  font: 600 .95rem var(--font); letter-spacing: .02em;
  transition: background .2s, color .2s;
}
.cookie__btn:hover, .cookie__btn:focus-visible { background: var(--oro); color: var(--nero); }
@media (max-width: 820px) { .cookie { left: 12px; width: calc(100% - 24px); bottom: calc(72px + env(safe-area-inset-bottom)); } }

.footer__links { font-size: .8rem; margin: 0; color: var(--testo-soft); }
.footer__links a, .footer__links button { color: var(--oro); background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

.yt-off { display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center; background: var(--nero-3); color: var(--testo-soft); }
.yt-off p { margin: 0; }

.privacy__testo { max-width: 760px; }
.privacy__testo h1 { margin-bottom: 8px; }
.privacy__testo h2 { font-family: var(--font-lux); font-style: italic; font-weight: 600; color: var(--oro); font-size: 1.7rem; margin: 26px 0 8px; }
.privacy__testo p { margin: 0 0 12px; }
.privacy__testo p:last-child { margin-bottom: 0; }
.privacy__testo a { color: var(--oro); text-decoration: underline; }

/* ---------- Mappe: riquadro con l'indirizzo finché la mappa di Google non viene caricata (25-10) ---------- */
.mappa-off {
  height: 100%; min-height: inherit; padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: rgba(14,13,12,.78); color: var(--testo);
}
.mappa-off > .i { width: 26px; height: 26px; color: var(--oro); }
.mappa-off__ind { margin: 0 0 4px; font-weight: 500; line-height: 1.4; color: #F3ECDD; }
.mappa-off__link { font-size: .85rem; color: var(--oro); text-decoration: underline; }
.mappa-off__nota { margin: 0; font-size: .75rem; color: var(--testo-soft); }

@media (max-width: 820px) { .sede__map:has(.mappa-off) { min-height: 0; } .mappa-off { padding: 14px 16px 4px; } }
/* in fondo al footer, su telefono, spazio per scorrere: tutto il testo resta sopra WhatsApp, ♪ e l'etichetta "Powered by Netlify" */
@media (max-width: 820px) { .footer { padding-bottom: calc(160px + env(safe-area-inset-bottom)); } }
