/* Abate Caldaie — design "termico" (RF Digital, ottobre 2026) */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ice: #edf2f6;
  --paper: #ffffff;
  --ink: #15202c;
  --ink-2: #4a5a6b;
  --line: #d3dce5;
  --night: #121a3a;
  --flame: #cf4410;
  --flame-hover: #b53a0c;
  --wa: #147a40;
  --t0: #1b2a6b;
  --t1: #2f5bea;
  --t2: #8e3cb5;
  --t3: #e8541a;
  --t4: #ffb21e;
  --t5: #fff4c2;
  --thermal: linear-gradient(90deg, var(--t0), var(--t1) 22%, var(--t2) 45%, var(--t3) 66%, var(--t4) 84%, var(--t5));
  --wrap: min(1240px, 100% - 48px);
  --r: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--t1); outline-offset: 3px; border-radius: 2px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-stretch: 112%; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.04; font-weight: 780; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }

/* ---------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r);
  font: inherit; font-weight: 700; font-stretch: 108%; font-size: 1.02rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--call { background: var(--flame); color: #fff; }
.btn--call:hover { background: var(--flame-hover); }
.btn--wa { border-color: var(--wa); color: var(--wa); background: transparent; }
.btn--wa:hover { background: var(--wa); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------------- header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 242, 246, .97);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { text-decoration: none; font-weight: 850; font-stretch: 125%; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo span { font-weight: 400; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: .97rem; font-weight: 550; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.top__tel { text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 1.15rem; white-space: nowrap; }
.top__tel small { display: block; font-size: .72rem; font-weight: 500; color: var(--ink-2); font-stretch: 100%; line-height: 1; }
@media (max-width: 1080px) { .nav { display: none; } .top__tel { margin-left: auto; } }

/* ---------------- hero */
.hero { min-height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: center; padding-top: clamp(24px, 5vh, 56px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4.3rem); line-height: .98; font-weight: 820; font-stretch: 118%; max-width: 15ch; }
.hero__side { display: grid; gap: 22px; padding-bottom: 6px; }
.hero__lead { color: var(--ink-2); max-width: 42ch; font-size: 1.1rem; }
.hero__lead strong { color: var(--ink); font-weight: 650; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.thermo { position: relative; margin-top: clamp(18px, 4vh, 44px); }
.thermo canvas { width: 100%; height: auto; display: block; }
.thermo__scale { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-bottom: 22px; color: var(--ink-2); font-size: .9rem; }
.thermo__bar { flex: 1; height: 4px; border-radius: 2px; background: var(--thermal); }
@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { max-width: 18ch; font-size: clamp(2rem, 1.2rem + 4vw, 2.6rem); }
  .hero__lead { font-size: 1.02rem; }
  .thermo { margin-top: 26px; }
  .thermo__scale { font-size: .82rem; }
}

/* ---------------- sections */
.sec { padding-block: clamp(64px, 11vh, 120px); }
.sec--screen { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.sec__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(28px, 5vh, 48px); }
.sec__head p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) { .sec__head { grid-template-columns: 1fr; gap: 14px; } }
.sec--night { background: var(--night); color: #e8ecf8; }
.sec--night .sec__head p, .sec--night .muted { color: #a9b3d6; }
.sec--paper { background: var(--paper); }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--t3); }

/* ---------------- prima / dopo */
.ba { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ba__view { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #0b1230; user-select: none; touch-action: pan-y; }
.ba__view svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: grid; place-items: center; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.ba__knob svg { width: 22px; height: 22px; position: static; }
.ba__tag { position: absolute; top: 16px; padding: 4px 10px; border-radius: 4px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: .85rem; font-weight: 700; pointer-events: none; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__text { display: grid; gap: 18px; }
.ba__text p { color: #b9c2e2; max-width: 44ch; }
.ba__text .link { color: #fff; }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr; } }

/* ---------------- servizi */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.svc__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__list li { border-bottom: 1px solid var(--line); }
.svc__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 2.6vh, 24px) 0; text-decoration: none;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); font-weight: 760; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1.05;
  color: #6a7788; transition: color .2s;
}
.svc__list a span { font-size: 1rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.svc__list a.is-on, .svc__list a:hover, .svc__list a:focus-visible { color: var(--ink); }
.svc__list a.is-on span, .svc__list a:hover span { opacity: 1; }
.svc__pic { position: relative; aspect-ratio: 1; max-height: 68vh; width: 100%; justify-self: end; background: var(--night); border-radius: var(--r); overflow: hidden; }
.svc__pic img { position: absolute; inset: 6% 10% 22%; width: 80%; height: 72%; object-fit: contain; filter: url(#thermal); -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); opacity: 0; transform: scale(1.04); transition: opacity .45s, transform .6s; }
.svc__pic img.is-on { opacity: 1; transform: none; }
.svc__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #e8ecf8; font-size: .98rem; max-width: 40ch; }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc__pic { order: -1; aspect-ratio: 16 / 10; }
  .svc__list a span { display: none; }
}

/* ---------------- marchi (galleria orizzontale) */
.brands { position: relative; }
.brands__sticky { position: sticky; top: 68px; height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.brands__track { display: flex; align-items: flex-start; gap: 18px; padding-inline: max(24px, (100vw - 1240px) / 2); will-change: transform; }
.bcard { flex: none; width: clamp(220px, 21vw, 290px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; }
.bcard__img { height: clamp(200px, 30vh, 280px); padding: 22px; background: var(--paper); }
.bcard__img img { width: 100%; height: 100%; object-fit: contain; }
.bcard__name { padding: 14px 18px 4px; font-weight: 780; font-stretch: 118%; font-size: 1.35rem; letter-spacing: -0.02em; }
.bcard__go { padding: 0 18px 16px; color: var(--ink-2); font-size: .95rem; }
.bcard:hover { border-color: var(--ink); }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .brands { height: auto !important; }
  .brands__sticky { position: static; height: auto; padding-block: 64px; }
  .brands__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; scrollbar-width: none; }
  .brands__track::-webkit-scrollbar { display: none; }
  .bcard { scroll-snap-align: start; width: 72vw; max-width: 300px; }
}

/* ---------------- zone */
.zones { font-size: clamp(1.35rem, 1rem + 1.4vw, 2.15rem); line-height: 1.32; font-weight: 650; font-stretch: 108%; letter-spacing: -0.015em; max-width: 34em; }
.zones a { text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--line); transition: border-color .15s; }
.zones a:hover { border-color: var(--t3); }
.zones .z-c { color: var(--ink-2); }
.zones__note { margin-top: 28px; color: var(--ink-2); max-width: 60ch; }

/* ---------------- come lavoriamo */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); counter-reset: s; }
.steps li { padding: 22px 22px 0 0; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-weight: 850; font-stretch: 125%; font-size: 2.6rem; line-height: 1; margin-bottom: 14px; background: var(--thermal); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 400% 100%; }
.steps li:nth-child(1)::before { background-position: 0 0; }
.steps li:nth-child(2)::before { background-position: 33% 0; }
.steps li:nth-child(3)::before { background-position: 66% 0; }
.steps li:nth-child(4)::before { background-position: 100% 0; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------------- faq */
.faqwrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.brief { display: grid; gap: 18px; position: sticky; top: 100px; }
.brief p { color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 700; font-size: 1.07rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faqwrap { grid-template-columns: 1fr; } .brief { position: static; } }

/* ---------------- richiesta (multistep → WhatsApp) */
.req { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.req__intro { display: grid; gap: 18px; }
.req__intro p { color: #b9c2e2; max-width: 40ch; }
.req__box { background: #1b2550; border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.req__progress { height: 4px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; margin-bottom: 26px; }
.req__progress i { display: block; height: 100%; width: 25%; background: var(--thermal); background-size: 400% 100%; transition: width .35s; }
.req__step { display: none; }
.req__step.is-on { display: grid; gap: 18px; }
.req__q { font-size: 1.35rem; font-weight: 750; font-stretch: 112%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .98rem; padding: 10px 14px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #e8ecf8; cursor: pointer; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: #fff; color: var(--night); border-color: #fff; font-weight: 700; }
.field { display: grid; gap: 6px; }
.field label { font-size: .92rem; color: #b9c2e2; }
.field input, .field textarea { font: inherit; padding: 13px 14px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #8d97bd; }
.req__nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 6px; }
.req__back { font: inherit; background: none; border: 0; color: #b9c2e2; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.req__back[hidden] { visibility: hidden; display: inline; }
.req__err { color: #ffb21e; font-size: .92rem; min-height: 1.3em; }
@media (max-width: 860px) { .req { grid-template-columns: 1fr; } }

/* ---------------- footer */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; align-items: start; }
.foot h2 { font-size: 1.05rem; font-stretch: 115%; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.foot p { color: var(--ink-2); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot__two { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .foot__tel { color: var(--ink); font-weight: 800; font-stretch: 112%; font-size: 1.1rem; }
.foot__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; color: var(--ink-2); font-size: .85rem; }
.foot__legal p { margin: 0; font-size: .85rem; max-width: 70ch; }
.foot__links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; white-space: nowrap; }
@media (max-width: 1024px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .foot { padding-bottom: 110px; } .foot__legal { flex-direction: column; } .foot__links { justify-content: flex-start; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .foot__grid > .foot__col:nth-child(-n+2) { grid-column: 1 / -1; } }

/* ---------------- barra mobile */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(237, 242, 246, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .btn { min-height: 50px; }
  .mbar .btn--wa { background: var(--wa); color: #fff; }
  .top__tel { display: none; }
  .top__in { justify-content: space-between; }
}
section[id] { scroll-margin-top: 68px; }
@media (max-width: 860px) {
  .svc__pic { aspect-ratio: 4 / 3; }
  .svc__pic img { inset: 5% 22% 30%; width: 56%; height: 65%; }
  .svc__cap { font-size: .9rem; bottom: 12px; }
}

/* ---------------- diagnosi */
.thermo__link { display: block; }
.dx { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.dx__boiler { display: grid; place-items: center; }
.dx__boiler svg { width: min(100%, 340px); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.dx__disp { font: 800 22px "Archivo", sans-serif; font-stretch: 112%; fill: #ff6a3d; letter-spacing: .02em; }
.dx[data-state="warn"] .dx__disp { fill: #ffb21e; }
.dx[data-state="gas"] .dx__disp { fill: #ff4d4d; }
.dx__needle { transform-origin: 0 0; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.dx.is-blink .dx__disp { animation: blink 1s steps(2, start) 3; }
@keyframes blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .dx.is-blink .dx__disp { animation: none; } .dx__needle { transition: none; } }
.dx__panel { display: grid; gap: 22px; }
.dx__chips .chip--gas { border-color: rgba(255, 106, 61, .6); }
.dx__chips .chip--gas[aria-pressed="true"] { background: #ff6a3d; border-color: #ff6a3d; color: #121a3a; }
.dx__info { min-height: 14.5em; }
.dx__item h3 { font-size: 1.5rem; font-stretch: 115%; margin-bottom: 14px; }
.dx__item dl { margin: 0; display: grid; grid-template-columns: 11em 1fr; gap: 10px 22px; }
.dx__item dt { color: #8f9bc6; font-size: .95rem; padding-top: 2px; }
.dx__item dd { margin: 0; color: #e8ecf8; max-width: 50ch; }
.dx__panel .hero__cta { align-items: center; gap: 22px; }
.dx__more { color: #fff; }
@media (max-width: 860px) {
  .dx { grid-template-columns: 1fr; }
  .dx__boiler svg { width: 190px; }
  .dx__item dl { grid-template-columns: 1fr; gap: 4px; }
  .dx__item dd { margin-bottom: 10px; }
  .dx__info { min-height: 0; }
}

/* ---------------- mappa zone */
.mapw { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.mapw__side { display: grid; gap: 20px; align-content: center; }
.muted2 { color: var(--ink-2); max-width: 40ch; }
.mapw__sel { font: inherit; font-weight: 650; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); color: var(--ink); max-width: 320px; }
.mapw__card { border-left: 4px solid var(--t3); padding: 6px 0 6px 18px; display: grid; gap: 8px; }
.mapw__name { font-size: 1.6rem; font-stretch: 118%; }
.mapw__lead { color: var(--ink-2); max-width: 42ch; }
.mapw__note { color: var(--ink-2); font-size: .95rem; }
.mapw__map svg { width: 100%; height: auto; max-height: 76vh; display: block; margin-inline: auto; }
.map__city { fill: #dfe7ef; stroke: #b9c6d3; stroke-width: 1.5; stroke-dasharray: 5 5; }
.map__po { fill: none; stroke: var(--t1); stroke-width: 6; stroke-linecap: round; opacity: .5; }
.map__river { font: italic 600 14px "Archivo", sans-serif; fill: var(--t1); opacity: .8; }
.mz { cursor: pointer; text-decoration: none; }
.mz text { font: 650 12.5px "Archivo", sans-serif; fill: var(--ink-2); paint-order: stroke; stroke: var(--ice); stroke-width: 4px; stroke-linejoin: round; }
.mz__dot { fill: var(--ink); transition: fill .2s; }
.mz__halo { fill: var(--t3); opacity: 0; transition: opacity .2s; }
.mz--c .mz__dot { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.mz.is-on .mz__dot, .mz:hover .mz__dot, .mz:focus-visible .mz__dot { fill: var(--t3); stroke: var(--t3); }
.mz.is-on .mz__halo { opacity: .22; }
.mz.is-on text, .mz:hover text { fill: var(--ink); font-weight: 800; }
@media (max-width: 860px) {
  .mapw { grid-template-columns: 1fr; }
  .mapw__map { order: -1; }
  .mz text { display: none; }
  .mz.is-on text { display: inline; font-size: 18px; }
  .mz__dot { r: 8; }
}

/* ================= pagine interne ================= */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { left: 12px; }
.phero { padding: clamp(24px, 5vh, 48px) 0 0; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: clamp(22px, 4vh, 40px); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { color: var(--ink); font-weight: 600; }
.phero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.phero h1 { font-size: clamp(2.1rem, 1.1rem + 3.2vw, 3.9rem); line-height: 1; font-weight: 820; font-stretch: 118%; max-width: 17ch; }
.phero__meta { margin-top: 14px; color: var(--ink-2); font-size: .95rem; }
.phero__lead { margin-top: 18px; color: var(--ink-2); max-width: 52ch; font-size: 1.12rem; }
.phero .hero__cta { margin-top: 26px; }
.phero__rule { height: 4px; border-radius: 2px; background: var(--thermal); margin-top: clamp(36px, 7vh, 64px); }
.inbreve { border-left: 4px solid var(--t3); padding: 2px 0 2px 20px; display: grid; gap: 8px; align-self: end; }
.inbreve__t { font-weight: 800; font-stretch: 112%; }
.inbreve p { color: var(--ink-2); max-width: 58ch; }
.inbreve .inbreve__d { font-size: .82rem; }
.phero__grid--vis + .inbreve { margin-top: 36px; }
.phero__grid--vis { align-items: center; }
.bvis { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 18px; justify-items: center; }
.bvis__logo { max-height: 56px; width: auto; max-width: 70%; object-fit: contain; }
.bvis__img { max-height: 300px; width: auto; object-fit: contain; }
@media (max-width: 860px) {
  .phero__grid { grid-template-columns: 1fr; }
  .phero__vis { order: -1; }
  .bvis { padding: 18px; } .bvis__img { max-height: 190px; }
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.two p { color: var(--ink); max-width: 62ch; }
.kick { font-size: 1.2rem; font-stretch: 112%; margin-bottom: 12px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.tip { margin-top: 22px; border-left: 4px solid var(--t1); padding: 4px 0 4px 18px; }
.tip__t { font-weight: 800; font-stretch: 112%; margin-bottom: 6px; }
.prose p, .prose ul, .prose ol { max-width: 70ch; margin: 0 0 1em; }
.prose a { color: var(--ink); font-weight: 700; text-decoration-color: var(--t3); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lines { display: grid; gap: 0 36px; }
.lines--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lines--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.line { border-top: 2px solid var(--ink); padding: 16px 0 28px; }
.line h3 { margin-bottom: 8px; }
.line p { color: var(--ink-2); }
@media (max-width: 860px) { .lines--3, .lines--2 { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 4px; border-radius: 2px; background: var(--thermal); }
.alert { border: 2px solid var(--t3); background: #fff3eb; padding: 18px 20px; border-radius: var(--r); max-width: 72ch; }
.alert p { margin: 0; }
.sl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.sl a { display: grid; gap: 8px; padding: 18px 0 22px; border-top: 2px solid var(--ink); text-decoration: none; height: 100%; }
.sl__t { font-weight: 780; font-stretch: 115%; font-size: 1.25rem; letter-spacing: -0.01em; }
.sl__d { color: var(--ink-2); font-size: .97rem; }
.sl a:hover .sl__t { text-decoration: underline; text-decoration-color: var(--t3); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (max-width: 1024px) { .sl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sl { grid-template-columns: 1fr; } }
.linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 28px; }
.linkgrid a { padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 650; font-stretch: 108%; }
.linkgrid a:hover { border-color: var(--ink); }
.linkgrid a.is-current { color: #b8400f; border-color: #b8400f; }
.zl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.zl a { display: grid; gap: 6px; padding: 16px 0 20px; border-top: 1px solid var(--line); text-decoration: none; height: 100%; }
.zl__n { font-weight: 780; font-stretch: 115%; font-size: 1.2rem; }
.zl__d { color: var(--ink-2); font-size: .95rem; }
.zl a:hover .zl__n { color: var(--t3); }
@media (max-width: 860px) { .zl { grid-template-columns: 1fr; } }
.after { margin-top: 22px; color: var(--ink-2); max-width: 70ch; }
.facts-wrap { overflow-x: auto; }
.facts { width: 100%; max-width: 900px; border-collapse: collapse; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-top: 1px solid var(--line); }
.facts th { width: 30%; font-weight: 750; font-stretch: 110%; }
.facts td { color: var(--ink-2); }
.facts a { color: var(--ink); font-weight: 700; }
.ctab__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.ctab p { color: #b9c2e2; margin-top: 10px; }
.phero--legal { padding-bottom: 80px; }
.legal h1 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); font-stretch: 118%; margin-bottom: 18px; }
.legal h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.sec--paper + .sec--paper { padding-top: 0; }

.nw { white-space: nowrap; }

/* ---------------- recensioni Google */
.stars { display: inline-flex; gap: 2px; color: var(--t4); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.gbadge { display: inline-flex; width: fit-content; max-width: 100%; min-width: 0; align-self: flex-start; justify-self: start; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: .92rem; }
.gbadge:hover { border-color: var(--ink); }
.gbadge > span:last-child { min-width: 0; }
.phero__grid > *, .hero__grid > * { min-width: 0; }
@media (max-width: 400px) { .gbadge { font-size: .84rem; gap: 8px; padding: 7px 12px 7px 10px; } .gbadge .stars svg { width: 12px; height: 12px; } }
.gbadge b { font-weight: 800; }
.rev { padding-block: clamp(40px, 6vh, 64px); }
.sec + .rev { padding-top: 0; margin-top: calc(-1 * clamp(24px, 5vh, 56px)); }
.rev__card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 44px); padding: clamp(20px, 2.4vw, 28px) clamp(20px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.rev__score { display: flex; align-items: center; gap: 14px; padding-right: clamp(20px, 3vw, 44px); border-right: 1px solid var(--line); }
.rev__num { font-size: 2.6rem; font-weight: 820; font-stretch: 112%; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.rev__meta { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.rev__text h2 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.2; margin: 0 0 4px; }
.rev__text p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rev__cta { display: flex; align-items: center; gap: 18px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.rev__link { font-size: .92rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--t3); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
/* home: pulsanti hero stessa larghezza, allineati */
.hero .hero__side { align-self: end; }
.hero .hero__cta { display: grid; grid-template-columns: 1fr; max-width: 340px; }
@media (max-width: 1080px) { .rev__card { grid-template-columns: auto 1fr; } .rev__cta { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); } }
@media (max-width: 640px) {
  .rev__card { grid-template-columns: 1fr; gap: 16px; }
  .rev__score { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rev__cta { padding-top: 0; border-top: 0; flex-direction: column; align-items: stretch; gap: 12px; }
  .rev__cta .btn { width: 100%; }
  .rev__link { text-align: center; }
}

/* ---------------- footer compatto + illustrazioni */
.foot { padding: 40px 0 22px; font-size: .88rem; color: var(--ink-2); }
.foot__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.4fr); gap: 32px 56px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot__id strong { color: var(--ink); font-size: 1.05rem; font-weight: 800; font-stretch: 115%; letter-spacing: -0.01em; }
.foot__id p { margin: 4px 0 0; }
.foot .foot__tel { display: inline-block; margin-top: 14px; color: var(--ink); font-size: 1.4rem; font-weight: 800; font-stretch: 115%; letter-spacing: -0.02em; }
.foot__c { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot__nav { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px 40px; }
.foot h2 { font-size: .82rem; font-stretch: 100%; font-weight: 750; letter-spacing: .01em; margin: 0 0 10px; padding: 0; border: 0; color: var(--ink); }
.foot__nav p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; line-height: 1.45; }
.foot__legal { margin-top: 0; padding-top: 16px; border-top: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; font-size: .76rem; }
.foot__legal p { margin: 0; font-size: .76rem; max-width: none; }
.foot__links { gap: 16px; }
@media (max-width: 860px) { .foot { padding-bottom: 100px; } .foot__grid { grid-template-columns: 1fr; } .foot__legal { flex-direction: row; } }
@media (max-width: 640px) { .foot__nav { grid-template-columns: 1fr; gap: 18px; } .foot__legal { flex-direction: column; align-items: flex-start; } .foot__links { justify-content: flex-start; } }
.svc__pic img { filter: none; -webkit-mask-image: none; mask-image: none; }
.bcard__img { height: clamp(120px, 16vh, 150px); padding: 26px 30px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.bcard__img img { max-height: 46px; max-width: 78%; }
.bvis { padding: 32px 28px; }
.bvis__logo { max-height: 64px; max-width: 60%; }
.bcard__go { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- hero interne (RF) */
.phero { padding-top: clamp(20px, 4vh, 40px); }
.phero .thermo { margin-top: clamp(30px, 6vh, 56px); grid-column: 1 / -1; }
.phero .thermo__scale { padding-bottom: clamp(26px, 5vh, 44px); }
.bvis { background: #fff; border-color: #dbe3ec; border-radius: 18px; padding: clamp(34px, 5vw, 54px) 28px 30px; gap: 26px; box-shadow: 0 22px 44px -26px rgba(20,36,70,.34), 0 2px 0 rgba(255,255,255,.9) inset; }
.bvis__logo { max-height: 88px; max-width: 74%; }
.bvis__chips { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bvis__chips li { font-size: .82rem; font-weight: 600; color: var(--ink-2); background: var(--paper, #eef2f6); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 860px) {
  .bvis { padding: 22px 18px 18px; gap: 16px; border-radius: 14px; }
  .bvis__logo { max-height: 56px; max-width: 62%; }
  .bvis__chips { display: none; }
  .phero .thermo { margin-top: 26px; }
}

/* ---- recensioni pagine (RF) */
.rv__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rv__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.rv__card .stars svg { width: 16px; height: 16px; }
.rv__card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.rv__card blockquote p { margin: 0; }
.rv__by { margin: auto 0 0; font-size: .88rem; color: var(--ink-2); }
.rv__by b { color: var(--ink); }
.rv__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.rv__foot .gbadge { margin-top: 0; background: #fff; }
.rv__all { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--t3); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .rv__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -24px; padding: 2px 24px 10px; scrollbar-width: none; }
  .rv__list::-webkit-scrollbar { display: none; }
  .rv__card { flex: 0 0 84%; scroll-snap-align: center; padding: 20px; }
}

/* ---- diagnosi mobile (RF) */
@media (max-width: 860px) {
  #diagnosi.sec--screen { min-height: 0; padding-block: 44px 48px; }
  .dx { grid-template-columns: 84px 1fr; column-gap: 18px; row-gap: 22px; align-items: center; }
  .dx__panel { display: contents; }
  .dx__boiler { grid-column: 1; grid-row: 1; }
  .dx__boiler svg { width: 84px; filter: drop-shadow(0 12px 16px rgba(0,0,0,.4)); }
  .dx__panel h2 { grid-column: 2; grid-row: 1; font-size: clamp(1.45rem, 1.1rem + 2vw, 1.9rem); line-height: 1.08; }
  .dx__chips, .dx__info, .dx__panel .hero__cta, .dx__more { grid-column: 1 / -1; }
}
