/*
Theme Name: Pellegrini Assistenza
Theme URI: https://pellegriniassistenza.it
Author: Pellegrini snc
Description: Tema custom per Pellegrini snc — Centro Assistenza Tecnica autorizzato Immergas a Tortona (AL). Design moderno, veloce, SEO-ready.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: pellegrini
*/

/* ---------- Font (self-hosted, GDPR-safe) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/titillium-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/titillium-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Titillium Web';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/titillium-900i.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  --blu: #1663c7;          /* blu logo Pellegrini */
  --blu-scuro: #0b2e5b;    /* navy profondo */
  --blu-chiaro: #e8f0fb;   /* tinta card/sezioni */
  --rosso: #e34127;        /* rosso ufficiale Immergas */
  --rosso-vivo: #ff5a3c;
  --rosso-scuro: #c22d15;
  --carbone: #14181f;      /* dark industriale */
  --carbone-2: #1b2129;
  --ink: #10233f;
  --muted: #52627a;
  --bg: #f5f8fc;
  --bianco: #ffffff;
  --linea: #e3eaf3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(16, 35, 63, .08);
  --shadow-lg: 0 18px 50px rgba(11, 46, 91, .16);
  --container: 1160px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Titillium Web', 'Manrope', system-ui, sans-serif;
}

/* Titoli display in stile Immergas: Titillium 900 corsivo, maiuscolo */
.hero h1, .page-hero h1, .section-head h2, .cta-band h2 {
  font-family: var(--font-display);
  font-weight: 900; font-style: italic; text-transform: uppercase;
  letter-spacing: .005em;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bianco);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blu); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blu); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rosso); margin-bottom: 10px; }
.section-head .kicker::before { content: ""; width: 30px; height: 3px; background: linear-gradient(90deg, var(--rosso), var(--rosso-vivo)); border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--rosso { background: var(--rosso); color: #fff; box-shadow: 0 10px 24px rgba(230, 51, 18, .32); }
.btn--rosso:hover { background: var(--rosso-scuro); }
.btn--blu { background: var(--blu); color: #fff; box-shadow: 0 10px 24px rgba(22, 99, 199, .28); }
.btn--blu:hover { background: #1254ab; }
.btn--ghost { background: #fff; color: var(--blu-scuro); border-color: var(--linea); box-shadow: var(--shadow); }
.btn--ghost:hover { border-color: var(--blu); color: var(--blu); }
.btn--grande { padding: 18px 32px; font-size: 1.08rem; }

/* ---------- Topbar (fascia rossa, eco del logo) ---------- */
.topbar { background: linear-gradient(90deg, var(--rosso-scuro), var(--rosso) 55%, var(--rosso-vivo)); color: #ffe3dc; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 7px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; opacity: .85; }
@media (max-width: 640px) { .topbar__hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--linea); box-shadow: 0 4px 20px rgba(16, 35, 63, .07); }
.site-header .container { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none !important; }
.brand__logo-img { height: 48px; width: auto; display: block; }
@media (max-width: 480px) { .brand__logo-img { height: 38px; } }

.nav-main { margin-left: auto; }
.nav-main ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-main a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 700; font-size: .95rem;
  text-decoration: none !important; white-space: nowrap;
}
.nav-main a:hover, .nav-main .current-menu-item > a, .nav-main .current_page_item > a { background: var(--blu-chiaro); color: var(--blu); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: var(--blu-scuro); text-decoration: none !important; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--rosso); }
.header-phone:hover { color: var(--blu); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--ink); }

@media (max-width: 960px) {
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta .btn { display: none; }
  .header-phone span { display: none; }
  .nav-main {
    position: fixed; inset: 0; top: 0; z-index: 70;
    background: var(--bianco); margin: 0;
    display: none; padding: 90px 26px 26px;
  }
  .nav-main.is-open { display: block; }
  .nav-main ul { flex-direction: column; gap: 4px; }
  .nav-main a { font-size: 1.25rem; padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav-close { position: absolute; top: 20px; right: 20px; background: var(--bg); border: 0; border-radius: 999px; padding: 12px; cursor: pointer; }
  .nav-close svg { width: 22px; height: 22px; display: block; }
}

/* ---------- Hero (dark industriale, stile Immergas) ---------- */
.hero {
  position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 52px), 0 100%);
  background:
    radial-gradient(940px 560px at 86% -18%, rgba(227, 65, 39, .5), transparent 62%),
    radial-gradient(720px 420px at -10% 116%, rgba(22, 99, 199, .34), transparent 60%),
    linear-gradient(152deg, #0d1015, var(--carbone) 52%, var(--carbone-2));
  padding-bottom: 52px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(760px 500px at 76% 28%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 500px at 76% 28%, #000 0%, transparent 72%);
}
/* Hero con foto della sede: foto nitida sotto, una sola velatura pulita per la leggibilità del testo a sinistra */
.hero--photo {
  background:
    linear-gradient(101deg, rgba(9,12,17,.9) 0%, rgba(9,12,17,.74) 34%, rgba(9,12,17,.34) 56%, rgba(9,12,17,.12) 78%, transparent 100%),
    linear-gradient(180deg, rgba(9,12,17,.34) 0%, transparent 22%, transparent 70%, rgba(9,12,17,.45) 100%),
    var(--hero-photo) center 40% / cover no-repeat,
    var(--carbone);
}
.hero--photo::before { opacity: .32; mask-image: radial-gradient(680px 460px at 74% 26%, #000 0%, transparent 74%); -webkit-mask-image: radial-gradient(680px 460px at 74% 26%, #000 0%, transparent 74%); }
@media (max-width: 900px) {
  .hero--photo {
    background:
      linear-gradient(180deg, rgba(9,12,17,.82) 0%, rgba(9,12,17,.72) 46%, rgba(9,12,17,.86) 100%),
      var(--hero-photo) center / cover no-repeat,
      var(--carbone);
  }
}
.hero .container {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 5vw, 64px); align-items: center;
  padding-block: clamp(60px, 9vw, 110px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 999px;
  padding: 8px 16px 8px 10px; font-size: .85rem; font-weight: 800; color: #fff;
  margin-bottom: 22px;
}
.hero__badge .dot { width: 22px; height: 22px; border-radius: 999px; background: var(--rosso); display: grid; place-items: center; flex: none; }
.hero__badge .dot svg { width: 13px; height: 13px; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.7rem); line-height: 1.06; }
.hero h1 em { font-style: inherit; color: var(--rosso-vivo); }
.hero__sub { font-size: 1.15rem; color: #aeb9c9; max-width: 34em; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero .btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .32); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: #aeb9c9; }
.hero__trust svg { width: 17px; height: 17px; color: #7fd18a; flex: none; }

/* Badge recensioni Google */
.gbadge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 999px; padding: 9px 18px 9px 12px;
  font-size: .9rem; font-weight: 800; color: var(--ink);
  box-shadow: var(--shadow-lg); text-decoration: none !important;
  margin-bottom: 26px; transition: transform .15s;
}
.gbadge:hover { transform: translateY(-2px); }
.gbadge .stelle { color: #f5a623; letter-spacing: 1px; font-size: .95rem; }
.gbadge .g { width: 20px; height: 20px; flex: none; }
.gbadge small { color: var(--muted); font-weight: 700; }

/* Fascia marchi assistiti — loghi a colori pieni su chip bianchi */
.brands { background: var(--bg); border-bottom: 1px solid var(--linea); }
.brands .container { display: flex; align-items: center; justify-content: space-between; gap: 20px 30px; padding-block: 26px; flex-wrap: wrap; }
.brands__label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); flex: none; max-width: 150px; line-height: 1.3; }
.brands__logos { display: flex; align-items: stretch; gap: 16px; flex-wrap: wrap; }
.brands__logos .chip {
  display: grid; place-items: center; background: #fff;
  border: 1px solid var(--linea); border-radius: 12px;
  padding: 14px 22px; min-width: 128px; height: 68px;
  box-shadow: 0 3px 12px rgba(16, 35, 63, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.brands__logos .chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfe0f5; }
.brands__logos img { max-height: 38px; width: auto; max-width: 150px; display: block; }
.brands__logos .chip--acqua img { max-height: 34px; }
@media (max-width: 700px) {
  .brands .container { justify-content: center; }
  .brands__label { width: 100%; max-width: none; text-align: center; }
  .brands__logos { justify-content: center; gap: 12px; }
  .brands__logos .chip { min-width: 104px; height: 58px; padding: 10px 16px; }
  .brands__logos img { max-height: 30px; }
}

.hero-card {
  background: #fff; border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--linea);
  padding: 30px; position: relative;
}
.hero-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero-card__top .icona { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--blu-chiaro); display: grid; place-items: center; flex: none; }
.hero-card__top .icona svg { width: 26px; height: 26px; color: var(--blu); }
.hero-card__top h3 { margin: 0; }
.hero-card__top p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.hero-card__phone {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(120deg, var(--rosso-scuro), var(--rosso) 60%, var(--rosso-vivo));
  color: #fff !important; border-radius: var(--radius-sm);
  padding: 18px; font-size: 1.45rem; font-weight: 800; letter-spacing: .01em;
  text-decoration: none !important; margin-bottom: 14px;
  box-shadow: 0 12px 30px rgba(227, 65, 39, .35);
  transition: transform .15s, box-shadow .15s;
}
.hero-card__phone:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(227, 65, 39, .45); }
.hero-card__phone svg { color: #fff; }
.hero-card__phone svg { width: 22px; height: 22px; color: #7fd18a; }
.hero-card__note { text-align: center; font-size: .85rem; color: var(--muted); margin: 0; }
.hero-card__list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--linea); display: grid; gap: 10px; }
.hero-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink); font-weight: 600; }
.hero-card__list svg { width: 18px; height: 18px; color: var(--rosso); flex: none; margin-top: 2px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero::before { mask-image: radial-gradient(500px 300px at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(500px 300px at 50% 0%, #000 0%, transparent 70%); }
}

/* ---------- Card servizi ---------- */
.grid-servizi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-servizi { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-servizi { grid-template-columns: 1fr; } }
.card-servizio {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 2px 10px rgba(16, 35, 63, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card-servizio:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cfe0f5; }
.card-servizio .icona {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--rosso-scuro), var(--rosso-vivo));
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-servizio .icona svg { width: 27px; height: 27px; color: #fff; }
.card-servizio:nth-child(3n+2) .icona { background: linear-gradient(135deg, var(--blu-scuro), var(--blu)); }
.card-servizio:hover { border-color: #f3c4ba; }
.card-servizio h3 { margin-bottom: 8px; }
.card-servizio p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Sezione due colonne (acqua / chi siamo) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split__media { position: relative; }
.split__panel {
  border-radius: calc(var(--radius) + 8px); overflow: hidden;
  background: linear-gradient(160deg, var(--blu-scuro), var(--blu) 70%);
  aspect-ratio: 4 / 3.4; display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.split__panel svg { width: 62%; height: auto; opacity: .96; }
.split ul.check { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.split ul.check li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.split ul.check svg { width: 21px; height: 21px; color: var(--blu); flex: none; margin-top: 2px; }

/* ---------- Passi (come funziona) ---------- */
.passi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: passo; }
@media (max-width: 800px) { .passi { grid-template-columns: 1fr; } }
.passo { background: #fff; border: 1px solid var(--linea); border-radius: var(--radius); padding: 26px; position: relative; }
.passo::before {
  counter-increment: passo; content: counter(passo, decimal-leading-zero);
  display: block; font-size: 2.1rem; font-weight: 900; font-style: italic;
  font-family: var(--font-display); color: #fff;
  -webkit-text-stroke: 1.5px var(--rosso); margin-bottom: 10px; letter-spacing: .02em;
}
.passo h3 { font-size: 1.08rem; }
.passo p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden;
}
.faq details[open] { border-color: #cfe0f5; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 800; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 700; color: var(--blu);
  transition: transform .2s; line-height: 1; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--rosso); }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__body p { margin: 0; }

/* ---------- Banda CTA ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 12% 130%, rgba(255, 90, 60, .5), transparent 60%),
    radial-gradient(600px 300px at 95% -30%, rgba(22, 99, 199, .35), transparent 55%),
    linear-gradient(140deg, #a12310, var(--rosso) 55%, var(--rosso-vivo));
  color: #fff; border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 6vw, 64px); text-align: center;
  box-shadow: 0 22px 60px rgba(194, 45, 21, .35); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(120deg, #000, transparent 60%);
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe0d8; max-width: 46em; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; margin-top: 26px; margin-bottom: 0; }
.cta-band .btn--rosso { background: #fff; color: var(--rosso-scuro); box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
.cta-band .btn--rosso:hover { background: #ffe9e4; }
.cta-band .btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); box-shadow: none; }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .22); border-color: #fff; color: #fff; }

/* ---------- Form richiesta assistenza ---------- */
.form-card {
  background: #fff; border: 1px solid var(--linea); border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 44px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; font-size: .9rem; }
.form-field label .req { color: var(--rosso); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; color: var(--ink);
  border: 1.5px solid var(--linea); border-radius: var(--radius-sm);
  padding: 13px 15px; background: var(--bg); width: 100%;
  transition: border-color .15s, background .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blu); background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form-privacy input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blu); }
.form-actions { margin-top: 6px; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
.form-notice { border-radius: var(--radius-sm); padding: 16px 20px; font-weight: 700; margin-bottom: 22px; }
.form-notice--ok { background: #e7f6ec; color: #176939; border: 1px solid #bfe6cc; }
.form-notice--err { background: #fdecea; color: #a02012; border: 1px solid #f6c7c0; }

/* ---------- Pagine interne ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 88% -30%, rgba(227, 65, 39, .45), transparent 60%),
    linear-gradient(150deg, #0d1015, var(--carbone) 60%, var(--carbone-2));
  color: #fff; padding-block: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(72px, 9vw, 110px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(100deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-hero .breadcrumb { font-size: .85rem; color: #8b95a5; margin-bottom: 12px; font-weight: 700; }
.page-hero .breadcrumb a { color: #c7cfdb; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.8em; color: var(--blu-scuro); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--blu-scuro); }
.prose blockquote { border-left: 4px solid var(--blu); margin: 1.5em 0; padding: .5em 0 .5em 1.2em; color: var(--muted); font-weight: 600; }

/* ---------- Contatti ---------- */
.contatti-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
@media (max-width: 880px) { .contatti-grid { grid-template-columns: 1fr; } }
.info-card { background: linear-gradient(160deg, var(--carbone), var(--carbone-2)); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(26px, 4vw, 40px); box-shadow: 0 18px 50px rgba(13, 16, 21, .4); border-top: 3px solid var(--rosso); }
.info-card h2 { color: #fff; font-size: 1.4rem; }
.info-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 20px; }
.info-card li { display: flex; gap: 14px; align-items: flex-start; }
.info-card li svg { width: 21px; height: 21px; color: var(--rosso-vivo); flex: none; margin-top: 3px; }
.info-card li strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8b95a5; margin-bottom: 3px; }
.info-card li a { color: #fff; font-weight: 700; }
.info-card .socials { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; gap: 12px; }
.info-card .socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .15s; }
.info-card .socials a:hover { background: var(--rosso); }
.info-card .socials svg { width: 20px; height: 20px; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(165deg, var(--carbone), #0e1116 70%); color: #97a1b1; margin-top: 0; border-top: 3px solid var(--rosso); }
.site-footer a { color: #c7cfdb; }
.site-footer a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-block: clamp(44px, 6vw, 70px); }
@media (max-width: 880px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-logo-chip { display: inline-block; background: #fff; border-radius: var(--radius-sm); padding: 12px 16px; }
.footer-logo-chip .footer-logo { height: 42px; width: auto; display: block; }
.footer-brand p { font-size: .92rem; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-display); font-style: italic; font-weight: 900; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer-col li { display: flex; gap: 9px; align-items: flex-start; }
.footer-col li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #f4623f; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 7px 14px; font-size: .8rem; font-weight: 700; color: #fff; margin-top: 16px; }
.footer-badge svg { width: 15px; height: 15px; color: var(--rosso); }

/* ---------- Barra azioni mobile ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--linea); border-top: 1px solid var(--linea);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px rgba(16, 35, 63, .12);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 10px; font-weight: 800; font-size: .98rem;
  text-decoration: none !important;
}
.mobile-bar a svg { width: 19px; height: 19px; }
.mobile-bar__chiama { background: var(--rosso); color: #fff; }
.mobile-bar__richiesta { background: var(--bianco); color: var(--blu-scuro); }
@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 62px; }
}

/* ---------- Griglia 2 colonne (testi home) ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-2 .prose ul { padding-left: 1.2em; margin: .6em 0 0; }
.grid-2 .prose li { margin-bottom: .4em; }
.grid-2 .prose p { margin-bottom: .7em; }
.grid-2 .prose p:last-child { margin-bottom: 0; }

/* ---------- Utilità ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Animazioni reveal (attive solo con JS) ---------- */
html.has-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
html.has-js .reveal.is-visible { opacity: 1; transform: none; }
html.has-js .reveal:nth-child(2) { transition-delay: .08s; }
html.has-js .reveal:nth-child(3) { transition-delay: .16s; }
html.has-js .reveal:nth-child(4) { transition-delay: .24s; }
html.has-js .reveal:nth-child(5) { transition-delay: .3s; }
html.has-js .reveal:nth-child(6) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  html.has-js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.badge-immergas {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--rosso); color: var(--rosso);
  border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge-immergas svg { width: 14px; height: 14px; }
