/* Il Fontanile – foglio di stile (BDIGITAL, 2026) */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blu: #312782;          /* blu del logo */
  --blu-notte: #16123d;
  --blu-notte-2: #211b57;
  --azzurro: #009ee2;      /* azzurro del logo */
  --brace: #b9461d;
  --brace-chiaro: #e0703f;
  --oro: #d2ab62;
  --crema: #f7f1e7;
  --carta: #fffcf7;
  --sabbia: #ece2d2;
  --inchiostro: #1c1915;
  --testo: #3a332c;
  --grigio: #645a50;
  --linea: #e2d7c6;
  --raggio: 14px;
  --ombra: 0 18px 50px rgba(28, 25, 21, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --larghezza: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--testo); background: var(--crema); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blu); text-underline-offset: .18em; }
a:hover { color: var(--brace); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--inchiostro); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--azzurro); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.contenitore { width: min(var(--larghezza), calc(100% - 40px)); margin-inline: auto; }
.salta { position: absolute; left: -9999px; top: 0; background: var(--blu); color: #fff; padding: .7em 1em; z-index: 100; }
.salta:focus { left: 12px; top: 12px; color: #fff; }
.solo-lettori { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- pulsanti ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .82em 1.45em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-brace { background: var(--brace); color: #fff; }
.btn-brace:hover { background: #9c3a17; color: #fff; }
.btn-blu { background: var(--blu); color: #fff; }
.btn-blu:hover { background: var(--blu-notte-2); color: #fff; }
.btn-chiaro { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-chiaro:hover { background: #fff; color: var(--inchiostro); }
.btn-linea { border-color: var(--blu); color: var(--blu); }
.btn-linea:hover { background: var(--blu); color: #fff; }
.btn-oro { background: var(--oro); color: var(--blu-notte); }
.btn-oro:hover { background: #e3c27f; color: var(--blu-notte); }
.azioni { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- testata ---------- */
.barra { background: var(--blu-notte); color: #d9d5f0; font-size: .9rem; }
.barra .contenitore { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.barra a { color: #fff; text-decoration: none; }
.barra a:hover { color: var(--oro); }
.barra-info { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.testata { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 247, .96); border-bottom: 1px solid var(--linea); backdrop-filter: saturate(1.2) blur(10px); }
.testata .contenitore { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 78px; }
.marchio img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--inchiostro); text-decoration: none; font-weight: 500; padding: .5em .8em; border-radius: 8px; }
.nav a:hover { color: var(--brace); background: var(--sabbia); }
.nav a[aria-current="page"] { color: var(--blu); box-shadow: inset 0 -2px 0 var(--brace); border-radius: 0; }
.nav .lingua { font-size: .85rem; font-weight: 700; letter-spacing: .08em; border: 1px solid var(--linea); border-radius: 999px; padding: .35em .8em; margin-left: .4rem; }
.nav .btn { margin-left: .5rem; padding: .62em 1.15em; }
.nav .btn:hover { background: #9c3a17; color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--linea); border-radius: 10px; padding: .55rem .8rem; font: inherit; font-weight: 600; color: var(--inchiostro); cursor: pointer; align-items: center; gap: .5rem; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--carta); flex-direction: column; align-items: stretch; padding: .8rem 20px 1.4rem; border-bottom: 1px solid var(--linea); box-shadow: var(--ombra); }
  .js .nav.aperta { display: flex; }
  .no-js .nav { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 1rem; }
  .nav a { padding: .8em .6em; border-bottom: 1px solid var(--linea); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brace); }
  .nav .lingua, .nav .btn { margin: .8rem 0 0; align-self: flex-start; border-bottom: 2px solid transparent; }
  .nav .lingua { border: 1px solid var(--linea); }
  .testata .contenitore { position: relative; flex-wrap: wrap; }
  .marchio img { height: 42px; }
}
@media (max-width: 640px) { .barra-orari { display: none; } }

/* ---------- hero home ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--inchiostro); }
.hero-foto, .hero-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 12, 9, .88) 0%, rgba(16, 12, 9, .62) 45%, rgba(16, 12, 9, .15) 100%), linear-gradient(0deg, rgba(16,12,9,.6), transparent 45%); }
.hero .contenitore { position: relative; z-index: 1; padding: 7rem 0 4.5rem; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--oro); }
.hero .lead { max-width: 56ch; font-size: 1.18rem; color: #efe8de; }
.occhiello { display: inline-flex; align-items: center; gap: .7em; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brace); margin-bottom: 1rem; }
.occhiello::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .occhiello, .scuro .occhiello { color: var(--oro); }
.dati-rapidi { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; list-style: none; padding: 1.6rem 0 0; margin: 2rem 0 0; border-top: 1px solid rgba(255,255,255,.22); font-size: .98rem; color: #eae3d8; }
.dati-rapidi li { display: flex; align-items: center; gap: .5em; }
.dati-rapidi svg { width: 18px; height: 18px; color: var(--oro); flex: none; }

/* ---------- sezioni ---------- */
.sezione { padding: clamp(4rem, 8vw, 7rem) 0; }
.sezione-stretta { padding: clamp(3rem, 6vw, 5rem) 0; }
.carta { background: var(--carta); }
.sabbia { background: var(--sabbia); }
.scuro { background: var(--inchiostro); color: #d8d0c4; }
.scuro h2, .scuro h3 { color: #fff; }
.intestazione { max-width: 760px; margin-bottom: 2.8rem; }
.intestazione.centro { margin-inline: auto; text-align: center; }
.intestazione.centro .occhiello::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; }
.due-colonne { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.due-colonne.invertito > :first-child { order: 2; }
@media (max-width: 860px) { .due-colonne { grid-template-columns: 1fr; } .due-colonne.invertito > :first-child { order: 0; } }
.foto { border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto-alta img { aspect-ratio: 4 / 5; }
.foto-larga img { aspect-ratio: 4 / 3; }
.elenco { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .5rem; }
.elenco li { position: relative; padding-left: 1.6rem; }
.elenco li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--brace); box-shadow: 0 0 0 4px rgba(185,70,29,.16); }
.elenco.colonne { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* mosaico foto */
.mosaico { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(380px, 46vw, 560px); }
.mosaico > :first-child { grid-row: span 2; }
.mosaico a, .mosaico figure { margin: 0; border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaico a:hover img { transform: scale(1.04); }

/* ---------- menù delle feste ---------- */
.feste { position: relative; background: radial-gradient(ellipse at 20% 0%, rgba(210,171,98,.18), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(0,158,226,.12), transparent 50%), var(--blu-notte); color: #d8d4ef; overflow: hidden; }
.feste h2, .feste h3 { color: #fff; }
.feste .occhiello { color: var(--oro); }
.feste .lead { color: #cfcae8; }
.feste-griglia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
@media (max-width: 900px) { .feste-griglia { grid-template-columns: 1fr; } }
.festa { display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; padding: 1.4rem; background: rgba(255,255,255,.05); border: 1px solid rgba(210,171,98,.35); border-radius: 18px; }
.festa-foto { border-radius: 10px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.4); align-self: start; display: block; position: relative; }
.festa-foto img { width: 100%; aspect-ratio: 1137 / 1600; object-fit: cover; transition: transform .4s; }
.festa-foto:hover img { transform: scale(1.03); }
.festa-foto .ingrandisci { position: absolute; right: 8px; bottom: 8px; background: rgba(22,18,61,.85); color: #fff; border-radius: 999px; font-size: .78rem; font-weight: 600; padding: .3em .75em; }
.festa-data { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oro); margin-bottom: .4rem; }
.festa h3 { font-size: 1.75rem; margin-bottom: .3rem; }
.prezzo { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: #fff; line-height: 1; margin: .5rem 0 .2rem; }
.prezzo small { font-family: var(--sans); font-size: .88rem; font-weight: 500; color: #bdb7dd; margin-left: .4rem; letter-spacing: 0; }
.festa ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .35rem; font-size: .98rem; }
.festa li::before { content: "✦"; color: var(--oro); margin-right: .55em; font-size: .8em; }
.festa .azioni { margin-top: 1.3rem; }
.festa .btn { padding: .65em 1.15em; font-size: .95rem; }
@media (max-width: 560px) { .festa { grid-template-columns: 1fr; } .festa-foto { max-width: 230px; } }
.nota-feste { margin-top: 2rem; font-size: .92rem; color: #b3aed3; }
.nota-feste a { color: #fff; }

/* menù completi (pagina eventi) */
.carta-menu { position: relative; background: var(--carta); color: var(--testo); border-radius: 6px; padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3rem); text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.carta-menu::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--oro); outline: 1px solid rgba(210,171,98,.45); outline-offset: 4px; border-radius: 3px; pointer-events: none; }
.carta-menu h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--blu); margin-bottom: .2rem; }
.carta-menu .festa-data { color: var(--brace); }
.carta-menu h4 { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brace); margin: 1.8rem 0 .55rem; display: flex; align-items: center; justify-content: center; gap: .8em; }
.carta-menu h4::before, .carta-menu h4::after { content: ""; width: 26px; height: 1px; background: var(--oro); }
.carta-menu ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.carta-menu li { font-family: var(--serif); font-size: 1.08rem; color: var(--inchiostro); }
.carta-menu .extra { margin-top: 1.6rem; font-weight: 700; color: var(--blu); letter-spacing: .04em; }
.carta-menu .prezzo { color: var(--blu); margin-top: 1.4rem; }
.carta-menu .prezzo small { color: var(--grigio); }
.coppia-menu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.coppia-menu + .coppia-menu { margin-top: clamp(3rem, 6vw, 5rem); }
.coppia-menu.invertito > :first-child { order: 2; }
.coppia-menu .festa-foto { max-width: 440px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .coppia-menu { grid-template-columns: 1fr; } .coppia-menu.invertito > :first-child { order: 0; } }
.scarica { display: inline-flex; gap: .4em; align-items: center; margin-top: .9rem; color: #fff; font-weight: 600; font-size: .95rem; }
.scarica:hover { color: var(--oro); }

/* ---------- schede ---------- */
.schede { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
@media (max-width: 960px) { .schede { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .schede { grid-template-columns: 1fr; } }
.scheda { background: var(--carta); border-radius: var(--raggio); overflow: hidden; box-shadow: 0 6px 24px rgba(28,25,21,.07); border: 1px solid var(--linea); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.scheda:hover { transform: translateY(-4px); box-shadow: var(--ombra); }
.scheda img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.scheda-testo { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.scheda-testo p { color: var(--grigio); }
.scheda-testo .link { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--brace); }
.scheda-testo .link:hover { text-decoration: underline; }
.scheda .num { font-family: var(--serif); font-size: .95rem; color: var(--brace); font-style: italic; margin-bottom: .2rem; }

/* striscia locandine */
.locandine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.locandine a { border-radius: var(--raggio); overflow: hidden; box-shadow: var(--ombra); display: block; }
.locandine img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .5s; }
.locandine a:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .locandine { grid-template-columns: repeat(2, minmax(0,1fr)); } .locandine a:last-child { display: none; } }

/* numeri / punti forti */
.punti { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 860px) { .punti { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.punto { border-top: 2px solid var(--brace); padding-top: 1rem; }
.punto strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--inchiostro); font-weight: 600; margin-bottom: .2rem; }
.punto span { color: var(--grigio); font-size: .97rem; }
.scuro .punto strong { color: #fff; }
.scuro .punto span { color: #c9c0b3; }
.scuro .punto { border-color: var(--oro); }

/* ---------- pagine interne ---------- */
.testa-pagina { position: relative; color: #fff; background: var(--inchiostro); overflow: hidden; }
.testa-pagina .sfondo, .testa-pagina .sfondo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testa-pagina::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,12,9,.86), rgba(16,12,9,.45) 70%, rgba(16,12,9,.25)); }
.testa-pagina .contenitore { position: relative; z-index: 1; padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 4.5rem); }
.testa-pagina h1 { color: #fff; max-width: 18ch; font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
.testa-pagina .lead { max-width: 60ch; color: #ece5da; margin: 0; }
.testa-pagina .occhiello { color: var(--oro); }
.testa-semplice { background: var(--blu-notte); }
.testa-semplice::after { display: none; }

/* galleria */
.galleria { columns: 4 260px; column-gap: 14px; }
.galleria a { display: block; margin-bottom: 14px; border-radius: 10px; overflow: hidden; break-inside: avoid; position: relative; }
.galleria img { width: 100%; transition: transform .5s, filter .3s; }
.galleria a:hover img { transform: scale(1.04); filter: brightness(1.05); }
.filtri { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filtri a { text-decoration: none; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--linea); color: var(--inchiostro); font-weight: 500; background: var(--carta); }
.filtri a:hover { border-color: var(--brace); color: var(--brace); }
.titolo-galleria { margin: 3rem 0 1.2rem; font-size: 1.7rem; }
.titolo-galleria:first-of-type { margin-top: 0; }

/* contatti */
.contatti-griglia { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
@media (max-width: 860px) { .contatti-griglia { grid-template-columns: 1fr; } }
.recapiti { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .3rem; }
.recapiti li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--linea); }
.scuro .recapiti li { border-color: rgba(255,255,255,.12); }
.recapiti .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blu); color: #fff; }
.scuro .recapiti .ico { background: var(--brace); }
.recapiti svg { width: 20px; height: 20px; }
.recapiti small { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grigio); font-weight: 600; }
.scuro .recapiti small { color: #a99f92; }
.recapiti a, .recapiti strong { font-size: 1.12rem; font-weight: 600; color: var(--inchiostro); text-decoration: none; }
.scuro .recapiti a, .scuro .recapiti strong { color: #fff; }
.recapiti a:hover { color: var(--brace); }
.mappa { position: relative; border-radius: var(--raggio); overflow: hidden; min-height: 380px; background: var(--blu-notte); color: #fff; display: flex; align-items: flex-end; box-shadow: var(--ombra); }
.mappa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.mappa-testo { position: relative; padding: 2rem; background: linear-gradient(0deg, rgba(22,18,61,.95), rgba(22,18,61,.6) 70%, transparent); width: 100%; }
.mappa-testo h3 { color: #fff; }
.mappa-testo p { color: #dcd8f2; font-size: .98rem; }
.mappa-testo small { display: block; color: #b9b4da; margin-top: .8rem; font-size: .82rem; }
.orari { background: var(--carta); border: 1px solid var(--linea); border-radius: var(--raggio); padding: 1.4rem 1.6rem; }
.scuro .orari { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.orari h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.orari p { margin: 0 0 .3rem; }

/* testi legali */
.legale { max-width: 820px; }
.legale h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.legale h2:first-child { margin-top: 0; }
.legale table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .97rem; display: block; overflow-x: auto; }
@media (min-width: 700px) { .legale table { display: table; } }
.legale th, .legale td { text-align: left; padding: .7rem; border-bottom: 1px solid var(--linea); vertical-align: top; }
.legale th { background: var(--sabbia); }
.aggiornato { color: var(--grigio); font-size: .92rem; }

/* invito finale */
.invito { position: relative; overflow: hidden; color: #fff; background: var(--brace); }
.invito::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 40%), radial-gradient(circle at 10% 120%, rgba(0,0,0,.25), transparent 50%); }
.invito .contenitore { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.invito h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.invito p { margin: 0; color: #ffe9de; }
.invito .btn-chiaro:hover { color: var(--brace); }

/* ---------- piè di pagina ---------- */
.piede { background: var(--blu-notte); color: #c9c5e6; font-size: .96rem; padding: 4.5rem 0 0; }
.piede a { color: #fff; text-decoration: none; }
.piede a:hover { color: var(--oro); text-decoration: underline; }
.piede-griglia { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .piede-griglia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .piede-griglia { grid-template-columns: 1fr; } }
.piede img { height: 46px; width: auto; margin-bottom: 1.1rem; }
.piede h2 { font-family: var(--sans); color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.piede p { margin: 0 0 .4rem; }
.piede ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.piede-legale { border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0 1.6rem; font-size: .86rem; color: #a7a2cc; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.piede-legale p { margin: 0; }

/* ---------- lightbox ---------- */
.lb-dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lb-dialog::backdrop { background: rgba(10, 8, 20, .92); }
.lb-dialog[open] { display: grid; place-items: center; }
.lb-dialog figure { margin: 0; display: grid; gap: .8rem; justify-items: center; max-width: calc(100vw - 120px); }
.lb-dialog img { max-width: calc(100vw - 120px); max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-dialog figcaption { color: #e6e2f5; font-size: .95rem; text-align: center; }
.lb-btn { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-chiudi { top: 16px; right: 16px; }
.lb-prec { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-succ { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-dialog figure, .lb-dialog img { max-width: calc(100vw - 24px); } .lb-prec, .lb-succ { top: auto; bottom: 16px; transform: none; } }

.mosaico-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mosaico-4 > :first-child { grid-row: auto; }
.galleria-3 { columns: 3 220px; }
[data-centro] { justify-content: center; }

/* scadenza contenuti stagionali (gestita da JS) */
.scaduto { display: none !important; }

/* 404 */
.pagina-errore { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 5rem 0; }
.pagina-errore .grande { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); color: var(--brace); line-height: 1; margin-bottom: .5rem; }

@media print { .barra, .testata, .piede, .invito, .azioni { display: none; } body { background: #fff; } .feste { background: #fff; color: #000; } }
.scarica svg { width: 18px; height: 18px; flex: none; }
.feste .intestazione.centro .azioni { justify-content: center; }
