/* ==========================================================================
   Pizzeria da Andrea Paolella — foglio di stile unico (sito + menu)
   Mobile-first. Animazioni solo con prefers-reduced-motion: no-preference.
   Indice: 1 font · 2 variabili · 3 base · 4 utilità e pulsanti · 5 header
   6 hero · 7 sezioni home · 8 footer e pulsanti flottanti · 9 pagine interne
   10 contatti e modulo · 11 galleria e lightbox · 12 menu · 13 animazioni
   ========================================================================== */

/* 1. Font (SIL Open Font License 1.1, ospitati sul sito) */
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-garamond-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-garamond-latin-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Variabili */
:root {
  --ink: #1c1918;
  --ink-2: #252120;
  --ink-3: #322b29;
  --anthracite: #231f20;
  --cream: #faf6ee;
  --paper: #f3ebdd;
  --paper-2: #e9dcc6;
  --white: #ffffff;
  --gold: #a78b23;
  --gold-light: #d8bd63;
  --gold-dark: #6e5c17;
  --sea: #45c1bd;
  --sea-dark: #17706d;
  --sea-tint: #e3f4f2;
  --sand: #c28a58;
  --sand-dark: #8a5a2e;
  --text: #231f20;
  --muted: #5f5856;
  --on-dark: #faf6ee;
  --on-dark-muted: rgba(250, 246, 238, 0.74);
  --line: rgba(35, 31, 32, 0.14);
  --line-dark: rgba(250, 246, 238, 0.16);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --radius-s: 12px;
  --shadow: 0 30px 60px -30px rgba(28, 25, 24, 0.55);
  --shadow-s: 0 12px 30px -16px rgba(28, 25, 24, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
  --container: 1240px;
  --pad: clamp(18px, 5vw, 48px);
  --section: clamp(72px, 11vw, 140px);
}

/* 3. Base */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p, ul, ol, dl, dd, figure, blockquote, h1, h2, h3, h4 { margin: 0; }
ul, ol { list-style: none; padding: 0; }
.prose ul, .form-summary ul { list-style: disc; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.35rem, 6.2vw, 4.4rem); }
h3 { font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.1; }
em { font-style: italic; }
h1 em, h2 em, .accent { color: var(--gold-dark); font-weight: 500; }
.dark h1 em, .dark h2 em, .hero h1 em { color: var(--gold-light); }
p { text-wrap: pretty; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }
[hidden] { display: none !important; }

/* 4. Utilità e pulsanti */
.container { width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 12px 18px; border-radius: 999px; background: var(--cream); color: var(--ink);
  font-weight: 700; text-decoration: none; transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }
.dark { background: var(--ink); color: var(--on-dark); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }
.section { position: relative; padding-block: var(--section); }
/* con scroll-padding (header + 16px) la sezione partirebbe sotto l'header e il titolo 1-2 righe più in basso:
   il margine negativo compensa lo spazio interno della sezione */
.section[id] { scroll-margin-top: calc(8px - var(--section)); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-lead { margin-top: 20px; color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.center .section-lead { margin-inline: auto; }
.dark .section-lead { color: var(--on-dark-muted); }

.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 0.9rem; font-weight: 750; letter-spacing: 0.02em; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { --btn-bg: var(--gold-light); --btn-fg: var(--ink); --btn-bd: var(--gold-light); }
.btn-gold:hover { --btn-bg: #e6cf80; --btn-bd: #e6cf80; }
.btn-sea { --btn-bg: var(--sea); --btn-fg: var(--ink); --btn-bd: var(--sea); }
.btn-sea:hover { --btn-bg: #66d0cc; --btn-bd: #66d0cc; }
.btn-dark:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(35, 31, 32, 0.35); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(250, 246, 238, 0.45); }
.btn-light:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.btn-wa { --btn-bg: #1f9d55; --btn-fg: #fff; --btn-bd: #1f9d55; }
.btn-wa:hover { --btn-bg: #17834a; --btn-bd: #17834a; }
.btn-small { min-height: 44px; padding: 10px 16px; font-size: 0.84rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.icon { width: 20px; height: 20px; flex: none; }
.ext::after { content: " ↗"; font-weight: 400; }

/* fascia geometrica (grafica del menu) */
.pattern-band {
  height: clamp(36px, 6vw, 64px);
  background: url("../img/pattern.svg") repeat-x 0 50% / auto 100%;
}

/* 5. Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s, height 0.4s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 17, 16, 0.62), rgba(20, 17, 16, 0));
  transition: opacity 0.4s;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(250, 246, 238, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(28, 25, 24, 0.5);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-badge {
  display: grid; place-items: center;
  width: 74px; height: 54px; padding: 5px 7px;
  border-radius: 12px; background: var(--cream);
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.6);
}
.brand-badge img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.brand-text small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; }
.nav-toggle {
  position: relative; display: inline-grid; place-items: center;
  width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%;
  background: transparent; color: inherit;
}
.burger, .burger::before, .burger::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav ul { display: flex; flex-direction: column; gap: 4px; }
.main-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-weight: 700; letter-spacing: 0.01em;
}
/* menu mobile a schermo intero, trasparente e sfocato */
.js .main-nav {
  position: fixed; inset: 0; z-index: -1;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: calc(var(--header-h) + 24px) var(--pad) 40px;
  background: rgba(24, 21, 20, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--cream);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.js .main-nav.is-open { opacity: 1; visibility: visible; }
.js .main-nav a:not(.btn) { font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 600; line-height: 1.1; }
.js .main-nav.is-open li { animation: nav-in 0.6s var(--ease) both; }
.js .main-nav.is-open li:nth-child(2) { animation-delay: 0.05s; }
.js .main-nav.is-open li:nth-child(3) { animation-delay: 0.1s; }
.js .main-nav.is-open li:nth-child(4) { animation-delay: 0.15s; }
.js .main-nav.is-open li:nth-child(5) { animation-delay: 0.2s; }
.js .main-nav.is-open li:nth-child(6) { animation-delay: 0.25s; }
@keyframes nav-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .site-header.nav-open { color: var(--cream); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.js .site-header.nav-open::before { opacity: 0; }
.no-scroll { overflow: hidden; }
/* senza JavaScript il menu resta visibile sotto il logo */
html:not(.js) .site-header { position: absolute; height: auto; padding: 10px 0; }
html:not(.js) .header-inner { flex-wrap: wrap; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .main-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .brand-badge { width: 84px; height: 60px; }
  .nav-toggle { display: none; }
  .js .main-nav, .main-nav {
    position: static; z-index: auto; display: flex; flex-direction: row; align-items: center; gap: 26px;
    padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    color: inherit; opacity: 1; visibility: visible;
  }
  .main-nav ul, html:not(.js) .main-nav ul { flex-direction: row; gap: 2px; }
  .js .main-nav a:not(.btn), .main-nav a:not(.btn) {
    position: relative; padding: 0 12px; font-family: var(--sans); font-size: 0.88rem; font-weight: 700;
  }
  .main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
  }
  .main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .js .main-nav.is-open li { animation: none; }
}
@media (min-width: 1240px) { .brand-text { display: block; } }
/* smartphone e tablet: logo al centro, su un velo crema trasparente */
@media (max-width: 1099px) {
  .js .header-inner { position: relative; justify-content: flex-end; }
  .js .header-inner > .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .js .header-inner .brand-badge {
    background: rgba(250, 246, 238, 0.55);
    -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
    box-shadow: 0 0 0 1px rgba(250, 246, 238, 0.35);
  }
  .js .site-header.nav-open .brand { z-index: 1; }
}

/* 6. Hero della home */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 72px;
  background: var(--ink); color: var(--on-dark);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.glow-1 { width: 60vmax; height: 60vmax; right: -18vmax; bottom: -26vmax; background: radial-gradient(circle, #b2551d 0%, rgba(178, 85, 29, 0) 70%); }
.glow-2 { width: 46vmax; height: 46vmax; left: -20vmax; top: -16vmax; background: radial-gradient(circle, rgba(69, 193, 189, 0.35) 0%, rgba(69, 193, 189, 0) 70%); }
.hero-grain {
  position: absolute; inset: 0; opacity: 0.08; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
}
.embers { position: absolute; inset: 0; }
.embers i {
  position: absolute; bottom: -10px; left: var(--x, 50%);
  width: var(--s, 4px); height: var(--s, 4px); border-radius: 50%;
  background: radial-gradient(circle, #ffd28a 0%, #ff8a3d 55%, rgba(255, 120, 40, 0) 70%);
  opacity: 0;
}
/* foto a tutto schermo dell'hero: orizzontale (margherita) su desktop, verticale (sala) su smartphone */
.hero-media { position: absolute; inset: -8% 0; overflow: hidden; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 50%; }
@media (orientation: landscape), (min-width: 1101px) {
  /* la pizza va a destra, il testo resta sul legno a sinistra */
  .hero-media img { transform: scale(1.28) translateX(12%); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 17, 16, 0.92) 0%, rgba(20, 17, 16, 0.8) 34%, rgba(20, 17, 16, 0.3) 66%, rgba(20, 17, 16, 0.12) 100%),
    linear-gradient(180deg, rgba(20, 17, 16, 0.55) 0%, rgba(20, 17, 16, 0) 22%, rgba(20, 17, 16, 0) 72%, rgba(20, 17, 16, 0.6) 100%);
}
@media (orientation: portrait) and (max-width: 1100px) {
  .hero-shade { background: linear-gradient(180deg, rgba(20, 17, 16, 0.72) 0%, rgba(20, 17, 16, 0.58) 45%, rgba(20, 17, 16, 0.88) 100%); }
}
.hero .glow-1 { opacity: 0.35; }
.hero-copy { max-width: 720px; }
@media (min-width: 1100px) { .hero-copy { max-width: 1000px; } .hero-lead { max-width: 640px; } .hero .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1000px; } }
/* senza la foto di Andrea l'hero ha una sola colonna */
.hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
.embers i:nth-child(1) { --x: 58%; --s: 5px; --d: 0s; --t: 9s; }
.embers i:nth-child(2) { --x: 66%; --s: 3px; --d: 1.6s; --t: 11s; }
.embers i:nth-child(3) { --x: 72%; --s: 6px; --d: 3.1s; --t: 10s; }
.embers i:nth-child(4) { --x: 80%; --s: 4px; --d: 0.8s; --t: 12s; }
.embers i:nth-child(5) { --x: 88%; --s: 3px; --d: 4.4s; --t: 9.5s; }
.embers i:nth-child(6) { --x: 62%; --s: 4px; --d: 5.2s; --t: 13s; }
.embers i:nth-child(7) { --x: 92%; --s: 5px; --d: 2.4s; --t: 11.5s; }
.embers i:nth-child(8) { --x: 76%; --s: 3px; --d: 6.3s; --t: 10.5s; }
.embers i:nth-child(9) { --x: 54%; --s: 3px; --d: 7.1s; --t: 12.5s; }
.embers i:nth-child(10) { --x: 84%; --s: 6px; --d: 8.2s; --t: 9s; }
.embers i:nth-child(11) { --x: 40%; --s: 3px; --d: 3.8s; --t: 14s; }
.embers i:nth-child(12) { --x: 70%; --s: 4px; --d: 9.4s; --t: 11s; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.nw { white-space: nowrap; }
.hero-title {
  font-size: clamp(3rem, 12.5vw, 6.6rem); line-height: 0.92; letter-spacing: -0.02em;
  font-weight: 600; margin-bottom: 26px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line > * { display: inline-block; }
.hero-title .small { font-size: 0.5em; font-weight: 500; letter-spacing: 0; font-style: italic; color: var(--on-dark-muted); }
.hero-lead { max-width: 54ch; color: var(--on-dark-muted); font-size: clamp(1.02rem, 1.6vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-top: 40px; max-width: 640px;
}
.hero-facts li {
  padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 16px;
  background: rgba(250, 246, 238, 0.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.86rem; line-height: 1.35; color: var(--on-dark-muted);
}
.hero-facts strong { display: block; color: var(--cream); font-family: var(--serif); font-size: clamp(1.12rem, 4.4vw, 1.5rem); font-weight: 600; line-height: 1.1; margin-bottom: 4px; }
.hero-facts li:first-child strong { white-space: nowrap; }
.hero-visual { position: relative; width: min(100%, 460px); margin-inline: auto; padding: 0 8% 14%; }
.hero-arch {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4;
  border-radius: 999px 999px 26px 26px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-arch::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(250, 246, 238, 0.18);
  background: linear-gradient(180deg, rgba(28, 25, 24, 0) 55%, rgba(28, 25, 24, 0.45));
}
.arch-outline {
  position: absolute; inset: -16px 2% 8% 14%; z-index: -1;
  border: 1px solid rgba(216, 189, 99, 0.55); border-radius: 999px 999px 26px 26px;
}
.hero-pizza {
  position: absolute; left: -4%; bottom: 0; width: 58%;
  border-radius: 18px; overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.85);
  rotate: -5deg;
}
.hero-pizza img { width: 100%; height: auto; }
.hero-seal { position: absolute; top: 6%; right: -2%; width: 31%; aspect-ratio: 1; }
.hero-seal svg { width: 100%; height: 100%; overflow: visible; }
.hero-seal .seal-bg { fill: var(--cream); }
.hero-seal text { font-family: var(--sans); font-size: 10.4px; font-weight: 800; letter-spacing: 2.2px; fill: var(--ink); text-transform: uppercase; }
.seal-ring { transform-origin: 60px 60px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  display: grid; place-items: center; width: 44px; height: 64px;
}
.scroll-cue::before {
  content: ""; width: 22px; height: 36px; border: 1.5px solid rgba(250, 246, 238, 0.6); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; top: 22px; width: 3px; height: 7px; border-radius: 3px; background: var(--gold-light);
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 90px); }
  .hero-visual { margin-inline: 0 auto; }
}
@media (max-width: 899px) {
  .hero-visual { width: min(86%, 400px); }
  .scroll-cue { display: none; }
}

/* fascia scorrevole */
.marquee {
  position: relative; overflow: hidden;
  padding: 18px 0; background: var(--gold-light); color: var(--ink);
  border-block: 1px solid rgba(35, 31, 32, 0.25);
}
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; flex: none; }
.marquee li {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; font-style: italic; white-space: nowrap;
}
.marquee li::after { content: "✦"; font-style: normal; font-size: 0.7em; color: var(--sand-dark); }

/* 7. Sezioni della home */
/* --- sedi --- */
.sedi { background: var(--cream); }
.sedi::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 60%;
  background: radial-gradient(70% 70% at 100% 0%, rgba(69, 193, 189, 0.12), transparent 70%),
              radial-gradient(60% 60% at 0% 0%, rgba(167, 139, 35, 0.12), transparent 70%);
  pointer-events: none;
}
.sedi-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .sedi-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.sede-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.sede-card:hover { transform: translateY(-6px); }
.sede-summer { background: linear-gradient(180deg, var(--white), var(--sea-tint)); }
.sede-media { position: relative; aspect-ratio: 16 / 11; }
/* solo la foto è ritagliata: il logo può sporgere sotto la foto senza essere tagliato */
.sede-photo { position: absolute; inset: 0; overflow: hidden; }
.sede-photo > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.sede-card:hover .sede-photo > img { transform: scale(1.1); }
.sede-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 16, 0.35), rgba(20, 17, 16, 0) 40%, rgba(20, 17, 16, 0.2)); }
.sede-status {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(250, 246, 238, 0.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em;
}
.sede-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.sede-status[data-state="open"] .dot { background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.2); }
.sede-status[data-state="closed"] .dot { background: #b04a2e; }
.sede-logo {
  position: absolute; left: 20px; bottom: -42px; z-index: 2;
  width: 138px; height: 104px; padding: 10px 12px;
  border-radius: 18px; background: var(--cream);
  box-shadow: 0 18px 40px -18px rgba(28, 25, 24, 0.6);
}
.sede-summer .sede-logo { width: 120px; height: 118px; }
.sede-logo img { width: 100%; height: 100%; object-fit: contain; }
.sede-body { display: flex; flex-direction: column; gap: 18px; padding: 62px clamp(20px, 4vw, 34px) 30px; flex: 1; }
.sede-kicker { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); }
.sede-summer .sede-kicker { color: var(--sea-dark); }
.sede-body h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.sede-body address { font-style: normal; }
.sede-body address a { font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 480px) { .sede-body address { font-size: 0.93rem; letter-spacing: -0.005em; } }
.sede-body address a:hover { border-color: currentColor; }
.sede-info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.sede-info > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sede-info dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.sede-info dd { font-weight: 650; }
.sede-info .h-row { display: block; }
.sede-info .h-row b { font-weight: 800; }
.sede-info dd a { display: inline-flex; min-height: 32px; align-items: center; margin-right: 14px; }
.sede-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.sede-langs { font-size: 0.86rem; color: var(--muted); }
.sede-langs a { display: inline-flex; min-height: 32px; align-items: center; padding: 0 2px; font-weight: 700; color: var(--text); }
.sede-social { display: flex; flex-wrap: wrap; gap: 8px; }
.sede-social a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.84rem; font-weight: 700;
  transition: background-color 0.25s, border-color 0.25s;
}
.sede-social a:hover { background: var(--paper); border-color: rgba(35, 31, 32, 0.3); }
.sede-social svg { width: 18px; height: 18px; }
.sede-note {
  padding: 14px 16px; border-radius: 14px; background: var(--paper);
  font-size: 0.9rem; color: var(--muted);
}
.sede-summer .sede-note { background: rgba(69, 193, 189, 0.14); }

/* --- sezioni con foto di sfondo --- */
.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.has-bg > .sec-bg { position: absolute; inset: -12% 0; z-index: -2; }
.has-bg > .sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 17, 16, 0.82); }
.specialita.has-bg::before { display: none; }
.specialita { padding-bottom: clamp(48px, 7vw, 96px); }
.specialita.has-bg::after { background: linear-gradient(180deg, rgba(20, 17, 16, 0.9), rgba(20, 17, 16, 0.78) 50%, rgba(20, 17, 16, 0.9)); }
.specialita.has-bg .spec-card { background: rgba(28, 25, 24, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reviews.has-bg { background: var(--ink); }
/* la scritta «da Andrea Paolella»: su desktop un ritaglio largo che la contiene tutta */
.sec-bg-firma picture { display: block; width: 100%; height: 100%; }
.sec-bg-firma img { object-position: 62% 22%; }
@media (min-width: 900px) {
  .reviews.has-bg > .sec-bg-firma { inset: -4% 0; }
  .sec-bg-firma img { object-position: 50% 50%; }
  .reviews.has-bg::after { background: linear-gradient(100deg, rgba(20, 17, 16, 0.9) 0%, rgba(20, 17, 16, 0.7) 45%, rgba(20, 17, 16, 0.4) 100%); }
}
.reviews.has-bg::after { background: linear-gradient(100deg, rgba(20, 17, 16, 0.92) 0%, rgba(20, 17, 16, 0.75) 55%, rgba(20, 17, 16, 0.55) 100%); }

/* --- Andrea --- */
.andrea { background: var(--paper); overflow: hidden; }
.andrea-grid { display: grid; gap: 64px; align-items: center; }
.andrea-visual { position: relative; padding: 0 12% 22% 0; max-width: 560px; }
.andrea-main { border-radius: 260px 260px 22px 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.andrea-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.andrea-memory {
  position: absolute; right: 0; bottom: 0; width: 56%;
  padding: 10px 10px 0; background: #fffdf8; border-radius: 6px;
  box-shadow: 0 30px 60px -28px rgba(28, 25, 24, 0.7);
  rotate: 3deg;
}
.andrea-memory img { border-radius: 2px; }
.andrea-memory figcaption { padding: 8px 2px 10px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; text-align: center; color: var(--muted); }
.andrea-copy p + p { margin-top: 16px; }
.andrea-copy .lead { font-size: 1.16rem; color: var(--text); }
.andrea-copy p { color: var(--muted); }
.quote {
  position: relative; margin: 34px 0 30px; padding: 26px 0 0 0;
  border-top: 1px solid rgba(35, 31, 32, 0.25);
}
.quote p { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-style: italic; font-weight: 500; line-height: 1.15; color: var(--sand-dark) !important; }
.quote footer { margin-top: 12px; font-size: 0.84rem; color: var(--muted); }
@media (min-width: 900px) {
  .andrea-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 110px); }
}

/* --- specialità --- */
.specialita { overflow: hidden; }
.specialita::before {
  content: ""; position: absolute; inset: 0; opacity: 0.07;
  background: url("../img/home/maioliche-800.webp") center / 420px auto repeat;
  pointer-events: none;
}
.spec-grid { position: relative; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-card {
  position: relative; isolation: isolate;
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; align-content: start; gap: 8px 16px;
}
.spec-card > p { grid-column: 1 / -1; }
.spec-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 189, 99, 0.16), transparent 60%);
}
.spec-card:hover::before { opacity: 1; }
.spec-num { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--gold-light); }
.spec-card h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); color: var(--cream); }
.spec-card p { color: var(--on-dark-muted); font-size: 0.97rem; }
.spec-card .spec-icon { grid-column: 2; grid-row: 1; width: 36px; height: 36px; color: var(--sand); opacity: 0.9; transition: transform 0.6s var(--ease); }
.spec-card:hover .spec-icon { transform: rotate(-12deg) scale(1.08); }
.spec-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.spec-notes li {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: rgba(250, 246, 238, 0.05); font-size: 0.88rem; color: var(--on-dark-muted);
}

/* --- menu nella home --- */
.menu-home { overflow: hidden; color: var(--on-dark); background: var(--ink); }
.menu-bg { position: absolute; inset: -12% 0; z-index: 0; }
.menu-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.menu-home::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(110deg, rgba(20, 17, 16, 0.94) 0%, rgba(20, 17, 16, 0.86) 45%, rgba(20, 17, 16, 0.55) 100%);
}
.menu-home > .container { position: relative; z-index: 1; }
.menu-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .menu-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; } }
/* indice delle categorie del menu (home): gruppi per sezione, righe con freccia */
.menu-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px 32px; margin: 34px 0 30px; }
.mi-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
  color: var(--gold-light); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
}
.mi-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(216, 189, 99, 0.6), transparent); }
.menu-cats ul { display: grid; }
.menu-cats a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 46px; padding: 8px 2px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.15; text-decoration: none;
  transition: color 0.25s, padding 0.35s var(--ease);
}
.menu-cats a:hover, .menu-cats a:focus-visible { color: var(--gold-light); padding-left: 8px; }
.mi-arr { font-family: var(--sans); font-size: 1rem; opacity: 0.55; transition: transform 0.35s var(--ease), opacity 0.25s; }
.menu-cats a:hover .mi-arr { transform: translateX(4px); opacity: 1; }
.menu-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.88rem; color: var(--on-dark-muted); }
.menu-langs a {
  display: inline-grid; place-items: center; min-width: 48px; min-height: 44px; padding: 0 10px;
  border: 1px solid var(--line-dark); border-radius: 12px; text-decoration: none; font-weight: 800; color: var(--cream);
}
.menu-langs a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.glass {
  border: 1px solid rgba(250, 246, 238, 0.18); border-radius: var(--radius);
  background: rgba(37, 33, 32, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.menu-teaser { padding: clamp(24px, 3vw, 36px); }
.menu-teaser h3 { font-size: 1.9rem; margin-bottom: 6px; }
.menu-teaser > p { color: var(--on-dark-muted); font-size: 0.9rem; }
.teaser-list { margin-top: 18px; }
.teaser-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.teaser-list .t-name { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; }
.teaser-list .t-price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--gold-light); line-height: 1.1; }
.teaser-list .t-desc { grid-column: 1 / -1; color: var(--on-dark-muted); font-size: 0.9rem; line-height: 1.5; }
.menu-mare {
  display: grid; gap: 20px; align-items: center;
  margin-top: 48px; padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius); background: rgba(227, 244, 242, 0.94); color: var(--ink);
}
.menu-mare img { width: 92px; height: 90px; object-fit: contain; }
.menu-mare h3 { font-size: 1.7rem; }
.menu-mare p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 640px) { .menu-mare { grid-template-columns: auto 1fr; } .menu-mare .btn-group { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .menu-mare { grid-template-columns: auto 1fr auto; } .menu-mare .btn-group { grid-column: auto; } }

/* --- anteprima galleria --- */
.gallery-preview { background: var(--cream); overflow: hidden; }
.gp-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.gp-head .section-head { margin-bottom: 0; }
.strip-controls { display: flex; gap: 10px; }
.round-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(35, 31, 32, 0.3); background: transparent; color: var(--ink);
  transition: background-color 0.25s, color 0.25s;
}
.round-btn:hover { background: var(--ink); color: var(--cream); }
.round-btn svg { width: 20px; height: 20px; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 6px max(var(--pad), calc((100vw - var(--container)) / 2)) 26px;
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--container)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--sand) transparent;
}
.strip:focus-visible { outline-offset: -3px; }
.strip figure { scroll-snap-align: start; }
.strip .ph { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 3 / 4; background: var(--paper); }
.strip figure:nth-child(even) .ph { aspect-ratio: 4 / 5; margin-top: 40px; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip figure:hover img { transform: scale(1.06); }
.strip figcaption { padding-top: 12px; font-size: 0.88rem; color: var(--muted); }
.gp-cta { margin-top: 26px; }

/* --- recensioni --- */
.reviews { background: var(--paper); padding-block: clamp(64px, 9vw, 110px); }
.reviews-box { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .reviews-box { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.reviews-links { display: grid; gap: 12px; }
.review-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding: 16px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow-s);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.review-link:hover { transform: translateY(-3px); border-color: rgba(35, 31, 32, 0.35); }
.review-link strong { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.review-link span { font-size: 0.86rem; color: var(--muted); }
.review-link .arr { font-size: 1.4rem; color: var(--gold-dark); }

/* --- FAQ --- */
.faq { background: var(--cream); }
.faq-list { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 600; line-height: 1.2;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line); font-family: var(--sans); font-size: 1.3rem; font-weight: 400;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--gold-light); border-color: var(--gold-light); }
.faq-list .answer { padding: 0 56px 24px 0; color: var(--muted); }
.faq-list .answer p + p { margin-top: 10px; }

/* --- invito finale --- */
.cta-final { overflow: hidden; color: var(--on-dark); background: var(--ink); }
.cta-bg { position: absolute; inset: -14% 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(20, 17, 16, 0.9) 0%, rgba(20, 17, 16, 0.72) 55%, rgba(20, 17, 16, 0.5) 100%); }
.cta-final > .container { position: relative; z-index: 1; }
/* la sezione ha il fondo scuro ma non la classe .dark: stessi colori chiari, più un'ombra per staccarli dalla foto */
.cta-final .eyebrow, .cta-final h2 em { color: var(--gold-light); }
.cta-final .section-lead { color: rgba(250, 246, 238, 0.94); text-shadow: 0 1px 14px rgba(20, 17, 16, 0.7); }
.cta-final h2 { text-shadow: 0 2px 18px rgba(20, 17, 16, 0.55); }
.cta-cols { display: grid; gap: 20px; margin-top: 10px; }
@media (min-width: 900px) { .cta-cols { grid-template-columns: 1fr 1fr; } }
.cta-col { padding: clamp(24px, 3vw, 34px); }
.cta-col h3 { font-size: 1.8rem; }
.cta-col p { margin: 8px 0 20px; color: var(--on-dark-muted); font-size: 0.95rem; }
.cta-col .btn-group { gap: 8px; }

/* 8. Footer e pulsanti flottanti */
.site-footer { background: #151211; color: var(--on-dark-muted); padding: 0 0 calc(32px + env(safe-area-inset-bottom)); font-size: 0.94rem; }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; gap: 40px; padding-block: clamp(56px, 8vw, 88px) 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 0.9fr; } }
.footer-brand .logos { display: flex; gap: 10px; margin-bottom: 18px; }
.footer-brand .logos span { display: grid; place-items: center; width: 96px; height: 80px; padding: 8px; border-radius: 14px; background: var(--cream); }
.footer-brand .logos img { width: 100%; height: 100%; object-fit: contain; }
.footer-title { margin-bottom: 14px; color: var(--cream); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.site-footer address { font-style: normal; }
.footer-list li + li { margin-top: 6px; }
.footer-list a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; border-bottom: 1px solid transparent; }
.footer-list a:hover { border-color: currentColor; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.84rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom a { display: inline-flex; min-height: 32px; align-items: center; }

.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; }
.fab-btn {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  border: 0; background: #1f9d55; color: #fff; text-decoration: none;
  box-shadow: 0 16px 30px -12px rgba(18, 90, 50, 0.7);
  transition: transform 0.35s var(--ease);
}
.fab-btn:hover { transform: scale(1.06); }
.fab-btn svg { width: 30px; height: 30px; }
.fab-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f9d55;
  animation: pulse 2.6s var(--ease) infinite;
}
.fab-panel {
  position: absolute; right: 0; bottom: 74px; width: min(320px, calc(100vw - 32px));
  padding: 18px; border-radius: 20px; color: var(--ink);
  background: rgba(250, 246, 238, 0.94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(28, 25, 24, 0.55);
  transform-origin: 100% 100%;
}
.fab-panel:not([hidden]) { animation: pop 0.35s var(--ease); }
.fab-panel h2 { font-size: 1.5rem; margin-bottom: 4px; }
.fab-panel p { font-size: 0.84rem; color: var(--muted); }
.fab-panel .fab-group { margin-top: 14px; }
.fab-panel .fab-group > p { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fab-panel a.fab-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 8px 14px; margin-top: 6px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 750;
}
.fab-panel a.fab-link:hover { border-color: rgba(35, 31, 32, 0.4); }
.fab-panel a.fab-link small { font-weight: 600; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
html:not(.js) .fab-btn[aria-controls] { display: none; }

/* 9. Pagine interne */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(56px, 8vw, 96px);
  background: var(--ink); color: var(--on-dark);
}
.page-hero .hero-bg .glow-1 { opacity: 0.45; }
.page-hero h1 { font-size: clamp(2.8rem, 9vw, 5.6rem); line-height: 0.95; max-width: 14ch; }
.page-hero .lead { max-width: 60ch; margin-top: 20px; color: var(--on-dark-muted); font-size: 1.08rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; font-size: 0.84rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumb a { display: inline-flex; min-height: 32px; align-items: center; color: var(--cream); }
.page-hero-img { position: absolute; inset: 0; z-index: -2; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 17, 16, 0.95), rgba(20, 17, 16, 0.6)); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3f3937; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose a { font-weight: 700; }
.prose .updated { margin-top: 40px; font-size: 0.88rem; color: var(--muted); }
.notice {
  padding: 18px 20px; border-radius: 16px; background: var(--paper); border-left: 3px solid var(--gold);
  color: var(--muted); font-size: 0.95rem;
}

/* 10. Contatti e modulo */
.quick-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .quick-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; } }
.quick-card { padding: 22px; }
.quick-card h2 { font-size: 1.5rem; margin-bottom: 10px; color: var(--cream); }
.quick-card ul li + li { margin-top: 6px; }
.quick-card a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 8px 14px; border-radius: 12px; text-decoration: none;
  background: rgba(250, 246, 238, 0.07); border: 1px solid var(--line-dark); font-weight: 750;
  transition: background-color 0.25s;
}
.quick-card a:hover { background: rgba(250, 246, 238, 0.16); }
.quick-card small { font-weight: 600; color: var(--on-dark-muted); }
.contact-sedi { display: grid; gap: 28px; }
@media (min-width: 1000px) { .contact-sedi { grid-template-columns: 1fr 1fr; } }
.map-box {
  position: relative; display: grid; place-items: center; gap: 12px; aspect-ratio: 16 / 10;
  padding: 24px; border-radius: 18px; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--paper), var(--paper-2));
  border: 1px solid var(--line);
}
.map-box::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(35, 31, 32, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 31, 32, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-box > * { position: relative; }
.map-box p { font-size: 0.86rem; color: var(--muted); max-width: 36ch; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin { width: 40px; height: 40px; color: var(--gold-dark); }
.sede-summer .map-pin { color: var(--sea-dark); }

.booking { background: var(--paper); }
.booking-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .booking-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.booking-aside .notice { margin-top: 22px; }
.booking-aside ul { margin-top: 20px; }
.booking-aside li { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); }
.booking-aside li::before { content: "✦"; color: var(--sand); }
.booking-aside li > span { flex: 1; }
.booking-aside li a { white-space: nowrap; }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.js .form-card form[hidden] { display: none; }
.form-grid { display: grid; gap: 18px 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 0.86rem; font-weight: 800; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid rgba(35, 31, 32, 0.3); border-radius: 12px; background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea-dark); box-shadow: 0 0 0 3px rgba(69, 193, 189, 0.35); background: var(--white); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff6f5; }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.field .error { font-size: 0.82rem; font-weight: 700; color: #b3261e; }
.field .error:empty { display: none; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px;
  border: 1px solid rgba(35, 31, 32, 0.3); border-radius: 12px; background: var(--cream);
  font-weight: 700; font-size: 0.92rem; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.choice span small { font-weight: 600; color: var(--muted); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.choice input:checked + span small { color: var(--on-dark-muted); }
.choice input:focus-visible + span { outline: 3px solid var(--sea); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; }
.check input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); }
.form-summary {
  margin-bottom: 18px; padding: 16px 18px; border-radius: 14px; background: #fff1ef; border: 1px solid #f0c4bf; color: #8c1d18;
}
.form-summary:empty { display: none; }
.form-summary ul { margin-top: 6px; padding-left: 1.2em; }
.form-summary a { color: inherit; font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-actions p { font-size: 0.84rem; color: var(--muted); max-width: 46ch; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--sea-tint); font-size: 0.92rem; }
.form-status:empty { display: none; }
.noscript-box { padding: 20px; border-radius: 16px; background: var(--paper); }

/* 11. Galleria e lightbox */
.gallery-page { background: var(--cream); padding-top: clamp(36px, 5vw, 64px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filters button {
  min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(35, 31, 32, 0.3);
  background: transparent; font-weight: 750; font-size: 0.9rem;
  transition: background-color 0.25s, color 0.25s;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
html:not(.js) .filters { display: none; }
.masonry { columns: 1; column-gap: 18px; }
@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }
.masonry figure { break-inside: avoid; margin-bottom: 18px; }
.masonry .g-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease), filter 0.4s; }
.masonry .g-open:hover img { transform: scale(1.04); }
.masonry figcaption { padding: 10px 2px 0; font-size: 0.88rem; color: var(--muted); }
.masonry figure.is-hidden { display: none; }
.lightbox {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0;
  border: 0; background: rgba(16, 14, 13, 0.96); color: var(--cream);
}
.lightbox::backdrop { background: rgba(16, 14, 13, 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top, .lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px, env(safe-area-inset-left)); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 12px; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox button {
  display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, 0.35); background: rgba(250, 246, 238, 0.06); color: var(--cream);
}
.lightbox button:hover { background: rgba(250, 246, 238, 0.18); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-caption { font-size: 0.92rem; color: var(--on-dark-muted); }
.lb-caption:empty { visibility: hidden; }
.lb-count { font-variant-numeric: tabular-nums; font-size: 0.88rem; }
.lb-nav { display: flex; gap: 10px; }

/* 12. Menu (pagine /menu/<lingua>/) */
html:has(.menu-page) { scroll-padding-top: 0; }
.menu-page { background: var(--cream); }
.mp-head { background: var(--ink); color: var(--cream); }
.mp-head .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 12px; }
.mp-head .brand-badge { width: 70px; height: 52px; }
.mp-head .back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 0.86rem; font-weight: 700; }
.lang-nav { display: flex; gap: 6px; }
.lang-nav a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; white-space: nowrap;
  border: 1px solid var(--line-dark); border-radius: 10px; text-decoration: none; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em;
}
.lang-nav a[aria-current] { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.lang-nav a:not([aria-current]):hover { border-color: var(--gold-light); color: var(--gold-light); }
.lang-nav .lang-name { display: none; }
.mp-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 80px) 0 clamp(36px, 6vw, 64px); background: var(--ink); color: var(--cream); }
.mp-hero::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: min(52%, 640px); z-index: -1; opacity: 0.22;
  background: url("../img/home/maioliche-800.webp") center / cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.mp-hero h1 { font-size: clamp(3.2rem, 12vw, 6.4rem); line-height: 0.9; }
.mp-hero .eyebrow { color: var(--gold-light); }
.mp-hero p { max-width: 56ch; margin-top: 16px; color: var(--on-dark-muted); }
.mp-hero .mp-note { margin-top: 22px; display: inline-flex; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(250, 246, 238, 0.06); font-size: 0.86rem; color: var(--cream); }
.mp-bar { position: sticky; top: 0; z-index: 40; background: rgba(28, 25, 24, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.6); }
.mp-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 860px; margin-inline: auto; }
.mp-tabs a {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 6px;
  color: rgba(250, 246, 238, 0.78); text-decoration: none; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 3px solid transparent; text-align: center; line-height: 1.15;
}
.mp-tabs a[aria-current] { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.mp-chips { display: flex; gap: 8px; padding: 10px var(--pad); overflow-x: auto; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.mp-chips::-webkit-scrollbar { display: none; }
.mp-chips a {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  text-decoration: none; font-size: 0.84rem; font-weight: 750; white-space: nowrap;
}
.mp-chips a.attivo { background: var(--ink); border-color: var(--ink); color: var(--cream); }
@media (min-width: 900px) { .mp-chips { justify-content: center; } }
.js .mp-chips { display: none; }
.js .mp-chips.visibile { display: flex; }
.mp-main { max-width: 860px; margin-inline: auto; padding: 10px var(--pad) 40px; }
.js .mp-sezione { display: none; }
.js .mp-sezione.visibile { display: block; animation: fade-in 0.5s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mp-avviso { margin: 22px 0 0; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 0.9rem; }
.mp-cat { padding-top: 36px; scroll-margin-top: calc(var(--barra, 104px) - 22px); }
.mp-cat h2 {
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(2rem, 5.4vw, 2.7rem); padding-bottom: 12px; margin-bottom: 4px;
}
.mp-cat h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.mp-voci { display: grid; }
.mp-voce {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 18px;
  padding: 16px 0; border-bottom: 1px dashed rgba(35, 31, 32, 0.2);
  scroll-margin-top: calc(var(--barra, 104px) + 10px);
}
.mp-voce .nome { grid-column: 1; font-family: var(--sans); font-size: 0.98rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35; }
.mp-voce .prezzo { grid-column: 2; grid-row: 1; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.1; color: var(--gold-dark); white-space: nowrap; text-align: right; }
.mp-voce .trad, .mp-voce .sotto, .mp-voce .desc, .mp-voce .meta, .mp-voce .formati { grid-column: 1 / -1; }
.mp-voce .sotto { font-size: 0.88rem; font-weight: 700; color: var(--sand-dark); }
.mp-voce .trad { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--muted); line-height: 1.25; }
.mp-voce .desc { color: #423b39; font-size: 0.95rem; line-height: 1.55; }
.mp-voce .meta { color: var(--muted); font-size: 0.86rem; }
.mp-voce .formati { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
.mp-voce .formati span { display: inline-flex; gap: 8px; align-items: baseline; padding: 4px 12px; border-radius: 999px; background: var(--paper); font-size: 0.86rem; font-weight: 700; }
.mp-voce .formati b { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-dark); }
.mp-voce .formato { font-weight: 600; color: var(--muted); font-size: 0.84rem; letter-spacing: 0; text-transform: none; margin-left: 6px; }
.mp-voce.evidenziata { animation: lampo 1.6s ease; }
@keyframes lampo { 0%, 40% { background: rgba(216, 189, 99, 0.25); } 100% { background: transparent; } }
.mp-supplementi .mp-voce { padding: 10px 0; }
.mp-supplementi .nome { font-size: 0.88rem; }
.mp-foot { width: min(100% - 2 * var(--pad), 860px); padding: 30px 0 60px; }
.mp-card { margin-top: 26px; padding: clamp(22px, 4vw, 32px); border-radius: var(--radius); }
.mp-card.dark h2 { font-size: 2rem; }
.mp-card p { margin-top: 8px; color: var(--on-dark-muted); }
.mp-card .btn-group { margin-top: 18px; }
.mp-card.light { background: var(--sea-tint); }
.mp-card.light h2 { font-size: 1.7rem; }
.mp-card.light p { color: var(--muted); }
.mp-small { margin-top: 26px; font-size: 0.84rem; color: var(--muted); }
.mp-small p + p { margin-top: 6px; }
@media (min-width: 700px) {
  .lang-nav .lang-name { display: inline; margin-left: 6px; font-weight: 600; letter-spacing: 0; }
  .lang-nav a { padding: 0 12px; }
  .mp-voce { grid-template-columns: minmax(0, 1fr) auto; }
}
.menu-index { min-height: 100svh; display: grid; place-content: center; gap: 14px; padding: 40px 20px; background: var(--ink); color: var(--cream); text-align: center; }
.menu-index a { display: block; min-height: 48px; padding: 10px 24px; border: 1px solid var(--line-dark); border-radius: 999px; text-decoration: none; font-weight: 750; }

/* 404 */
.notfound { min-height: 100svh; display: flex; align-items: center; }
.notfound .big { font-family: var(--serif); font-size: clamp(6rem, 26vw, 14rem); line-height: 0.8; color: var(--gold-light); font-style: italic; }

/* 13. Animazioni (solo se l'utente non ha chiesto movimento ridotto) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  html { scroll-behavior: smooth; }
  .hero-title .line > * { animation: rise 1.1s var(--ease) both; }
  .hero-title .line:nth-child(2) > * { animation-delay: 0.12s; }
  .hero-title .line:nth-child(3) > * { animation-delay: 0.24s; }
  .hero-copy .eyebrow, .hero-lead, .hero-actions, .hero-facts { animation: fade-up 1s var(--ease) both; }
  .hero-copy .eyebrow { animation-delay: 0.05s; }
  .hero-lead { animation-delay: 0.38s; }
  .hero-actions { animation-delay: 0.5s; }
  .hero-facts { animation-delay: 0.62s; }
  .hero-arch { animation: arch-in 1.4s var(--ease) 0.15s both; }
  .hero-media picture { animation: hero-zoom 2.4s var(--ease) both; }
  .hero-pizza { animation: fade-up 1.1s var(--ease) 0.7s both, bob 7s ease-in-out 1.8s infinite; }
  .hero-seal { animation: fade-up 1s var(--ease) 0.9s both; }
  .seal-ring { animation: spin 26s linear infinite; }
  .arch-outline { animation: drift 9s ease-in-out infinite; }
  .embers i { animation: ember var(--t, 10s) linear var(--d, 0s) infinite; }
  .glow-1 { animation: breathe 9s ease-in-out infinite; }
  .scroll-cue::after { animation: cue 1.8s ease-in-out infinite; }
  .marquee-track { animation: marquee 42s linear infinite; }
  .pattern-band { animation: pattern-slide 60s linear infinite; }
  .float-slow { animation: bob 8s ease-in-out infinite; }
  [data-parallax] { translate: 0 var(--py, 0px); }
  .reveal-on [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
  .reveal-on [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(18% 0 18% 0 round 260px 260px 22px 22px); transition: clip-path 1.4s var(--ease); }
  .reveal-on [data-reveal="zoom"] { transform: scale(0.94); }
  .reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
  .reveal-on [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 260px 260px 22px 22px); }
  .reveal-on [data-reveal="clip"].is-in > img { animation: settle 1.6s var(--ease) both; }
}
@keyframes hero-zoom { from { transform: scale(1.08); opacity: 0.3; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes arch-in { from { opacity: 0; clip-path: inset(30% 0 0 0 round 999px 999px 26px 26px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 999px 999px 26px 26px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-8px, 10px); } }
@keyframes ember {
  0% { opacity: 0; transform: translate(0, 0) scale(1); }
  10% { opacity: 0.9; }
  60% { opacity: 0.6; }
  100% { opacity: 0; transform: translate(-40px, -88vh) scale(0.4); }
}
@keyframes breathe { 0%, 100% { opacity: 0.45; transform: scale(1); } 50% { opacity: 0.62; transform: scale(1.06); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pattern-slide { to { background-position: -800px 50%; } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .embers, .fab-btn::before { display: none; }
}
@media print {
  .site-header, .fab, .marquee, .hero-bg, .scroll-cue, .mp-bar, .lang-nav { display: none !important; }
  .js .mp-sezione, .js .mp-chips { display: block !important; }
  body { background: #fff; }
}
