/*
  Domenico, siti web e grafiche. Versione 5: tema scuro, carattere Kanit.
  Struttura: hero col ritratto, strisce di immagini che scorrono, chi sono, servizi, progetti, contatti.
  Le comparse usano la proprietà "translate" (non "transform"), così non si scontrano con i posizionamenti.
*/
:root {
  --fondo: #0C0C0C;
  --chiaro: #D7E2EA;
  --bianco: #FFFFFF;
  --riga: rgba(12, 12, 12, 0.15);
  --sfumato: linear-gradient(180deg, #646973 0%, #BBCCD7 100%);
  --pulsante: linear-gradient(123deg, #18011F 7%, #B600A8 37%, #7621B0 72%, #BE4C00 100%);
  --raggio-grande: clamp(28px, 5vw, 60px);
  --font: "Kanit", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--fondo); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--fondo); color: var(--chiaro); font-family: var(--font); font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--chiaro); outline-offset: 3px; }
.pagina { background: var(--fondo); overflow-x: clip; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 0.6rem 1rem; background: var(--chiaro); color: var(--fondo); text-decoration: none; }
.skip:focus { top: 12px; }

/* Testo con sfumatura grigio-azzurra, come nei titoli del prompt */
.sfumato {
  background: var(--sfumato);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.titolo {
  font-size: clamp(3rem, 12vw, 160px); font-weight: 900; text-transform: uppercase;
  line-height: 1; letter-spacing: -0.025em; text-align: center;
}
.titolo-scuro { color: var(--fondo); }

/* ---------- Comparse ---------- */
.js [data-fade] {
  opacity: 0; translate: var(--fx, 0) var(--fy, 30px);
  transition: opacity var(--fd, 0.7s) var(--ease), translate var(--fd, 0.7s) var(--ease);
  transition-delay: var(--fdl, 0s);
}
.js [data-fade].in { opacity: 1; translate: 0 0; }

/* ---------- Pulsanti ---------- */
.btn-contatto {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0.75rem 2rem; border-radius: 999px;
  background: var(--pulsante); color: #FFFFFF;
  box-shadow: 0 4px 4px rgba(181, 1, 167, 0.25), inset 4px 4px 12px #7721B1;
  outline: 2px solid #FFFFFF; outline-offset: -3px;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; white-space: nowrap;
  transition: filter 0.2s, scale 0.2s var(--ease);
}
.btn-contatto:hover { filter: brightness(1.15); }
.btn-contatto:active { scale: 0.97; }
.btn-vuoto {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0.75rem 2rem; border: 2px solid var(--chiaro); border-radius: 999px;
  color: var(--chiaro); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; white-space: nowrap;
  transition: background 0.2s;
}
.btn-vuoto:hover { background: rgba(215, 226, 234, 0.1); }
@media (min-width: 640px) {
  .btn-contatto { padding: 0.875rem 2.5rem; font-size: 0.875rem; }
  .btn-vuoto { padding: 0.875rem 2.5rem; font-size: 1rem; }
}
@media (min-width: 768px) { .btn-contatto { padding: 1rem 3rem; font-size: 1rem; } }

/* ---------- 1. Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 520px; overflow-x: clip; }
.nav { display: flex; justify-content: space-between; padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 1.5rem 0; position: relative; z-index: 20; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--chiaro); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; transition: opacity 0.2s; }
.nav a:hover { opacity: 0.7; }
.hero-titolo { overflow: hidden; margin-top: 1.5rem; padding-inline: 1.5vw; text-align: center; }
.hero-titolo h1 {
  display: inline-block; white-space: nowrap;
  font-size: 9vw; font-weight: 900; text-transform: uppercase; letter-spacing: -0.025em; line-height: 1;
}
.hero-basso {
  position: relative; z-index: 20; margin-top: auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding: 0 1.5rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
}
.hero-testo { max-width: 160px; color: var(--chiaro); font-size: clamp(0.75rem, 1.4vw, 1.5rem); font-weight: 300; text-transform: uppercase; letter-spacing: 0.025em; line-height: 1.375; }
.ritratto { position: absolute; left: 50%; top: 50%; z-index: 10; width: 280px; transform: translate(-50%, -50%); pointer-events: none; }
.calamita { will-change: transform; pointer-events: auto; }
.calamita img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
/* su telefono il titolo va su due righe, ognuna larga quanto lo schermo, e il ritratto sfuma nel nero */
.hero-titolo h1 span { display: inline-block; }
@media (max-width: 639px) {
  .hero-titolo h1 { display: block; white-space: normal; line-height: 0.95; }
  .hero-titolo h1 span { display: block; width: fit-content; margin-inline: auto; white-space: nowrap; }
  .calamita img { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
}
@media (min-width: 640px) {
  .hero-titolo { margin-top: 1rem; }
  .hero-basso { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
  .hero-testo { max-width: 220px; }
  .ritratto { width: 360px; top: auto; bottom: 0; transform: translateX(-50%); }
}
@media (min-width: 768px) {
  .nav { padding: 2rem 2.5rem 0; }
  .nav a { font-size: 1.125rem; }
  .hero-titolo { margin-top: -0.5rem; }
  .hero-basso { padding: 0 2.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
  .hero-testo { max-width: 260px; }
  .ritratto { width: 440px; }
}
@media (min-width: 1024px) {
  .nav a { font-size: 1.4rem; }
  .ritratto { width: 520px; }
}
/* il ritratto non deve uscire dall'altezza dello schermo (telefoni bassi, tablet in orizzontale) */
.ritratto { max-width: min(92vw, calc((100svh - 16rem) * 0.8)); top: 53%; }
@media (min-width: 640px) { .ritratto { max-width: calc((100svh - 6rem) * 0.8); top: auto; } }

/* ---------- 2. Strisce ---------- */
.strisce { display: grid; gap: 0.75rem; padding: 6rem 0 2.5rem; background: var(--fondo); }
.striscia { display: flex; gap: 0.75rem; width: max-content; will-change: transform; }
/* ogni tessera è la copia di un riquadro dei progetti, vista dentro una cornice fissa */
.tessera { flex: none; width: 280px; height: 180px; border-radius: 1rem; overflow: hidden; background: #1a1a1c; }
.tessera .pz { width: 100%; height: 100%; border-radius: 0; overflow: hidden; pointer-events: none; }
@media (min-width: 640px) { .strisce { padding-top: 8rem; } .tessera { width: 420px; height: 270px; } }
@media (min-width: 768px) { .strisce { padding-top: 10rem; } }

/* ---------- 3. Chi sono ---------- */
.chi { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100svh; padding: 9rem 1.25rem; }
.chi-contenuto { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4rem; }
.chi-testo { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.testo-acceso { max-width: 560px; text-align: center; color: var(--chiaro); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 500; line-height: 1.625; }
.testo-acceso .p { display: inline-block; white-space: nowrap; }
.testo-acceso .c { opacity: 0.2; transition: opacity 0.1s linear; }
.deco { position: absolute; z-index: 1; height: auto; pointer-events: none; }
.deco-1 { width: 130px; top: 4%; left: 1%; }
@media (min-width: 640px) {
  .chi { padding: 5rem 2rem; }
  .chi-contenuto { gap: 5rem; }
  .chi-testo { gap: 3.5rem; }
  .deco-1 { width: 170px; left: 2%; }
}
@media (min-width: 768px) {
  .chi { padding: 5rem 2.5rem; }
  .chi-contenuto { gap: 6rem; }
  .chi-testo { gap: 4rem; }
  .deco-1 { width: 230px; left: 4%; }
}

/* ---------- 4. Servizi ---------- */
.servizi { position: relative; background: var(--bianco); color: var(--fondo); border-radius: var(--raggio-grande) var(--raggio-grande) 0 0; padding: 5rem 1.25rem; }
.servizi .titolo { margin-bottom: 4rem; }
.servizi-lista { max-width: 64rem; margin-inline: auto; }
.servizi-lista li { display: flex; align-items: flex-start; gap: clamp(1rem, 4vw, 3rem); padding-block: 2rem; border-top: 1px solid var(--riga); }
.servizi-lista li:last-child { border-bottom: 1px solid var(--riga); }
.numero { flex: none; font-size: clamp(3rem, 10vw, 140px); font-weight: 900; line-height: 0.9; letter-spacing: -0.03em; color: var(--fondo); }
.servizi-lista h3 { font-size: clamp(1rem, 2.2vw, 2.1rem); font-weight: 500; text-transform: uppercase; line-height: 1.2; margin-bottom: 0.5rem; }
.servizi-lista p { max-width: 42rem; font-size: clamp(0.85rem, 1.6vw, 1.25rem); font-weight: 300; line-height: 1.625; opacity: 0.6; }
@media (min-width: 640px) { .servizi { padding: 6rem 2rem; } .servizi .titolo { margin-bottom: 5rem; } .servizi-lista li { padding-block: 2.5rem; } }
@media (min-width: 768px) { .servizi { padding: 8rem 2.5rem; } .servizi .titolo { margin-bottom: 7rem; } .servizi-lista li { padding-block: 3rem; } }

/* ---------- 5. Progetti: carte che si impilano ---------- */
.progetti { position: relative; z-index: 10; margin-top: -2.5rem; padding: 5rem 1.25rem 3rem; background: var(--fondo); border-radius: var(--raggio-grande) var(--raggio-grande) 0 0; }
.progetti .titolo { margin-bottom: 3rem; }
.carte { max-width: 72rem; margin-inline: auto; }
/* le carte stanno tutte nello stesso contenitore: restano ferme in alto e la successiva scivola sopra */
.carta-spazio { display: contents; }
.carte { padding-bottom: 2rem; }
.carta + .carta, .carta-spazio + .carta-spazio .carta { margin-top: 40vh; margin-top: 40svh; }
.carta {
  --s: 1;
  position: sticky; top: calc(6rem + var(--i) * 28px);
  display: grid; gap: 1rem; padding: 1rem;
  background: var(--fondo); border: 2px solid var(--chiaro); border-radius: var(--raggio-grande);
  transform: scale(var(--s)); transform-origin: 50% 0; will-change: transform;
}
.carta-alto { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding: 0.25rem 0.5rem 0; }
.carta-alto .numero { color: var(--chiaro); font-size: clamp(2.5rem, 8vw, 110px); }
.carta-nome { flex: 1 1 10rem; min-width: 0; }
.carta-nome span { display: block; font-size: 0.8rem; font-weight: 300; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.carta-nome h3 { font-size: clamp(1rem, 2.4vw, 2rem); font-weight: 500; text-transform: uppercase; line-height: 1.15; }
.progetti-sotto { max-width: 36rem; margin: -1.5rem auto 3rem; text-align: center; font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 300; }

/* I tre riquadri di ogni carta: pezzi di un sito vero, ognuno con lo stile del suo cliente.
   Telefono: A e B affiancati, C largo sotto. Da tablet in su: A sopra B a sinistra, C grande a destra.
   Le altezze dipendono dall'altezza dello schermo, così la carta sta sempre intera. */
.pezzi {
  --av: calc(100svh - 22rem);
  display: grid; gap: 0.6rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "a b" "c c";
  grid-template-rows: clamp(120px, calc(var(--av) * 0.4), 240px) clamp(150px, calc(var(--av) * 0.6), 420px);
}
.pz {
  position: relative; min-width: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin;
  padding: 0.85rem; border-radius: clamp(16px, 2.4vw, 28px);
  font-size: 0.78rem; line-height: 1.45;
}
.pz-a { grid-area: a; } .pz-b { grid-area: b; } .pz-c { grid-area: c; }
.pz h4 { font-size: 1.05rem; line-height: 1.15; margin-bottom: 0.4rem; }
.pz p { margin-bottom: 0.4rem; }
.pz-etichetta { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.75; margin-bottom: 0.3rem !important; }
.pz-btn { display: inline-flex; align-items: center; min-height: 34px; margin-top: 0.3rem; padding: 0 0.9rem; border-radius: 999px; font-size: 0.72rem; font-weight: 500; cursor: default; }
.orari { display: grid; gap: 0.15rem; margin: 0.3rem 0; }
.orari div { display: flex; justify-content: space-between; gap: 0.5rem; }
.orari dt { opacity: 0.7; }
.orari dd { text-align: right; overflow-wrap: anywhere; }
/* nei riquadri stretti del telefono: il giorno sopra, l'orario sotto */
@media (max-width: 639px) {
  .orari div { display: block; }
  .orari dt { font-size: 0.68rem; }
  .orari dd { text-align: left; }
}
@media (min-width: 640px) {
  .pezzi {
    --av: calc(100svh - 24.5rem);
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); grid-template-areas: "a c" "b c";
    grid-template-rows: clamp(130px, calc(var(--av) * 0.45), 260px) clamp(150px, calc(var(--av) * 0.55), 320px);
    gap: 0.75rem;
  }
  .pz { padding: 1.1rem 1.2rem; font-size: 0.85rem; }
  .pz h4 { font-size: 1.3rem; }
}

/* Trattoria: crema, terracotta, titoli con grazie */
.tema-trattoria .pz { background: #f6efe4; color: #3b2a20; }
.tema-trattoria h4 { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-weight: 700; color: #7a3216; }
.tema-trattoria .pz-etichetta { color: #b5532c; opacity: 1; font-weight: 500; }
.tema-trattoria .pz-btn { background: #b5532c; color: #fff8ef; }
.tr-disegno { width: 3rem; height: auto; color: #b5532c; float: right; margin: 0 0 0.3rem 0.5rem; }
.tr-mappa { width: 100%; height: auto; border-radius: 10px; margin: 0.2rem 0 0.4rem; }
.tr-indirizzo { font-weight: 500; }
.tema-trattoria .pz-c { background: #fffaf2; display: flex; flex-direction: column; }
.menu-testa h4 { margin-bottom: 0.2rem; }
.menu-schede { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; margin: 0.3rem 0 0.4rem; }
.menu-schede button {
  flex: none; min-height: 44px; padding: 0 0.8rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: inherit; font-size: 0.8rem; font-weight: 500; color: #7a5a48;
}
.menu-schede button[aria-selected="true"] { background: #b5532c; color: #fff8ef; }
.menu-piatti li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 0.6rem; padding: 0.45rem 0; border-bottom: 1px dashed rgba(122, 50, 22, 0.25); animation: piatto 0.45s cubic-bezier(0.25, 0.1, 0.25, 1) both; animation-delay: calc(var(--k) * 60ms); }
.menu-piatti b { font-family: Georgia, serif; font-weight: 700; font-size: 0.95rem; color: #3b2a20; }
.menu-piatti .prezzo { font-weight: 500; font-variant-numeric: tabular-nums; color: #7a3216; }
.menu-piatti small { grid-column: 1 / -1; opacity: 0.75; }
.tag { display: inline-block; margin-left: 0.3rem; padding: 0 0.4rem; border-radius: 4px; font-family: var(--font); font-size: 0.62rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; vertical-align: 0.15em; }
.tag-casa { background: #f1d9c7; color: #7a3216; }
.tag-veg { background: #dfe8cf; color: #3f5a1f; }
.tag-pic { background: #f6d2c8; color: #a1301a; }
.menu-legenda { margin-top: auto; padding-top: 0.5rem; font-size: 0.7rem; }
.menu-legenda .tag { margin: 0 0.2rem 0 0; }
@keyframes piatto { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Barberia: nero e oro, titoli stretti e decisi */
.tema-barberia .pz { background: #141210; color: #efe6d2; border: 1px solid rgba(201, 162, 75, 0.35); }
.tema-barberia h4 { font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; color: #c9a24b; font-size: 1.35rem; }
.tema-barberia .pz-etichetta { color: #c9a24b; opacity: 1; }
.tema-barberia .pz-btn { background: #c9a24b; color: #141210; text-transform: uppercase; letter-spacing: 0.1em; }
.tema-barberia .orari dt { color: #c9a24b; opacity: 0.9; }
.listino li { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.38rem 0; border-bottom: 1px solid rgba(201, 162, 75, 0.2); }
.listino small { display: block; font-size: 0.66rem; opacity: 0.6; }
.listino b { font-weight: 500; color: #c9a24b; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tema-barberia .pz-c { display: flex; flex-direction: column; overflow: hidden; }
.cf-testa h4 { margin-bottom: 0; }

/* Carosello 3D: la foto al centro in primo piano, le altre ai lati girate in prospettiva */
.cf { position: relative; flex: 1; min-height: 110px; perspective: 900px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline-offset: 2px; }
.cf.trascina { cursor: grabbing; }
.cf-item { position: absolute; top: 4%; bottom: 4%; left: 50%; aspect-ratio: 3 / 4; max-width: 62%; margin: 0; transform-style: preserve-3d; will-change: transform; }
.cf-foto {
  position: relative; width: 100%; height: 100%; border-radius: 12px; overflow: hidden;
  display: grid; place-items: end start; padding: 0.6rem 0.7rem;
  background: linear-gradient(160deg, hsl(calc(30 + var(--t) * 8) 22% 22%), hsl(calc(20 + var(--t) * 6) 18% 9%));
  border: 1px solid rgba(201, 162, 75, 0.55);
  font-weight: 900; font-size: 1.6rem; color: rgba(201, 162, 75, 0.85); letter-spacing: 0.04em;
}
.cf-foto::before { content: "Foto in arrivo"; position: absolute; top: 0.6rem; left: 0.7rem; font-size: 0.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(239, 230, 210, 0.55); }
.cf-foto::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--buio, 0); pointer-events: none; }
.cf-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-basso { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; }
.cf-basso button { min-height: 44px; min-width: 44px; padding: 0 0.7rem; border: 1px solid rgba(201, 162, 75, 0.55); border-radius: 999px; background: transparent; color: #c9a24b; font: inherit; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; }
.cf-didascalia { flex: 1; min-width: 0; text-align: center; margin: 0 !important; font-weight: 500; color: #efe6d2; }

/* Studio: bianco e azzurro, pulito */
.tema-studio .pz { background: #ffffff; color: #1d2b3a; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tema-studio .pz-b { background: #e8f2fb; }
.tema-studio h4 { font-weight: 600; color: #1d4f86; letter-spacing: -0.01em; }
.tema-studio .pz-etichetta { color: #2a6fb0; opacity: 1; font-weight: 600; }
.tema-studio .pz-btn { background: #2a6fb0; color: #fff; }
.trattamenti li { position: relative; padding: 0.22rem 0 0.22rem 1rem; }
.trattamenti li::before { content: ""; position: absolute; left: 0.1rem; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: #2a6fb0; }
.cv { position: relative; margin-top: 0.5rem; padding-left: 1.1rem; }
.cv::before { content: ""; position: absolute; left: 0.3rem; top: 0.3rem; bottom: 0.3rem; width: 2px; background: #cfe1f3; }
.cv li { position: relative; display: grid; gap: 0.05rem; padding-bottom: 0.75rem; }
.cv li::before { content: ""; position: absolute; left: -1.06rem; top: 0.3rem; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #2a6fb0; }
.cv b { font-weight: 700; color: #2a6fb0; font-variant-numeric: tabular-nums; }
.js .cv[data-cv] li { opacity: 0; translate: -10px 0; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); transition-delay: calc(var(--k, 0) * 140ms); }
.js .cv[data-cv].in li { opacity: 1; translate: 0 0; }
.nota { margin-top: 2rem; text-align: center; font-size: 0.8rem; font-weight: 300; opacity: 0.6; }
@media (min-width: 640px) { .progetti { margin-top: -3rem; padding: 6rem 2rem 4rem; } .carta { padding: 1.5rem; } }
@media (min-width: 768px) { .progetti { margin-top: -3.5rem; padding: 8rem 2.5rem 5rem; } .carta { padding: 2rem; top: calc(8rem + var(--i) * 28px); } }
/* schermi bassi (telefono girato): carte più compatte, così stanno intere */
@media (max-height: 560px) and (orientation: landscape) {
  .carta { top: calc(1rem + var(--i) * 12px); gap: 0.5rem; padding: 0.75rem; }
  .carta-alto .numero { font-size: 2.2rem; }
  .carta-alto { flex-wrap: nowrap; gap: 0.75rem; }
  .carta-nome h3 { font-size: 1rem; }
  .carta-alto .btn-vuoto { min-height: 44px; padding: 0 1rem; font-size: 0.72rem; }
  .pezzi { --av: calc(100svh - 9.5rem); grid-template-rows: clamp(80px, calc(var(--av) * 0.45), 200px) clamp(90px, calc(var(--av) * 0.55), 240px); }
}
/* telefoni piccoli in verticale: carte più compatte */
@media (max-height: 640px) and (orientation: portrait) {
  .carta { top: calc(4rem + var(--i) * 14px); padding: 0.75rem; gap: 0.6rem; }
  .carta-alto .numero { font-size: 2.2rem; }
  .carta-alto .btn-vuoto { min-height: 44px; padding: 0 1rem; font-size: 0.72rem; }
  .pezzi { --av: calc(100svh - 18rem); }
}

/* ---------- 6. Contatti ---------- */
.contatti { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; padding: 6rem 1.25rem 7rem; text-align: center; }
.contatti-testo { max-width: 560px; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 300; line-height: 1.6; }
.btn-grande { font-size: 0.9rem; }
.recapiti { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem; font-style: normal; }
.recapiti a { display: inline-flex; align-items: baseline; gap: 0.5rem; min-height: 44px; padding-block: 0.6rem; text-decoration: none; font-weight: 300; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(215, 226, 234, 0.75); }
.recapiti b { font-weight: 500; font-size: 1.1rem; letter-spacing: 0.02em; text-transform: none; color: var(--chiaro); }
.recapiti a:hover b { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- 7. Domande frequenti ---------- */
.faq { padding: 2rem 1.25rem 6rem; }
.faq .titolo { margin-bottom: 3rem; }
.faq-lista { max-width: 48rem; margin-inline: auto; }
.faq details { border-top: 1px solid rgba(215, 226, 234, 0.15); }
.faq details:last-child { border-bottom: 1px solid rgba(215, 226, 234, 0.15); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding-block: 1rem;
  cursor: pointer; list-style: none; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 300; line-height: 1; transition: rotate 0.25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-bottom: 1.25rem; max-width: 40rem; font-weight: 300; line-height: 1.65; color: rgba(215, 226, 234, 0.85); }
.piede-link { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }

.piede { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem; padding: 1.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(215, 226, 234, 0.12); font-size: 0.85rem; font-weight: 300; color: rgba(215, 226, 234, 0.7); }
.piede a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.piede a:hover { color: var(--chiaro); }

/* ---------- Pagina privacy ---------- */
.pagina-semplice .nav { padding-bottom: 1rem; }
.legale { max-width: 46rem; margin-inline: auto; padding: 3rem 1.25rem 5rem; }
.legale h1 { font-size: clamp(2.5rem, 9vw, 5rem); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.legale h2 { font-size: 1.25rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; margin: 2.2rem 0 0.6rem; }
.legale p { font-weight: 300; line-height: 1.7; margin-bottom: 0.8rem; color: rgba(215, 226, 234, 0.85); }
.legale a { text-decoration: underline; text-underline-offset: 0.2em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-fade] { opacity: 1; translate: 0 0; transition: none; }
  .testo-acceso .c { opacity: 1; }
  .striscia { transform: none !important; }
  .carta { transform: none; }
  .menu-piatti li { animation: none; }
  .js .cv[data-cv] li { opacity: 1; translate: 0 0; transition: none; }
}
