/* Alla Rampa — sito di prova (Piazza di Spagna)
   Fondo nero, come le fioriere e il logo del ristorante; testi color intonaco, fili color ottone. */

@font-face { font-family: "Jost"; src: url("jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --fondo: #000;
  --fondo-notte: #0d0d0d;
  --fondo-luce: #2a2a2a;
  --velo: 0, 0, 0;
  --intonaco: #f4ecdc;
  --testo: rgba(244, 236, 220, .82);
  --testo-tenue: rgba(244, 236, 220, .62);
  --ottone: #c9a55f;
  --filo: rgba(201, 165, 95, .45);
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --margine: clamp(1.5rem, 5vw, 4.5rem);
}

/* varianti di anteprima: ?tema=verde · ?tema=blu (il predefinito è il nero) */
html[data-tema="verde"] { --fondo: #10231b; --fondo-notte: #0a1711; --fondo-luce: #1d3a2c; --velo: 6, 15, 11; }
html[data-tema="blu"] { --fondo: #0d1630; --fondo-notte: #050a22; --fondo-luce: #1c2850; --velo: 5, 10, 34; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--testo);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-bloccato { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 300; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ottone); outline-offset: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: #000; padding: .7rem 1rem; }
.salta:focus { top: 1rem; }

/* ------------------------------------------------------------ tipografia */
.titolo {
  font-size: clamp(1.5rem, 5.4vw, 2.5rem);
  line-height: 1.34;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--intonaco);
  text-wrap: balance;
}
.titolo--piccolo { font-size: clamp(1.2rem, 4.2vw, 1.7rem); }
.sottotitolo {
  margin: 1.3rem 0 0;
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--intonaco);
  text-wrap: balance;
}
.terna {
  margin: 2.3rem 0 0;
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--intonaco);
}
.fregio { display: flex; justify-content: center; gap: .95rem; margin: 2.5rem 0 2.3rem; }
.testo { max-width: 33rem; margin-inline: auto; }
.testo > :last-child { margin-bottom: 0; }
.centro { text-align: center; }

.bottone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: .5rem 2.4rem;
  border: 1px solid var(--ottone);
  color: var(--intonaco);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
  transition: background-color .25s ease, color .25s ease;
}
.bottone:hover { background: var(--ottone); color: var(--fondo-notte); }
.bottoni { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.6rem; }

.collegamento {
  text-decoration: none;
  border-bottom: 1px solid var(--filo);
  padding-bottom: .15em;
  transition: border-color .2s ease;
}
.collegamento:hover { border-color: var(--ottone); }

.rombo {
  flex: none;
  display: inline-block;
  width: .52rem;
  height: .52rem;
  border: 1px solid var(--ottone);
  transform: scaleX(.72) rotate(45deg);
}

/* ------------------------------------------------------------ testata del sito */
.testa {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem var(--margine);
  color: #fff;
}
.testa__marchio { display: block; line-height: 0; }
.testa__marchio img { height: clamp(2.2rem, 5.6vw, 2.7rem); width: auto; filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .55)); }
.testa__azioni { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.tel {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .3);
  transition: transform .2s ease;
}
.tel:hover { transform: scale(1.06); }
.tel svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.apri-menu {
  appearance: none;
  background: none;
  border: 0;
  margin: 0;
  padding: .85rem 0 .85rem .3rem;
  cursor: pointer;
  display: grid;
  gap: .55rem;
  justify-items: end;
  color: inherit;
}
.apri-menu .linea { display: block; height: 1px; width: 3.4rem; background: currentColor; transition: width .25s ease; }
.apri-menu .linea + .linea { width: 2.3rem; }
.apri-menu:hover .linea + .linea { width: 3.4rem; }

.testa--fissa {
  position: fixed;
  padding-block: .7rem;
  background: rgba(13, 13, 13, .94);
  background: color-mix(in srgb, var(--fondo-notte) 94%, transparent);
  box-shadow: 0 1px 0 rgba(201, 165, 95, .28);
  animation: testa-giu .35s ease both;
}
.testa--fissa .testa__marchio img { height: 2rem; filter: none; }
@keyframes testa-giu { from { transform: translateY(-100%); } to { transform: none; } }

.tel-numero {
  position: absolute;
  top: calc(100% - .5rem);
  right: calc(var(--margine) + 3.2rem);
  background: #fff;
  color: #000;
  padding: .75rem 1.2rem;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: .08em;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.tel-numero a { text-decoration: none; }
.tel-numero[hidden] { display: none; }

/* ------------------------------------------------------------ menu a tutto schermo */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.menu.is-aperto { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.menu__sfondo { position: absolute; inset: 0; z-index: -1; background: rgb(var(--velo)); }
.menu__sfondo img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.menu__sfondo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--velo), .6), rgba(var(--velo), .3) 45%, rgba(var(--velo), .72));
}
.menu__testa { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem var(--margine); }
.chiudi-menu {
  appearance: none;
  background: none;
  border: 0;
  width: 3.4rem;
  height: 3.4rem;
  margin-right: -.4rem;
  position: relative;
  cursor: pointer;
  color: inherit;
}
.chiudi-menu::before, .chiudi-menu::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 1px;
  background: currentColor;
}
.chiudi-menu::before { transform: translate(-50%, -50%) rotate(45deg); }
.chiudi-menu::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu__voci { flex: 1; display: flex; align-items: center; padding: 0 var(--margine) 12vh; overflow-y: auto; }
.menu__voci ul { list-style: none; margin: 0; padding: 0; }
.menu__voci li { opacity: 0; transform: translateX(-16px); transition: opacity .5s ease, transform .5s ease; }
.menu.is-aperto .menu__voci li { opacity: 1; transform: none; }
.menu.is-aperto .menu__voci li:nth-child(2) { transition-delay: .05s; }
.menu.is-aperto .menu__voci li:nth-child(3) { transition-delay: .1s; }
.menu.is-aperto .menu__voci li:nth-child(4) { transition-delay: .15s; }
.menu.is-aperto .menu__voci li:nth-child(5) { transition-delay: .2s; }
.menu.is-aperto .menu__voci li:nth-child(6) { transition-delay: .25s; }
.menu__voci a {
  display: inline-block;
  font-size: clamp(1.75rem, 7.6vw, 3.3rem);
  line-height: 1.55;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.menu__voci a:hover, .menu__voci a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .8); }

/* ------------------------------------------------------------ apertura (home) */
.apertura {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 32rem;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.diapo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.diapo img { width: 100%; height: 100%; object-fit: cover; }
.diapo.is-on { opacity: 1; z-index: 2; }
.diapo.is-fuori { opacity: 1; z-index: 1; transition: none; }
.apertura__velo {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 82% 44% at 50% 50%, rgba(0, 0, 0, .62), rgba(0, 0, 0, .16) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, .46) 0, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, .34) 100%);
}
.apertura__centro { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 0 1rem; text-align: center; }
.apertura__blocco { position: relative; }
.apertura__nome { line-height: 0; }
.apertura__nome img {
  height: clamp(12.5rem, 37vh, 26rem);
  height: clamp(12.5rem, 37svh, 26rem);
  width: auto;
  filter: drop-shadow(0 2px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 3px rgba(0, 0, 0, .45));
}
@media (min-aspect-ratio: 1/1) {
  .apertura__nome img { height: clamp(12.5rem, 43vh, 26rem); height: clamp(12.5rem, 43svh, 26rem); }
}
.etichetta {
  display: inline-block;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .75), 0 0 2px rgba(0, 0, 0, .4);
  transition: border-color .2s ease;
}
.etichetta:hover { border-color: #fff; }
.apertura__instagram { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: clamp(2.2rem, 6vh, 3.6rem); }
/* alone scuro dietro l'etichetta: resta leggibile anche sopra scritte o zone chiare della foto */
.apertura__instagram::before {
  content: "";
  position: absolute;
  inset: -1.5rem -3.2rem -1.3rem;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, .3) 60%, transparent);
  pointer-events: none;
}

/* ------------------------------------------------------------ blocchi */
.blocco { padding: clamp(4.5rem, 11vw, 8.5rem) var(--margine); }
.blocco--notte { background: var(--fondo-notte); }

/* benvenuto */
.benvenuto { display: grid; gap: clamp(3rem, 8vw, 4.5rem); justify-items: center; text-align: center; }
.benvenuto__foto { margin: 0; width: 100%; max-width: 24rem; }
.benvenuto__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.benvenuto__giro { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fondo-notte); }
.benvenuto__testo { max-width: 36rem; }
.benvenuto .bottoni { margin-top: 2.2rem; }
@media (min-width: 1000px) {
  /* testo a sinistra su fondo scuro, foto che girano a destra che lo sormonta appena */
  .benvenuto { grid-template-columns: minmax(24rem, 36rem) minmax(20rem, 30rem); justify-content: center; align-items: center; gap: 0; }
  .benvenuto__foto { max-width: none; position: relative; z-index: 1; margin-left: -3rem; margin-block: 3.5rem; }
  .benvenuto__testo { background: var(--fondo-notte); padding: 5.5rem 6rem 5.5rem 3.2rem; }
}

/* striscia scorrevole */
.striscia { overflow: hidden; border-block: 1px solid rgba(201, 165, 95, .18); background: var(--fondo); }
.striscia__riga {
  display: flex;
  width: max-content;
  padding: clamp(.9rem, 2.4vw, 1.5rem) 0;
  animation: scorri 46s linear infinite;
}
.striscia__riga + .striscia__riga { border-top: 1px solid rgba(201, 165, 95, .18); animation-direction: reverse; animation-duration: 58s; }
.striscia__gruppo { display: flex; align-items: center; flex: none; }
.striscia__voce {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 8.6vw, 5rem);
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fondo-luce);
  padding: 0 clamp(1rem, 2.6vw, 2rem);
}
.striscia__mini { flex: none; width: clamp(2.6rem, 8vw, 4.6rem); height: clamp(2.6rem, 8vw, 4.6rem); border-radius: 50%; object-fit: cover; }
.striscia__punto { flex: none; }
@keyframes scorri { to { transform: translateX(-50%); } }

/* il locale */
.locale { display: grid; gap: clamp(2.6rem, 7vw, 4rem); align-items: center; padding-inline: 0; }
.locale__foto { margin: 0; }
.locale__foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.locale__testo { padding-inline: var(--margine); max-width: 40rem; margin-inline: auto; text-align: center; }
.locale__testo .testo { margin-top: 2.2rem; }
@media (min-width: 1000px) {
  .locale { grid-template-columns: 58% 1fr; gap: 0; }
  .locale__foto img { aspect-ratio: 4 / 3; }
  .locale__testo { padding-inline: clamp(2.5rem, 5vw, 5rem); text-align: left; margin: 0; }
  .locale__testo .testo { margin-inline: 0; }
  .locale__testo .bottoni { justify-content: flex-start; }
}

/* piatti */
.piatti__colonne { display: grid; gap: clamp(3.5rem, 9vw, 5rem); max-width: 68rem; margin-inline: auto; }
.piatti__colonne h2 { text-align: center; }
@media (min-width: 860px) { .piatti__colonne { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.lista-piatti { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 1.55rem; }
.piatto__nome { font-size: .98rem; font-weight: 400; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; color: var(--intonaco); }
.piatto__en { margin: .2rem 0 0; font-size: .97rem; line-height: 1.5; color: var(--testo-tenue); }
.piatti .lista-piatti { text-align: center; }

/* prenota */
.prenota { position: relative; isolation: isolate; text-align: center; padding: clamp(6rem, 17vw, 11rem) var(--margine); color: #fff; }
.prenota__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.prenota::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(var(--velo), .74); }
.prenota .testo { margin-top: 1.8rem; }

/* dove siamo */
.dove { display: grid; gap: clamp(2.6rem, 7vw, 4rem); max-width: 68rem; margin-inline: auto; }
.dove__foto { margin: 0; }
.dove__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dove__dati { display: grid; gap: 1.6rem; }
.dove__dati p, .dove__dati address { margin: 0; line-height: 1.85; }
.dove__dati a { text-decoration: none; }
.dove__dati a:hover { text-decoration: underline; text-underline-offset: .25em; }
.dove .bottone { justify-self: start; margin-top: .8rem; }
.dove__recensioni { color: var(--testo-tenue); }
@media (min-width: 860px) {
  .dove { grid-template-columns: 1fr minmax(0, 26rem); align-items: center; column-gap: 6rem; }
  .dove__foto { grid-column: 2; grid-row: 1 / span 2; }
  .dove h2 { align-self: end; }
  .dove__dati { align-self: start; }
}


/* ------------------------------------------------------------ piede */
.piede { background: var(--fondo-notte); padding: clamp(4.5rem, 10vw, 7rem) var(--margine) 3rem; text-align: center; border-top: 1px solid rgba(201, 165, 95, .16); }
.blocco--notte + .piede { border-top-color: rgba(201, 165, 95, .28); }
.piede__colonne { display: grid; gap: 3rem; max-width: 60rem; margin: 0 auto; }
@media (min-width: 760px) {
  .piede__colonne { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .piede__colonne > div + div { border-left: 1px solid rgba(201, 165, 95, .22); }
}
.piede__titolo { font-size: .86rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--intonaco); margin-bottom: 1.1rem; }
.piede__colonne p, .piede__colonne address { margin: 0; line-height: 1.85; }
.piede a { text-decoration: none; }
.piede a:hover { text-decoration: underline; text-underline-offset: .25em; }
.piede__marchio { display: flex; align-items: center; gap: 1.6rem; max-width: 60rem; margin: clamp(4rem, 9vw, 6rem) auto 0; }
.piede__marchio::before, .piede__marchio::after { content: ""; flex: 1; height: 1px; background: var(--filo); }
.piede__marchio a { display: block; line-height: 0; }
.piede__marchio img { height: 7.5rem; width: auto; }
.piede__social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.3rem; margin: 1.9rem 0 0; font-size: .74rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--intonaco); }
@media (max-width: 460px) { .piede__social { font-size: .68rem; letter-spacing: .2em; gap: .5rem .85rem; } }
.piede__legale { margin: 2.6rem auto 0; max-width: 46rem; font-size: .8rem; line-height: 1.9; letter-spacing: .04em; color: var(--testo-tenue); }
.piede__legale span { display: block; }

/* ------------------------------------------------------------ pagine interne */
.testata {
  position: relative;
  isolation: isolate;
  min-height: clamp(22rem, 64vh, 36rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem var(--margine) 4.5rem;
  color: #fff;
  overflow: hidden;
}
.testata__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.testata::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--velo), .66), rgba(var(--velo), .48) 55%, var(--fondo)); }
.testata h1 { font-size: clamp(2rem, 8.2vw, 3.6rem); line-height: 1.25; letter-spacing: .22em; text-indent: .22em; text-transform: uppercase; }
.testata p { margin: 1rem 0 0; font-size: 1.02rem; letter-spacing: .08em; }
.testata--bassa { min-height: 0; padding: 9.5rem var(--margine) 3.5rem; }
.testata--bassa::after { display: none; }

.introduzione { text-align: center; padding-bottom: 0; }
.introduzione .testo { margin-top: 2rem; }
.nota { font-size: .92rem; color: var(--testo-tenue); max-width: 36rem; margin: 2rem auto 0; }

/* menu del ristorante */
.menu-indice { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.7rem; margin: 3rem auto 0; padding: 0; max-width: 58rem; }
.menu-indice a { display: inline-block; padding: .5rem 0 .35rem; font-size: .74rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--intonaco); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.menu-indice a:hover { border-color: var(--ottone); }
.sezione-menu { padding: clamp(4rem, 9vw, 6rem) var(--margine) 0; scroll-margin-top: 4.5rem; }
.sezione-menu__titolo { display: flex; align-items: center; justify-content: center; gap: 1.1rem; text-align: center; }
.sezione-menu .lista-piatti { max-width: 64rem; margin: 2.8rem auto 0; gap: 1.7rem 5rem; }
@media (min-width: 820px) { .sezione-menu .lista-piatti { grid-template-columns: 1fr 1fr; } }
.fine-menu { text-align: center; padding: clamp(4rem, 9vw, 6rem) var(--margine) clamp(4.5rem, 11vw, 8rem); }
.fine-menu .nota { margin-top: 0; }
.fine-menu .bottoni { margin-top: 2.4rem; }

/* il ristorante */
.duo { display: grid; gap: clamp(.8rem, 2.2vw, 1.4rem); grid-template-columns: 1fr 1fr; max-width: 76rem; margin: 3rem auto 0; }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.trio { display: grid; gap: clamp(.8rem, 2.2vw, 1.4rem); grid-template-columns: 1fr 1fr; max-width: 76rem; margin: 3rem auto 0; }
.trio img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 820px) { .trio { grid-template-columns: repeat(4, 1fr); } .duo { grid-template-columns: repeat(3, 1fr); } }
.duo > :nth-child(3) { display: none; }
@media (min-width: 820px) { .duo > :nth-child(3) { display: block; } }
.trovi { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem 1.4rem; margin: 2.6rem 0 0; padding: 0; font-size: .78rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--intonaco); }
.trovi a { text-decoration: none; padding-bottom: .4rem; border-bottom: 1px solid var(--filo); }
.trovi a:hover { border-color: var(--ottone); }

/* gallery */
.galleria { columns: 1; column-gap: clamp(.8rem, 2vw, 1.3rem); max-width: 86rem; margin: 0 auto; padding: 0 var(--margine) clamp(4.5rem, 11vw, 8rem); }
@media (min-width: 620px) { .galleria { columns: 2; } }
@media (min-width: 1080px) { .galleria { columns: 3; } }
.galleria__voce { display: block; width: 100%; margin: 0 0 clamp(.8rem, 2vw, 1.3rem); padding: 0; border: 0; background: var(--fondo-notte); cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.galleria__voce img { width: 100%; transition: transform .6s ease, opacity .3s ease; }
.galleria__voce:hover img { transform: scale(1.03); }

.lente { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: 1fr auto; place-items: center; background: rgba(var(--velo), .96); padding: 4.2rem 1rem 1.4rem; }
.lente[hidden] { display: none; }
.lente img { max-width: min(100%, 78rem); max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0; }
.lente__didascalia { margin: 1rem 0 0; font-size: .92rem; letter-spacing: .06em; color: var(--testo); text-align: center; }
.lente button { appearance: none; border: 0; background: none; color: #fff; cursor: pointer; position: absolute; width: 3.4rem; height: 3.4rem; display: grid; place-items: center; }
.lente__chiudi { top: .6rem; right: .6rem; }
.lente__chiudi::before, .lente__chiudi::after { content: ""; position: absolute; width: 2.2rem; height: 1px; background: currentColor; }
.lente__chiudi::before { transform: rotate(45deg); }
.lente__chiudi::after { transform: rotate(-45deg); }
.lente__prima, .lente__dopo { top: 50%; transform: translateY(-50%); }
.lente__prima { left: .2rem; }
.lente__dopo { right: .2rem; }
.lente__prima::before, .lente__dopo::before { content: ""; width: .9rem; height: .9rem; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.lente__prima::before { transform: rotate(-45deg); }
.lente__dopo::before { transform: rotate(135deg); }

/* prenotazioni e contatti */
.recapiti { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 3rem 2rem; max-width: 66rem; text-align: center; }
@media (min-width: 700px) { .recapiti { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .recapiti { grid-template-columns: repeat(4, 1fr); } }
.recapiti__nome { font-size: .74rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--ottone); margin-bottom: .9rem; }
.recapiti__valore { font-size: clamp(1.15rem, 3.6vw, 1.4rem); line-height: 1.55; letter-spacing: .06em; color: var(--intonaco); margin: 0; }
.recapiti__valore a { text-decoration: none; }
.recapiti__valore a:hover { text-decoration: underline; text-underline-offset: .25em; }
.mappa { max-width: 76rem; margin: clamp(3.5rem, 8vw, 5.5rem) auto 0; }
.mappa__riquadro { position: relative; min-height: 24rem; background: var(--fondo-notte); border: 1px solid rgba(201, 165, 95, .22); display: grid; place-items: center; text-align: center; padding: 2rem; overflow: hidden; }
@media (min-width: 700px) { .mappa__riquadro { aspect-ratio: 16 / 9; } }
.mappa__riquadro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.mappa__riquadro > div { position: relative; }
.mappa__riquadro iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mappa__riquadro .nota { margin-top: 1.4rem; color: var(--testo); }
.societa { text-align: center; }
.societa p { margin: 0; line-height: 1.95; color: var(--testo-tenue); font-size: .95rem; }

/* ------------------------------------------------------------ movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  .striscia__riga { animation: none; }
  .diapo, .menu, .menu__voci li, .galleria__voce img { transition: none; }
  .testa--fissa { animation: none; }
}
