/* Fisiclean · sito pubblico
   Layout: colonna fluida centrata a 1120px, sezioni a fasce; motivo grafico = onde concentriche della goccia del logo.
   Font ospitati in locale (nessuna richiesta a server esterni): metti Dosis.ttf e NunitoSans.ttf nella cartella /fonts. */
@font-face { font-family: 'Dosis'; src: url('/fonts/Dosis.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('/fonts/NunitoSans.ttf') format('truetype'); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #0E2A3A;
  --muted: #4C6372;
  --paper: #F2F6F8;
  --white: #FFFFFF;
  --line: #D9E4EA;
  --blue: #0A6496;
  --blue-deep: #084C73;
  --teal: #13877C;
  --teal-ink: #0B5C54;
  --teal-soft: #DDF0EC;
  --blue-soft: #DCEBF4;
  --display: 'Dosis', 'Bahnschrift', 'Arial Narrow', sans-serif;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; font-weight: 400; font-synthesis: none; -webkit-font-smoothing: antialiased; }
b, strong { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.narrow { max-width: 780px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h2 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 700; color: var(--blue-deep); }
h3 { font-size: 25px; font-weight: 600; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 14px 0 0; }
section { padding-block: clamp(64px, 9vw, 112px); }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .03em; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-wa { background: var(--teal); color: var(--white); }
.btn-wa:hover { background: #0F6E65; }
.btn-line { border: 2px solid currentColor; color: var(--blue); }
.btn-white { background: var(--white); color: var(--blue-deep); }

/* Barra in alto */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--paper); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgb(242 246 248 / .93); backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img:first-child { width: 60px; height: auto; }
.brand img:last-child { width: 132px; height: auto; }
@media (max-width: 600px) { .bar { min-height: 72px; } .brand img:first-child { width: 48px; } .brand img:last-child { width: 108px; } }
@media (max-width: 380px) { .brand { gap: 8px; } .brand img:first-child { width: 42px; } .brand img:last-child { width: 94px; } .bar .btn { padding: 0 14px; } }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 0; }
.menu a:hover, .menu a[aria-current] { color: var(--blue); }
.bar .btn { min-height: 44px; padding: 0 18px; font-size: 17px; }
@media (max-width: 900px) { .menu { display: none; } .bar .btn { margin-left: auto; } }

/* Apertura home */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; color: var(--blue-deep); }
.hero h1 span { color: var(--teal); display: block; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.hero-note b { color: var(--ink); }
.hero .hero-photo { aspect-ratio: 4 / 5; width: 100%; max-width: 460px; justify-self: end; box-shadow: 0 30px 60px -20px rgb(8 76 115 / .35); }
.ripples { position: absolute; left: 50%; bottom: -46%; width: 1700px; max-width: none; transform: translateX(-50%); z-index: 0; pointer-events: none; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .hero-photo { aspect-ratio: 16 / 10; max-width: none; justify-self: stretch; }
  .ripples { bottom: -30%; width: 1100px; }
}

/* Apertura pagine interne */
.page-hero { position: relative; overflow: hidden; padding-block: 28px clamp(56px, 8vw, 96px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; color: var(--blue-deep); max-width: 18ch; }
.page-hero .ripples { bottom: -70%; opacity: .8; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* Servizi */
.services { background: var(--white); }
.grid-svc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.svc { grid-column: span 2; position: relative; padding: 12px 12px 28px; border-radius: 22px; background: var(--paper); display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(8 76 115 / .12); }
.svc h3 { color: var(--blue-deep); padding: 8px 14px 0; }
.svc p { margin: 0; padding: 0 14px; color: var(--muted); }
.svc .more { margin-inline: 14px; margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue); }
@media (max-width: 960px) { .grid-svc { grid-template-columns: minmax(0, 1fr); } .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: auto; } }

/* Perché noi */
.why .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; margin: 0; padding: 0; list-style: none; }
.points li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--line); }
.points strong { font-family: var(--display); font-size: 24px; color: var(--blue-deep); line-height: 1.1; }
.points span { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .why .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 520px) { .points { grid-template-columns: minmax(0, 1fr); } }

/* Come iniziare */
.band { background: var(--blue-deep); color: var(--white); }
.band h2 { color: var(--white); }
.band .kicker { color: #8FD9CC; }
.band .lead { color: #CFE3EF; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 26px; border-radius: 22px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--blue-deep); font-family: var(--body); font-weight: 700; font-size: 19px; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.steps h3 { font-size: 24px; }
.steps p { margin: 8px 0 0; color: #CFE3EF; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Recensioni */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 44px; }
.review { margin: 0; padding: 28px 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 16.5px; }
.review blockquote::before { content: "“"; display: block; font-family: var(--display); font-size: 64px; line-height: .6; color: var(--teal); margin-bottom: 8px; }
.review figcaption { margin-top: auto; font-weight: 700; }
.review figcaption a { color: var(--blue-deep); text-decoration: none; }
.review figcaption small { display: block; font-weight: 600; color: var(--muted); }

/* Zona servita */
.area { background: var(--white); }
.area .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.towns li { padding: 10px 18px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; }
.towns li.main { background: var(--blue); color: var(--white); }
@media (max-width: 860px) { .area .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Contenuto pagine servizio */
.content { background: var(--white); }
.cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: start; }
.prose h2 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 14px 0 0; max-width: 65ch; }
.checks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313877C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.aside { position: sticky; top: 96px; padding: 28px; border-radius: 22px; background: var(--blue-deep); color: var(--white); display: flex; flex-direction: column; gap: 14px; }
.aside h2 { font-size: 30px; color: var(--white); }
.aside p { margin: 0; color: #CFE3EF; }
.aside .btn { width: 100%; }
.aside small { color: #CFE3EF; font-size: 14px; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); gap: 40px; } .aside { position: static; } }

/* Domande frequenti */
.faq { display: grid; gap: 10px; margin-top: 32px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat, var(--blue-soft); }
.faq details[open] summary::after { background: linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat, var(--blue-soft); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.content .faq details { background: var(--paper); border-color: transparent; }

/* Altri servizi */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 28px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.related a:hover { border-color: var(--blue); }

/* Contatti */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.cards { display: grid; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-width: 0; }
.ccard:hover { border-color: var(--blue); }
.ccard .ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.ccard .ico svg { width: 24px; height: 24px; }
.ccard > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ccard small { color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.ccard strong { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Testi legali */
.legal { background: var(--white); }
.legal h2 { font-size: 28px; margin-top: 40px; }
.legal p, .legal li { max-width: 72ch; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--paper); font-weight: 700; }
.table-box { overflow-x: auto; }

/* Piè di pagina */
.site-foot { background: var(--ink); color: #B9CBD6; padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 36px; }
.site-foot h2 { font-size: 17px; font-weight: 600; color: var(--white); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.site-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .logo-w { width: 110px; height: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.site-foot p { margin: 0; max-width: 40ch; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

.float-wa { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 20; width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center; background: var(--teal); color: var(--white); box-shadow: 0 8px 24px rgb(8 76 115 / .3); }
.float-wa svg { width: 34px; height: 34px; }
@media (max-width: 900px) { .float-wa { display: grid; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .svc { transition: none; } }

/* Foto, con riserva grafica nei colori del marchio finché l'immagine non c'è */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 24px; max-width: 100%; aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, var(--teal) 0%, var(--blue) 70%, var(--blue-deep) 100%); }
.photo-fb { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / .92);
  background: repeating-radial-gradient(ellipse 120% 60% at 50% 115%, rgb(255 255 255 / .09) 0 2px, transparent 3px 34px); }
.photo-fb img { width: 42%; max-width: 220px; filter: brightness(0) invert(1); opacity: .95; }
.photo-fb svg { width: 64px; height: 64px; }
.photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-photo { aspect-ratio: 16 / 10; border-radius: 16px; }
.svc-photo .photo-fb svg { width: 54px; height: 54px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; margin-top: 22px; }
.page-photo { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -24px rgb(8 76 115 / .35); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .page-photo { aspect-ratio: 16 / 10; } }

/* Logo nell'apertura con effetto liquido: onde che si allargano dal punto in cui cade la goccia */

/* Logo grande nell'apertura (fermo) */
.hero-logo { justify-self: center; width: min(100%, 380px); }
.hero-logo img { width: 100%; height: auto; }
@media (max-width: 860px) { .hero-logo { order: -1; width: 200px; } }
.svc:nth-child(4) .svc-photo, .svc:nth-child(5) .svc-photo { aspect-ratio: 16 / 10; }

/* Perché sceglierci: foto di sfondo */
.why { position: relative; overflow: hidden; isolation: isolate; color: var(--white); }
.why::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('/img/sfondo-perche.jpg') center 70% / cover no-repeat; }
.why::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgb(6 52 80 / .92) 0%, rgb(8 76 115 / .78) 50%, rgb(10 100 150 / .55) 100%); }
.why h2 { color: var(--white); }
.why .kicker { color: #8FD9CC; }
.why .lead { color: #DCEBF4; }
.why .points li { border-top-color: rgb(255 255 255 / .35); }
.why .points strong { color: var(--white); }
.why .points span { color: #E3EEF5; }
.svc:nth-child(4) .photo-img { object-position: 50% 8%; }
.page-photo .photo-img { object-position: 50% 15%; }

/* La prima schermata occupa tutta l'altezza visibile (meno la barra in alto) */
.hero { min-height: calc(100vh - 84px); min-height: calc(100svh - 84px - env(safe-area-inset-top, 0px)); display: flex; align-items: center; }
.hero .wrap { width: 100%; }
@media (max-width: 600px) { .hero { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px - env(safe-area-inset-top, 0px)); } }
.hero { padding-block: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .hero-logo { width: 130px; } .hero .wrap { gap: 20px; } .cta-row { margin-top: 22px; } }
@media (max-height: 760px) and (min-width: 861px) { .hero h1 { font-size: clamp(36px, 4.6vw, 54px); } .hero-logo { width: min(100%, 320px); } }
