/* PB Impianti — foglio di stile comune */

/* ---------- Token ---------- */
:root {
  --navy-950: #0A1A35;
  --navy-900: #0E2142;
  --navy-800: #142C57;
  --navy-700: #1B3A6B;
  --blue-700: #165FA6;
  --blue-600: #1C72C6;   /* pulsanti e link: contrasto AA su bianco */
  --blue-500: #3B9BEE;   /* la fiammella del logo: icone e dettagli */
  --blue-100: #D6E8FB;
  --blue-50: #EAF3FD;
  --mist: #F4F7FB;
  --line: #DCE4EE;
  --line-strong: #C3CFDF;
  --ink: #14233D;
  --muted: #4D5C72;
  --on-navy: #C6D4E9;
  --on-navy-muted: #9FB1CC;
  --star: #E8A200;
  --wa: #1FAF54;
  --wa-dark: #0F7A40;    /* verde WhatsApp scurito: testo bianco leggibile */

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-pill: 999px;
  --shadow-float: 0 12px 32px rgba(10, 26, 53, .14);

  --header-h: 68px;
  --bar-h: 66px;
  --gutter: 20px;
  --maxw: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (min-width: 960px) {
  :root { --header-h: 80px; --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 959px) { html { scroll-padding-bottom: calc(var(--bar-h) + 16px); } }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 960px) { body { font-size: 1.125rem; } }
@media (max-width: 959px) { body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); } }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  margin: 0;
  color: var(--navy-900);
  font-weight: 760;
  font-stretch: 110%;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--blue-600); text-underline-offset: .2em; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute !important; 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: 12px; top: -80px; z-index: 100;
  padding: .7rem 1rem; border-radius: var(--r-s);
  background: var(--navy-900); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font: inherit; font-size: 1.0625rem; font-weight: 700; font-stretch: 106%; line-height: 1.2;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--mist); color: var(--navy-900); }
.btn-outline .i-wa, .btn-white .i-wa { color: var(--wa); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--blue-50); color: var(--navy-900); }
.btn-wa { background: var(--wa-dark); color: #fff; }
.btn-wa:hover { background: #0B6434; color: #fff; }
.btn-sm { min-height: 44px; padding: .5rem 1.05rem; font-size: .98rem; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: flex-end; gap: .4rem; color: var(--navy-900); text-decoration: none; line-height: 1; }
.brand:hover { color: var(--navy-900); }
.brand-pb {
  position: relative; padding-top: .44em;
  font-size: 1.6rem; font-weight: 800; font-stretch: 125%; letter-spacing: -.045em; line-height: .78;
}
.brand-roof { position: absolute; top: 0; left: -.16em; width: calc(100% + .26em); height: .5em; overflow: visible; }
.brand-roof path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.brand-imp {
  position: relative; padding-bottom: .32em;
  font-size: .98rem; font-weight: 700; font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase;
}
.brand-imp::after {
  content: ""; position: absolute; left: 0; right: -.15em; bottom: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(59, 155, 238, 0), var(--blue-500) 40%);
  transform: rotate(-1.4deg); transform-origin: left center;
}
@media (min-width: 960px) { .brand-pb { font-size: 1.8rem; } .brand-imp { font-size: 1.05rem; } }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }

/* ---------- Intestazione ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(10, 26, 53, .06); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.main-nav, .header-call { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
  min-height: 44px; padding: .5rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; color: var(--navy-900);
  font: inherit; font-size: .98rem; font-weight: 700; cursor: pointer;
}
.menu-toggle svg { width: 1.2rem; height: 1.2rem; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu a.menu-link {
  display: flex; align-items: center; min-height: 54px; padding: .25rem var(--gutter);
  border-bottom: 1px solid var(--line);
  color: var(--navy-900); font-size: 1.0625rem; font-weight: 700; text-decoration: none;
}
.mobile-menu a.menu-link[aria-current="page"] { color: var(--blue-600); }
.menu-actions { display: grid; gap: 10px; padding: 16px var(--gutter) 20px; }
@media (min-width: 1024px) {
  .menu-toggle, .mobile-menu { display: none !important; }
  .main-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
  .main-nav a {
    padding: .35rem 0; border-bottom: 2px solid transparent;
    color: var(--navy-900); font-size: 1rem; font-weight: 600; text-decoration: none;
  }
  .main-nav a:hover { color: var(--blue-600); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--blue-500); }
  .header-call { display: inline-flex; margin-left: 1.4rem; }
}

/* ---------- Briciole di pane ---------- */
.breadcrumb { padding-top: 18px; color: var(--muted); font-size: .92rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current="page"] { color: var(--navy-900); font-weight: 600; }

/* ---------- Apertura ---------- */
.hero { padding: 28px 0 56px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 2.95rem); font-stretch: 108%; line-height: 1.08; letter-spacing: -.022em; }
.page-hero h1 { font-size: clamp(1.9rem, 1.15rem + 2.8vw, 2.75rem); }
.hero-lead { max-width: 34rem; margin-top: 1.1rem; color: var(--muted); font-size: 1.1875rem; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.hero-ctas .btn { flex: 1 1 15rem; }
@media (min-width: 560px) { .hero-ctas .btn { flex: 0 0 auto; } }
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; margin-top: 1.4rem; color: var(--muted); font-size: 1rem; }
.rating-row strong { color: var(--navy-900); }
.rating-row a { color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 18px; height: 18px; }

/* avviso di stagione sopra il titolo (testo scelto da site.js) */
.season {
  display: flex; align-items: flex-start; gap: .55rem;
  width: fit-content; max-width: 34rem; margin-bottom: 1.2rem; padding: .55rem .95rem;
  border: 1px solid var(--blue-100); border-radius: var(--r-m);
  background: var(--blue-50); color: var(--navy-900);
  font-size: .97rem; font-weight: 600; line-height: 1.45;
}
.season svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .14em; color: var(--blue-600); }
.season span { flex: 1; }
.season a { font-weight: 800; white-space: nowrap; }

/* aperto / chiuso su sfondo chiaro, sotto i pulsanti */
.status.status-light { width: fit-content; }
.status.status-light.is-open { background: #E3F5EA; color: #0F6B38; }
.status.status-light.is-closed { background: #FFF1DE; color: #8A4B00; }

.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-l); background: var(--mist); }
.hero-photo .pos-giuseppe { object-position: 55% 30%; }
.hero-photo .pos-caldaia { object-position: 50% 28%; }
.hero-photo .pos-clima { object-position: 32% 50%; }
.hero-photo .pos-furgone { object-position: 40% 70%; }
.name-card {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1rem; border-radius: var(--r-m);
  background: #fff; box-shadow: var(--shadow-float);
  line-height: 1.3;
}
.name-card .nc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: #fff; flex: none; }
.name-card .nc-icon svg { width: 20px; height: 20px; }
.name-card strong { display: block; color: var(--navy-900); font-size: 1.05rem; font-stretch: 108%; }
.name-card span { display: block; color: var(--muted); font-size: .9rem; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero-photo img { aspect-ratio: 4 / 5; }
  .name-card { left: -28px; bottom: 32px; }
}
/* foto orizzontali (climatizzatore, furgone): cornice larga a ogni misura, così non si tagliano */
.hero-photo img.landscape { aspect-ratio: 16 / 10; }

/* ---------- Fascia fiducia ---------- */
.trust { background: var(--navy-900); color: var(--on-navy); }
.trust-grid { display: grid; gap: 0 32px; padding-block: 20px; list-style: none; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; }
.trust-item svg { flex: none; width: 28px; height: 28px; margin-top: 2px; color: var(--blue-500); }
.trust-item strong { display: block; color: #fff; font-size: 1.0625rem; font-stretch: 106%; line-height: 1.3; }
.trust-item span { display: block; color: var(--on-navy-muted); font-size: .95rem; line-height: 1.45; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); padding-block: 30px; } }

/* ---------- Sezioni ---------- */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-mist { background: var(--mist); }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
.section-head p { margin-top: .85rem; color: var(--muted); font-size: 1.125rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; max-width: none; }
.section-head-row > div { max-width: 40rem; }

.checks { display: grid; gap: .45rem; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; line-height: 1.45; }
.checks li::before {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C72C6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Servizi ---------- */
.cards-3 { display: grid; gap: 20px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.service-card:hover { border-color: var(--line-strong); box-shadow: 0 10px 28px rgba(10, 26, 53, .08); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media .pos-caldaia { object-position: 50% 30%; }
.service-media .pos-clima { object-position: 29% 50%; }
.service-media--icon { display: grid; place-items: center; }
.icon-circle { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--blue-500); color: #fff; }
.icon-circle svg { width: 48px; height: 48px; }
.service-body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 22px 22px 24px; }
.service-body h3 { font-size: 1.45rem; }
.service-body p { color: var(--muted); }
.service-body .more { margin-top: auto; padding-top: .5rem; font-weight: 700; }

/* ---------- Richiesta guidata su WhatsApp ---------- */
.helper {
  display: grid; gap: 28px;
  padding: 26px 14px; border-radius: var(--r-l);
  background: var(--navy-900); color: var(--on-navy);
}
.helper h2 { color: #fff; font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.3rem); }
.helper-intro p { margin-top: .9rem; }
.helper-intro .helper-alt { color: var(--on-navy-muted); font-size: 1rem; }
.helper-intro a { color: #fff; font-weight: 700; white-space: nowrap; }
@media (min-width: 960px) {
  .helper { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; padding: 48px; }
}
.helper-intro { padding-inline: 6px; }
.picker { display: grid; gap: 22px; padding: 20px 14px; border-radius: var(--r-m); background: #fff; color: var(--ink); }
@media (min-width: 560px) { .picker { padding: 28px; } }
.picker fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.picker legend, .picker .field-label {
  display: flex; align-items: center; margin-bottom: .7rem; padding: 0;
  color: var(--navy-900); font-size: 1.05rem; font-weight: 750; font-stretch: 106%;
}
.step-dot {
  display: inline-grid; place-items: center; flex: none; width: 1.7rem; height: 1.7rem; margin-right: .55rem;
  border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font-size: .85rem; font-weight: 800;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-hint { padding: .6rem 0; color: var(--muted); font-size: .95rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .5rem .85rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; color: var(--navy-900); font-size: .97rem; font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip span svg { width: 1.1rem; height: 1.1rem; color: var(--blue-600); }
.chip:hover span { border-color: var(--navy-700); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip input:checked + span svg { color: var(--blue-500); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.field input {
  width: 100%; min-height: 48px; padding: .65rem .9rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-s);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.field input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(28, 114, 198, .25); }
.field-hint { margin-top: .4rem; color: var(--muted); font-size: .9rem; }
.preview { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--mist); }
.preview-label { color: var(--muted); font-size: .85rem; font-weight: 600; }
.preview-text { margin-top: 4px; font-size: 1rem; line-height: 1.5; }
.picker-actions { display: grid; gap: 10px; }
.picker-note { color: var(--muted); font-size: .9rem; }
@media (min-width: 560px) { .picker-actions { grid-template-columns: auto 1fr; align-items: center; gap: 16px; } }

/* ---------- Come lavoro ---------- */
.steps { display: grid; gap: 16px; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 800; font-stretch: 115%;
}
.step h3 { font-size: 1.2rem; }
.step p { margin-top: .45rem; color: var(--muted); font-size: 1rem; }

/* ---------- Lavori ---------- */
.gallery { display: grid; gap: 20px; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-tall { grid-row: span 2; }
}
.g-media { overflow: hidden; border-radius: var(--r-m); background: var(--line); }
.g-media img { width: 100%; height: 100%; object-fit: cover; }
.g-tall .g-media { aspect-ratio: 4 / 5; }
.g-wide .g-media { aspect-ratio: 16 / 10; }
.g-tall img { object-position: 50% 30%; }
.g-clima img { object-position: 35% 50%; }
.g-furgone img { object-position: 40% 70%; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.gallery figcaption strong { color: var(--navy-900); }

/* ---------- Recensioni ---------- */
.rating-box { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.rating-box .score { color: var(--navy-900); font-size: 2.6rem; font-weight: 800; font-stretch: 112%; line-height: 1; }
.rating-box p { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.rating-box a { font-weight: 700; }
.reviews { display: grid; gap: 18px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.review { display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; }
.review blockquote { flex: 1; }
.review blockquote p { font-size: 1.125rem; line-height: 1.55; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); line-height: 1.3; }
.review figcaption strong { display: block; color: var(--navy-900); }
.review figcaption small { color: var(--muted); font-size: .875rem; }
.avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 800; }

/* ---------- Due colonne (chi sono, anteprime) ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-reverse > :first-child { order: 2; } }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 70%; border-radius: var(--r-l); }
.split-media--reel { width: 100%; max-width: 340px; margin-inline: auto; }

/* ---------- Video dei lavori ---------- */
.reel { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-l); background: var(--navy-900); }
.lavoro-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 12px; list-style: none; }
.lavoro-grid > li { grid-column: span 2; }
.lavoro-grid > .is-video { grid-column: span 3; }
@media (min-width: 960px) {
  .lavoro-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .lavoro-grid > li, .lavoro-grid > .is-video { grid-column: auto; }
}
.lavoro-grid img, .lavoro-grid .reel { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r-m); background: var(--line); }
.lavoro-grid figcaption { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.lavoro-grid figcaption strong { display: block; color: var(--navy-900); }

/* ---------- Dove lavoro ---------- */
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.zone-list li {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem;
  border-radius: var(--r-pill); background: var(--mist); color: var(--navy-900); font-size: 1rem; font-weight: 600;
}
.zone-list svg { width: 1rem; height: 1rem; color: var(--blue-600); }
.zone-note { margin-top: 22px; color: var(--muted); }

/* ---------- Caldaia in blocco ---------- */
.problems-more { margin-top: 24px; }
.problems-more .more { font-weight: 700; }
.safety {
  display: flex; gap: 14px; margin-top: 20px; padding: 20px 22px;
  border: 1px solid #F0C88E; border-radius: var(--r-m); background: #FFF6E8;
}
.safety > svg { flex: none; width: 26px; height: 26px; color: #A35400; }
.safety h3 { color: #6B3800; font-size: 1.12rem; }
.safety p { margin-top: .3rem; color: #5A3A10; font-size: 1rem; }
.split-text h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
.split-text p { margin-top: 1rem; color: var(--muted); }
.split-text .btn { margin-top: 1.6rem; }
.lead-strong { color: var(--navy-900) !important; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }

.values { display: grid; gap: 16px; list-style: none; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Pagine servizio ---------- */
.feature-grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.feature { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.f-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); }
.f-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; }
.feature p { margin-top: .3rem; color: var(--muted); font-size: 1rem; }
.problems { display: grid; gap: 14px; list-style: none; }
@media (min-width: 768px) { .problems { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.problem { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.problem h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.12rem; }
.problem h3 svg { flex: none; width: 20px; height: 20px; color: var(--blue-600); }
.problem p { margin-top: .4rem; color: var(--muted); font-size: 1rem; }
.other-services { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .other-services { grid-template-columns: repeat(2, 1fr); } }
.other-link {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-m); background: #fff;
  color: var(--navy-900); font-weight: 700; text-decoration: none; font-size: 1.1rem;
}
.other-link:hover { border-color: var(--line-strong); color: var(--blue-600); }
.other-link .icon-mini { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; flex: none; }
.other-link .icon-mini svg { width: 22px; height: 22px; }
.other-link small { display: block; color: var(--muted); font-size: .92rem; font-weight: 500; }

/* ---------- Domande frequenti ---------- */
.faq-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 1fr 340px; gap: 48px; } }
.faq-aside { padding: 26px 24px; border-radius: var(--r-l); background: var(--navy-900); color: var(--on-navy); }
.faq-aside h3 { color: #fff; font-size: 1.3rem; }
.faq-aside p { margin-top: .6rem; font-size: 1rem; }
.faq-aside .btn { width: 100%; margin-top: 12px; }
.faq-aside .btn:first-of-type { margin-top: 20px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 58px; padding: 16px 20px; list-style: none; cursor: pointer;
  color: var(--navy-900); font-size: 1.0625rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--blue-600); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Contatti ---------- */
.contact { padding: 72px 0; background: var(--navy-900); color: var(--on-navy); }
@media (min-width: 960px) { .contact { padding: 104px 0; } }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.contact h2 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
.contact-lead { margin-top: .85rem; font-size: 1.125rem; }
.big-phone {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
  color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.5rem); font-weight: 800; font-stretch: 118%;
  letter-spacing: -.02em; line-height: 1; text-decoration: none; white-space: nowrap;
}
.big-phone svg { width: .72em; height: .72em; color: var(--blue-500); }
.big-phone:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.status {
  display: flex; align-items: baseline; gap: .55rem; margin-top: 1.4rem; padding: .6rem .95rem;
  border-radius: var(--r-s); font-size: .98rem; font-weight: 600; line-height: 1.45;
}
.status::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; transform: translateY(-1px); }
.status.is-open { background: rgba(46, 180, 100, .16); color: #8BE0AE; }
.status.is-closed { background: rgba(255, 170, 80, .14); color: #FFC98A; }
.info-list { margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.info-list > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.info-list dt { color: var(--on-navy-muted); font-size: .95rem; }
.info-list dd { color: #fff; font-weight: 600; }
.map-box {
  display: grid; place-items: center; min-height: 360px; padding: 28px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-l);
  background: var(--navy-800); text-align: center;
}
.map-box svg { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--blue-500); }
@media (min-width: 960px) { .map-box { align-self: stretch; } }
.map-box p { max-width: 22rem; margin: 0 auto 18px; color: var(--on-navy); font-size: 1rem; }
.map-box .map-link { display: inline-block; margin-top: 14px; color: #fff; font-size: .95rem; }
.map-box.is-loaded { display: block; padding: 0; }
.map-box iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

/* ---------- Testo lungo (privacy) ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.prose p, .prose ul { margin-top: .8rem; color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .3rem; }
.prose strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 28px; background: var(--navy-950); color: var(--on-navy-muted); font-size: .98rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-about p { margin-top: 1rem; }
.footer-slogan { color: #fff; font-style: italic; }
.site-footer h2 { margin-bottom: 12px; color: #fff; font-size: 1rem; }
.footer-list { display: grid; gap: 8px; list-style: none; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem;
}

/* ---------- Barra di chiamata (solo telefono) ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(10, 26, 53, .08);
}
.call-bar .btn { min-height: 50px; padding-inline: .8rem; font-size: 1rem; }
@media (min-width: 960px) { .call-bar { display: none; } }

/* ---------- Consenso per Google Ads (solo se attivato nel generatore) ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; z-index: 70;
  bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 10px);
  display: grid; gap: 12px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--r-m);
  background: #fff; box-shadow: var(--shadow-float); font-size: .98rem; line-height: 1.5;
}
@media (min-width: 960px) { .consent { left: 24px; right: auto; bottom: 24px; max-width: 440px; } }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link-btn { padding: 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  .btn:active { transform: none; }
}
