/* Riqualificazione 360 - restyling */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --rosso: #e01f26;
  --rosso-scuro: #b8151b;
  --rosso-chiaro: #fdecec;
  --notte: #0e2440;
  --notte-2: #16335a;
  --testo: #14223a;
  --grigio: #5a6577;
  --chiaro: #f5f6f8;
  --bordo: #e1e5ec;
  --bianco: #fff;
  --raggio: 14px;
  --max: 1180px;
  --header-h: 76px;
  --ombra: 0 10px 30px rgba(14, 36, 64, .08);
  --ombra-forte: 0 18px 40px rgba(14, 36, 64, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--testo);
  background: var(--bianco);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rosso); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--rosso); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--rosso { background: var(--rosso); color: #fff; box-shadow: 0 8px 20px rgba(224, 31, 38, .3); }
.btn--rosso:hover { background: var(--rosso-scuro); transform: translateY(-2px); }
.btn--chiaro { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--chiaro:hover { background: #fff; color: var(--notte); }
.btn--bianco { background: #fff; color: var(--rosso-scuro); }
.btn--bianco:hover { transform: translateY(-2px); box-shadow: var(--ombra-forte); }
.btn--linea { border-color: var(--rosso); color: var(--rosso); }
.btn--linea:hover { background: var(--rosso); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordo);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--testo); }
.brand img { width: 44px; height: auto; }
.brand span { font-weight: 800; font-size: 15px; letter-spacing: .06em; }
.brand span b { color: var(--rosso); font-weight: 800; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block; text-decoration: none; color: var(--testo); font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--chiaro); }
.main-nav a[aria-current="page"] { color: var(--rosso); }
.main-nav .nav-cta a { background: var(--rosso); color: #fff; padding: 10px 20px; margin-left: 8px; }
.main-nav .nav-cta a:hover { background: var(--rosso-scuro); }

/* Header trasparente sopra la hero della home */
.home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; backdrop-filter: none; border-bottom-color: transparent;
}
.home .site-header .brand, .home .site-header .main-nav a { color: #fff; }
.home .site-header:not(.scrolled):not(.menu-aperto) .brand img { background: #fff; border-radius: 50%; padding: 3px; }
.home .site-header .main-nav a:hover { background: rgba(255,255,255,.12); }
.home .site-header.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom-color: var(--bordo); box-shadow: var(--ombra); }
.home .site-header.scrolled .brand, .home .site-header.scrolled .main-nav a { color: var(--testo); }
.home .site-header.scrolled .main-nav a:hover { background: var(--chiaro); }
.home .site-header .main-nav .nav-cta a { color: #fff; }
.home .site-header .main-nav a[aria-current="page"] { color: inherit; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
.site-header { color: var(--testo); }
.home .site-header:not(.scrolled) { color: #fff; }

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .brand span { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px 24px; display: none; overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a, .home .site-header .main-nav a { color: var(--testo); font-size: 20px; padding: 14px 10px; border-radius: 10px; }
  .main-nav .nav-cta a { margin: 12px 0 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .home .site-header.menu-aperto { background: #fff; color: var(--testo); }
  .home .site-header.menu-aperto .brand { color: var(--testo); }
}

/* ---------- Hero home ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: #fff; overflow: hidden;
  background: var(--notte);
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-sfondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,36,64,.88) 0%, rgba(14,36,64,.6) 50%, rgba(14,36,64,.15) 100%);
}
.hero .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(14,36,64,.75) 0%, rgba(14,36,64,.82) 60%, rgba(14,36,64,.9) 100%); }
}
.hero-testo { max-width: 640px; animation: entra .9s ease-out both; }
@keyframes entra { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.occhiello {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rosso); margin-bottom: 14px;
}
.hero .occhiello { color: #ff8f93; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); margin-bottom: 20px; }
.hero h1 span { color: #ff6b70; }
.hero-sotto { font-size: clamp(17px, 1.6vw, 20px); color: #d6e0ee; max-width: 540px; margin-bottom: 32px; }
.hero-azioni { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-fiducia { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; font-size: 14px; color: #c3d0e2; }
.hero-fiducia span { display: inline-flex; align-items: center; gap: 8px; }
.hero-fiducia svg { width: 18px; height: 18px; stroke: #ff8f93; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.scroll-giu {
  position: absolute; left: 50%; bottom: 24px; z-index: 1; transform: translateX(-50%);
  width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px;
}
.scroll-giu::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: rotellina 1.8s infinite;
}
@keyframes rotellina { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Testata pagine interne ---------- */
.testata {
  background: var(--notte); color: #fff; padding: 70px 0 64px; position: relative; overflow: hidden;
}
.testata::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(224,31,38,.18);
}
.testata .container { position: relative; z-index: 1; }
.testata h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 10px; }
.testata p { color: #c3d0e2; font-size: 18px; max-width: 640px; margin: 0; }
.testata .occhiello { color: #ff8f93; }

/* ---------- Sezioni ---------- */
.sezione { padding: 96px 0; }
.sezione--chiara { background: var(--chiaro); }
.sezione--notte { background: var(--notte); color: #fff; }
.intestazione { max-width: 720px; margin-bottom: 48px; }
.intestazione--centro { margin-left: auto; margin-right: auto; text-align: center; }
.intestazione p { color: var(--grigio); font-size: 18px; }
.sezione--notte .intestazione p { color: #c3d0e2; }
@media (max-width: 760px) { .sezione { padding: 64px 0; } .intestazione { margin-bottom: 32px; } }

/* Numeri */
.numeri { background: #fff; border-bottom: 1px solid var(--bordo); }
.numeri .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.numero { padding: 34px 20px; text-align: center; border-left: 1px solid var(--bordo); }
.numero:first-child { border-left: 0; }
.numero strong { display: block; font-size: clamp(32px, 4vw, 44px); font-weight: 800; color: var(--rosso); line-height: 1.1; letter-spacing: -.03em; }
.numero span { font-size: 15px; color: var(--grigio); }
@media (max-width: 760px) {
  .numeri .container { grid-template-columns: 1fr 1fr; padding: 0; }
  .numero { border-top: 1px solid var(--bordo); }
  .numero:nth-child(odd) { border-left: 0; }
  .numero:nth-child(-n+2) { border-top: 0; }
}

/* Vantaggi */
.vantaggi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vantaggio { padding: 32px; border-radius: var(--raggio); background: #fff; border: 1px solid var(--bordo); }
.vantaggio .icona { margin-bottom: 18px; }
.vantaggio p { color: var(--grigio); margin: 0; }
@media (max-width: 860px) { .vantaggi { grid-template-columns: 1fr; } }

.icona {
  width: 56px; height: 56px; border-radius: 14px; background: var(--rosso-chiaro);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.icona svg { width: 28px; height: 28px; stroke: var(--rosso); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Schede servizi */
.servizi-griglia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scheda {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border-radius: var(--raggio); padding: 28px; border: 1px solid var(--bordo);
  text-decoration: none; color: var(--testo); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.scheda:hover { transform: translateY(-6px); box-shadow: var(--ombra-forte); border-color: transparent; }
.scheda .num { position: absolute; top: 24px; right: 26px; font-weight: 800; font-size: 15px; color: #c9cfd9; }
.scheda h3 { margin: 8px 0 0; }
.scheda p { color: var(--grigio); margin: 0; font-size: 16px; }
.scheda .vai { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; color: var(--rosso); display: inline-flex; align-items: center; gap: 6px; }
.scheda .vai svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .2s; }
.scheda:hover .vai svg { transform: translateX(4px); }
@media (max-width: 960px) { .servizi-griglia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .servizi-griglia { grid-template-columns: 1fr; } }

/* Metodo */
.passi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: passo; }
.passo { position: relative; padding-top: 26px; border-top: 3px solid rgba(255,255,255,.15); }
.passo::before {
  counter-increment: passo; content: "0" counter(passo);
  display: block; font-size: 44px; font-weight: 800; color: var(--rosso); line-height: 1; margin-bottom: 14px;
}
.passo p { color: #c3d0e2; margin: 0; font-size: 16px; }
@media (max-width: 860px) { .passi { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .passi { grid-template-columns: 1fr; } }

/* Doppia colonna testo/immagine */
.doppia { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.doppia--inversa > :first-child { order: 2; }
.foto-arrotondata { border-radius: 22px; overflow: hidden; box-shadow: var(--ombra-forte); }
.foto-arrotondata img { width: 100%; }
.elenco-check { list-style: none; padding: 0; margin: 20px 0 28px; }
.elenco-check li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.elenco-check li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--rosso-chiaro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e01f26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (max-width: 860px) { .doppia { grid-template-columns: 1fr; gap: 36px; } .doppia--inversa > :first-child { order: 0; } }

/* Progetti / gallery */
.progetti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.progetto {
  position: relative; display: block; margin: 0; border-radius: var(--raggio); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--chiaro); cursor: zoom-in;
}
.progetto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.progetto:hover img { transform: scale(1.06); }
.progetto .didascalia {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-weight: 700;
  background: linear-gradient(transparent, rgba(14,36,64,.85));
  display: flex; align-items: center; gap: 8px;
}
.progetto .didascalia svg { width: 18px; height: 18px; stroke: #ff8f93; fill: none; stroke-width: 2; }
.progetto .didascalia small { font-weight: 500; opacity: .8; }
@media (max-width: 860px) { .progetti { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .progetti { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 90vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 18, 34, .9); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 12px; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 700; }
.lightbox button {
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: var(--notte); font-size: 22px; cursor: pointer; line-height: 1;
}

/* Banda CTA */
.banda-cta {
  background: var(--rosso); color: #fff; border-radius: 24px; padding: 52px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.banda-cta::after {
  content: ""; position: absolute; right: -80px; bottom: -140px; width: 320px; height: 320px; border-radius: 50%;
  border: 50px solid rgba(255,255,255,.12);
}
.banda-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); }
.banda-cta p { margin: 0; color: #ffe1e2; font-size: 18px; }
.banda-cta .btn { position: relative; z-index: 1; }
@media (max-width: 620px) { .banda-cta { padding: 36px 26px; } }

/* ---------- Chi siamo ---------- */
.ritratto { border-radius: 22px; overflow: hidden; box-shadow: var(--ombra-forte); max-width: 440px; }
.citazione {
  margin: 28px 0 0; padding: 20px 24px; border-left: 4px solid var(--rosso); background: var(--chiaro);
  border-radius: 0 12px 12px 0; font-weight: 600; font-size: 18px;
}
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--bordo); }
.tappa { position: relative; padding-bottom: 36px; }
.tappa:last-child { padding-bottom: 0; }
.tappa::before {
  content: ""; position: absolute; left: -38px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 5px solid var(--rosso);
}
.tappa .anno { font-weight: 800; color: var(--rosso); font-size: 15px; letter-spacing: .08em; }
.tappa h3 { margin: 4px 0 6px; }
.tappa p { color: var(--grigio); margin: 0; }
.valori { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.valore { display: flex; gap: 18px; background: #fff; border: 1px solid var(--bordo); border-radius: var(--raggio); padding: 24px; }
.valore h3 { margin: 2px 0 4px; }
.valore p { color: var(--grigio); margin: 0; font-size: 16px; }
.loghi { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.loghi img { height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.loghi img:hover { filter: none; opacity: 1; }

/* ---------- Servizi dettaglio ---------- */
.servizio-dettaglio { scroll-margin-top: calc(var(--header-h) + 20px); }
.servizio-dettaglio + .servizio-dettaglio { margin-top: 96px; }
.servizio-dettaglio .icona { margin-bottom: 18px; }
@media (max-width: 760px) { .servizio-dettaglio + .servizio-dettaglio { margin-top: 64px; } }

/* ---------- Contatti ---------- */
.contatti-griglia { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.recapiti { display: grid; gap: 14px; }
.recapito {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--raggio);
  background: #fff; border: 1px solid var(--bordo); text-decoration: none; color: var(--testo);
  transition: border-color .2s, box-shadow .2s;
}
a.recapito:hover { border-color: var(--rosso); box-shadow: var(--ombra); }
.recapito .icona { width: 48px; height: 48px; border-radius: 12px; }
.recapito .icona svg { width: 24px; height: 24px; }
.recapito small { display: block; color: var(--grigio); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.recapito strong { font-weight: 700; word-break: break-word; }
.mappa {
  margin-top: 14px; border-radius: var(--raggio); overflow: hidden; background: var(--chiaro); aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center; text-align: center; position: relative; border: 1px solid var(--bordo);
}
.mappa iframe { border: 0; width: 100%; height: 100%; position: absolute; inset: 0; }
.mappa-consenso { padding: 24px; font-size: 15px; max-width: 380px; color: var(--grigio); }
.mappa-consenso p { margin: 0 0 14px; }
@media (max-width: 960px) { .contatti-griglia { grid-template-columns: 1fr; } }

/* Form */
.form-box { background: #fff; border-radius: 22px; padding: 36px; box-shadow: var(--ombra-forte); }
.form-box h2 { font-size: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: flex; flex-direction: column; margin-bottom: 16px; min-width: 0; }
.campo label { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid var(--bordo);
  border-radius: 12px; background: var(--chiaro); color: var(--testo); transition: border-color .2s, background .2s, box-shadow .2s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--rosso); background: #fff; box-shadow: 0 0 0 4px rgba(224,31,38,.12); }
.campo textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--grigio); margin: 4px 0 22px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--rosso); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; }
.esito { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-size: 16px; display: none; }
.esito--ok { background: #e6f5e9; color: #1b5e20; display: block; }
.esito--ko { background: #fdecec; color: #8e1116; display: block; }
.nota { font-size: 13px; color: var(--grigio); margin: 14px 0 0; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } .form-box { padding: 26px 20px; } }

/* ---------- Pagine legali ---------- */
.testo-legale { max-width: 820px; }
.testo-legale h2 { font-size: 24px; margin-top: 1.8em; }
.testo-legale ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--notte); color: #b9c6d8; padding: 72px 0 0; font-size: 15px; }
.footer-griglia { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9c6d8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand img { width: 72px; margin-bottom: 14px; background: #fff; border-radius: 50%; padding: 4px; }
.site-footer li { overflow-wrap: anywhere; }
.footer-brand p { max-width: 300px; }
.partner { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.partner img { height: 42px; width: auto; background: #fff; border-radius: 6px; padding: 4px; }
.footer-fondo {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 14px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 960px) { .footer-griglia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-griglia { grid-template-columns: 1fr; } .site-footer { padding-bottom: 70px; } }

/* ---------- Pulsanti flottanti ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.barra-mobile { display: none; }
@media (max-width: 560px) {
  .wa-float { display: none; }
  .barra-mobile {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #fff; box-shadow: 0 -6px 20px rgba(14,36,64,.12); padding: 10px; gap: 10px;
  }
  .barra-mobile a {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px;
    text-decoration: none; font-weight: 700; font-size: 15px;
  }
  .barra-mobile svg { width: 20px; height: 20px; }
  .barra-mobile .chiama { background: var(--rosso); color: #fff; }
  .barra-mobile .chiama svg { stroke: #fff; fill: none; stroke-width: 2; }
  .barra-mobile .whatsapp { background: #25d366; color: #fff; }
  .barra-mobile .whatsapp svg { fill: #fff; }
}

/* ---------- Animazioni all'ingresso ---------- */
.js .rivela { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .rivela.visibile { opacity: 1; transform: none; }
.js .rivela-gruppo > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .rivela-gruppo.visibile > * { opacity: 1; transform: none; }
.js .rivela-gruppo.visibile > *:nth-child(2) { transition-delay: .08s; }
.js .rivela-gruppo.visibile > *:nth-child(3) { transition-delay: .16s; }
.js .rivela-gruppo.visibile > *:nth-child(4) { transition-delay: .24s; }
.js .rivela-gruppo.visibile > *:nth-child(5) { transition-delay: .32s; }
.js .rivela-gruppo.visibile > *:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rivela, .js .rivela-gruppo > * { opacity: 1; transform: none; transition: none; }
  .scroll-giu::after, .hero-testo { animation: none; }
}
